基于MVC模型的数字农业短信平台系统的设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着通信网络的迅速发展,GSM, GPRS, CDMA等技术标准的出现,通信终端的不断普及使人们之间的联系越来越方便,手机短信己成为广泛使用的通信方式,同时基于短信的各类增值业务也越来越多。农业手机短信具有移动性好,收发便捷,趣味性强,价格低廉等特点。目前短信服务的技术己很成熟,服务商只需通过一个短信客户端软件,将编辑好的短信通过互联网提交到短信平台服务器,即可发送到用户的手机或小灵通。
     本文实现了数字农业短信平台的设计,详细阐述了短信平台中业务管理层和短信处理层的实现,并对相关技术进行了探讨。其中对短信网络结构以及互联网短消息网关协议进行了分析,并对三层结构的MVC模型以及Struts框架进行了研究。本文业务管理层实现了基于Struts的三层体系结构,包括类别管理子系统,内容管理子系统,信息处理子系统,安全管理子系统,系统管理子系统,统计子系统等六大功能模块,业务管理层主要负责对整个系统的管理以及对收发短信的管理,属于上层应用。短信处理层实现了对用户上行短信以及SP对用户提供服务短信的收发功能,该层主要通过CMPP协议负责系统与短信网关之间的通信,将注册用户上传得信息发送到SP系统端,并能将SP所要下行的业务信息发送给用户,该层属于底层的业务处理,该系统经过测试已经应用于SP向用户提供数字农业服务。
With the widely development of the GSM mobile communication network and the drastically competition, new technology and new business become more and more important. As a kind of basic communication business GSM network offers to users a basic communication which is different from only audio transmission. Short Message Service (SMS) had already been regarded as an important business by system operator. All kinds of application based on this business have also developed tremendously. platform of short message value-added service is an advanced short massage system, it can realize sending short massage on the internet through the connection of short massage gateway and short massage service center, it can also improve the process speed of the short massage.
     In resent years, there are lots of agriculture service short massage platform had been used to offer services to farmers. The content of the service is focus on News Policy, market information, and some technology. The News Policy includes agriculture News, country policy, and Rich information. The market information includes supply and demand information, price information and so on. The practicality information includes breed technology, planting technology and so on. The weather information can offer the forecast information for agriculture and disaster forecast. With the development of mobile communication, the number of mobile user in countryside had increased tremendously; short massage will be fully used in agriculture technique information in the future.
     This paper had realized a digital agriculture short massage platform, there are two important parts in this design, one is business manage layer and the other is short massage manage layer. The business management module realizes the service supply of SP and the management of all the registered users, short massage manage module realize the upload of the users and download massage of SP. In business management layer, it has realized a three layer structure based on Struts framework. This paper had discussed the characteristic and method to develop of the Browser/Server structure. Browser/Server structure developing with the intranet and had been used by lots of company to be a new structure.
     In Browser/Server structure system, users can request for lots of servers on the internet with the browser. It had been simplified a lot for the client, the client just need to install some software; the server will take the responsibility to deal with all of the problems, accessing of the database is done on the server. Under the Browser/Server structure, it had been divided to three independent layers which is Presentation layer, Business Logic and Data Service.
     The first layer is presentation layer: The web browser in client includes view logic in this layer. Its task is to submit request for one of the web server on the internet. The web server validates the user data and response the client with the HTTP protocol. Client receives the information and shows it on the client browser.
     The second layer is business logic layer: In the web server it includes the data logic transaction. Its task is to receive the request from the client. Firstly, it is needed to connect the application code with the database. With the SQL method, it can submit request data to the database, after the database finished the transaction it will return the data to the web server and the server will send the data back to the client.
     The third layer is data layer: It includes the data transaction in this layer and in the database server. Its task is receives the request from web server and realize the query, modify and update function and so on. And send the result back to the web server.
     This architecture make the client so thin that only a browser such as Internet explore is enough. The architecture is adapted to releasing information long-distant acquirements Internet. User can send out requirements to Web Server through Web Browser. The applied Programs on Web Server accomplish the operation of Database according to the requirements and return the result to client browser by HTML page.
     The advantage of the three-layer architecture is that it can divided the application into several absolute layers, so when a layer is changed, it does not influence the other layers. This advantage makes the maintenance of the system easier. Moreover the structure of the layers is so legible that it is easy to develop and deploy.
     The short massage increment operation is a software system that SP offers their own service to their customs via internet. It can convenient, quick communicate with the customer, on the foundation to meet the requirement of the customer, they had extant their business and attract lots of customers, it had reach the goal to increase benefit for their own and the Network Operator. This paper had introduced the short massage structure and some protocols to realize it. The CMPP is an interface protocol that used in China Mobile short massage gateway, it has defined three parts contents: 1. The interface protocol between information resource site and internet short massage gateway; 2. Interface protocol in internet short massage gateway; 3. The interface protocol between internet short massage gateway and GNS.
     This paper had realized the service that SP offers to the registered customers. It had been detailed analyze the function of the whole system. For the business layer it has realized six subsystems design: Type Management System, Content Management System, Information Management System, Security Management System, Management System and Statistic Management System. For each module, this paper has analyzed its function and realized a system based on three layers. For the application layer, we use the JSP, JavaScript technique. The web server utilizes the Tomcat server to realize the access of the user layer. The Logic layer use the java language to realize the transaction of the logic data, it is includes the transaction of the user form data and transference of the data between the application layer and the data layer, the data layer has realized the access of the information in the database. It had been tested this short massage platform had been used by SP to supply digital agriculture service for users.
引文
[1] 周学泳,短信息(SMS)与 SAP 的开发及应用,电子工业出版社,2002
    [2] 格斯里(Guthery, S. B.),移动应用开发短消息业务和 SIM 卡开发,人民邮电出版社,2003. 9
    [3] 中国移动通信集团公司,中国移动通信互联网短信网关接口协议(China Mobile Peer to PeerCMPPv2. 0)
    [4] 基于 GSM 短消息的信息查询系统/易庆等计算机应用研究.2003. 1
    [5] 移动增值服务平台中的 Push2041 全国软件技术研讨会 Server/赵天兵 大连出版社 2001.
    [6] 阎赵晨,用 Struts 建立 MVC 应用的介绍,IBMdeveloperWorks,2002
    [7] 罗会波。Struts 原理与实践,UML 软件工程组织,2003.
    [8] 何成万,余秋惠,MVC 模型 2 及软件框架 struts 的研究.计算机工程,2002.
    [9] 侯云峰等,三层 Client/S ewer 应用开发指南,电子工业出版社,2000.6
    [10] Bruce Eckel,Thinking in java, 机械工业出版社 2004.6.
    [11] David C. Kreines ,OracleSQL 必备参考,中国电力出版社,2003.4.
    [12] Edward Honour,ORACLE 开发人员指南,机械工业出版社,2000.5.
    [13] Kurt Bittner, Ian Spence,用例建模,清华大学出版社,2004.1.
    [14] 孙卫琴,精通 struts:基于 MVC 的 Java web 设计与开发,电子工业出版社,2004.1.
    [15] Husted, T 等著,实战 Struts,机械工_业出版社,2005.
    [16] 潘耀芳、张邦廉.诵信枯犬 GSM 信盒增值服各系统的契构及应用,2003
    [17] 徐童,廖建新.移动增值业务及网络发展展望.电信土程技术与标准化,2004, 9
    [18] 王品,王龙.一个而向行业的短信客服系统的框架设计和实现,计算机应用,2003
    [19] 邹建新.GSM 短消息增值业务及接口协议 SMPP 研究.武汉科技学院学报,2000
    [20] 许凯.短消息增值业务介绍.移动通信,2001
    [21] 谈振辉,苏彦兵,陈霞. GSM 短消息业务协议和实现.移动通信,2001
    [22] 李海翔,叶晓俊.移动数据网关的设计与实现.计算机土程,2003
    [23] 刘荣辉,刘光昌,黄浩文.短消息业务平台的设计与实现.计算机系统应用,2004
    [24] 赵义斌,牛少彰,李志江等,短信增值业务及其安全性分析,电信科学,2002
    [25] 熊桂林,邹志敏.基于 SMS 的增值服务平台的设计与实现.系统土程,2003
    [26] 刘慧,李玉忱基于 J2EE 架构的分布式 Web 应用的研究计算机应用研究,2003
    [27] 王彬,Oracle 入门与提高,清华大学出版社,2003
    [28] 中国移动通信公司,中国移动通信短消息网关测试规范, 2001.
    [29] 赵小红,短消息增值服务接 II 体系与 CMPP 实现.武汉科技学院学报,2003.
    [30] 陈维军、王蕾等.Oracle9i PLISQL 程序设计,机械工业出版社.2004.

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

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

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