基于Web Services的移动彩票系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
Web Services能够在任何平台上的用任何语言编写的服务进行交互,使得应用程序的集成可以做到更快、更容易而且具有更高的可扩展性。因此,随着Internet和移动通信事业的迅速发展,将移动通信与Web Services技术有机的结合,提供无线网络服务已经成为新时期移动服务系统设计的趋势。论文将Web Services应用到移动彩票服务系统中,采用JAVA和.NET两种技术实现了一个基于Web Services的完全无纸化的移动彩票交易平台,它的各种操作使用Web服务实现。
     论文以市场需求及传统纸彩票存在的问题为出发点,利用目前广泛使用的移动终端,把移动通信系统应用于传统的彩票交易中。针对目前市场上主流使用的移动通信终端,构建了基于Web Services的移动彩票系统。并采用模拟器技术,搭建了移动彩票系统模拟环境,模拟了彩票购买和查询的过程。通过系统的测试、运行,达到了预期的目的。移动彩票系统具有以下优点:①完全无纸化,节省了资源。②依托现有的手机上网,实现异地操作。③投注购买方便可靠。无须再排队购买,避免了现金交易。④查询结果及兑奖方便可靠。⑤利用Web Services技术的优势,系统便于扩展和维护。
     移动彩票系统在Nokia S40模拟测试环境和Nokia 3100真机测试环境下进行了测试,测试结果显示该彩票系统是有效的、可行的,它能够达到:①输入要购买彩票的期数,移动彩票系统随机产生彩票号码,移动终端能收到购买成功与否的信息。②通过移动终端查询彩票数据库,得到个人购买彩票的情况:购买彩票的期数、购买的注数和中奖情况。③移动终端把用户购买信息通过无线网络的传输进入移动彩票系统。④后台服务管理员通过对彩票购买信息进行管理,移动彩票系统能够自动实现中奖通知和实时的在线中奖查询。
Service by any language can mediate on Web Services which makes integration of applications rapidly and extensibility. So, it is the trend of wireless network service with the uniting of Web Services and mobile communication in this time. The paperless model of mobile lottery transaction based on Web Services with java and .net has been realized.
     Based on market requirement and problems of traditional paper lottery, a mobile lottery transaction based on Web Services is set up with mobile terminals, which uses simulator to simulate the process of lottery purchase and searching. Anticipative purpose of the system is achieved by testing and running. Five advantages in this system:①Paperless, resource-saving.②Operated in any places supported by the present mobile telephone web.③Convenient and reliable to purchase. It is no need waiting in a queue to buy the lottery, without the cash deal.④Convenient and reliable to inquire about the result and cash in the lottery tickets.⑤Convenient extensibility and maintenance using Web Services.
     This system is tested in the simulation condition of Nokia S40 and the real condition of Nokia 3100.And the result shows that the system is effective and feasible:①Input the issue number, the system produces a lottery number, at the same time, mobile terminal receives the information success or not.②Mobile terminal inquires about lottery database, and finds the personal buying information: The issue number of lottery, the amount and instance of winning a prize in a lottery.③Mobile terminal transmits the transaction information to the mobile lottery system by Wireless network.④Through transaction information controlled by administrator, the system automatically implements message of transaction.
引文
[1] Wooju Kim, Daewoo Choi 等. Development of a Meta Product Search Engine with Web Services. Information Retrieval Technology, Volume 3689/2005, 571~576.
    [2] http://it.sohu.com/20070124/n247812788.shtml.
    [3] http://www-900.ibm.com/developerWorks/cn/xmUindex.shtml.
    [4] Llanos Tobarra, Diego Cazorla 等. Application of Formal Methods to the Analysis of Web Services Security. Formal Techniques for Computer Systems and Business Processes, Volume 3670/2005, 215~229.
    [5] C. Enrique Ortiz, Introduction to J2ME Web Services, http://developer.sun.com/techtopics/mobility/apis/articles/wsa/.
    [6] 邓海勤.针对J2ME的SIP和Web Services的应用开发.http://www.netyi.net/Resource/0255ecOf-c6bd-487e-9d32-73831912a04c.aspx.
    [7] Scot Seely著.《SOAP:XML跨平台Web Service开发技术》.机械工业出版社,2004年4月(英文原版SOAP:Cross Platform Web Service Development UsingXML,Pearson Eduction出版社出版).
    [8] JSR-000118 Mobile Information Device Profile Specification 2.0 Final Release http://jcp.org/aboutJava/communityprocess/finalfjsrl18/index.html.
    [9] [美]Jay Foster,Mick Porter著,李华飚,黎晓冬译.《应用Java API开发Web Services》.水利水电出版社,2003.7.
    [10] 杨永智.高级Web Services开发.www.msuniversity.edu.cn.
    [11] 徐家俊.WEB服务及其应用.http://www.amteam.org/static/BDDocument.asp?Action=View&ID={3893BF13-3684-430B-B171-77389141D00C}.
    [12] 嵌入式Web服务:http://www.w3.org/Addressing.
    [13] Tomasz Knyziaka, Wieslaw Winiecki. The new prospects of distributed me asurement systems using Java 2 Micro Edition mobile phone. Computer Sta ndards & Interface 28(2005) 183~193.
    [14] Benjamin A. Schmit, Schahram Dustdar 等. Systematic Design of Web Service Transactions. Technologies for E-Services Volume 38110/2006, 23~33.
    [15] 岳昆,王晓玲,周傲英.《Web服务核心支撑技术:研究综述》.软件学报,15 (3):428~442,2004.
    [16] 魏冬健,高济.基于J2ME平台的无线设备应用系统的开发.计算机应用研究。2002年第10期.
    [17] 蔺勇,陈炜.J2ME移动电话编程模式的研究.计算机工程与设计,2004年4月.
    [18] Walther著.《ASP.NET揭秘》.北京,中国电力出版社,2004.
    [19] Scott Short著.《构建XMLWeb服务—基于Microsoft.NET平台》.北京,清华大学出版社,2002.
    [20] Dinar Dalvi,Joe Gray.《.NET XML高级编程》.英宇,林琪,费广正等译.北京:清华大学出版社,2002.
    [21] 唐大任著.《用Java/C#开发手机程序及移动应用》.北京,电子工业出版社,2004年4月.
    [22] Steve Graham等著.《用Java构建Web服务》.北京:机械工业出版社,2003.
    [23] SOAP Version 1. 2 中文版: http://www.uddi-china.orglpubs/misc/soap 12.htm.
    [24] Web Services Routing Protocol(WS-Routing) (See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsrvspev/html/ws-routing.asp.).
    [25] Boualem Benatallah 等. Representing, analysing and managing Web service protocols. Data & Knowledge Engineering 58(2006) 327~357.
    [26] [美]Scott Seely著.杨涛,杨晓云,王建桥,高文雅等译.《SOAP:XML跨平台Web Service开发技术》.机械工业出版社,2002年4月.
    [27] Simple Object Access Protocol (SOAP). Chapters 4, 5, and 7. http://www.w3.orgtrR/2000/NOTE-SOAP-20000508.
    [28] 李安渝.《Web Services技术与实现》.国防工业出版社,2003年10月.
    [29] Web Services Interoperability Organization, http://www.ws-i.org.
    [30] [美]Henry Bequet著.魏海萍,于晓菲,毛选等译.《Java Soap编程指南,第一版》.北京,电子工业出版社,2002年10月.
    [31] Scott Seely. Building Interoperable Web Services. EAI Journal, 2002, 2(9): 30~33.
    [32] 柴晓路等.《Web Services技术、架构和应用》.北京,电子工业出版社,2003.
    [33] The DeveloperMentor SOAP mailing list http://discuss.develop.com/soap.html.
    [34] Tzu-Han Kao, Shyan-Ming Yuan. Designing an XML-based context-aware transformation framework for mobile execution environments using CC/PP and XSLT. Computer Standards & Interfaces 26(2004) 377~399.
    [35] 冯昱晟.基于WAP协议的移动彩票系统的研究和应用.大连理工大学硕士学位论文.
    [36] WAP Forum Wireless Application ProtocolWireless Markup Language Specification Version, 04-Nov-1999.
    [37] http://www.hookbase.com/design/wgjs/200606/3934.html
    [38] Yi Sun, Gary J. Koehler. A location model for a web service intermediary. Decision Support Systems 42(2006) 221~236.
    [39] http://news.xinhuanet.com/tech/2006-11/13/content_5322151.htm.
    [40] http://news.eastday.com/epublish/gb/paper148/20020126/class014800011/hwz588849.htm.
    [41] 王森著.《Java手机程序设计入门与应用》.北京,中国铁道出版社,2002.
    [42] Mike Jasnowski著.《Java,XML和Web服务宝典》.盖江南等译.电子工业出版社,2002,5:568-569.
    [43] 胡海璐,彭接文,胡智宇等编著.《XML Web Services高级编程范例》.北京,电子工业出版社,2003.
    [44] Web Services Architecture Requirements Working Draft, eds. D. Austin, A. Barbir, C. Ferris, S. Garg(See http://www.w3.org/TR/wsa-reqs.).
    [45] WebServicesGlossaryWorkingDraft, eds. H. Haas(www.w3.org/TR/Ws-gloss.).
    [46] http://database.e800.com.cn/articles/2007/126/1169755790478360737_1.html.
    [47] (美)Flanagan D.《JAVA实例技术手册》第二版.何建辉,张洛玲译.北京:中国电力出版社,2001.
    [48] 黄聪明.《JAVA移动通信程序设计—J2ME MIDP))清华大学出版社,2002.
    [49] http://www.javaresearch.org/word/word.jsp?column=706&thread=39041.
    [50] Muhammad Younas, Irfan Awan, David Duce. An effcient composition of Web services with active network support. Expert Systems with Applications 31(2006) 859~869.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700