Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems

IEC 62055-41:2014 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. 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 systems that have to produce STS-compliant tokens and is to be read in conjunction with IEC 62055-5x series. This second edition cancels and replaces the first edition issued in 2007. It constitutes a technical revision. The main technical changes are:
- Class 2 token is extended to include credit transfer for gas and water with associated extensions in the display/test tokens.
- MfrCode is extended from 2 to 4 digits.
- Three token identifier base dates are defined to provide for more frequent key changes with TID roll-over procedures.
- A code of practice for the management of TID roll-over key changes in association with the revised set of base dates.
- Some clarifications and additional examples have been added.

Comptage de l'électricité - Systèmes de paiement - Partie 41: Spécification de transfert normalisé (STS) - Protocole de couche application pour les systèmes de supports de jeton unidirectionnel

IEC 62055-41:2014 spécifie le protocole de couche application de la STS pour transférer des unités de crédit et autres informations de gestion, et ce, d'un système de point de vente (POS) vers un compteur à paiement conforme à la STS dans un système de support de jeton unidirectionnel. À l'origine, elle est destinée à être appliquée avec les compteurs à paiement d'électricité simple tarif utilisant des jetons basés sur l'énergie. Mais elle peut également être appliquée aux systèmes de jeton basés sur la monnaie et pour les services autres que l'électricité. Elle est destinée à être utilisée par les constructeurs de compteurs à paiement tenus d'accepter les jetons conformes à la STS et aussi par les constructeurs de systèmes POS tenus de produire des jetons conformes à la STS. Elle est à lire conjointement avec la série IEC 62055-5x. Cette deuxième édition annule et remplace la première édition, parue en 2007. Cette édition constitue une révision technique. Cette édition inclut les modifications techniques suivantes:
- Le jeton de Classe 2 est étendu de façon à inclure le transfert de crédit pour le gaz et l'eau et les extensions associées dans les jetons display/test.
- MfrCode est étendu de 2 à 4 chiffres.
- Trois dates de référence d'identificateur de jeton sont définies pour des changements de clé plus fréquents avec des procédures de passage par zéro de l'identificateur de jeton (TID).
- Un code de bonnes pratiques pour la gestion des changements de clé par passage par zéro de l'identificateur de jeton (TID) en association avec l'ensemble révisé de dates de référence.
- Des clarifications et des exemples supplémentaires ont été introduits.

General Information

Status
Published
Publication Date
13-May-2014
Current Stage
DELPUB - Deleted Publication
Completion Date
28-Mar-2018
Ref Project

Relations

Buy Standard

Standard
IEC 62055-41:2014 RLV - Electricity metering – Payment systems – Part 41: Standard transfer specification (STS) – Application layer protocol for one-way token carrier systems Released:5/14/2014 Isbn:9782832216149
English language
349 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 62055-41:2014 - Electricity metering - Payment systems - Part 41: Standard transfer specification (STS) - Application layer protocol for one-way token carrier systems Released:5/14/2014 Isbn:9782832214879
English and French language
238 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 62055-41 ®
Edition 2.0 2014-05
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering – Payment systems –
Part 41: Standard transfer specification (STS) – Application layer protocol for
one-way token carrier systems
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 Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
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.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing 21 000 terms and definitions in
Technical Specifications, Technical Reports and other English and French, with equivalent terms in 16 additional
documents. Available for PC, Mac OS, Android Tablets and languages. Also known as the International Electrotechnical
iPad. Vocabulary (IEV) online.

IEC publications search - webstore.iec.ch/advsearchform IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a 67 000 electrotechnical terminology entries in English and
variety of criteria (reference number, text, technical French extracted from the Terms and Definitions clause of
committee,…). It also gives information on projects, replaced IEC publications issued since 2002. Some entries have been
and withdrawn publications. collected from earlier publications of IEC TC 37, 77, 86 and

CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
IEC 62055-41 ®
Edition 2.0 2014-05
REDLINE VERSION
INTERNATIONAL
STANDARD
colour
inside
Electricity metering – Payment systems –

Part 41: Standard transfer specification (STS) – Application layer protocol for

one-way token carrier systems
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 17.220.20; 35.100.70; 91.140.50 ISBN 978-2-8322-1614-9

– 2 – IEC 62055-41:2014 RLV © IEC 2014

CONTENTS
FOREWORD . 8

INTRODUCTION . 2

1 Scope . 13

2 Normative references . 13

3 Terms, definitions and abbreviations . 14

3.1 Terms and definitions. 14

3.2 Abbreviations . 15
3.3 Notation and terminology . 18
4 Numbering conventions . 18
5 Reference model for the standard transfer specification . 19
5.1 Generic payment meter functional reference diagram . 19
5.2 STS protocol reference model . 20
5.3 Dataflow from the POSApplicationProcess to the TokenCarrier . 21
5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess . 22
5.5 MeterFunctionObjects / companion specifications . 23
5.6 ISO transaction reference numbers . 23
6 POSToTokenCarrierInterface application layer protocol . 23
6.1 APDU: ApplicationProtocolDataUnit . 23
6.1.1 Data elements in the APDU . 23
6.1.2 MeterPAN: MeterPrimaryAccountNumber . 25
6.1.3 TCT: TokenCarrierType . 26
6.1.4 DKGA: DecoderKeyGenerationAlgorithm . 27
6.1.5 EA: EncryptionAlgorithm . 27
6.1.6 SGC: SupplyGroupCode . 28
6.1.7 TI: TariffIndex . 28
6.1.8 KRN: KeyRevisionNumber . 29
6.1.9 KT: KeyType . 29
6.1.10 KEN: KeyExpiryNumber . 29
6.1.11 DOE: DateOfExpiry . 29
6.2 Tokens . 30
6.2.1 Token definition format . 30
6.2.2 Class 0: TransferCredit . 30
6.2.3 Class 1: InitiateMeterTest/Display . 31
6.2.4 Class 2: SetMaximumPowerLimit . 31
6.2.5 Class 2: ClearCredit . 31
6.2.6 Class 2: SetTariffRate . 31
6.2.7 Class 2: Set1stSectionDecoderKey . 32
6.2.8 Class 2: Set2ndSectionDecoderKey . 32
6.2.9 Class 2: ClearTamperCondition . 32
6.2.10 Class 2: SetMaximumPhasePowerUnbalanceLimit . 32
6.2.11 Class 2: SetWaterMeterFactor . 32
6.2.12 Class 2: Reserved for STS use . 33
6.2.13 Class 2: Reserved for Proprietary use . 33
6.2.14 Class 3: Reserved for STS use . 33

6.3 Token data elements . 33

6.3.1 Data elements used in tokens . 33

6.3.2 Class: TokenClass . 34

6.3.3 SubClass: TokenSubClass. 34

6.3.4 RND: RandomNumber . 35

6.3.5 TID: TokenIdentifier . 36

6.3.6 Amount: TransferAmount . 37

6.3.7 CRC: CyclicRedundancyCode . 39

6.3.8 Control: InitiateMeterTest/DisplayControlField . 39

6.3.9 MPL: MaximumPowerLimit . 40

6.3.10 MPPUL: MaximumPhasePowerUnbalanceLimit . 40
6.3.11 Rate: TariffRate . 40
6.3.12 WMFactor: WaterMeterFactor . 40
6.3.13 Register: RegisterToClear . 40
6.3.14 NKHO: NewKeyHighOrder . 40
6.3.15 NKLO: NewKeyLowOrder. 40
6.3.16 KENHO: KeyExpiryNumberHighOrder . 40
6.3.17 KENLO: KeyExpiryNumberLowOrder . 41
6.3.18 RO: RolloverKeyChange . 41
6.4 TCDUGeneration functions . 41
6.4.1 Definition of the TCDU . 41
6.4.2 Transposition of the Class bits . 41
6.4.3 TCDUGeneration function for Class 0,1 and 2 tokens . 42
6.4.4 TCDUGeneration function for Set1stSectionDecoderKey token . 42
6.4.5 TCDUGeneration function for Set2ndSectionDecoderKey token . 45
6.5 Security functions . 46
6.5.1 General requirements . 46
6.5.2 Key attributes and key changes . 46
6.5.3 DecoderKey generation . 54
6.5.4 STA: EncryptionAlgorithm07 . 59
6.5.5 DEA: EncryptionAlgorithm09 . 63
7 TokenCarriertoMeterInterface application layer protocol . 63
7.1 APDU: ApplicationProtocolDataUnit . 63
7.1.1 Data elements in the APDU . 63
7.1.2 Token . 64

7.1.3 AuthenticationResult . 64
7.1.4 ValidationResult . 64
7.1.5 TokenResult . 65
7.2 APDUExtraction functions . 66
7.2.1 Extraction process . 66
7.2.2 Extraction of the 2 Class bits . 66
7.2.3 APDUExtraction function for Class 0 and Class 2 tokens . 67
7.2.4 APDUExtraction function for Class 1 tokens . 68
7.2.5 APDUExtraction function for Set1stSectionDecoderKey and
Set2ndSectionDecoderKey tokens . 68

– 4 – IEC 62055-41:2014 RLV © IEC 2014

7.3 Security functions . 69

7.3.1 Key attributes and key changes . 69

7.3.2 DKR: DecoderKeyRegister. 69

7.3.3 STA: DecryptionAlgorithm07 . 70

7.3.4 DEA: DecryptionAlgorithm09 . 72

7.3.5 TokenAuthentication . 73

7.3.6 TokenValidation .
...


IEC 62055-41 ®
Edition 2.0 2014-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Electricity metering – Payment systems –
Part 41: Standard transfer specification (STS) – Application layer protocol for
one-way token carrier systems
Comptage de l'électricité – Systèmes de paiement –
Partie 41: Spécification de transfert normalisé (STS) – Protocole de couche
application pour les systèmes de supports de jeton unidirectionnel

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.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie

et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des

questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé Fax: +41 22 919 03 00
CH-1211 Geneva 20 info@iec.ch
Switzerland 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.

IEC Catalogue - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
The stand-alone application for consulting the entire The world's leading online dictionary of electronic and
bibliographical information on IEC International Standards, electrical terms containing more than 30 000 terms and
Technical Specifications, Technical Reports and other definitions in English and French, with equivalent terms in 14
documents. Available for PC, Mac OS, Android Tablets and additional languages. Also known as the International
iPad. Electrotechnical Vocabulary (IEV) online.

IEC publications search - www.iec.ch/searchpub IEC Glossary - std.iec.ch/glossary
The advanced search enables to find IEC publications by a More than 55 000 electrotechnical terminology entries in
variety of criteria (reference number, text, technical English and French extracted from the Terms and Definitions
committee,…). It also gives information on projects, replaced clause of IEC publications issued since 2002. Some entries
and withdrawn publications. have been collected from earlier publications of IEC TC 37,

77, 86 and CISPR.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Customer Service Centre - webstore.iec.ch/csc
details all new publications released. Available online and If you wish to give us your feedback on this publication or
also once a month by email. need further assistance, please contact the Customer Service
Centre: csc@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Catalogue IEC - webstore.iec.ch/catalogue Electropedia - www.electropedia.org
Application autonome pour consulter tous les renseignements
Le premier dictionnaire en ligne de termes électroniques et
bibliographiques sur les Normes internationales,
électriques. Il contient plus de 30 000 termes et définitions en
Spécifications techniques, Rapports techniques et autres
anglais et en français, ainsi que les termes équivalents dans
documents de l'IEC. Disponible pour PC, Mac OS, tablettes
14 langues additionnelles. Egalement appelé Vocabulaire
Android et iPad.
Electrotechnique International (IEV) en ligne.

Recherche de publications IEC - www.iec.ch/searchpub
Glossaire IEC - std.iec.ch/glossary
Plus de 55 000 entrées terminologiques électrotechniques, en
La recherche avancée permet de trouver des publications IEC
en utilisant différents critères (numéro de référence, texte, anglais et en français, extraites des articles Termes et
comité d’études,…). Elle donne aussi des informations sur les Définitions des publications IEC parues depuis 2002. Plus
projets et les publications remplacées ou retirées. certaines entrées antérieures extraites des publications des

CE 37, 77, 86 et CISPR de l'IEC.
IEC Just Published - webstore.iec.ch/justpublished

Service Clients - webstore.iec.ch/csc
Restez informé sur les nouvelles publications IEC. Just
Published détaille les nouvelles publications parues. Si vous désirez nous donner des commentaires sur cette
Disponible en ligne et aussi une fois par mois par email. publication ou si vous avez des questions contactez-nous:
csc@iec.ch.
IEC 62055-41 ®
Edition 2.0 2014-05
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Electricity metering – Payment systems –

Part 41: Standard transfer specification (STS) – Application layer protocol for

one-way token carrier systems
Comptage de l'électricité – Systèmes de paiement –

Partie 41: Spécification de transfert normalisé (STS) – Protocole de couche

application pour les systèmes de supports de jeton unidirectionnel

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
PRICE CODE
INTERNATIONALE
CODE PRIX XE
ICS 17.220.20; 35.100.70; 91.140.50 ISBN 978-2-8322-1487-9

– 2 – IEC 62055-41:2014 © IEC 2014

CONTENTS
FOREWORD . 8

INTRODUCTION . 10

1 Scope . 13

2 Normative references . 13

3 Terms, definitions and abbreviations . 14

3.1 Terms and definitions. 14
3.2 Abbreviations . 15
3.3 Notation and terminology . 17
4 Numbering conventions . 18
5 Reference model for the standard transfer specification . 19
5.1 Generic payment meter functional reference diagram . 19
5.2 STS protocol reference model . 20
5.3 Dataflow from the POSApplicationProcess to the TokenCarrier . 21
5.4 Dataflow from the TokenCarrier to the MeterApplicationProcess . 22
5.5 MeterFunctionObjects / companion specifications . 23
5.6 ISO transaction reference numbers . 23
6 POSToTokenCarrierInterface application layer protocol . 24
6.1 APDU: ApplicationProtocolDataUnit . 24
6.1.1 Data elements in the APDU . 24
6.1.2 MeterPAN: MeterPrimaryAccountNumber . 25
6.1.3 TCT: TokenCarrierType . 27
6.1.4 DKGA: DecoderKeyGenerationAlgorithm . 27
6.1.5 EA: EncryptionAlgorithm . 27
6.1.6 SGC: SupplyGroupCode . 28
6.1.7 TI: TariffIndex . 28
6.1.8 KRN: KeyRevisionNumber . 29
6.1.9 KT: KeyType . 29
6.1.10 KEN: KeyExpiryNumber . 29
6.1.11 DOE: DateOfExpiry . 29
6.2 Tokens . 30
6.2.1 Token definition format . 30
6.2.2 Class 0: TransferCredit . 30
6.2.3 Class 1: InitiateMeterTest/Display . 31
6.2.4 Class 2: SetMaximumPowerLimit . 31
6.2.5 Class 2: ClearCredit . 31
6.2.6 Class 2: SetTariffRate . 31
6.2.7 Class 2: Set1stSectionDecoderKey . 32
6.2.8 Class 2: Set2ndSectionDecoderKey . 32
6.2.9 Class 2: ClearTamperCondition . 32
6.2.10 Class 2: SetMaximumPhasePowerUnbalanceLimit . 33
6.2.11 Class 2: SetWaterMeterFactor . 33
6.2.12 Class 2: Reserved for STS use . 33
6.2.13 Class 2: Reserved for Proprietary use . 33
6.2.14 Class 3: Reserved for STS use . 33

6.3 Token data elements . 34

6.3.1 Data elements used in tokens . 34

6.3.2 Class: TokenClass . 35

6.3.3 SubClass: TokenSubClass. 35

6.3.4 RND: RandomNumber . 36

6.3.5 TID: TokenIdentifier . 36

6.3.6 Amount: TransferAmount . 38

6.3.7 CRC: CyclicRedundancyCode . 39

6.3.8 Control: InitiateMeterTest/DisplayControlField . 40

6.3.9 MPL: MaximumPowerLimit . 41

6.3.10 MPPUL: MaximumPhasePowerUnbalanceLimit . 41
6.3.11 Rate: TariffRate . 41
6.3.12 WMFactor: WaterMeterFactor . 41
6.3.13 Register: RegisterToClear . 41
6.3.14 NKHO: NewKeyHighOrder . 41
6.3.15 NKLO: NewKeyLowOrder. 41
6.3.16 KENHO: KeyExpiryNumberHighOrder . 41
6.3.17 KENLO: KeyExpiryNumberLowOrder . 41
6.3.18 RO: RolloverKeyChange . 42
6.4 TCDUGeneration functions . 42
6.4.1 Definition of the TCDU . 42
6.4.2 Transposition of the Class bits . 42
6.4.3 TCDUGeneration function for Class 0,1 and 2 tokens .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.