5.4 TokenCarrier 到 MeterApplicationProcess 的数据流
The flow of data from the TokenCarrier to the MeterApplicationProcess is shown in Figure 4.此数据流见图 4。
图 4 TokenCarrier 到 MeterApplicationProcess 的数据
The token entry process from the TokenCarrier varies according to the TCT. The nature of the connector will similarly vary according to the TCT, an example of which may be a keypad or a magnetic card reader device supporting one-way token carriers as specified in IEC 62055-51 .
令牌从 TokenCarrier 进入过程根据 TCT 情况变化。同样地,连接器特性也根据 TCT 情况变化。其中的例子可以是键盘或磁卡阅读设备;它们支持单向令牌载波器,并在 IEC62055-51 中作了规定。
Where other types of connectors are required to support other types of token carriers such as a memory key reader device or a plug-in connector from a hand-held unit acting as a virtual token carrier, then such token carriers shall be specified in additional parts of IEC 62055-5x in the future.
其它类型连接器可以要求支持其它类型令牌载波器,例如内存 KEY 阅读器和插入式连接器(手持装置 中),它们可作为虚拟令牌载波器。这些令牌载波器,可能在未来 IEC62055-5X 增加部分作规定。
The physical layer protocol reads the token data being entered and provides immediate corrective feedback to the user (see 6.3 in IEC 62055-51 :2007 for example). The entered token data is presented in the TCDU, from where the application layer protocol extracts the token by appropriate decryption, validation and authentication, the results of which are presented to the MeterApplicationProcess in the APDU. After processing and executing the instruction from the token, the MeterApplicationProcess indicates the result in the APDU for the application layer protocol to take further action. This normally causes the cancellation of the TID and the giving of the instruction, via the TCDU, to the physical layer protocol to complete the token entry process by erasure of the token data (if appropriate) or by writing of other relevant data back onto the TokenCarrier as may be appropriate.
物理层协议读取令牌数据,并向用户提供立刻更正反馈(例如见 IEC62055-51 中 6.3)。进来的令牌数据出现在 TCDU 上,同时在这个地方,应用层协议通过适当解码、认证和识别来提取令牌,有关结果被送到 APDU中的 MeterApplicationProcess。在处理和执行令牌的指令以后,MeterApplicationProcess 向应用层协议显示APDU 中的结果,以便采取进一步行动。正常情况下,这会引起 TID 撤消,并经过 TCDU 发送指令给物理层协议,以便完成令牌进入过程,其中所采用方式是删除令牌数据(如合适),或其它相关数据写回到TokenCarrier 中(如合适)。
For certain TokenCarrier types (for example a high speed virtual token carrier) the physical layer protocol may employ a token entry lockout function to protect the payment meter from fraud attempts. Typically, such a lockout function would slow down the effective rate, at which tokens may be entered via the particular token carrier interface (see 6.6.7 of IEC 62055-52:2008 for example).