SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf

上传人:boatfragile160 文档编号:1031692 上传时间:2019-03-24 格式:PDF 页数:56 大小:1,021.55KB
下载 相关 举报
SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf_第1页
第1页 / 共56页
SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf_第2页
第2页 / 共56页
SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf_第3页
第3页 / 共56页
SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf_第4页
第4页 / 共56页
SANS 62055-52-2009 Electricity metering - Payment systems Part 52 Standard transfer specification (STS) - Physical layer protocol for a two-way virtual token carrier for direct loc.pdf_第5页
第5页 / 共56页
点击查看更多>>
资源描述

1、 Collection of SANS standards in electronic format (PDF) 1. Copyright This standard is available to staff members of companies that have subscribed to the complete collection of SANS standards in accordance with a formal copyright agreement. This document may reside on a CENTRAL FILE SERVER or INTRA

2、NET SYSTEM only. Unless specific permission has been granted, this document MAY NOT be sent or given to staff members from other companies or organizations. Doing so would constitute a VIOLATION of SABS copyright rules. 2. Indemnity The South African Bureau of Standards accepts no liability for any

3、damage whatsoever than may result from the use of this material or the information contain therein, irrespective of the cause and quantum thereof. ISBN 978-0-626-23211-5 SANS 62055-52:2009Edition 1IEC 62055-52:2008Edition 1SOUTH AFRICAN NATIONAL STANDARD Electricity metering Payment systems Part 52:

4、 Standard transfer specification (STS) Physical layer protocol for a two-way virtual token carrier for direct local connection This national standard is the identical implementation of IEC 62055-52:2008 and is adopted with the permission of the International Electrotechnical Commission. WARNING Can

5、only be used in conjunction with SANS 62055-41. Published by SABS Standards Division 1 Dr Lategan Road Groenkloof Private Bag X191 Pretoria 0001Tel: +27 12 428 7911 Fax: +27 12 344 1568 www.sabs.co.za SABS SANS 62055-52:2009 Edition 1 IEC 62055-52:2008 Edition 1 Table of changes Change No. Date Scop

6、e National foreword This South African standard was approved by National Committee SABS TC 62, Electrical measurements, in accordance with procedures of the SABS Standards Division, in compliance with annex 3 of the WTO/TBT agreement. This SANS document was published in September 2009. IEC 62055-52E

7、dition 1.0 2008-05INTERNATIONAL STANDARD Electricity metering Payment systems Part 52: Standard transfer specification (STS) Physical layer protocol for a two-way virtual token carrier for direct local connection INTERNATIONAL ELECTROTECHNICAL COMMISSION XAICS 35.100.20; 17.220.20; 91.140.50 PRICE C

8、ODEISBN 2-8318-9747-5SANS 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS . 2 62055-52 IEC:2008(E) CONTENTS FOREWORD.5 INTRODUCTION.7 1 Scope.9 2 Normative references .9 3 Terms, definitions and abbreviations 10 3.1 Terms and defi

9、nitions 10 3.2 Abbreviations 10 3.3 Notation and terminology.11 3.4 Numbering conventions .12 4 STS protocol reference model 12 5 POSToTokenCarrierInterface: Physical layer protocol 13 6 TokenCarrierToMeterInterface: Physical layer protocol.13 6.1 TCDU13 6.1.1 General .13 6.1.2 TokenData.13 6.1.3 Au

10、thenticationResult14 6.1.4 ValidationResult 14 6.1.5 TokenResult 14 6.2 Physical connection and signal interfaces .14 6.2.1 Interface options14 6.2.2 Option 1: Optical interface .14 6.2.3 Option 2: Current loop interface.14 6.2.4 Option 3: Voltage interface 14 6.3 Character transmission14 6.3.1 Tran

11、smission type .14 6.3.2 Transmission format 15 6.3.3 Transmission speed.15 6.3.4 Character encoding .15 6.4 Message syntax definitions .17 6.4.1 General .17 6.4.2 IDRequest message 17 6.4.3 IDResponse message17 6.4.4 ReadCommand message.17 6.4.5 WriteCommand message.18 6.4.6 BreakCommand message18 6

12、.4.7 ACK: Acknowledge message .18 6.4.8 NAK: NegativeAcknowledge message .18 6.4.9 Data message .18 6.5 Message field definitions .19 6.6 Physical layer protocol functions .21 6.6.1 Server protocol flow diagram .21 6.6.2 IDRequestProcessing function.22 6.6.3 ReadCommandProcessing function .23 6.6.4

13、WriteCommandProcessing function .24 6.6.5 BreakCommandProcessing function 25 SANS 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .62055-52 IEC:2008(E) 3 6.6.6 Undefined command processing 26 6.6.7 TokenLockout function.27 6.7 Ser

14、ver timing requirements27 6.7.1 Inter-message and inter-character timing.27 6.7.2 Transmission error timing 28 6.7.3 Message execution timing .29 6.8 RegisterTable30 6.8.1 RegisterTable interface class 30 6.8.2 Register interface class .31 6.8.3 Predefined Registers and registerID values .32 6.9 Com

15、panion specifications and RegisterTable instantiations.43 7 Maintenance of STS entities and related services.43 7.1 General .43 7.2 RegisterTable maintenance.44 7.3 Register maintenance44 7.4 tableID maintenance .44 7.5 FOIN maintenance 45 7.6 protocolVersion maintenance 45 7.7 serverStatus maintena

16、nce .45 7.8 tokenStatus maintenance 45 7.9 softwareVersion maintenance45 Annex A (normative) Server state diagrams for request message processing.46 Bibliography51 Figure 1 Physical layers of the STS protocol stack.12 Figure 2 Character transmission format .15 Figure 3 Server protocol flow diagram.2

17、1 Figure 4 Inter-message timing responses.28 Figure 5 Transmission error timing29 Figure A.1 Server state diagram for IDRequestProcessing function46 Figure A.2 Server state diagram for ReadCommandProcessing function 47 Figure A.3 Server state diagram for WriteCommandProcessing function 48 Figure A.4

18、 Server state diagram for BreakCommandProcessing function .49 Figure A.5 Server state diagram for undefined command .50 Table 1 Data elements in the TCDU.13 Table 2 Bit-encoding of a 7-bit character code .15 Table 3 Character encoding example of a 14-bit binary number .16 Table 4 Character encoding

19、example of a 4-digit hexadecimal number 16 Table 5 Character encoding example of a 4-digit decimal number17 Table 6 Message field definitions .19 Table 7 Request messages supported by the server 22 Table 8 Response messages supported by the server .22 Table 9 Functions supported by the server.22 SAN

20、S 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS . 4 62055-52 IEC:2008(E) Table 10 Server timing requirements to respond to a request message28 Table 11 Inter-character timing requirements .28 Table 12 Transmission error recovery

21、 wait period 29 Table 13 Generic format for RegisterTable.30 Table 14 Generic format for Register .31 Table 15 Predefined Registers and registerID values.32 Table 16 Instance format for ProtocolVersion register33 Table 17 Defined protocolVersion values .34 Table 18 Instance format for TableID regist

22、er 34 Table 19 Instance format for ServerStatus register 35 Table 20 Defined serverStatus values36 Table 21 Instance format for SoftwareVersion register .37 Table 22 Instance format for BinaryTokenEntry register.38 Table 23 Instance format for TokenStatus register .39 Table 24 Defined tokenStatus va

23、lues .40 Table 25 Instance format for TokenLockoutTimeRemaining register.42 Table 26 Entities/services requiring maintenance service 44 SANS 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .62055-52 IEC:2008(E) 5 INTERNATIONAL ELE

24、CTROTECHNICAL COMMISSION _ ELECTRICITY METERING PAYMENT SYSTEMS Part 52: Standard transfer specification (STS) Physical layer protocol for a two-way virtual token carrier for direct local connection FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for stand

25、ardization 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 this end and in addition to other activities, IEC publishes Int

26、ernational 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 Committee interested in the subject dealt with may participa

27、te 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) in accordance with conditions determined by agreement between

28、 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 all interested IEC National Committees. 3) IEC Publications

29、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 held responsible for the way in which they are used or for any m

30、isinterpretation 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 divergence between any IEC Publication and the corresponding na

31、tional or regional publication shall be clearly indicated in the latter. 5) IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to be in conformity with an IEC Publication. 6) All users should ensure that they have the latest editi

32、on of this publication. 7) No liability shall attach to IEC or its directors, employees, servants 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 dire

33、ct or indirect, or for costs (including legal fees) and expenses arising out of the publication, 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 indispensa

34、ble for the correct application of this publication. 9) Attention is drawn to the possibility that 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 International Electrotechnical Com

35、mission (IEC) draws attention to the fact that it is claimed that compliance with this International Standard may involve the use of a maintenance service concerning encryption key management and the stack of protocols on which the present International Standard IEC 62055-41 is based. See Clause C.1

36、 of IEC 62055-41. The IEC takes no position concerning the evidence, validity and scope of this maintenance service. The provider of the maintenance service has assured the IEC that he is willing to provide services under reasonable and non-discriminatory terms and conditions with applicants through

37、out the world. In this respect, the statement of the provider of the maintenance service is registered with the IEC. Information may be obtained from Address: The STS Association, P.O. Box 868, Ferndale 2160, Republic of South Africa. Tel: +27 11 789 1384 Fax: +27 11 789 1385 Email: emailsts.org.za

38、Website: http:/www.sts.org.za SANS 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS . 6 62055-52 IEC:2008(E) International Standard IEC 62055-52 has been prepared by working group 15, of IEC technical committee 13: Electrical energ

39、y measurement, tariff and load control. IEC 62055-52 is complementary to, and should be read in conjunction with, IEC 62055-41. The text of this standard is based on the following documents: FDIS Report on voting 13/1424/FDIS 13/1428/RVD Full information on the voting for the approval of this standa

40、rd can be found 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 of IEC 62055 series, published under the general title Electricity metering Payment systems, can be found on the IEC website.

41、 The committee has decided that the contents of this publication will remain unchanged until the maintenance result date indicated on the IEC web site under “http:/webstore.iec.ch“ in the data related to the specific publication. At this date, the publication will be reconfirmed, withdrawn, replaced

42、 by a revised edition, or amended. A bilingual version of this publication may be issued at a later date. SANS 62055-52:2009This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .62055-52 IEC:2008(E) 7 INTRODUCTION The IEC 62055 series covers paymen

43、t systems, encompassing the customer information systems, point of sales systems, token carriers, payment meters and the respective interfaces that exist between these entities. At the time of preparation of this part, IEC 62055 comprised the following parts, under the general title Electricity mete

44、ring Payment systems: Part 21: Framework for standardization Part 31: Particular requirements Static payment meters for active energy (classes 1 and 2) Part 41: Standard transfer specification(STS) Application layer protocol for one-way token carrier systems Part 51: Standard transfer specification(

45、STS) Physical layer protocol for one-way numeric and magnetic card token carriers Part 52: Standard transfer specification(STS) Physical layer protocol for a two-way virtual token carrier for direct local connection The Part 4x series specifies application layer protocols and the Part 5x series spec

46、ifies physical layer protocols. The protocol in this International Standard is based on the IEC 62056-21 communication protocol and has been simplified by removing features from the IEC 62056-21 protocol, which are not required for the current requirements of data exchange between the VTC07 client d

47、evice and the payment meter server. The main design objective in establishing the protocol has been the requirement to reduce the complexity of the software that is needed to implement this protocol in the payment meter. This directly relates to a smaller memory size that can be translated into a co

48、st saving or the ability to include additional software features for a given memory size. The Standard Transfer Specification (STS) is a secure message protocol that allows information to be carried between point of sale (POS) equipment and payment meters and it caters for several message types such

49、 as credit, configuration control, display and test instructions. It further specifies devices and Codes Of Practice that allows for the secure management (generation, storage, retrieval and transportation) of cryptographic keys used within the system. The national electricity utility in South Africa (Eskom) first developed and published the STS in 1993 and transferred ownership to the STS Association in 1998 for management and further

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1