摘要
首先分析了当前扫码支付系统的性能需求及存在的不足,在此基础上为扫码支付系统设计了一种基于MQTT协议、SOCKS5协议和JSON数据格式的数据交互层。该交互层优化了扫码支付系统服务器与商户终端数据库之间的数据交互模式,并集成了访问代理、身份验证等多项功能,可以使系统的自动化程度进一步提高,更灵活地部署于不同的环境。实践结果表明,在广东省某连锁超市使用设置了数据交互层的扫码支付系统后,响应时间明显缩短,准确率和安全性也有较大提高。因此,该系统具有较好的推广价值。
This paper proposes to design a data-interaction layer based on MQTT(Message Queuing Telemetry Transport),SOCKS5 and JSON(JavaScript Object Notation)for QR(Quick Response)Code-scanning payment system,in view of the performance requirements and the defects of the current QR Code-scanning payment system.The proposed data-interaction layer optimizes data-interaction mode between QR code-scanning payment system server and sellers'terminal database.It also integrates multiple functions such as access agency,identity verification,etc.,which further improves the automation of the system and make the system more flexible to be deployed on different occasions.Practical results show that after using a QR code-scanning payment system with data-interaction layer in a supermarket chain in Guangdong Province,the response time is significantly shortened,and the accuracy and security are also greatly improved.Therefore,the proposed system is quite worthy of promotion.
作者
崔阳
CUI Yang(College of Applied Technology,China University of Labor Relations,Beijing 100048,China)
出处
《软件工程》
2022年第2期14-17,共4页
Software Engineering
基金
中国劳动关系学院科研项目(20XYJS004).