摘 要:随着越来越多的羊城通记名卡用户希望可以实时获悉交易信息,并可以随时查看过往的每一笔消费记录,作为自己的乘车凭据。因此,为了搭建羊城通记名卡交易实时推送系统,提出基于 RabbitMQ+Redis+MongoDB 为核心的解决方案,该方案可以满足交易数据的需求。当用户使用记名卡乘坐公交地铁时,用户可以通过羊城通官方 APP 准实时收到相应的交易记录信息。此外,该系统也支持用户随时随地在查询自己的历史消费记录。此系统的搭建及相关服务的推出,进一步提升了羊城通记名卡的服务水平,提高了用户的满意度。
关键词:羊城通记名卡;RabbitMQ;Redis;MongoDB;羊城通官方 APP
中图分类号:TP311.5 文献标识码:A 文章编号:2096-4706(2020)03-0017-03
Establishment of a Consumption Record Real-time Push System for Yangchengtong Named Cards
ZOU Dabi,HUANG Yijia,WEN Xiaoli,XIE Zhendong,LI Jingkai
(Guangzhou Yangchengtong Co.,Ltd.,Guangzhou 510080,China)
Abstract:As more and more users of Yangchengtong registered card want to know the transaction information in real time,and can view every past consumption record at any time as their own riding credentials. Therefore,in order to build a real-time push system for Yangchengtong registered card transaction,a solution based on RabbitMQ + Redis + MongoDB is proposed,which can meet the needs of transaction data. When the user uses the registered card to take the subway,the user can receive the corresponding transaction record information in real time through the official APP of Yangchengtong. In addition,the system also supports users to query their historical consumption records anytime and anywhere. The establishment of this system and the introduction of related services further improve the service level of Yangchengtong registered card and improve the satisfaction of users.
Keywords:Yangchengtong named card;RabbitMQ;Redis;MongoDB;Yangchengtong APP
参考文献:
[1] 黄健宏 .Redis 设计与实现 [M]. 北京:机械工业出版社,2014.
[2] 陈德森,杨祖元 . 基于 MongoDB 的文本分类研究 [J]. 无线互联科技,2017(5):96-98.
[3] 骆文亮 . 基于异步消息处理的 RabbitMQ 运行原理探讨 [J]. 数码世界,2017(11):400.
作者简介:邹大毕(1981.12-),男,汉族,广东湛江人,系统架构设计师,移动互联网发展部副部长,硕士,研究方向:互联网软件技术、网络与信息安全技术。