Design and development of ticketing system of subway automatic ticket vending machine

Author
YeFei
Advisor
XuJunShan
School
Nanjing University of Technology and Engineering
Major
Mechanical and Electronic Engineering
Classification
TH692 Commercial machinery and equipment
Degree
Master's thesis
Year
2012
Downloads
206
Citations
2

Request the full text

Abstract

With the increasingly serious problem of modern urban traffic jams, urban rail traffic has been a rapid development because it can greatly alleviate this problem. As the important part of city rail traffic, Automatic fare and collection system (AFC) completes the work of tickets trading and tickets collection when passengers enter or exit the station efficiently and accurately without staff to guard. And the ticket vending machine as one of the most important equipment of the AFC system, really complete the sale of tickets and transactions. And ticket vending machine has direct contact with passengers, so it is very importance to ensure the robustness and stability of the software system of this machine. The software system of Automatic vending machine includes ticketing system for ticketing processing, and the financial system for financial processing, and interface with passengers (UI).The study of this paper is under the background of Wuhan Metro Line 2 and Line 4 project. At frist this paper discuss the significance of the AFC system localization.And general design the Ticket Vending Machine system with Object-Oriented development thought, according to Wuhan Metro’s specific needs. Then detailedly design and realize the ticketing system in the AFC system with C++ programme language, applicating serial communication, dynamic link library, multi-threading technology, design patterns and so on. The system includes module for sale Single Journey Ticket, module for reading and writing Single Journey Ticket, module for reading and writing stored value card and Staff card, whose functions are to delivery, read and write Single Journey Ticket, to recycle invalid ticket and to process stored value cards and Staff card. The system which has developped successfully completes the function of ticketing system. It is integrated with other modules to achieve self-ticketing in the TVM system. What’s more, the each module of ticketing system can be transplanted directly into other devices such as replacement ticket machine, dollar coin machine, and gate to improve the reusability of the program.

Table of contents

Summary 3-4 Abstract 4-5 directory 5-8 chart catalog 8-10 1 Introduction 10-16 1.1 research background research status at home and abroad 1.2 10 AFC system and its development trend 10-13 1.2.1 AFC systems Development Overview Status 1.2.2 foreign studies 10-11 11-12 1.2.3 domestic research status 12-13 1.2 .4 trends research status at home and abroad 13 1.3 TVM system 13-15 1.4 origin and meaning of the subject 15 1.5 thesis structure arrangements 15-16 overall design and analysis 2 TVM system 16-25 2.1 TVM system requirements analysis 16-21 2.1.1 TVM system module analyzes 16-17 2.1.2 TVM system functional requirements analysis 17-18 2.1.3 TVM system transaction process analysis 18-21 2.1.4 system Summary and system building goals 21 2.2 TVM overall system architecture design 21-24 2.3 Summary 24-25 3 ticketing system detailed design 25-53 overall 3.1 ticketing system module design 25-29 3.1.1 ticketing system functional analysis 25-26 3.1.2 ticketing system to sell state design 26-27 3.1.3 ticketing system to sell process design 27-29 3.2 CST module details design 29-40 3.2.1 CST communication protocol 29-34 3.2.2 CST workflow 34 3.2.3 CST interface design 34-37 3.2.4 CST static structural design 37-40 3.3 reader detailed design 40-49 <br / > 3.3.1 reader communication protocol 41-42 3.3.2 reader workflow interface design 42-46 3.3.3 reader 46-47 3.3.4 reader static structural design 47-49 3.4 design Pattern in ticketing system 49-52 <br / > design Mode 3.4.1 Overview 49 3.4.2 template mode 49-50 3.4.3 single mode 50 3.4. 4 observer mode 50-51 3.4.5 command mode 51-52 3.5 Summary 52-53 4 key issues ticketing system Research 53-59 4.1 serial communication 53-54 4.1.1 serial communication principle 53 4.1.2 serial communication applications application 53-54 4.2 dynamic link library 54-57 4.2.1 dynamic Link library Overview 54-55 4.2.2 dynamic Link Library applied technology application 55-57 4.3 multithreading technology 57-58 4.3.1 multithreading technology Overview 57 4.3.2 multi-threading technology in the application system 57-58 4.4 Summary 58-59 5 ticketing system development and implementation 59-74 5.1 Introduction systems technology and development platform 59-61 5.1.1 development Language 59 5.1.2 platform 59-60 5.1 .3 development methods 60-61 ticketing system to achieve 5.2 61-70 5.2.1 CST achieve 61-65 5.2. 2 readers realize tests 65-70 5.3 ticketing system 70-73 5.3.1 system testing program 70 5.3. 2 test environment 70 5.3.3 test Results 70-73 5.3.4 test results and analysis 73 5.4 Summary 73-74 6 summary and Outlook 74-76 6.1 summarizes 74-75 6.2 insufficient and Prospects 75-76 <br / > Thanks 76-77 References 77-81 Appendix 81

Related dissertations

  1. The Design and Implementation of the Subway Ticket Vending Machine Software System
    YangGuangHui ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. Design and Implementation of Ticket Vending Machine
    CuiPengWei ·Beijing Jiaotong University ·2012 ·Master's thesis
  3. Analysis and design of long-distance station ticket management system
    ChengLiJiang ·Yunnan University ·2012 ·Master's thesis
  4. Study on the Situation and Strategies of Operation in the Chengdu-Dujiangyan Suburban Railway
    FanLingLi ·Southwest Jiaotong University ·2012 ·Master's thesis
  5. Automatic fare gate control system of the door
  6. Design and development of subway automatic ticket machine system
  7. Design and Implementation of city ticketing system based on the web
    TangQingHua ·Dalian University of Technology ·2003 ·Master's thesis
  8. Railway ticketing system design and implementation
  9. Research on Income Distribution Model of Metro Transferred Path
    NiuXinQi ·East China Normal University ·2005 ·Master's thesis
  10. Application & Research of a Testing Method and Its Tool for Automatic Fare Collection Softwares
    YeAi ·Donghua University ·2010 ·Master's thesis
  11. Study and Application of an Algorithm of Selling Tickets in Reason for Last Trains on Rail Transit Network
    PengYiBing ·Donghua University ·2010 ·Master's thesis
  12. Shanghai rail transit AFC Host Cluster Monitoring System Design and Implementation
    ShenWeiLong ·East China Normal University ·2009 ·Master's thesis
  13. Designing of Gate in Urban Railway Traffic Based on Embedded Technology
    JiangXiangGang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  14. Design and Realization of Wuxi Lingshan Scenic Spot Access Control System
    ZuoShuXin ·East China Normal University ·2009 ·Master's thesis
  15. Compiler technology -based automated data collection technology research
    LingHao ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Study on the Comprehensive Passenger Ticketing System
    MaZuoWei ·Chang'an University ·2008 ·Master's thesis
  17. The Design and Implementationof the Control System of Ticket Vending Machine
    ZhaoQiang ·Harbin Institute of Technology ·2010 ·Master's thesis
  18. The Analysis and Design of Traceable Ticketing System in Ro-Ro Ship
    HuiJing ·Dalian University of Technology ·2010 ·Master's thesis
  19. The Risk Analysis and Control of Guangzhou-foshan Metro’s Automatic Fare Collection System
  20. The Design and Implementation of Control System of the Automatic Gate Machine
    LiHongLei ·Harbin Institute of Technology ·2010 ·Master's thesis