BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf

上传人:fuellot230 文档编号:583054 上传时间:2018-12-15 格式:PDF 页数:116 大小:2.07MB
下载 相关 举报
BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf_第1页
第1页 / 共116页
BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf_第2页
第2页 / 共116页
BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf_第3页
第3页 / 共116页
BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf_第4页
第4页 / 共116页
BS IEC 62055-41-2014 Electricity metering Payment systems Standard transfer specification (STS) Application layer protocol for one-way token carrier systems《电量测量 支付系统 标准传输规格 (STS) .pdf_第5页
第5页 / 共116页
亲,该文档总共116页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、BSI Standards PublicationElectricity metering Payment systemsPart 41: Standard transfer specification (STS) Application layer protocol for one-way token carrier systemsBS IEC 62055-41:2014National forewordThis British Standard is the UK implementation of IEC 62055-41:2014.The UK participation in its

2、 preparation was entrusted to TechnicalCommittee PEL/13, Electricity Meters.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the necessary provisions ofa contract. Users are responsible for its correct a

3、pplication. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 83168 3ICS 17.220.20; 35.100.70; 91.140.50Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of theStandards P

4、olicy and Strategy Committee on 31 October 2014.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS IEC 62055-41:2014IEC 62055-41 Edition 2.0 2014-05 INTERNATIONAL STANDARD NORME INTERNATIONALE Electricity metering Payment systems Part 41: Standard transfer specificati

5、on (STS) Application layer protocol for one-way token carrier systems Comptage de llectricit Systmes de paiement Partie 41: Spcification de transfert normalis (STS) Protocole de couche application pour les systmes de supports de jeton unidirectionnel INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISS

6、ION ELECTROTECHNIQUE INTERNATIONALE XE ICS 17.220.20; 35.100.70; 91.140.50 PRICE CODE CODE PRIX ISBN 978-2-8322-1487-9 Registered trademark of the International Electrotechnical Commission Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publica

7、tion from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. BS IEC 62055-41:2014 2 IEC 62055-41:2014 IEC 2014 CONTENTS FOREWORD . 8 INTRODUCTION . 10 1 Scope 13 2 Normative references 13 3 Terms, definitions and abbreviations

8、. 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 POS

9、ApplicationProcess 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: ApplicationPro

10、tocolDataUnit 24 Data elements in the APDU . 24 6.1.1MeterPAN: MeterPrimaryAccountNumber 25 6.1.2TCT: TokenCarrierType . 27 6.1.3DKGA: DecoderKeyGenerationAlgorithm . 27 6.1.4EA: EncryptionAlgorithm 27 6.1.5SGC: SupplyGroupCode 28 6.1.6TI: TariffIndex 28 6.1.7KRN: KeyRevisionNumber . 29 6.1.8KT: Key

11、Type 29 6.1.9KEN: KeyExpiryNumber . 29 6.1.10DOE: DateOfExpiry 29 6.1.116.2 Tokens 30 Token definition format 30 6.2.1Class 0: TransferCredit 30 6.2.2Class 1: InitiateMeterTest/Display . 31 6.2.3Class 2: SetMaximumPowerLimit . 31 6.2.4Class 2: ClearCredit 31 6.2.5Class 2: SetTariffRate . 31 6.2.6Cla

12、ss 2: Set1stSectionDecoderKey 32 6.2.7Class 2: Set2ndSectionDecoderKey . 32 6.2.8Class 2: ClearTamperCondition . 32 6.2.9Class 2: SetMaximumPhasePowerUnbalanceLimit . 33 6.2.10Class 2: SetWaterMeterFactor . 33 6.2.11Class 2: Reserved for STS use 33 6.2.12Class 2: Reserved for Proprietary use . 33 6.

13、2.13Class 3: Reserved for STS use 33 6.2.14BS IEC 62055-41:2014IEC 62055-41:2014 IEC 2014 3 6.3 Token data elements 34 Data elements used in tokens 34 6.3.1Class: TokenClass . 35 6.3.2SubClass: TokenSubClass. 35 6.3.3RND: RandomNumber . 36 6.3.4TID: TokenIdentifier . 36 6.3.5Amount: TransferAmount .

14、 38 6.3.6CRC: CyclicRedundancyCode . 39 6.3.7Control: InitiateMeterTest/DisplayControlField . 40 6.3.8MPL: MaximumPowerLimit . 41 6.3.9MPPUL: MaximumPhasePowerUnbalanceLimit 41 6.3.10Rate: TariffRate . 41 6.3.11WMFactor: WaterMeterFactor 41 6.3.12Register: RegisterToClear . 41 6.3.13NKHO: NewKeyHigh

15、Order . 41 6.3.14NKLO: NewKeyLowOrder. 41 6.3.15KENHO: KeyExpiryNumberHighOrder 41 6.3.16KENLO: KeyExpiryNumberLowOrder . 41 6.3.17RO: RolloverKeyChange 42 6.3.186.4 TCDUGeneration functions . 42 Definition of the TCDU . 42 6.4.1Transposition of the Class bits . 42 6.4.2TCDUGeneration function for C

16、lass 0,1 and 2 tokens 43 6.4.3TCDUGeneration function for Set1stSectionDecoderKey token 44 6.4.4TCDUGeneration function for Set2ndSectionDecoderKey token . 46 6.4.56.5 Security functions . 47 General requirements 47 6.5.1Key attributes and key changes . 47 6.5.2DecoderKey generation . 55 6.5.3STA: E

17、ncryptionAlgorithm07 60 6.5.4DEA: EncryptionAlgorithm09 64 6.5.57 TokenCarriertoMeterInterface application layer protocol 64 7.1 APDU: ApplicationProtocolDataUnit 64 Data elements in the APDU . 64 7.1.1Token 65 7.1.2AuthenticationResult 65 7.1.3ValidationResult 65 7.1.4TokenResult 66 7.1.57.2 APDUEx

18、traction functions . 67 Extraction process . 67 7.2.1Extraction of the 2 Class bits . 67 7.2.2APDUExtraction function for Class 0 and Class 2 tokens . 68 7.2.3APDUExtraction function for Class 1 tokens 69 7.2.4APDUExtraction function for Set1stSectionDecoderKey and 7.2.5Set2ndSectionDecoderKey token

19、s . 69 7.3 Security functions . 70 Key attributes and key changes . 70 7.3.1DKR: DecoderKeyRegister. 70 7.3.2STA: DecryptionAlgorithm07 71 7.3.3BS IEC 62055-41:2014 4 IEC 62055-41:2014 IEC 2014 DEA: DecryptionAlgorithm09 . 74 7.3.4TokenAuthentication 74 7.3.5TokenValidation . 75 7.3.6TokenCancellati

20、on . 75 7.3.78 MeterApplicationProcess requirements 76 8.1 General requirements . 76 8.2 Token acceptance/rejection 76 8.3 Display indicators and markings 77 8.4 TransferCredit tokens . 78 8.5 InitiateMeterTest/Display tokens . 78 8.6 SetMaximumPowerLimit tokens. 78 8.7 ClearCredit tokens 79 8.8 Set

21、TariffRate tokens . 79 8.9 Set1stSectionDecoderKey tokens . 79 8.10 Set2ndSectionDecoderKey tokens 79 8.11 ClearTamperCondition tokens . 79 8.12 SetMaximumPhasePowerUnbalanceLimit tokens 80 8.13 SetWaterMeterFactor 80 8.14 Class 2: Reserved for STS use tokens 80 8.15 Class 2: Reserved for Proprietar

22、y use tokens . 80 8.16 Class 3: Reserved for STS use tokens 80 9 KMS: KeyManagementSystem generic requirements . 80 10 Maintenance of STS entities and related services 81 10.1 General . 81 10.2 Operations 83 Product certification maintenance 83 10.2.1DSN maintenance 83 10.2.2RO maintenance 83 10.2.3

23、TI maintenance 84 10.2.4TID maintenance . 84 10.2.5SpecialReservedTokenIdentifier maintenance 84 10.2.6MfrCode maintenance 84 10.2.7Substitution tables maintenance 84 10.2.8Permutation tables maintenance 84 10.2.9SGC maintenance . 84 10.2.10VendingKey maintenance 84 10.2.11KRN maintenance 84 10.2.12

24、KT maintenance 84 10.2.13KEN maintenance 85 10.2.14KEK maintenance 85 10.2.15CC maintenance 85 10.2.16UC maintenance 85 10.2.17KMCID maintenance 85 10.2.18CMID maintenance 85 10.2.19CMAC maintenance . 85 10.2.2010.3 Standardisation . 86 IIN maintenance 86 10.3.1TCT maintenance 86 10.3.2DKGA maintena

25、nce . 86 10.3.3BS IEC 62055-41:2014IEC 62055-41:2014 IEC 2014 5 EA maintenance 86 10.3.4TokenClass maintenance . 86 10.3.5TokenSubClass maintenance. 87 10.3.6InitiateMeterTest/DisplayControlField maintenance 87 10.3.7RegisterToClear maintenance 87 10.3.8STS base date maintenance 87 10.3.9Rate mainte

26、nance 87 10.3.10WMFactor maintenance . 87 10.3.11MFO maintenance . 88 10.3.12FOIN maintenance . 88 10.3.13Companion specification maintenance . 88 10.3.14(informative) Guidelines for a KeyManagementSystem (KMS) 89 Annex A(informative) Entities and identifiers in an STS-compliant system . 92 Annex B(

27、informative) Code of practice for the implementation of STS-compliant Annex Csystems . 96 C.1 Maintenance and support services provided by the STS Association . 96 C.2 Key management 96 C.2.1 Key management services . 96 C.2.2 SupplyGroupCode and VendingKey distribution . 96 C.2.3 CryptographicModul

28、e distribution . 97 C.2.4 Key expiry . 98 C.3 MeterPAN . 98 C.3.1 General practice 98 C.3.2 IssuerIdentificationNumbers 98 C.3.3 ManufacturerCodes . 98 C.3.4 DecoderSerialNumbers 99 C.4 SpecialReservedTokenIdentifier 99 C.5 Permutation and substitution tables for the STA 99 C.6 EA codes 99 C.7 Token

29、CarrierType codes . 99 C.8 MeterFunctionObject instances / companion specifications . 100 C.9 TariffIndex 100 C.10 STS-compliance certification . 100 C.10.1 IEC certification services . 100 C.10.2 Products 100 C.10.3 Certification authority . 100 C.11 Procurement options for users of STS-compliant s

30、ystems . 100 C.12 Management of TID Rollover . 104 C.12.1 Introduction . 104 C.12.2 Overview . 105 C.12.3 Impact analysis 107 C.12.4 Base dates 107 C.12.5 Implementation 107 Bibliography 110 Figure 1 Functional block diagram of a generic single-part payment meter . 19 Figure 2 STS modelled as a 2-la

31、yer collapsed OSI protocol stack 20 Figure 3 Dataflow from the POSApplicationProcess to the TokenCarrier 21 BS IEC 62055-41:2014 6 IEC 62055-41:2014 IEC 2014 Figure 4 Dataflow from the TokenCarrier to the MeterApplicationProcess 22 Figure 5 Composition of ISO transaction reference number . 23 Figure

32、 6 Transposition of the 2 Class bits 42 Figure 7 TCDUGeneration function for Class 0, 1 and 2 tokens 43 Figure 8 TCDUGeneration function for Set1stSectionDecoderKey token 44 Figure 9 TCDUGeneration function for Set2ndSectionDecoderKey token . 46 Figure 10 DecoderKey changes state diagram 52 Figure 1

33、1 DecoderKeyGenerationAlgorithm01 57 Figure 12 DecoderKeyGenerationAlgorithm02 58 Figure 13 DecoderKeyGenerationAlgorithm03 59 Figure 14 STA: EncryptionAlgorithm07. 60 Figure 15 STA encryption substitution process. 61 Figure 16 STA encryption permutation process 62 Figure 17 STA encryption DecoderKe

34、y rotation process . 62 Figure 18 STA encryption worked example for TransferCredit token 63 Figure 19 DEA: EncryptionAlgorithm09 64 Figure 20 APDUExtraction function 67 Figure 21 Extraction of the 2 Class bits 68 Figure 22 STA DecryptionAlgorithm07 . 71 Figure 23 STA decryption permutation process 7

35、1 Figure 24 STA decryption substitution process. 72 Figure 25 STA decryption DecoderKey rotation process . 73 Figure 26 STA decryption worked example for TransferCredit token 73 Figure 27 DEA DecryptionAlgorithm09 . 74 Figure A.1 KeyManagementSystem and interactive relationships between entities . 8

36、9 Figure B.1 Entities and identifiers deployed in an STS-compliant system . 92 Figure C.1 System overview 105 Table 1 Data elements in the APDU . 24 Table 2 Data elements in the IDRecord 25 Table 3 Data elements in the MeterPAN 25 Table 4 Data elements in the IAIN / DRN . 26 Table 5 Token carrier ty

37、pes . 27 Table 6 DKGA codes . 27 Table 7 EA codes. 28 Table 8 SGC types and key types 28 Table 9 DOE codes for the year . 30 Table 10 DOE codes for the month 30 Table 11 Token definition format . 30 Table 12 Data elements used in tokens 34 Table 13 Token classes . 35 Table 14 Token sub-classes 36 Ta

38、ble 15 TID calculation examples 37 BS IEC 62055-41:2014IEC 62055-41:2014 IEC 2014 7 Table 16 Units of measure for electricity 38 Table 17 Units of measure for other applications . 38 Table 18 Bit allocations for the TransferAmount . 39 Table 19 Maximum error due to rounding . 39 Table 20 Examples of

39、 TransferAmount values for credit transfer 39 Table 21 Example of a CRC calculation . 40 Table 22 Permissible control field values . 40 Table 23 Selection of register to clear 41 Table 24 Classification of vending keys . 48 Table 25 Classification of decoder keys . 49 Table 26 Permitted relationship

40、s between decoder key types . 53 Table 27 Definition of the PANBlock 55 Table 28 Data elements in the PANBlock . 55 Table 29 Definition of the CONTROLBlock . 55 Table 30 Data elements in the CONTROLBlock . 56 Table 31 Range of applicable decoder reference numbers . 56 Table 32 List of applicable sup

41、ply group codes 57 Table 33 Sample substitution tables . 61 Table 34 Sample permutation table 62 Table 35 Data elements in the APDU . 65 Table 36 Possible values for the AuthenticationResult . 65 Table 37 Possible values for the ValidationResult 66 Table 38 Possible values for the TokenResult 66 Tab

42、le 39 Values stored in the DKR 70 Table 40 Sample permutation table 71 Table 41 Sample substitution tables . 72 Table 42 Entities/services requiring maintenance service 82 Table A.1 Entities that participate in KMS processes . 89 Table A.2 Processes surrounding the payment meter and DecoderKey 90 Ta

43、ble A. 3 Processes surrounding the CryptographicModule 90 Table A.4 Processes surrounding the SGC and VendingKey 91 Table B.1 Typical entities deployed in an STS-compliant system . 93 Table B.2 Identifiers associated with the entities in an STS-compliant system . 94 Table C.1 Data elements associate

44、d with a SGC . 97 Table C.2 Data elements associated with the CryptographicModule . 98 Table C.3 Items that should be noted in purchase orders and tenders . 101 BS IEC 62055-41:2014 8 IEC 62055-41:2014 IEC 2014 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ ELECTRICITY METERING PAYMENT SYSTEMS Part 41:

45、 Standard transfer specification (STS) Application layer protocol for one-way token carrier systems FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The objec

46、t 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 International Standards, Technical Specifications, Technical Reports, Publicly Available Specification

47、s (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 participate in this preparatory work. International, governmental and non-governmental organizations liaisin

48、g 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 the two organizations. 2) The formal decisions or agreements of IEC on technical matters express,

49、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 have the form of recommendations for international use and are accepted by IEC National Committees in that sense. While all reasonable effort

展开阅读全文
相关资源
  • BS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdfBS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdf
  • BS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdfBS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdf
  • BS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdfBS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdf
  • BS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdfBS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdf
  • BS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdfBS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdf
  • BS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdfBS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdf
  • BS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdfBS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdf
  • BS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdfBS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdf
  • BS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdfBS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdf
  • BS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdfBS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdf
  • 猜你喜欢
    相关搜索

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

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