摘要
以STM32为控制核心,IC卡为预付费载体,文章设计了IC水卡预付费终端,其中IC卡模块完成IC卡的读写,GPRS模块基于Socket与消息服务器完成数据传输,消息服务器基于Web服务完成了水务数据库业务流程。为了保障系统在恶劣网络环境的容错性能,文章提出基于CRC报文缓存技术的解决方案,很好地处理了网络异常下刷卡未同步数据库的问题。
Taking STM32 as the control center and IC card as a prepaid carrier, this paper designes the IC water card prepaid terminal. Where, IC card module to complete the IC card read and write. GPRS module complete data transmission based on Socket and message server. The message server completes the water database business process based on the Web service. In order to protect performance of the system fault-tolerant in harsh network environment. The paper proposes a solution based on CRC message caching technology, to deal with the issue of swiping card unsynchronized database under the abnormal network.
出处
《无线互联科技》
2018年第5期140-142,共3页
Wireless Internet Technology