学号________________
密级________________
武汉大学本科毕业论文
Google Map拼车网中信息撮合系统的设计与实
现
院(系)名 称:国际软件学院 专 业 名 称 :软件工程 学 生 姓 名 :张家宇 指 导 教 师 :冯晶 教授
二○○九年五月
1
BACHELOR'S DEGREE THESIS OF
WUHAN UNIVERSITY
Design and Realization of Information Marching
in the Google Map Car-sharing System
College :International Software School Subject :Software Engineering Name :Jiayu Zhang
Directed by :Jing Fen Professor
2
May 2009
郑 重 声 明 (宋体粗体2号居中)
本人呈交的学位论文,是在导师的指导下,独立进行研究工作所取得的成果,所有数据、图片资料真实可靠。尽我所知,除文中已经注明引用的内容外,本学位论文的研究成果不包含他人享有著作权的内容。对本论文所涉及的研究工作做出贡献的其他个人和集体,均已在文中以明确的方式标明。本学位论文的知识产权归属于培养单位。
(宋体4号)
本人签名: 日期:
3
摘要
随着我国人民生活水平不断提高,车辆充斥着整个街道,拼车成为人们不二的选择和流行的词汇。Google Map的不断强化,也不断冲刷着web领域的运用。Google Map与拼车结合在一起必将走在时代的前沿。由于人们对拼车的确定上很难把握,所以有必要就拼车网的撮合系统进行研究和探讨。
本论文以构筑适合与GoogleMap拼车网的信息撮合系统为目标,深入探讨了信息撮合系统的设计与实现。该撮合系统实现了新消息提示,用户评价、以及线路的撮合功能,为用户提供了一整套的信息撮合流程,使用户之间能安全、目的明确的互动交流和评价。
笔者从Ajax、XML、空间数据库等一些技术的简介开始,分析突出空间数据库的优点,对XML解析技术做了详尽的对比,结合介绍了设计模式和SSH的基本运用。然后就项目的开发流程,分析了整个系统的实现过程。具体来说以需求分析入手,结合需求进行了一些相关的技术调研和难点解析;再对数据库进行了设计;然后就各功能模块进行了设计,将设计模式中的单例模式、观察者模式和SSH框架的运用结合到设计中;然后在结合设计的基础上对系统进行了。
基于SSH构架的Google Map拼车网信息撮合系统具有结构灵活、易于维护、扩展性好的优点。
关键词:AJAX;XML;解析;空间数据库;SSH;设计模式
4
ABSTRACT
With the rising standard of living of our people, the whole street full of vehicles, car-sharing has become the best choice of the people and the popular vocabulary. Continued to strengthen the Google Map have been scouring the area of a web application. The application combining Google Map and car-sharing will be at the forefront of the times. As people in the car-sharing, it is difficult to define the success, so it is necessary to study and discuss the Information Marching System.
In this paper, in order to build the information marching for the GoogleMap car-sharing System, Deeply analyze the design and implementation of the information matching system. The systems bring together the news tips, users rating, as well as matching of roads, so that the users can communicate and evaluate safely with purposeful interaction.
The author introduces the technique of Ajax, XML and spatial databases, analysis the
advantages of spatial databases, make a detailed comparison for the XML parsing technologies, and introduces the usage of design patterns and SSH structure. In accordance with the development process of the project, the author analyzes the implementation of the entire system. Specifically analyzing the demand, combined with the demand for a number of related technology research and difficult to resolve; re-design the database; then the functional module design, the design of single-mode case model, the observer model and SSH into the use of the framework design; and then combined on the basis of the design system. The Google Map Car-sharing System based on SSH framework information system has a flexible structure, easy maintenance, good scalability.
Key words: AJAX, XML, parsing, spatial databases, SSH, design patterns
5