• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2014, Vol. 36 ›› Issue (05): 991-996.

• • 上一篇    

基于ARM的双界面IC卡读写器的设计与实现

潘新娜1,鲍可进1,唐宏斌2   

  1. (1.江苏大学计算机科学与通信工程学院,江苏 镇江 212013;2.扬州源悦支付技术有限公司,江苏 扬州 225000)
  • 收稿日期:2012-11-23 修回日期:2013-02-25 出版日期:2014-05-25 发布日期:2014-05-25

Design and implementation of dual #br# interface IC card reader based on ARM             

PAN Xinna1,BAO Kejin1,TANG Hongbin2   

  1. (1.School of Computer Science and Telecommunication Engineering,Jiangsu University,Zhenjiang 212013;
    2.Yangzhou Yuanyue Payment Technology Co. LTD, Yangzhou 225000,China)
  • Received:2012-11-23 Revised:2013-02-25 Online:2014-05-25 Published:2014-05-25

摘要:

为满足智能卡在银行、保险、医疗等管理系统的应用需求,设计了一款基于ARM的支持双界面智能卡的读写系统。采用具有ARM CortexM3内核的STM32F103RBT6和近场通信收发器STRFNFCA等芯片进行相关的硬件设计。软件设计完成了对非接触式卡和接触式卡的底层驱动及应用层通信模块、LCD显示等操作;根据PBOC 2.0标准对智能卡进行金融交易包括圈存、消费、查余额等;同时,读卡器集成了Crypto 1加密算法来兼容市场上的Mifare系列卡。测试结果表明,读写系统性能稳定、功耗低、实用性强、可靠性高。

关键词: 读写器, 应用协议数据单元, 报文鉴别码, PBOC 2.0, DES

Abstract:

To meet the smart cards’application requirements in the banking, insurance, medical management systems, a smart card reader system is designed based on ARM. The chip STM32F103RBT6 with ARM CortexM3 and the near field communication transceiver STRFNFCA are used in the hardware design. In the process of software design,it gives initialization operations and application layer data transactions,LCD display between contactless/contact IC card and reader,implements smart card’s financial transactions including credit for load, debit for purchase and getting balance transactions, and integrates Crypto 1 encryption algorithm into reader so as to be compatible with Mifare cards.Experimental results indicate that the system has stable performance, low power consumption,strong practicability and high reliability.
     

Key words: reader, APDU, MAC, PBOC 2.0, DES