1、BSI Standards Publication Framework for energy market communications Part 503: Market data exchanges guidelines for the IEC 62325-351 profile PD IEC/TS 62325-503:2014National foreword This Published Document is the UK implementation of IEC/TS 62325-503:2014. The UK participation in its preparation w
2、as entrusted to Technical Committee PEL/57, Power systems management and associated information exchange. 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 contract. Users
3、are responsible for its correct application. The British Standards Institution 2014. Published by BSI Standards Limited 2014 ISBN 978 0 580 81901 8 ICS 33.200 Compliance with a British Standard cannot confer immunity from legal obligations. This Published Document was published under the authority o
4、f the Standards Policy and Strategy Committee on 28 February 2014. Amendments/corrigenda issued since publication Date Text affected PUBLISHED DOCUMENT PD IEC/TS 62325-503:2014 IEC TS 62325-503 Edition 1.0 2014-01 TECHNICAL SPECIFICATION Framework for energy market communications Part 503: Market da
5、ta exchanges guidelines for the IEC 62325-351 profile INTERNATIONAL ELECTROTECHNICAL COMMISSION XD ICS 33.200 PRICE CODE ISBN 978-2-8322-1368-1 Registered trademark of the International Electrotechnical Commission Warning! Make sure that you obtained this publication from an authorized distributor.
6、colour inside PD IEC/TS 62325-503:2014 2 TS 62325-503 IEC:2014(E) CONTENTS FOREWORD . 7 INTRODUCTION . 9 1 Scope 10 2 Normative references 10 3 Terms and definitions 11 4 High level concepts . 12 4.1 What is MADES intended for? 12 4.2 General overview . 13 4.3 Message delivery and transparency . 14
7、4.3.1 Message delivery 14 4.3.2 Transparency 14 4.4 Security and reliability 15 4.5 Main components . 16 4.6 Distributed architecture 17 4.7 Components exposed interfaces . 18 4.8 Security features 18 4.8.1 Overview 18 4.8.2 Transport-layer security 19 4.8.3 Message-level security . 20 4.8.4 Non rep
8、udiation 21 5 Components functions 22 5.1 Routing messages . 22 5.2 Component and message unique identification (ID) 23 5.3 Business-type of a business-message . 23 5.4 Delivery-status of a business-message 23 5.5 Communication between components 25 5.5.1 Principle . 25 5.5.2 Establishing a secured
9、communication channel between two components 25 5.5.3 Token authentication of the client component . 26 5.5.4 Request authorisation . 26 5.5.5 Request/Reply validation 26 5.6 Storing messages in components . 27 5.7 Lifecycle of a message state within a component . 27 5.8 Transferring a message betwe
10、en two components (Handshake) 29 5.9 Accepting a message . 30 5.10 Event management 31 5.10.1 Acknowledgements . 31 5.10.2 Notifying events 32 5.10.3 Lifecycle of an acknowledgement . 34 5.10.4 Processing a transferred acknowledgement 34 5.11 Message expiration 35 5.11.1 Principle . 35 5.11.2 Settin
11、g the expiration time of a message: . 35 5.11.3 Looking for the expired messages: . 35 5.12 Checking the connectivity between two endpoints (Tracing-messages) 35 5.13 Ordering the messages (Priority) 36 PD IEC/TS 62325-503:2014TS 62325-503 IEC:2014(E) 3 5.14 Endpoint 36 5.14.1 Endpoint functions 36
12、5.14.2 Compression 37 5.14.3 Signing . 38 5.14.4 Encryption 39 5.15 Node 41 5.15.1 Node functions . 41 5.15.2 Synchronizing directory with other nodes 41 5.15.3 Updating the synchronization nodes list . 42 5.16 Certificates and directory management 43 5.16.1 Definitions and principles 43 5.16.2 Cert
13、ificates: Format and unique ID . 44 5.16.3 Used certificates and issuers (CAs) 44 5.16.4 Directory services . 46 5.16.5 Caching directory data 46 5.16.6 Trusting the certificates of others components 47 5.16.7 Renewing the expired certificates . 47 5.16.8 Revoking a certificate . 48 6 Managing the v
14、ersion of the MADES specification . 49 6.1 Issues and principles . 49 6.1.1 General 49 6.1.2 Rolling out a new version (Mversion and N-compliance) . 49 6.1.3 Service compatibility . 49 6.1.4 Message compatibility 50 6.1.5 Interface with BAs. 50 6.2 Using the correct version for services and messages
15、 . 51 6.2.1 Node synchronization and authentication 51 6.2.2 Directory services and Network acceptance 52 6.2.3 Messaging services 53 6.2.4 Which version to use to send a message? 53 7 Interfaces and services 55 7.1 Overview 55 7.1.1 General 55 7.1.2 Error Codes 55 7.1.3 Types for Time 55 7.2 Endpoi
16、nt interface 56 7.2.1 Overview 56 7.2.2 Services . 56 7.2.3 File System Shared Folders (FSSF) 60 7.3 Node interface . 62 7.3.1 Overview 62 7.3.2 Authentication service 63 7.3.3 Messaging Services 64 7.3.4 Directory services . 67 7.3.5 Node Synchronization interface 70 7.4 Format of the node-list fil
17、e . 71 7.5 Typed Elements used by the interfaces 72 7.6 Description of the services . 79 7.6.1 About WSDL and SOAP 79 PD IEC/TS 62325-503:2014 4 TS 62325-503 IEC:2014(E) 7.6.2 Endpoint interface. 79 7.6.3 Node interface 86 7.6.4 XML signature example 100 Figure 1 MADES overall view . 12 Figure 2 MAD
18、ES scope 13 Figure 3 MADES key features 13 Figure 4 MADES message delivery overview . 14 Figure 5 MADES security and reliability . 15 Figure 6 MADES components 16 Figure 7 MADES network distributed architecture 17 Figure 8 MADES interfaces and services . 18 Figure 9 MADES transport security overview
19、 . 19 Figure 10 MADES secure communication initiation 19 Figure 11 Message signature . 20 Figure 12 Message encryption and decryption . 20 Figure 13 Non repudiation 21 Figure 14 Delivery route of a business-message 22 Figure 15 Reported events during the delivery of a business-message 24 Figure 16 L
20、ifecycle of the local state of a business-message within a component 28 Figure 17 Transfer handshake when uploading of a message 29 Figure 18 Transfer handshake when downloading of a message 30 Figure 19 Acknowledgements along the route of the business-message 32 Figure 20 Encryption process . 40 Fi
21、gure 21 A node synchronizes with two other nodes . 42 Figure 22 Certificates and certificate authorities (CAs) for a MADES network 45 Figure 23 Managing the specification version node synchronization and authentication . 51 Figure 24 Managing the specification version Directory services . 52 Figure
22、25 Managing the specification version Messaging services 53 Figure 26 Managing the specification version Which version to use to send a message? . 54 Figure 27 Node interface Overview . 63 Figure 28 Node interface Authentication service . 63 Figure 29 Node interface Messaging services UploadMessages
23、 service. 65 Figure 30 Node interface Messaging services DownloadMessages service 66 Figure 31 Node interface Messaging services ConfirmDownload service 67 Figure 32 Node interface Directory services GetCertificate service 68 Figure 33 Node interface Directory services GetComponent service. 70 Figur
24、e 34 WSDL 1.1 definitions 79 Table 1 Message delivery status 25 Table 2 Business message status 28 Table 3 Accepting a message Validation checks . 31 PD IEC/TS 62325-503:2014TS 62325-503 IEC:2014(E) 5 Table 4 Characteristics of notified events . 33 Table 5 Event characteristics description . 34 Tabl
25、e 6 Acknowledgement state description . 34 Table 7 Compression metadata attributes . 38 Table 8 Signing metadata attributes 39 Table 9 Encryption metadata attributes . 40 Table 10 Consequences of a certificate revocation 48 Table 11 Service compatibility Possible changes 50 Table 12 Which version to
26、 use to send a message? . 54 Table 13 Managing the specification version Rejection conditions . 54 Table 14 Interfaces and services Generic error . 55 Table 15 Interfaces and services String value for errorCode . 55 Table 16 SendMessage Service request elements 56 Table 17 SendMessage Service respon
27、se elements 57 Table 18 SendMessage Additional error elements . 57 Table 19 ReceiveMessage Service request elements 57 Table 20 ReceiveMessage Service response elements . 57 Table 21 ReceiveMessage Additional error elements 58 Table 22 CheckMessageStatus Service request elements . 58 Table 23 CheckM
28、essageStatus Service response elements 58 Table 24 CheckMessageStatus Additional error elements . 58 Table 25 ConnectivityTest Service request elements 59 Table 26 ConnectivityTest Service response elements 59 Table 27 ConnectivityTest Additional error elements . 59 Table 28 ConfirmReceiveMessage Se
29、rvice request elements 59 Table 29 ConfirmReceiveMessage Service response elements . 59 Table 30 ConfirmReceiveMessage Additional error elements 60 Table 31 FSSF Description and filename format 61 Table 32 FSSF Filename description . 61 Table 33 Authentication Service request elements 64 Table 34 Au
30、thentication Service response elements . 64 Table 35 UploadMessages Service request elements 65 Table 36 UploadMessages Service response elements . 65 Table 37 DownloadMessages Service request elements . 66 Table 38 DownloadMessages Service response elements . 66 Table 39 ConfirmDownload Service req
31、uest elements . 67 Table 40 ConfirmDownload Service response elements 67 Table 41 SetComponentMversion Service request elements . 68 Table 42 SetComponentMversion Service response elements . 68 Table 43 GetCertificate Service request elements . 69 Table 44 GetCertificate Service response elements 69
32、 Table 45 GetCertificate Additional conditions 69 Table 46 GetComponent Service request elements . 70 PD IEC/TS 62325-503:2014 6 TS 62325-503 IEC:2014(E) Table 47 GetComponent Service response elements 70 Table 48 GetNodeMversion Service request elements 70 Table 49 GetNodeMversion Service response
33、elements 71 Table 50 GetAllDirectoryData Service request elements . 71 Table 51 GetAllDirectoryData Service response elements . 71 Table 52 Node attributes ordered list . 71 Table 53 AuthenticationToken 72 Table 54 Certificate 72 Table 55 CertificateType string enumeration . 72 Table 56 ComponentCer
34、tificate 72 Table 57 ComponentDescription 73 Table 58 ComponentInformation 73 Table 59 ComponentType string enumeration . 73 Table 60 Endpoint 73 Table 61 InternalMessage 74 Table 62 InternalMessageType string enumeration . 75 Table 63 MessageMetadata . 75 Table 64 MessageProcessor 75 Table 65 Map .
35、 75 Table 66 MapEntry . 76 Table 67 ValueType (enumeration) 76 Table 68 MessageState (string enumeration) . 76 Table 69 MessageStatus 76 Table 70 MessageTraceItem 77 Table 71 MessageTraceState (string enumeration) 77 Table 72 NotConfirmedMessageResponse . 77 Table 73 NotUploadedMessageResponse 78 Ta
36、ble 74 ReceivedMessage . 78 Table 75 RoutingInformation 78 Table 76 SentMessage 78 PD IEC/TS 62325-503:2014TS 62325-503 IEC:2014(E) 7 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ FRAMEWORK FOR ENERGY MARKET COMMUNICATIONS Part 503: Market data exchanges guidelines for the IEC 62325-351 profile FOREWO
37、RD 1) The International Electrotechnical 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 elect
38、rical and electronic fields. To this 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 tech
39、nical committees; any IEC National 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 Orga
40、nization for Standardization (ISO) 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 technica
41、l committee has representation from 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 Publicat
42、ions is accurate, IEC cannot be held 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 nationa
43、l and regional publications. Any divergence 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 servic
44、es and, in some areas, access to IEC 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, servan
45、ts or agents including individual experts 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
46、, use of, or reliance upon, this IEC 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 t
47、hat some of the elements of this IEC 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
48、may propose the publication of a technical 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 International Standard. Technical specifications are subject to review within three years of publication to decide whether they can be transformed into