针对智能卡协议测试存在的自动化和标准化程度低、脚本复用性差等问题,提出了一种非接触式智能卡协议测试系统ProxiCPTS ( Protocol Test System of Proximity Card)。系统采用分层结构和模块化设计的思想,通过硬件抽象层屏蔽测试设备的不一致,构建功能函数库以实现代码隔离,采用工程化方法管理测试用例,支持系统扩展。实际应用表明,该系统能够提高测试效率,且系统结构清晰,具有较高的可维护性,可以满足自动化测试的应用需求。%ProxiCPTS ( Protocol Test System of Proximity Card) is designed to solve the problems of the low degree of automation and stand-ardization and the poor reuse of code of smart card protocol test. Under the spirit of hierarchical structure and modular design, the system may ig-nore the inconsistency of test devices by means of the hardware abstract layer. Also, the system builds a function library to realize code isolation, manages test cases by project methods and supports system expansion. Practical application shows that this system is highly maintainable and has a clear structure. It can improve test efficiency and satisfy the practical requirements of automatic test.
展开▼