1、BSI Standards Publication Electricity metering data exchange The DLMS/COSEM suite Part 9-1: Communication profile using web-services to access a DLMS/COSEM server via a COSEM Access Service (CAS) PD IEC/TS 62056-9-1:2016National foreword This Published Document is the UK implementation of IEC/TS 620
2、56-9-1:2016. The UK participation in its preparation was entrusted to Technical Committee PEL/13, Electricity Meters. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a cont
3、ract. Users are responsible for its correct application. The British Standards Institution 2016. Published by BSI Standards Limited 2016 ISBN 978 0 580 87212 9 ICS 17.220.20; 35.100.01; 91.140.50 Compliance with a British Standard cannot confer immunity from legal obligations. This Published Documen
4、t was published under the authority of the Standards Policy and Strategy Committee on 31 May 2016. Amendments/corrigenda issued since publication Date Text affected PUBLISHED DOCUMENT PD IEC/TS 62056-9-1:2016 IEC TS 62056-9-1 Edition 1.0 2016-05 TECHNICAL SPECIFICATION Electricity metering data exch
5、ange The DLMS/COSEM suite Part 9-1: Communication profile using web-services to access a DLMS/COSEM server via a COSEM Access Service (CAS) INTERNATIONAL ELECTROTECHNICAL COMMISSION ICS 17.220.20; 35.100.01; 91.140.50 ISBN 978-2-8322-3329-0 Registered trademark of the International Electrotechnical
6、Commission Warning! Make sure that you obtained this publication from an authorized distributor. colour inside PD IEC/TS 62056-9-1:2016 2 IEC TS 62056-9-1:2016 IEC 2016 CONTENTS FOREWORD . 4 1 Scope 6 2 Normative references. 6 3 Terms, definitions and abbreviations 7 4 Relation to the IEC 62056 smar
7、t metering architecture . 8 4.1 Overview. 8 4.2 Example: Using the S-FSK profile according to IEC 62056-8-3 . 8 5 Use cases . 8 5.1 General . 8 5.2 Use case: Device Access 9 5.2.1 Overview . 9 5.2.2 On-demand Device Access 9 5.2.3 Scheduled Device Access 11 5.2.4 Device Access with Data-Notification
8、 14 5.3 Use case: Device groups . 15 6 Web services interface model 15 7 Message organisation for the WS interface . 15 7.1 Overview. 15 7.2 IEC 62056 messages 15 7.2.1 Overview . 15 7.2.2 General . 15 7.2.3 Verbs . 16 7.2.4 Nouns 17 7.2.5 Payloads 17 7.2.6 Payload for noun Device Access 17 7.3 Comm
9、on Message Envelope . 23 7.3.1 Overview . 23 7.3.2 General . 23 7.3.3 Message header structure 23 7.3.4 Request message structure 25 7.3.5 Response message structure . 27 7.3.6 Event message structure 30 7.3.7 Fault message structure . 31 8 Interface specification 32 8.1 Overview. 32 8.2 Interface u
10、sing SOAP 32 8.2.1 General . 32 8.2.2 WSDL structure 33 8.2.3 SOAP envelope . 33 Annex A (informative) XML schema for the COSEM XML representation . 35 A.1 COSEMpdu . 35 A.2 XML schema for the payload definitions . 56 A.2.1 DeviceAccess 56 A.2.2 DeviceGroup 57 A.3 XML Schema for common message envel
11、ope 57 PD IEC/TS 62056-9-1:2016IEC TS 62056-9-1:2016 IEC 2016 3 A.4 WSDL for interface using SOAP 58 Bibliography . 59 Figure 1 Reference model for the COSEM Access Client to DLMS/COSEM server connection via a COSEM Access Service 6 Figure 2 The smart metering architecture of IEC 62056. 8 Figure 3 U
12、se case: On-demand Device Access . 10 Figure 4 Use case: Scheduled Device Access 12 Figure 5 Use case: Scheduled Device Access with Events 13 Figure 6 Use case: Device Access with Data-Notification 14 Figure 7 IEC 62056 messages between CAS Client and COSEM Access Service (CAS) . 16 Figure 8 DeviceA
13、ccess overview structure 17 Figure 9 DeviceGroups structure 18 Figure 10 CosemAccessDescriptor sub-structure 19 Figure 11 ACSEDescriptor sub-structure 19 Figure 12 XDLMSDescriptor substructure . 20 Figure 13 cosemAccessResult substructure 21 Figure 14 errorResult substructure . 21 Figure 15 ACSEResu
14、lt substructure . 21 Figure 16 XDLMSResult substructure . 22 Figure 17 Common Message Envelope . 23 Figure 18 Common Message header structure 24 Figure 19 RequestMessage structure . 26 Figure 20 XML for RequestMessage to create DeviceAccess 27 Figure 21 ResponseMessage structure . 28 Figure 22 XML f
15、or ResponseMessage on create DeviceAccess . 29 Figure 23 EventMessage structure . 30 Figure 24 XML for EventMessage on change of DeviceAccess 31 Figure 25 FaultMessage structure 32 Figure 26 XML for FaultMessage on create of DeviceAccess 32 Figure 27 SOAP message with RequestMessage 34 PD IEC/TS 620
16、56-9-1:2016 4 IEC TS 62056-9-1:2016 IEC 2016 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ELECTRICITY METERING DATA EXCHANGE THE DLMS/COSEM SUITE Part 9-1: Communication profile using web-services to access a DLMS/COSEM server via a COSEM Access Service (CAS) FOREWORD 1) The International Electrotech
17、nical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To thi
18、s end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National
19、Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non- governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO)
20、in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from
21、 all interested IEC National Committees. 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be hel
22、d responsible for the way in which they are used or for any misinterpretation by any end user. 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any di
23、vergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IE
24、C marks of conformity. IEC is not responsible for any services carried out by independent certification bodies. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual e
25、xperts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IE
26、C Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this IE
27、C Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights. The main task of IEC technical committees is to prepare International Standards. In exceptional circumstances, a technical committee may propose the publication of a te
28、chnical specification when the required support cannot be obtained for the publication of an International Standard, despite repeated efforts, or the subject is still under technical development or where, for any other reason, there is the future but no immediate possibility of an agreement on an In
29、ternational Standard. Technical specifications are subject to review within three years of publication to decide whether they can be transformed into International Standards. IEC TS 62056-9-1, which is a technical specification, has been prepared by IEC technical committee 13: Electrical energy meas
30、urement and control. PD IEC/TS 62056-9-1:2016IEC TS 62056-9-1:2016 IEC 2016 5 The text of this technical specification is based on the following documents: Enquiry draft Report on voting 13/1641/DTS 13/1662/RVC Full information on the voting for the approval of this technical specification can be fo
31、und in the report on voting indicated in the above table. This publication has been drafted in accordance with the ISO/IEC Directives, Part 2. A list of all parts in the IEC 62056 series, published under the general title Electricity metering data exchange The DLMS/COSEM suite, can be found on the I
32、EC website. The committee has decided that the contents of this publication will remain unchanged until the stability date indicated on the IEC website under “http:/webstore.iec.ch“ in the data related to the specific publication. At this date, the publication will be transformed into an Internation
33、al standard, reconfirmed, withdrawn, replaced by a revised edition, or amended. A bilingual version of this publication may be issued at a later date. IMPORTANT The colour inside logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the c
34、orrect understanding of its contents. Users should therefore print this document using a colour printer. PD IEC/TS 62056-9-1:2016 6 IEC TS 62056-9-1:2016 IEC 2016 ELECTRICITY METERING DATA EXCHANGE THE DLMS/COSEM SUITE Part 9-1: Communication profile using web-services to access a DLMS/COSEM server
35、via a COSEM Access Service (CAS) 1 Scope This part of IEC 62056, which is a Technical Specification, defines how DLMS/COSEM servers can be accessed from a COSEM Access Client via an intermediate COSEM Access Service (CAS) providing Web services. The DLMS/COSEM server contains an application server s
36、upporting the data model of IEC 62056-6-1 / IEC 62056-6-2 and the application layer of IEC 62056-5-3. The underlying communication layers between the CAS and the DLMS/COSEM server are not covered by this specification. However, it is assumed that a profile standard exists describing how the underlyi
37、ng communication technology is used in conjunction with IEC 62056-6-1/ IEC 62056-6-2 and IEC 62056-5-3. The Web services defined in this Technical Specification concern the G2 interface according to the architecture defined in IEC 62056-1-0. The contents of this document define the Web services betw
38、een the COSEM Access Client and the COSEM Access Service (CAS) as shown in Figure 1. IEC Figure 1 Reference model for the COSEM Access Client to DLMS/COSEM server connection via a COSEM Access Service The COSEM Access Client identifies the DLMS/COSEM server by its system title (see IEC 62056-5-3). 2
39、 Normative references The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendm
40、ents) applies. IEC 61968-1:2012, Application integration at electric utilities System interfaces for distribution management Part 1: Interface architecture and general recommendations IEC 61968-100:2013, Application integration at electric utilities System interfaces for distribution management Part
41、 100: Implementation profiles IEC 62056-1-0, Electricity metering data exchange Part 1-0: Smart metering standardization framework COSEM Access Client COSEM Access Service (CAS) DLMS/COSEM server CAS client CAS provider DLMS/COSEM client DLMS/COSEM ser ver DLMS/COSEM services Web services PD IEC/TS
42、62056-9-1:2016IEC TS 62056-9-1:2016 IEC 2016 7 IEC 62056-5-3, Electricity metering data exchange The DLMS/COSEM suite Part 5-3: DLMS/COSEM application layer IEC 62056-6-1, Electricity metering data exchange The DLMS/COSEM suite Part 6-1: Object Identification System (OBIS) IEC 62056-6-2, Electricity
43、 metering data exchange The DLMS/COSEM suite Part 6-2: COSEM interface classes IEC 62056-8-3, Electricity metering data exchange The DLMS/COSEM suite Part 8-3: Communication profile for PLC S-FSK neighbourhood networks 3 Terms, definitions and abbreviations For the purposes of this document, the fol
44、lowing terms, definitions and abbreviations apply. ACSE Association Control Service Element APDU Application Layer Protocol Data Unit CAC COSEM Access Client CAS COSEM Access Service CAS Provider Interface providing Web services to access the CAS CME Common Message Envelope COSEM Companion Specifica
45、tion for Energy Metering COSEM Access Client Client accessing the DLMS/COSEM server via the COSEM Access Service CAS COSEM Access Service Service entity providing Web service based COSEM access towards the COSEM Access Client and acting as a DLMS/COSEM client towards the DLMS/COSEM server DLMS Devic
46、e Language Message Specification DLMS/COSEM server DLMS/COSEM server supporting the data models of IEC 62056-6-1 / IEC 62056-6-2 and the application layer of IEC 62056-5-3 HES Head End System, also known as Data Collection System IP Internet Protocol ISO International Organization for Standardizatio
47、n mRID CIM master resource identifier NN Neighbourhood Network NNAP Neighbourhood Network Access Point REST REpresentational State Transfer SOAP Simple Object Access Protocol UUID Universal Unique Identifier WAN Wide area network WS Web services WSDL Web Services Definition Language xDLMS Extended D
48、LMS XML eXtensible Markup Language XSD XML Schema PD IEC/TS 62056-9-1:2016 8 IEC TS 62056-9-1:2016 IEC 2016 4 Relation to the IEC 62056 smart metering architecture 4.1 Overview Considering the smart metering architecture introduced in IEC 62056-1-0 the abstract model of Figure 2 covers the communica
49、tion between the HES and the NNAP as shown in Figure 2. Where the HES acts as COSEM Access Client, the NNAP provides the COSEM Access Service (CAS) and the DLMS/COSEM server corresponds to the metering device. The Web services defined in this TS concern the G2 interface. Typically, the communication technology used in the NN is not the same as the communication technology used in the WAN; i.e. the NN does not necess