1、 IEC 61968-100 Edition 1.0 2013-07 INTERNATIONAL STANDARD NORME INTERNATIONALE Application integration at electric utilities System interfaces for distribution management Part 100: Implementation profiles Intgration dapplications pour les services lectriques Interfaces systme pour la gestion de dist
2、ribution Partie 100: Profils de mise en oeuvre IEC 61968-100:2013 colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2013 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, elec
3、tronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please
4、contact the address below or your local IEC member National Committee for further information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y
5、compris la photocopie et les microfilms, sans laccord crit de la CEI ou du Comit national de la CEI du pays du demandeur. Si vous avez des questions sur le copyright de la CEI ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le C
6、omit national de la CEI de votre pays de rsidence. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares a
7、nd publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been pub
8、lished. Useful links: IEC publications search - www.iec.ch/searchpub The advanced search enables you to find IEC publications by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webs
9、tore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available on-line and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more t
10、han 30 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary (IEV) on-line. Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further ass
11、istance, please contact the Customer Service Centre: csciec.ch. A propos de la CEI La Commission Electrotechnique Internationale (CEI) est la premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes
12、. A propos des publications CEI Le contenu technique des publications de la CEI est constamment revu. Veuillez vous assurer que vous possdez ldition la plus rcente, un corrigendum ou amendement peut avoir t publi. Liens utiles: Recherche de publications CEI - www.iec.ch/searchpub La recherche avance
13、 vous permet de trouver des publications CEI en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publications remplaces ou retires. Just Published CEI - webstore.iec.ch/justpublished Restez inform sur les nouvelles publica
14、tions de la CEI. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnaire en ligne au monde de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en
15、anglais et en franais, ainsi que les termes quivalents dans les langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (VEI) en ligne. Service Clients - webstore.iec.ch/csc Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions con
16、tactez-nous: csciec.ch. IEC 61968-100 Edition 1.0 2013-07 INTERNATIONAL STANDARD NORME INTERNATIONALE Application integration at electric utilities System interfaces for distribution management Part 100: Implementation profiles Intgration dapplications pour les services lectriques Interfaces systme
17、pour la gestion de distribution Partie 100: Profils de mise en oeuvre INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XE ICS 33.200 PRICE CODE CODE PRIX ISBN 978-2-8322-1007-9 Registered trademark of the International Electrotechnical Commission Marque dpose de l
18、a Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 61968-100 IEC:2013 CONTENTS FOREWORD . 6 INTRODUCTION .
19、8 1 Scope . 9 2 Normative References 10 3 Terms, definitions and abbreviations 10 3.1 Terms and definitions 10 3.2 Abbreviations 10 3.3 Terminology for common integration technologies . 11 General . 11 3.3.1Enterprise Service Bus (ESB) 12 3.3.2Java Messaging Service (JMS) 12 3.3.3Service-Oriented Ar
20、chitecture (SOA) . 12 3.3.4Event-Driven Architecture (EDA) . 12 3.3.5Simple Object Access Protocol (SOAP) . 12 3.3.6Web Services (WS) . 13 3.3.7Web Services Definition Language (WSDL) . 13 3.3.8XML Schema (XSD) . 13 3.3.9Representational State Transfer (REST) 14 3.3.10Queue . 14 3.3.11Topic . 14 3.3
21、.12Message Destination . 14 3.3.13Request . 14 3.3.14Response 14 3.3.15Query 15 3.3.16Transaction . 15 3.3.17Event . 15 3.3.18 4 Use Cases 15 4.1 General . 15 4.2 Simple request/reply 16 4.3 Request/reply using an ESB 16 4.4 Events . 17 4.5 Transactions . 18 4.6 Callback 19 4.7 Adapters 20 4.8 Compl
22、ex messaging 21 4.9 Orchestration 22 4.10 Application-level use cases . 22 5 Integration Patterns 23 5.1 General . 23 5.2 Client and server perspectives 23 General . 23 5.2.1Basic web service pattern 24 5.2.2Basic JMS request/reply pattern 24 5.2.3Event listeners . 26 5.2.4Asynchronous request/reply
23、 pattern . 27 5.2.5 5.3 Bus perspective . 27 61968-100 IEC:2013 3 General . 27 5.3.1ESB messaging pattern using JMS 28 5.3.2ESB messaging patterns using web service request 29 5.3.3ESB request handling to web service . 29 5.3.4ESB request handling via adapter 30 5.3.5Custom integration patterns . 31
24、 5.3.6 6 Message organization . 32 6.1 General . 32 6.2 IEC 61968 messages 32 General . 32 6.2.1Verbs . 33 6.2.2Nouns 34 6.2.3Payloads . 35 6.2.4 6.3 Common message envelope 36 General . 36 6.3.1Message header structure . 37 6.3.2Request message structures . 40 6.3.3Response Message Structures 43 6.
25、3.4Event message structures . 48 6.3.5Fault message structures 49 6.3.6 6.4 Payload structures. 50 6.5 Strongly-typed payloads 53 6.6 SOAP message envelope 54 6.7 Request processing . 55 6.8 Event processing . 56 6.9 Message correlation 57 6.10 Complex transaction processing using OperationSet . 57
26、General . 57 6.10.1OperationSet Element . 59 6.10.2Patterns . 61 6.10.3OperationSet example . 63 6.10.4 6.11 Representation of time 65 6.12 Other conventions and best practices 65 6.13 Technical interoperability . 65 6.14 Service level agreements 66 6.15 Auditing, monitoring and management . 66 7 Pa
27、yload specifications 66 8 Interface specifications . 70 8.1 General . 70 8.2 Application-level specifications 70 8.3 Web service interfaces 72 General . 72 8.3.1WSDL Structure . 72 8.3.2Document style SOAP binding . 73 8.3.3Strongly-typed web services 74 8.3.4 8.4 JMS . 76 General . 76 8.4.1Topic an
28、d queue naming . 77 8.4.2JMS message fields . 78 8.4.3 4 61968-100 IEC:2013 9 Security 78 10 Version control . 79 Annex A (normative) XML schema for common message envelope 81 Annex B (normative) Verbs 91 Annex C (normative) Procedure for strongly typed WSDL generation . 93 Annex D (normative) Gener
29、ic WSDL 106 Annex E (informative) AMQP . 108 Annex F (informative) Payload Compression Example . 109 Annex G (informative) XMPP . 111 Bibliography 112 Figure 1 Overview of Scope . 9 Figure 2 Simple Request/Reply 16 Figure 3 Request/reply using intermediaries 17 Figure 4 Events 18 Figure 5 Point-to-P
30、oint (One Way) Pattern . 19 Figure 6 Transaction Example 19 Figure 7 Callbacks . 20 Figure 8 Use of Adapters . 21 Figure 9 Complex messaging . 22 Figure 10 Application-level use case example 23 Figure 11 Basic request/reply using web services 24 Figure 12 Basic request/reply using JMS . 25 Figure 13
31、 Event listeners using JMS 26 Figure 14 Asynchronous request/reply pattern . 27 Figure 15 ESB content-based routing . 28 Figure 16 ESB with smart proxy and content-based routing 29 Figure 17 ESB with proxies, routers and adapters 30 Figure 18 ESB Integration to non-compliant resources . 31 Figure 19
32、 Messaging between clients, servers and an ESB 33 Figure 20 Example payload schema . 35 Figure 21 Common message envelope 37 Figure 22 Common message header structure . 39 Figure 23 Request message structure 41 Figure 24 XML for example RequestMessage 42 Figure 25 Example Get profile 43 Figure 26 Re
33、sponseMessage structure 44 Figure 27 Reply message states 45 Figure 28 Error structure 46 Figure 29 XML for example ResponseMessage 47 Figure 30 XML example of payload compression . 47 Figure 31 XML example for error ResponseMessage . 48 Figure 32 EventMessage structure . 48 61968-100 IEC:2013 5 Fig
34、ure 33 XML example for EventMessage 49 Figure 34 Fault message structure . 50 Figure 35 Message payload container Generic 51 Figure 36 Message payload container Type specific example . 54 Figure 37 SOAP bindings 54 Figure 38 SOAP envelope example for strong typing . 55 Figure 39 Message OperationSet
35、 Element . 58 Figure 40 OperationSet details . 60 Figure 41 Transactional Request/Response (non-OperationSet) 61 Figure 42 Published events (non-OperationSet) . 62 Figure 43 Transactional Request/Response (OperationSet) . 62 Figure 44 Published event (OperationSet) 63 Figure 45 Information Models, P
36、rofiles and Messages . 67 Figure 46 Contextual Profile Design in CIMTool . 67 Figure 47 Example message payload schema 68 Figure 48 Example payload XML schema . 69 Figure 49 Example message XML 70 Figure 50 Example complex business process . 72 Figure 51 WSDL structure 73 Figure 52 Web service usage
37、 example . 76 Figure 53 Example Organization of Topics and Queues . 77 Figure C.1 Process for WSDL Generation 93 Figure C.2 Example sequence diagram . 94 Figure C.3 WSDL folder structure 94 Figure C.4 WSDL type definitions 95 Figure D.1 Generic WSDL structure . 106 Table 1 Verbs and their Usage . 34
38、 Table 2 Payload usages . 53 Table B.1 Normative definitions of verbs 91 6 61968-100 IEC:2013 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ APPLICATION INTEGRATION AT ELECTRIC UTILITIES SYSTEM INTERFACES FOR DISTRIBUTION MANAGEMENT Part 100: Implementation profiles FOREWORD 1) The International Electr
39、otechnical 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. T
40、o 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 technical committees; any IEC Nati
41、onal 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 (
42、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 technical committee has representation
43、 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 Publications is accurate, IEC cannot b
44、e 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 national and regional publications. A
45、ny 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 services and, in some areas, access
46、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, servants or agents including individ
47、ual 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, use of, or reliance upon, th
48、is 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 that some of the elements of th
49、is IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights. International Standard IEC 61968-100 has been prepared by IEC technical committee 57: Power systems management and associated information exchange. The text of this standard is based on the f