【www.justzx.com--毕业设计】

ANYANG INSTITUTE OF TECHNOLOGY 本 科 毕 业 论 文

基于JAVA的城市公交查询系统

The Public Transport Inquiry System Based on JAVA

院系名称: 计算机科学与信息工程学院 专业班级: 网络工程二班 学生姓名: 路 金 成 学生学号: 200803040014 指导教师姓名: 李 源 指导教师职称: 讲 师 2012年5月

毕业设计(论文)原创性声明和使用授权说明

原创性声明

本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得安阳工学院及其它教育机构的学位或学历而使用过的材料。对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。

作 者 签 名: 日 期: 指导教师签名: 日 期:

使用授权说明

本人完全了解安阳工学院关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。

作者签名: 日 期:

基于JAVA的城市公交查询系统

摘要:公交查询系统是城市道路交通的重要组成部分,是城市发展的必然产物,是联系国民生活、社会生产和流通领域的关键环节。安阳城市公交查询系统的发展处于一个较落后的水平,人们可以获得信息的方式较少,为了解决这种问题,提出了基于JAVA的城市公交查询系统。

本文首先对公交查询系统的需求进行了分析,包括功能需求和非功能需求;接着介绍了系统总体设计思路、方案选择和数据库设计;随后详细阐述了系统主要功能模块的实现过程;最后给出系统的测试方案。本公交查询系统主要具有公交查询、用户留言、用户管理和后台车次管理功能。公交查询包括车次、站点、换乘等方案的查询;用户留言主要是收集用户的留言信息,以方便根据用户提供的留言信息或是提出的建议对系统进行修改和完善;用户管理功能主要是删除用户信息和修改用户注册的基本信息;后台车次管理功能主要是添加车次和站点功能、更新车次和站点功能、删除车次和站点功能。本系统基于B/S模式开发,采用JSP技术,SQL Server 2000构建后台数据库。

本系统的使用在方便广大市民,提高市民乘车效率的同时,也为信息化技术在城市现代化建设中,提供了有益的探索。

关键词:JSP;SQL;JDBC;公交查询

The Public Transport Inquiry System Based on JAVA

Abstract:Public transport inquiry system is an important part in traffic and transportation domain, and it"s also the inevitable result of social economy"s development in urban areas. As an important part of urban transportation system, urban public transportation system is acting a key role in human living, in social production and in transportation domain .But the inquiry system of public transportation developments in Anyang is in a comparatively backward level. The general passengers have less way to obtain the information. In order to solve this kind of problem, an inquiry system of public transport based on JAVA is designed.

This paper firstly analyzed the requirements of public transport inquiry system, including functional requirements and non-functional requirements. Then introduces the comprehensive design of the system, system scheme selection and design of database. Then expounded the implementation process of the main functional modules of the system. Finally offers the test plan of the system. The public transport inquiry system includes bus enquiries, the functions of consumer message, the bus number managing on the backstage and the consumer managing. The bus enquiries has included the inquiry of trips, sites, transfer and so on. The function of consumer message mainly collects suggestions from consumer to modify and perfect the system functions. The function of user managing is to delete user information mainly and revises the fundamental user information. The functions of bus number managing are mainly to add, update and delete the bus number and the station on the backstage. The system is based on B / S model development, using the standard JSP language and built by SQL Server 2000 database.

Using the system is not just convenient for the general pubilc, improving work efficiency, but also provides beneficial exploration for the information technology modernization in the city.

Key words: JSP; SQL; JDBC; public transport inquiry

目 录

引 言 ....................................................................1 第1章 开发环境及技术简介 ............................................2

1.1 JSP基础知识 ....................................................................................................................... 2 1.2 JDBC .................................................................................................................................... 3 1.3 JSP Servlet ............................................................................................................................ 3 1.4 开发环境 ............................................................................................................................. 3 1.5 本文主要工作 ..................................................................................................................... 4 1.6 本章小结 ............................................................................................................................ 4

第2章 系统需求分析 ...................................................5

2.1系统调研 .............................................................................................................................. 5 2.2系统目标 .............................................................................................................................. 5 2.3 系统的功能需求 ................................................................................................................. 5

2.3.1 系统需求描述 ...........................................................................................................5 2.3.2 系统数据流图 ...........................................................................................................6 2.3.3 系统的功能 ...............................................................................................................6 2.4 系统非功能需求 ................................................................................................................. 8 2.5 本章小结 ............................................................................................................................ 8

第3章 系统设计 .........................................................9

3.1 系统总体设计 ..................................................................................................................... 9 3.2 系统方案选择 ................................................................................................................... 10 3.3 系统数据库设计 ............................................................................................................... 13

3.3.1数据库设计 ..............................................................................................................13 3.3.2 系统E-R图 .............................................................................................................13 3.3.3 数据库表结构 .........................................................................................................15 3.4 本章小结 .......................................................................................................................... 16

第4章 系统实现 ........................................................17

4.1 用户登录模块 ................................................................................................................... 17 4.2 用户个人信息管理模块 ................................................................................................... 18 4.3 公交系统查询模块 ........................................................................................................... 19

4.3.1 车次信息查询 .........................................................................................................19 4.3.2 站点信息查询 .........................................................................................................20 4.3.3 公交换乘方案查询 .................................................................................................21 4.4 站点信息管理模块 ........................................................................................................... 22


查看更多毕业设计相关内容,请点击毕业设计

2024 免费范文网版权所有. 京ICP备19018213号-1