Terminal general software architecture for urban rail transit AFC system
-
摘要: 通过对城市轨道交通AFC系统以及终端设备特点详细分析,设计并实现一套适合自动售检票机、半自动售票机以及查询机的通用软件架构,终端应用软件采用多进程方式,进程间采用Socket通信,主业务进程架构基于PureMVC框架设计,通过单例设计模式、信号、锁等技术实现业务流程同步与异步的灵活控制。该架构具有扩展性强、易维护性、低耦合等特点,并在实际项目中得到验证与应用。Abstract: Based on the detailed analysis of the characteristics of urban rail transit AFC system and equipments, this article designed and implemented a general software architecture that was suitable for automatic fare collection(AFC) machine, semi-automatic ticket vending machine and query machine. The software adopted multi-process mode, the inter-process communication was implemented through socket. The main business process architecture was established based the PureMVC framework, the flexible control of business process between synchronization and asynchronous was achieved by using the singleton design pattern, signal, lock, etc. The architecture is with the characteristics of strong expansibility, maintainability and low coupling, has been verified and applied in the practical projects.
-
-
[1] AFC 项目组. 京津城际轨道交通自动售票系统详细设计[Z]. 北京: 中国铁道科学研究院,2008: 26-28. [2] 邱华瑞,张宁,徐文,等. 城轨交通自动售检票系统架构体系研究[J]. 都市快轨交通, 2014,27(2):86-89. [3] 阮军,杨春金. 基于模式的多层分布式软件系统架构的设计[J]. 计算机工程,2006,32(14):57-59. [4] 周学权,战德臣,聂兰顺,等. 面向多租户的多层次可伸缩SaaS软件架构研究[J]. 华中科技大学学报(自然科学版),2013,41(s2):131-136. [5] 陈鹏飞, 田地,杨光. 基于MVC架构的LIBS软件设计与实现[J]. 吉林大学学报(工), 2016,46(1):242-245. [6] 李传煌,王伟明,施银燕. 一种UML软件架构性能预测方法及其自动化研究[J]. 软件学报, 2013(7):1512-1528. [7] 杨静. 基于消息中间件的MVC软件架构设计[J].铁路计算机应用,2009,18(4):22-24. [8] 吕毅. 西安地铁网AFC系统架构设计探讨[J].铁路计算机应用,2013,22(7):36-38.
计量
- 文章访问数:
- HTML全文浏览量: 0
- PDF下载量: