节点文献

基于MVC模型的数字农业短信平台系统的设计

Design of Digital Agriculture Short Message Platform Based on MVC Module

【作者】 董晓伟

【导师】 徐高潮;

【作者基本信息】 吉林大学 , 软件工程, 2007, 硕士

【摘要】 随着通信网络的迅速发展,GSM, GPRS, CDMA等技术标准的出现,通信终端的不断普及使人们之间的联系越来越方便,手机短信己成为广泛使用的通信方式,同时基于短信的各类增值业务也越来越多。农业手机短信具有移动性好,收发便捷,趣味性强,价格低廉等特点。目前短信服务的技术己很成熟,服务商只需通过一个短信客户端软件,将编辑好的短信通过互联网提交到短信平台服务器,即可发送到用户的手机或小灵通。本文实现了数字农业短信平台的设计,详细阐述了短信平台中业务管理层和短信处理层的实现,并对相关技术进行了探讨。其中对短信网络结构以及互联网短消息网关协议进行了分析,并对三层结构的MVC模型以及Struts框架进行了研究。本文业务管理层实现了基于Struts的三层体系结构,包括类别管理子系统,内容管理子系统,信息处理子系统,安全管理子系统,系统管理子系统,统计子系统等六大功能模块,业务管理层主要负责对整个系统的管理以及对收发短信的管理,属于上层应用。短信处理层实现了对用户上行短信以及SP对用户提供服务短信的收发功能,该层主要通过CMPP协议负责系统与短信网关之间的通信,将注册用户上传得信息发送到SP系统端,并能将SP所要下行的业务信息发送给用户,该层属于底层的业务处理,该系统经过测试已经应用于SP向用户提供数字农业服务。

【Abstract】 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.

【关键词】 三层结构CMPP协议Struts结构短信
  • 【网络出版投稿人】 吉林大学
  • 【网络出版年期】2008年 05期
  • 【分类号】TP311.52
  • 【被引频次】3
  • 【下载频次】174
节点文献中: 

本文链接的文献网络图示:

本文的引文网络