基于二维码的电子门票系统摘要智慧旅游正在改变人们的旅游方式。为满足智慧旅游从线上到线下的消费模式,使用电子门票替代纸质门票已成为一种趋势。当前电子门票多以一维条码、数字字母串为主要表现形式。游客在进行线下消费时,需要将电子门票兑换成纸质门票,这使得线下消费过程变得繁琐。为简化线下消费过程,实现线上线下的无缝对接,研究一款能够自动识别电子门票的验票系统变得十分必要。二维码技术是近几年新兴的一种条码技术。在国外应用较为普遍,但在国内却处于刚刚起步的阶段。而二维码中的 T-CODE 码因有较好的安全性,支持任何手机终端和较低的经济成本而深受欢迎。本论文结合传统旅游行业,在深入研究电子票务系统开发过程和相关技术的基础上,采用 J2EE 技术设计并实现了基于 T-CODE 二维码技术的网络化电子票务系统。当游客在电子票务平台上订购了景区门票,游客手机便可收到一个 T-CODE 码电子票,游客在景区入口出示手机中的 T-CODE 码,将由景区验票终端读取其中的信息。为此用户无需在外排队购票,只要能够上网、手机能够接收短信就可以实现在线即时地购买电子票。给游客和景区带来了极大的方便。关键词:二维码;电子门票系统;自动识别Electronic ticket system based on two dimensional codeAbstractIntelligent tourism is changing the way people travel. In order to meet the consumption pattern of Intelligent Tourism from online to line, the use of electronic tickets instead of paper tickets has become a trend. At present, the main forms of electronic tickets are one - dimensional bar code and digital alphabet string. When tourists spend under the line, they need to convert electronic tickets into paper tickets, which makes the process of consumption under the line tedious. In order to simplify the consumption process under the line and realize the seamless connection between line and line, it is necessary to study a ticket checking system that can automatically identify the electronic tickets.Two-dimensional code technology is a new barcode technology in recent years. It is widely used in f...