摘要
目前火车已经成为人们出行的主要交通工具之一。火车票在客流高峰时期不易购买。目前铁路客票销售方式主要有火车站售票厅窗口售票,代售点售票以及电话订票。
为了缓解铁路部门的售票压力,为旅客提供多种途径的购票方式,通过分析2005年下半年在中国出现的铁路短信订票的例子以及阅读短信平台的文献资料,设计了一个基于短信平台的铁路订票模型。
订票模型有3个关键模块:SP通信模块,Sp业务处理模块以及订票信息交互模块。
SP通信模块需要和通信公司的互联网短信网关相连,以实现SP端MO短信的接收以及MT短信的发送;采用C++ Builder编写基于中国移动CMPP协议的网络程序实现与移动手机用户的通信功能。SP业务处理模块主要是分析用户短信内容,查询数据库,并将给用户的回复短信内容写入数据库;利用SQL Server存储过程与触发器技术来实现这些功能;对单步交互式订票业务、组合交互式订票业务以及信息查询业务进行了设计与实现;对规则短信与模糊短信的处理方法进行了研究与实现。订票信息交互模块需要与铁路部门的客票系统连接,且需要铁路部门提供客票系统的接口协议,本文完成了订票数据的准备工作。
最后,利用模拟网关,在实验室的机器上实现了SP通信实验以及SP业务处理实验,并给出了演示图和测试数据,证明了开发方法的可行性。
短信订票的应用,可以给旅客购票提供方便,缓解铁路部门售票压力,可以作为窗口售票以及电话订票的有益补充,同时可以给有关部门带来经济利益。
At present, train has become one main vehicle for passengers. It is hard for passengers to buy train ticket when there are a lot of railway passengers. Nowadays, the train ticket main selling methods are as follows: train station window selling, agent selling and telephone reservation.
In order to reduce the pressure of ticket selling of the railway department and to provide railway passengers more ticket reservation methods, by analyzing examples of railway ticket reservation first appearing in China in 2005 second half year and reading papers about short message service platform, a railway ticket reservation model based on short message service platform is designed, which has three key modules: SP communication module, SP service processing module and ticket reservation information exchanging module.
The SP communication module needs to be connected with the internet short message gateway of the communication corporation, to realize the receiving of MO short message and the sending of MT short message at the SP part. A network program based on China Mobile CMPP protocol is programmed using C++ Builder to achieve the communication function with China Mobile phone user. The main function of SP service processing module is to analyze the content of user' s short message, to query the database ,to produce the answering message and write it to the database. The function of SP service processing module is realized by using the database stored procedure and database trigger technology. The single step interactive ticket reservation service、combined interactive ticket reservation service and information query service are designed and realized.The processing methods about regular short message and fuzzy short message are researched and realized. The ticket reservation information exchanging module needs to connect with the ticket system of the railway department and needs the interface protocol of the ticket system, the preparation of ticket reservation data is accomplished.
In the last, under the simulated short message gateway, SP communication experiment and SP service processing experiment are demonstrated and the demo graph and experiment data are given, which verify that the development method is feasible.
The application of short message ticket reservation can provide convince for the ticket buying of passengers, can reduce the pressure of ticket selling of the railway department and can be a good complement of window ticket selling and telephone ticket reservation, at the same time, it can bring economic benefits to the related departments.
引文
[1]田宁,朱晔.铁路客票系统中延伸服务问题的研究[J].中国铁道科学,2001,22(2):23-26.
[2]Matsuo, H.; Shimizu, M.; Shimizu, J.; etc. Ticket reservation and sales on the Internet[J]. Japanese Railway Engineering, 2001,41(2):11-14.
[3]武昌站与中国移动联手开通短信订票业务[EB/OL].http://www.puwan.com/news/news20050906/8901.html.
[4]南昌铁路局厦门车站.厦门站短信订票[EB/OL].http://www.xmhcz.com.
[5]广州瑞威经济发展有限公司.关于瑞威公司开展短信订票的方案[Z].广州:广州瑞威经济发展有限公司,2006.
[6]卢晓庆.基于Web的交通旅游订票系统的设计与实现[D].大连:大连理工大学,2004.
[7]张俊,王林.基于.NET的手机订票系统的设计[J].计算机应用,2004,24(6):246-250.
[8]On the suitability of the short message service for emergency warning systems[A]. Pries, R.; Hobfeld, T.; Tran-Gia, P. VTC 2006-Spring. 2006 IEEE 63rd Vehicular Technology Conference(IEEE Cat. No. 06CH37718)[C]. Piscataway, NJ, USA: 2006,991-995.
[9]王实,陆建德.基于公共服务的互联网短信平台的设计与实现[J].微机发展,2005,15(8):41-44.
[10]陈娇.企业招商互动平台的设计与实现[D].武汉:华中科技大学,2006.
[11]中国移动通信集团公司.中国移动通信互联网短信网关接口协议(CMPP V3.0)[S].
[12]赵巍,肖璋.短信平台的设计与维护[J].计算机工程与设计,2005, 26(6):1642-1644.
[13]张国平.铁路行邮专列短信平台的研究及设计[D].北京:北京交通大学,2005.
[14]陈维义,曹鹏,罗晓沛.短信息增值业务平台的实现[J].微电子学与计算机,2004,21(11):67-70.
[15]龚小炜,左春.基于3G的保险查勘调度系统的设计与实现[J].计算机工程与设计,2004,25(7):1059-1062.
[16]王媛媛.基于Internet的企业短信综合集成平台PMS的设计与实现[D].浙江:浙江大学,2003.
[17]谢林辉.基于互联网网关的集团客户短信平台应用研究[D].武汉,华中科技大学,2006.
[18]金通.基于短信平台的邮政增值业务的研究[D].北京,北京邮电大学,2005.
[19]夏立.短信应用平台的构架及构件化开发研究[D].上海:复旦大学,2005.
[20]王敏,童小念.基于Servlets技术的短信平台开发[J].中南民族大学学报(自然科学版),2004,23(1):81-83.
[21]童小念,王敏.以MSMQ为中间件的短信业务处理系统[J].计算机工程与设计,2005,26(12):3247-3210.
[22]A multimedia messaging platform for content delivering[A]. Gratschew, S.; Raitaniemi, J.; Ylinen, J.; Loula, P. 10th International Conference on Telecommunications. ICT'2003 (Cat. No. 03EX628)[C]. Piscataway, NJ, USA: 2003,431-435 vol. 1.
[23]陈光,安庆文,王泽来.基于CMPP协议的短信通信平台的设计[J].内蒙古大学学报(自然科学版),2006,37(4):468-471.
[24]王晶,王龙.一个面向行业的短信客服系统的框架设计和实现[J].计算机应用,2003,(12):269-270.
[25]袁辉,刘亚文,邵飞.C++ Builder网络编程核心技术[M].北京:机械工业出版社,2003.
[26]余明兴,吴明哲,黄世阳等.Borland C++ Builder 6程序设计经 典[M].北京:科学出版社,2004.
[27](美)Mark Spenik等著.刘谦,苏建平等译.SQL Server 2000数据库管理员指南[M].北京:机械工业出版社,2002.
[28]How to BLAST your database-A study of stored procedures for BLAST searches[A]. Rohm, Uwe; Diep, Thanh-Mai. Database Systems for Advanced Applications-11th International Conference, DASFAA 2006, Proceedings[C]. Springer Verlag, Heidelberg, D-69121, Germany: 2006,807-816.
[29]飞思科技产品研发中心.SQL Server高级管理与开发[M].北京:电子工业出版社,2002.
[30]李春葆,曾慧.SQL Server 2000应用系统开发教程[M].北京:清华大学出版社,2005.
[31]Automatic updates of interactive information visualization user interfaces through database triggers[A]. Leissler, M.; Hemmje, M.; Neuhold, E. Proceedings of 5th IFIP WG2.6 Working Conference on Visual Database Systems[C]. Norwell, MA, USA: 2000, 341-366.
[32]陈鑫,滕少华,丁磊,等.某铁路短信订票系统中短信请求处理问题研究[J].江西师范大学学报(自然科学版),2007,(2).(in press).
[33]Kwanwoo Lee. Formal definition and consistency analysis of feature-oriented product line analysis model[J]. Journal of KISS: Software and Applications(South Korea), 2005,32(2): 119-127.
[34]向永红,李更生,袁勇,等.串的最大匹配算法[J].计算机工程与科学,2003,25(4):72-74.
[35]杨宪泽,谈文蓉,刘玉萍,等.自然语言处理的一些方法研究[J].西南民族大学学报(自然科学版),2005,31(4):592-595.
[36]Extracting information from short messages[A]. Cooper, R.; Ali, S.; Bi, C. Natural Language Processing and Information Systems. 10th International Conference on Applications of Natural Language to Information Systems, NLDB 2005. Proceedings (Lecture Notes in Computer Science Vol. 3513)[C]. Berlin, Germany: 2005, 388-391.
[37]范立新,谢晓能,吴飞.基于过滤的中文多模式近似字符串匹配算法[J].计算机工程,2006,32(20):48-50.
[38]陈明晶,姚建荣,唐志豪.电子商务系统的商品搜索算法研究[J].计算机工程与应用,2006,(3):209-211.
[39]李鑫,胡忆沩.模糊查询技术在危险介质泄露应急决策系统中的应用[J].微计算机信息,2005,21(12-3):98-100.
[40]陈鑫,滕少华,丁磊.基于短信平台的铁路信息服务系统的设计[J].科学技术与工程,2006,6(18):2915-2917.
[41]北京风起水流软件工作室.www.zealware.com.