2018 届毕业生
毕业设计说明书
题 目: 基于 SSM 停车场管理系统的设计与实现
院系名称:信息科学与工程 专业班级: 软件 1404 班
学生姓名: 学 号:
指导教师: 教师职称: 讲 师
2018 年 5 月 28 日
I
摘 要
在 21 世纪,科技飞速发展,社会不断在进步,人们的生产力也在不断提高,人们的
生活水平得到很大的改善,科技给我们带来了许多便利,可是也带来了一些问题,其中一
个重要的问题就是随着私家车数量的增多引发的如交通拥挤,交通事故,治安等问题。当
然,这些问题中有一个相对重要的就是停车难的问题。目前各大停车场各自为营,不能做
到更好的方便用户停车,不能实现用户在线预约车位等,最终产生了停车难这一景象。无
论是对于停车场的管理员,还是所有的车主们,都非常需要一套完整牢靠、设计成熟的停
车场管理系统来满足大家的使用需要。
本系统使用 Mybatis、String、StringMVC、JSP、Tomcat8.0、java 等技术。通过这
些技术将实现停车场管理员对停车场的基本管理工作。系统的基本功能包含:停车场工作
人员的登录功能,工作管理人员添加和删除停车场的功能,工作人员对订单状态的管理(下
单、入库、出库、完成支付)功能,工作人员退出登录本系统的功能,车主实现注册账号
和登录系统的功能,查看和修改自己基本信息的功能,车主可以查看所有停车场的信息并
且实现在线预约车位的功能等。数据库采用 MySQL 技术,通过它来确保数据的安全性和数
据服务的可靠性。
关键词: 停车场管理 Java MySQL SSM 框架
II
毕 业 设 计 外 文 摘
Title Design and Implementation of Parking Management System
Abstract
In the 21st century, with the rapid development of science and technology, the society
is constantly improving, people’s productivity is constantly improving, and people’s
living standards have been greatly improved. Science and technology has brought us
many conveniences, but it has also brought a number of problems. The important issue
is that with the increase in the number of private cars, such as traffic congestion, traffic
accidents, and public security problems. One of the issues that is relatively important is
the difficulty of parking. At present, each major parking lot is operated by itself. It is
not possible to achieve better user-friendly parking, and users cannot make reservations
for parking spaces online. As a result, a scene of difficult parking is created, whether it
is for parking lot managers or all owners. There is a great need for a complete and
well-designed parking management system to meet everyone's needs.
The system uses Mybatis, String, StringMVC, JSP, Tomcat8.0, Java and other
technologies. Through these technologies, the basic management of the parking lot by
the parking lot manager will be realized. The basic functions of the system include: the
registration function of the parking lot staff, the function of the management staff to
add and delete the parking lot, the management of the order status of the staff (ordering,
warehousing, delivery, and payment completion), and the staff exit Login the function
of this system, the owner realizes the function of registering an account and logging in
the system, viewing and modifying the function of own basic information, the owner
can check the information of all parking lots and realize the function of booking
parking spaces online. The database uses MySQL technology to ensure data security
and data service reliability.
Keywords Parking Management Java MySQL SSM Framework
III
目 次
1 引言 .....................................................................1
1.1 开发背景 .......................................................................1
1.2 发展概述 .......................................................................1
1.3 项目规划 .......................................................................1
2 平台开发工具 .............................................................2
2.1 JAVA 技术.......................................................................2
2.2 JSP 技术........................................................................2
2.3 数据库技术 .....................................................................2
2.4.运行环境 .......................................................................2
3 系统需求分析 ............................................................................................................................................4
3.1 系统构成 .......................................................................4
3.2 系统结构分析....................................................................6
3.3 系统可行性分析 .................................................................8
3.4 数据库概要设计 .................................................................9
4 系统详细设计与实现 ......................................................17
4.1 系统架构设计 ..................................................................17
4.2 管理员功能实现 ................................................................17
4.3 用户功能实现 ..................................................................26
5 系统测试 ................................................................30
5.1 测试的目标 ....................................................................30
5.2 测试方法 ......................................................................30
5.3 测试用例 ......................................................................31
结 论 .....................................................................32
致 谢 .....................................................................33
参 考 文 献 ................................................................34
1
1 引言
1.1 开发背景
自从 1978 年改革到至今,我国的经济发展和科学发展水平一直在提高,并且人
们的生活水平也在逐渐提高。与多年前相比较,当下家庭私家车的数量是以前的好
几倍,当然,私家车数量的逐渐变多给我们在生活中带来了很多便利,对我们的生
活有很大的帮助,然而也给我们带来了一个非常现实的问题,那就是停车难。
针对这种情况,一个有效的、便捷的停车场系统,无论对于停车场工作人员,
还是对于生活中的广大用户,都能够带来很多方便,特别是对于停车场来说,一个
完整的停车管理系统可以帮整个停车场解决在人力上的浪费,能够使停车场更好地
管理。而且与传统的通过纸和笔记录管理的停车场比较,应用本系统能够愈加快速,
高效的管理停车场的车辆和车位,并且车主有在线预约车位进行停车和直接停车两
种选择,可以提高车主的出行效率。
1.2 发展概述
传统的停车场系统是采用纸和笔来记录车辆信息和停车信息的,这样会加大停
车场管理员的工作量,而目前市面上大多的停车场管理系统也都是独立运行,这样
不能做到停车场车位更好的利用,用户找不到车位的现象很普遍,进而造成了停车
难这一问题。
随着科学技术的发展,每个行业都在普及着信息化,通过技术可以对我们的生
活做出很大的改善,而我的停车场管理系统就是在这样的条件下产生的。它是一套
简单、高效、方便的停车场管理系统,能够更好地帮助用户停车,方便停车场工作
人员管理停车场的基本信息,减少车位的浪费情况。
1.3 项目规划
设计开发并且完成一个停车场管理系统,车主进行选择停车共有两种方式,一、
车主通过到达有停车位的停车场直接进行停车,管理员可以手动添加用户的订单,
车主完成入库和出库,系统根据停车时长自动计费。二、车主通过邮箱实现注册功
能,完成登录后,能够更改车辆信息,可以查看停车场的位置和车位信息,点击预
约实现预约车位功能,自动生成订单并且在规定时间内没有到达,订单状态自动变
为取消,车位数发生变化,车主一旦到达,实现入库、停车、收费、出库等操作。