地铁自动售票机中财务系统的设计与开发
发布时间:2018-02-14 15:29
本文关键词: TVM 硬币接收和找零 纸币接收和找零 设计模式 出处:《南京理工大学》2012年硕士论文 论文类型:学位论文
【摘要】:自动售检票系统(Automatic Fare Collection AFC)是城市轨道交通的一个很重要的组成部分,能够在无人值守的条件下高效准确地完成车票的售卖和进出站检票。在自动售检票系统中,自动售票机(Ticket Vending Machine TVM)是财务数据和票务数据的源头,是整个AFC系统的最为重要的部分,因此对TVM财务系统的研究具有重要意义。 本文首先分析了自动售票机的基本功能,进而采用以组件为基础的分层的软件体系结构设计整个TVM软件系统的架构,将业务层和设备控制层通过接口层进行解耦。在接口层中设计了与财务有关的收款、找零和退款三个接口,利用硬币接收与找零模块、纸币接收模块和纸币找零模块来实现这三个接口。然后对每个模块进行详细设计,并按照通信协议和工作流程实现各个模块的功能。在每个模块的详细设计和实现过程中采用设计模式、动态链接库技术、多线程技术,来提高软件开发的效率和敏捷性。最后,设计测试界面对每个模块的接口进行测试,最终实现了纸币和硬币的接收、找零与退款功能。 最后指出本系统存在的问题和有待改进之处,作为今后研究的参考。
[Abstract]:Automatic Fare Collection (AFC) is an important part of urban rail transit, which can efficiently and accurately complete ticket collection and check in and out stations under unattended conditions. Ticket Vending Machine TVM is the source of financial data and ticketing data, and the most important part of the whole AFC system. Therefore, the study of TVM financial system is of great significance. In this paper, the basic functions of the ticket vending machine are analyzed, and then the architecture of the whole TVM software system is designed based on the layered software architecture based on components. The business layer and the equipment control layer are decoupled through the interface layer. In the interface layer, three interfaces are designed, which are related to the receipt of money, change and refund, and make use of the coin receiving and change module. The paper money receiving module and the bill change module are used to realize these three interfaces. Then each module is designed in detail. And according to the communication protocol and workflow to achieve the functions of each module. In the detailed design and implementation of each module, the use of design patterns, dynamic link library technology, multi-thread technology to improve the efficiency and agility of software development. The test interface is designed to test the interface of each module. Finally, the functions of receiving paper money and coins, change and refund are realized. Finally, the paper points out the existing problems of the system and the points to be improved, as a reference for future research.
【学位授予单位】:南京理工大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TH692;U293.221;U231
【引证文献】
相关硕士学位论文 前2条
1 孙陈飞;地铁自动兑币机系统的设计与开发[D];南京理工大学;2013年
2 吴杰;地铁自动补票机系统的设计与开发[D];南京理工大学;2013年
,本文编号:1511019
本文链接:https://www.wllwen.com/kejilunwen/jixiegongcheng/1511019.html