1、 INTERNATIONAL STANDARD IEC 62055-51First edition 2007-05Electricity metering Payment systems Part 51: Standard transfer specification (STS) Physical layer protocol for one-way numeric and magnetic card token carriers Reference number IEC 62055-51:2007(E) THIS PUBLICATION IS COPYRIGHT PROTECTED Copy
2、right 2007 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, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member Nat
3、ional 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 contact the address below or your local IEC member National Committee for further information. IEC Central Office 3, rue de
4、Varemb CH-1211 Geneva 20 Switzerland Email: inmailiec.ch Web: www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publica
5、tions 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 published. Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by
6、a variety of criteria (reference number, text, technical committee,). It also gives information on projects, withdrawn and replaced publications. IEC Just Published: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications
7、released. Available on-line and also by email. Customer Service Centre: www.iec.ch/webstore/custserv If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 Fax: +41 22 91
8、9 03 00 INTERNATIONAL STANDARD IEC 62055-51First edition 2007-05Electricity metering Payment systems Part 51: Standard transfer specification (STS) Physical layer protocol for one-way numeric and magnetic card token carriers S For price, see current catalogue PRICE CODE Commission Electrotechnique I
9、nternationale International Electrotechnical Commission 2 62055-51 IEC:2007(E) CONTENTS FOREWORD.3 INTRODUCTION.5 1 Scope.6 2 Normative references .6 3 Terms, definitions and abbreviations 7 3.1 Terms and definitions 7 3.2 Abbreviations 7 3.3 Notation and terminology.8 3.4 Numbering conventions.8 4
10、STS protocol reference model 9 5 POSToTokenCarrierInterface: Physical layer protocol 10 5.1 TCDU10 5.2 Magnetic card token carrier .11 5.3 Numeric token carrier15 6 TokenCarrierToMeterInterface: Physical layer protocol.17 6.1 TCDU17 6.2 Magnetic card token carrier .17 6.3 Numeric token carrier18 Ann
11、ex A (informative) Procurement options for users of STS-compliant systems .20 Bibliography21 Table 1 Data elements in the TCDU.10 Table 2 Data elements in the IDRecord10 Table 3 Mandatory data fields for Record1 to be encoded on Track 3 13 Table 4 Separator data field to be encoded on Track 3 with o
12、ptional Record213 Table 5 Data fields for optional Record2 to be encoded on Track 313 Table 6 Example of 66-bit binary to 20-digit decimal conversion 16 Table 7 Data elements in the TCDU.17 Table 8 Example of a 20-digit decimal to 66-bit binary conversion .19 Table A.1 Items that should be noted in
13、purchase orders and tenders20 Figure 1 Physical layers of the STS protocol stack.9 62055-51 IEC:2007(E) 3 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ METERING PAYMENT SYSTEMS Part 51: Standard transfer specification (STS) Physical layer protocol for one-way numeric and magnetic card token carriers F
14、OREWORD 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
15、electrical 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
16、 technical 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
17、 Organization 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 tec
18、hnical 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 Pub
19、lications 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 na
20、tional 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 provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to
21、 be in conformity with an IEC Publication. 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 experts and members of its technical committees and IEC National Commi
22、ttees 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 IEC Publication or any other IEC Publications. 8) Attention is drawn to
23、 the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. The International Electrotechnical Commission draws attention to the fact that it is claimed that compliance with this document may involve the us
24、e of patents concerning the numeric token carrier given in 5.3 and 6.3. The IEC takes no position concerning the evidence, validity and scope of these patent rights. The holder of these patent rights has assured the IEC that he is willing to negotiate licences under reasonable and non-discriminatory
25、 terms and conditions with applicants throughout the world. In this respect, the statements of the holders of these patents are registered with the IEC. Information may be obtained from: Address: Meter Patents Development (Pty) Ltd, c/o Spescom Limited Head Office, P.O. Box 288, Halfway House 1685,
26、South Africa. Tel: +27 11 266 1500 Fax: +27 11 266 1532 Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights other than those identified above. IEC shall not be held responsible for identifying any or all such patent rights. Inte
27、rnational Standard IEC 62055-51 has been prepared by working group 15, of IEC technical committee 13: Electrical energy measurement, tariff and load control. IEC 62055-51 is complementary to, and is to be read in conjunction with, IEC 62055-41. 4 62055-51 IEC:2007(E) The text of this standard is bas
28、ed on the following documents: CDV Report on voting 13/1406/CDV 13/1410/RVC Full information on the voting for the approval of this standard 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. The com
29、mittee 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 by a re
30、vised edition, or amended. A bilingual version of this publication may be issued at a later date. 62055-51 IEC:2007(E) 5 INTRODUCTION The IEC 62055 series covers payment systems, encompassing the customer information systems, point of sales systems, token carriers, payment meters and the respective
31、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 metering Payment systems: Part 21: Framework for standardization Part 31: Particular requirements Static payment meters for active energ
32、y (classes 1 and 2) Part 41: Standard transfer specification Application layer protocol for one-way token carrier systems Part 51: Standard transfer specification Physical layer protocol for one-way numeric and magnetic card token carriers Part 52: Standard transfer specification Physical layer prot
33、ocol for a two-way virtual token carrier for direct local connection The Part 4x series specifies application layer protocols and the Part 5x series specifies physical layer protocols. The standard transfer specification (STS) is a secure message protocol that allows information to be carried betwee
34、n point-of-sale (POS) equipment and payment meters and caters for several message types such as credit, configuration control, display, and test instructions. It further specifies devices and codes of practice that allow for the secure management (generation, storage, retrieval and transportation) o
35、f 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 development. Prior to the development of the STS a variety of propri
36、etary payment meters and POS equipment had been developed, which were, however, not compatible with each other. This gave rise to a definite need among the major users to move towards standardized solutions in addressing operational problems experienced where various types of payment meter and POS e
37、quipment had to be operated simultaneously. An STS was developed that would allow for the application and inter-operability of payment meters and POS equipment from multiple manufacturers in a payment metering installation. The TokenCarrier is the physical device or medium used to transport the info
38、rmation from the vending system to the payment meter. Two types of token carriers are specified in this part of IEC 62055, a magnetic card and a numeric token carrier, which have been approved by the STS Association. New token carriers can be proposed as new work items through the National Committee
39、s or through the STS Association. Although the main implementation of the STS is in the electricity supply industry, it inherently provides for the management of other utility services like water and gas. Future revisions of the STS may allow for other token carrier technologies like smart cards and
40、 memory keys with two-way functionality and to cater for a real-time clock and complex tariffs in the payment meter. The STS Association has established a D-type liaison with working group 15 of IEC TC 13 for the development of standards within the scope of the STS and is thus responsible for the ma
41、intenance of any such IEC standards that might be developed as a result of this liaison. The STS Association is also registered with the IEC as a Registration Authority for providing maintenance services in support of the STS (see Clause C.1 of IEC 62055-41 for more information). 6 62055-51 IEC:2007
42、(E) ELECTRICITY METERING PAYMENT SYSTEMS Part 51: Standard transfer specification (STS) Physical layer protocol for one-way numeric and magnetic card token carriers 1 Scope This part of IEC 62055 specifies a physical layer protocol of the standard transfer specification (STS) for transferring units
43、of credit and other management information between a point-of-sale (POS) system and an STS-compliant electricity payment meter. It specifies encoding of token data onto token carriers in the physical layer protocol at the POS for various TokenCarrierTypes such as numeric and magnetic cards; decoding
44、 of token data from token carriers in the physical layer protocol at the payment meter for various TokenCarrierTypes such as numeric and magnetic cards. It is intended for use by manufacturers of payment meters that have to accept tokens that comply with the STS, and also by manufacturers of POS sys
45、tems that have to produce STS- compliant tokens, and should be read in conjunction with IEC 62055-41. NOTE 1 Although developed for payment systems for electricity, the standard also covers tokens used in other utility services, such as water and gas. NOTE 2 STS-compliant products are required to co
46、mply with selective parts of this International Standard only, which should be the subject of the purchase contract (see Annex A). 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. F
47、or undated references, the latest edition of the referenced document (including any amendments) applies. IEC 60050-300, International Electrotechnical Vocabulary Electrical and electronic measure- ments and measuring instruments Part 311: General terms relating to measurements Part 312: General term
48、s relating to electrical measurements Part 313: Types of electrical measuring instruments Part 314: Specific terms according to the type of instrument IEC 62051, Electricity metering Glossary of terms IEC 62055-31:2005, Electricity metering Payment systems Part 31: Particular requirements Static pay
49、ment meters for active energy (classes 1 and 2) IEC 62055-41, Electricity metering Payment systems Part 41: Standard transfer specification Application layer protocol for one-way token carrier systems ISO/IEC 7810:2003, Identification cards Physical characteristics ISO/IEC 7811-2:2001, Identification cards Recording technique Part 2: Magnetic stripe Low coercivity ISO/IEC 7813:2006, Inf