当前位置: 首页 > news >正文

电能表预付费系统-标准传输规范(STS)(6)

6. POSToTokenCarrierInterface 应用层协议

6.1 APDU: ApplicationProtocolDataUnit 应用协议数据单元

6.1 .1 Data elements in the APDU

The APDU is the data interface between the POSApplicationProcess and the application layer protocol and comprises the data elements given in Table 1 .

        APDU 是 POSTApplicationProcess 和应用层协议之间的数据介面,并由表 1 数据元素构成。

 Table 1 – Data elements in the APDU

MeterPAN
Identification MeterPrimaryAccountNumber for the payment meter.
        用于付费电表并兼容 ISO 标识 MeterPrimaryAccountNumber

TCT
Directs which TokenCarrierType should be used in the physical layer protocol to carry the token to the payment meter
        指引应用哪个 TokenCarrierType 于物理层协议使令牌送到电表上。

DKGA
Directs which DecoderKeyGenerationAlgorithm is to be used for generating the DecoderKey
        指引用哪个 DecoderKeyGenerationAlgorithm 以产生 DecoderKey。

EA
Directs which encryption algorithm is to be used for encrypting the token data
        指引用哪个加密算法对令牌数据加密。

SGC
Directs which SupplyGroupCode the payment meter is allocated to.
        指引分配哪个 SupplyGroupCode 给付费电表

TI 
Directs which TariffIndex the payment meter is linked to.
        指引连接哪个 TariffIndex(费率指标)到付费电表

KRN
Directs which KeyRevisionNumber the DecoderKey is on (as inherited from VendingKey)
        指引 DecoderKey 在哪个 KeyRevisionNumber 上

KT Directs which KeyType the DecoderKey is on.
        指引 DecoderKey 在哪个 KeyType 上

KEN
A number associated with the VendingKey and a DecoderKey that determines the time period, during which the key will remain valid.
        KeyExpiryNumber VendingKey 和 DecoderKey 相关的号码。此号码可确定钥匙保持有
效的时间。

BaseDate 
The starting date and time from which a TID is calculated.

Token
The actual token data that is to be transferred to the payment meter prior to encryption and processing
        实际令牌数据。加密和处理以前,此数据被传输到付费电表。

IDRecord
Optional identification data intended to be encoded onto a payment meter ID card or onto a token carrier together with the token.
        可选身份数据。该数据被编码到付费电表 IC 卡或令牌载波器上(带令牌)

PRNRecord
Optional print data intended to be printed at the same time as the coding of the token onto the TokenCarrier. Certain token carriers such as paper-based magnetic card devices allow printing to be done onto the card surface itself and this operation may be integrated with the magnetic card encoding device. The content and format is not specified and is left to each system to define according to its particular requirements.
        可选打印数据。在令牌被编码到载波器上的同时,该数据可打印。有些令牌载波器,例如纸质磁卡设备,可允许在卡表面上打印,并且这种操作可集成于磁卡编码设备上。内容和格式不作规定。系统可根据具体要求来规定。

The optional IDRecord comprises the data elements given in Table 2.

        可选的 IDRecord 由表 2 中的数据元素构成。 

 

 

 

 


http://www.mrgr.cn/news/51002.html

相关文章:

  • python pip安装requirements.txt依赖与国内镜像
  • Loss:Objects as Points
  • 如何实现弹出式窗口
  • 【量化交易】聚宽安装
  • 深入 IDEA 字节码世界:如何轻松查看 .class 文件?
  • python画图|在三维空间的不同平面上分别绘制不同类型二维图
  • Vivado HLS C/RTL 联合仿真时间
  • Tmux常用操作--云GPU版
  • leetcode解题思路分析(一百六十一)1394 - 1400 题
  • 【C++进阶】封装红黑树实现map和set
  • SpringCloud-持久层框架MyBatis Plus的使用与原理详解
  • 超声波测距
  • 微信小程序-独立分包/分包预下载
  • 13.java面向对象:面向对象的三大特征
  • RK3568平台开发系列讲解(调试篇)如何在procfs创建一个文件与用户空间交互
  • 【Python语言进阶(二)】
  • 舍伍德业务安全架构(Sherwood Applied Business Security Architecture, SABSA)
  • 多线程-进阶(2)CountDownLatchConcurrentHashMapSemaphore
  • 社群相关内容整理及分析
  • 银行业AI大模型,从入局到求变