IEC 62055-41:2007
(Main)Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems
Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems
specifies the application layer protocol of the STS for transferring units of credit and other management information from a point-of-sale (POS) system to an STS-compliant payment meter in a one-way token carrier system. It is primarily intended for application with electricity payment meters without a tariff employing energy-based tokens, but may also have application with currency-based token systems and for services other than electricity.
General Information
Relations
Standards Content (Sample)
INTERNATIONAL IEC
STANDARD 62055-41
First edition
2007-05
Electricity metering – Payment systems –
Part 41:
Standard transfer specification (STS) –
Application layer protocol for one-way
token carrier systems
Reference number
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 IEC's 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 contact the address below or your local IEC member National Committee for further information.
IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.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 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 published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by 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 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:
csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
INTERNATIONAL IEC
STANDARD 62055-41
First edition
2007-05
Electricity metering – Payment systems –
Part 41:
Standard transfer specification (STS) –
Application layer protocol for one-way
token carrier systems
PRICE CODE
Commission Electrotechnique Internationale XD
International Electrotechnical Commission
МеждународнаяЭлектротехническаяКомиссия
For price, see current catalogue
– 2 – 62055-41 © IEC:2007(E)
CONTENTS
FOREWORD.6
INTRODUCTION.8
1 Scope.10
2 Normative references .10
3 Terms, definitions and abbreviations .11
3.1 Terms and definitions .11
3.2 Abbreviations .12
3.3 Notation and terminology.15
4 Numbering conventions .15
5 Reference model for the standard transfer specification .16
5.1 Generic payment meter functional reference diagram .16
5.2 STS protocol reference model .17
5.3 Dataflow from the POSApplicationProcess to the TokenCarrier .18
5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess.19
5.5 MeterFunctionObjects / companion specifications .20
5.6 ISO transaction reference numbers .20
6 POSToTokenCarrierInterface application layer protocol.21
6.1 APDU: ApplicationProtocolDataUnit.21
6.2 Tokens .27
6.3 Token data elements .30
6.4 TCDUGeneration functions.37
6.5 Security functions.43
7 TokenCarriertoMeterInterface application layer protocol .60
7.1 APDU: ApplicationProtocolDataUnit.60
7.2 APDUExtraction functions .63
7.3 Security functions.66
8 MeterApplicationProcess requirements.73
8.1 General requirements.73
8.2 Token acceptance/rejection.73
8.3 Display indicators and markings .74
8.4 TransferCredit tokens.75
8.5 InitiateMeterTest/Display tokens.75
8.6 SetMaximumPowerLimit tokens .75
8.7 ClearCredit tokens .76
8.8 SetTariffRate tokens.76
8.9 Set1stSectionDecoderKey tokens.76
8.10 Set2ndSectionDecoderKey tokens.76
8.11 ClearTamperCondition tokens .77
8.12 SetMaximumPhasePowerUnbalanceLimit tokens.77
8.13 SetWaterMeterFactor .77
8.14 Class 2: Reserved for STS use tokens .77
8.15 Class 2: Reserved for Proprietary use tokens .77
8.16 Class 3: Reserved for STS use tokens .77
9 KMS: KeyManagementSystem generic requirements .77
10 Maintenance of STS entities and related services.78
62055-41 © IEC:2007(E) – 3 –
10.1 General .78
10.2 Operations .80
10.3 Standardisation .82
Annex A (informative) Guidelines for a KeyManagementSystem (KMS).86
Annex B (informative) Entities and identifiers in an STS-compliant system.89
Annex C (informative) Code of practice for the implementation of STS-compliant
systems .92
Bibliography.102
Table 1 – Data elements in the APDU.21
Table 2 – Data elements in the IDRecord.22
Table 3 – Data elements in the MeterPAN .22
Table 4 – Data elements in the IAIN / DRN .23
Table 5 – Token carrier types .24
Table 6 – DKGA codes .24
Table 7 – EA codes.25
Table 8 – SGC types and key types .25
Table 9 – DOE codes for the year .26
Table 10 – DOE codes for the month .27
Table 11 –Token definition format.27
Table 12 – Data elements used in tokens.30
Table 13 – Token classes .31
Table 14 – Token sub-classes .31
Table 15 – TID calculation examples .33
Table 16 – Units of measure for electricity .34
Table 17 – Units of measure for other applications .34
Table 18 – Bit allocations for the TransferAmount.34
Table 19 – Maximum error due to rounding .35
Table 20 – Examples of TransferAmount values .35
Table 21 – Example of a CRC calculation .35
Table 22 – Permissible control field values .36
Table 23 – Selection of register to clear.37
Table 24 – Classification of vending keys .44
Table 25 – Classification of decoder keys .45
Table 26 – Permitted relationships between decoder key types.49
Table 27 – Definition of the PANBlock .51
Table 28 – Data elements in the PANBlock .51
Table 29 – Definition of the CONTROLBlock.52
Table 30 – Data elements in the CONTROLBlock .52
Table 31 – Range of applicable decoder reference numbers .52
Table 32 – List of applicable supply group codes .53
– 4 – 62055-41 © IEC:2007(E)
Table 33 – Sample substitution tables.57
Table 34 – Sample permutation table.58
Table 35 – Data elements in the APDU .61
Table 36 – Possible values for the AuthenticationResult .61
Table 37 – Possible values for the ValidationResult .62
Table 38 – Possible values for the TokenResult.62
Table 39 – Values stored in the DKR .67
Table 40 – Sample permutation table.68
Table 41 – Sample substitution tables.69
Table 42 – Entities/services requiring maintenance service .78
Table A.1 – Entities that participate in KMS processes .86
Table A.2 – Processes surrounding the payment meter and DecoderKey.87
Table A.3 – Processes surrounding the CryptographicModule.87
Table A.4 – Processes surrounding the SGC and VendingKey.88
Table B.1 – Typical entities deployed in an STS-compliant system .90
Table B.2 – Identifiers associated with the entities in an STS-compliant system .91
Table C.1 – Data elements associated with a SGC .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.