随着全球信息化的发展,生活节奏越来越快,人们对信息的时效性要求越来越重视,及时得知票据的真伪性的需求也越来越高,所以基于Android
手机二维码识读软件渐渐成为人们关注的焦点。 本论文实现的是基于Web的火车票管理系统和基于Android手机二维码识读软件。基于Web的火车票管理系统的实时性、便捷性要远远高于传统的售票系统,而基于Android手机二维码识读软件能够方便、快捷的使旅客获取票面上的信息和辨别真伪。系统一经上线,用户在世界任何一个角落,只要能够连接英特网就能在第一时间获取车票信息内容并能够实现网上订票。基于Web的火车票管理系统能够实现管理员信息的管理、列车信息的管理和查询、车票二维码的生成和打印,在生成票据前对票面上的信息采用DES加密算法进行加密后生成二维码,以确保的信息安全。而基于Android手机二维码识读软件能够扫描票据上的二维码,将密文传输到服务器端后,接受服务器端解密后的明文并将其显示,以便辨别车票的真伪性。
本项目利用当前成熟的数据库技术与JSP
技术,开发环境采用Windows
操作系统,Web
服务器采用Tomcat 6.0
,开发工具采用MyEclipse8.5
,数据库采用My SQL
,以完成交互的Web
服务器应用程序的开发,完成了一个较完整的基于Web
的火车票管理系统。本系统采用B/S
模式设计, 具有设计简单易用、可移植性较强等优点。 关键字:Android手机,火车票,二维码,识读二维码,加密解密
Author:SunChen,Tutor:WangMeng
With the development of global informationization and the increasingly fast pace of life, people attach more and more attention to the timeliness of information requirements, and require higher level of the bill authenticity in time, so two-dimensional code reading software on the Android mobile phone gradually get our attention.
This paper is to realize the train tickets management system on Web and two-dimensional code reader software on Android mobile phone. Train tickets management system on Web is much more real-time, more convenience than that of the traditional ticketing system;and two-dimensional code reading software on the Android mobile phone can conveniently, quickly make the passengers get and distinguish the information on the tickets. The system on line, as long as connectting the Internet,so the user will be able to obtain the ticket information and can realize booking tickets online in any corner of the world,. Train ticket management system on Web to realize the administrator information management, information management and query, train ticket code generation and printing, in generating the bill before the face of information using the DES encryption algorithm is encrypted to generate a two-dimensional code, in order to ensure the information security. software on Android mobile phone scan a two-dimensional code reading notes , transmit the ciphertext to the server, accepted the decrypted plaintext from the server and display it, so as to distinguish the authenticity of the ticket.
The project uses the current mature database technology and JSP technology, development environment using the Windows operating system, Web server using Tomcat 6, development tools MyEclipse8.5, database using My SQL, to complete the interactive Web server application development, completion of a complete train ticket management system based on Web. This system adopts B/S model design, having the advantages of simple design and easy to use, highly portable advantages.
Keywords: Android mobile phone, train ticket, two-dimensional code, identification code, encryption and decryption
目录