摘 要
随着科学技术的飞速发展,社会的方方面面、各行各业都在努力与现代的先
进技术接轨,通过科技手段来提高自身的优势。互联网给我们的生活带来了巨大
的改变。 随着社会节奏的加快,许多人都处于忙碌的工作和生活中。外卖市场也
正是在这样的环境中发展起来了。通过外卖软件点餐,例如美团、饿了么等软件,
对于现代的人们来说,是再平常不过了。
而当前的外卖软件系统比较冗余,除了外卖还包括其他多种功能,软件界面
通常眼花缭乱。正是基于上述问题,本文提出一种我饿了外卖管理平台。我饿了
外卖平台是以实际运用为开发背景,运用软件工程开发方法,采用 SSM 框架技术
构建的一个管理系统。整个开发过程首先对软件系统进行需求分析,得出系统的
主要功能。接着对系统进行总体设计和详细设计。总体设计主要包括系统总体结
构设计、系统数据结构设计、系统功能设计和系统安全设计等;详细设计主要包
括模块实现的关键代码,系统数据库访问和主要功能模块的具体实现等。最后对
系统进行功能测试,并对测试结果进行分析总结,及时改进系统中存在的不足,
为以后的系统维护提供了方便,也为今后开发类似系统提供了借鉴和帮助。
本我饿了外卖平台采用的数据库是 Mysql,使用 SSM 框架技术开发。在设计过
程中,充分保证了系统代码的良好可读性、实用性、易扩展性、通用性、便于后
期维护、操作方便以及页面简洁等特点。
关键词:我饿了外卖平台,Mysql SSM 框架
ABSTRACT
With the rapid development of science and technology, all aspects of society and
all walks of life are striving to integrate with modern advanced technology and improve
their own advantages through scientific and technological means. The Internet has
brought tremendous changes to our lives. As the pace of society accelerates, many
people are in busy work and life. It is in this environment that the takeaway market has
developed. Ordering meals through take-out software, such as Meituan and Ele.me, is
nothing more common for modern people.
The current take-out software system is relatively redundant. In addition to
take-out, it also includes many other functions, and the software interface is usually
dazzling. Based on the above problems, this article proposes a management platform for
I’m hungry for food delivery. I'm hungry takeaway platform is a management system
built with practical application as a development background, using software
engineering development methods and using SSM framework technology. The whole
development process first analyzes the requirements of the software system and obtains
the main functions of the system. Then carry out the overall design and detailed design
of the system. The overall design mainly includes the overall system structure design,
system data structure design, system function design and system security design, etc.
The detailed design mainly includes the key codes for module realization, system
database access and the concrete realization of main function modules. Finally, perform
functional tests on the system, analyze and summarize the test results, and improve the
shortcomings in the system in time, which provides convenience for future system
maintenance, and also provides reference and help for future development of similar
systems.
The database used by the I am hungry food delivery platform is Mysql, which is
developed using SSM framework technology. In the design process, it fully guarantees
the good readability, practicality, extensibility, versatility, ease of maintenance, easy
operation, and concise pages of the system code.
Key words: I'm hungry take-out platform, MySQL SSM framework
目 录
摘 要...............................................................................................................................I
ABSTRACT....................................................................................................................II
目 录..............................................................................................................................III
第 1 章 绪论 ....................................................................................................................1
1.1 背景及意义 .............................................................................................................................1
1.2 国内外研究概况 ....................................................................................................................2
1.3 研究的内容 ............................................................................................................................2
第 2 章 相关技术 ............................................................................................................4
2.1 系统开发平台 .........................................................................................................................4
2.2 SSM 框架 ................................................................................................................................4
2.3 ECLIPSE 开发环境................................................................................................................5
2.4 Tomcat 服务器 ........................................................................................................................6
2.5 MySQL 数据库 .......................................................................................................................6
第 3 章 系统分析 ............................................................................................................7
3.1 需求分析 ................................................................................................................................7
3.2 系统可行性分析 ....................................................................................................................7
3.2.1 技术可行性:技术背景 ...............................................................................................7
3.2.2 经济可行性 ...................................................................................................................8
3.2.3 操作可行性: ...............................................................................................................8
3.2.4 技术可行性: ...............................................................................................................8
3.2.5 法律可行性: ...............................................................................................................9
3.3 项目设计目标与原则 ............................................................................................................9
3.4 系统流程分析 .......................................................................................................................10
3.4.1 系统开发流程 ...............................................................................................................10
3.4.2 操作流程 .....................................................................................................................10
3.4.3 添加信息流程 .............................................................................................................11
3.4.4 删除信息流程 .............................................................................................................11
第 4 章 系统设计 ..........................................................................................................13
4.1 系统体系结构 ......................................................................................................................13
4.2 开发流程设计 .......................................................................................................................15
4.3 数据库设计原则 ..................................................................................................................15
4.4 数据表 ..................................................................................................................................17
第 5 章 系统详细设计 ..................................................................................................22
5.1 系统功能模块 ......................................................................................................................22
5.2 管理员功能模块 ..................................................................................................................23
5.3 商家功能模块 ......................................................................................................................26
5.4 用户后台功能模块 ..............................................................................................................28
第 6 章 系统测试 ........................................................................................................29
6.1 系统测试的目的 ...................................................................................................................29
6.2 系统测试方法 .......................................................................................................................30
6.3 功能测试 ...............................................................................................................................30
6.4 测试分析 ...............................................................................................................................31
结 论 ............................................................................................................................32
致 谢 ............................................................................................................................33
参考文献 ........................................................................................................................34
第 1 章 绪论
1.1 背景及意义
互联网于 21 世纪末开始在国内发展,仅过了 20 多年的时间,就已经取得如
此显著的成就。在今天,互联网融入到了我们生活中的每一个角落,并给我们的
生活带来日新月异的改变。各个领域都离不开互联网。 通过它,我们可以瞬间实
现与世界各地的任何一个人进行通讯, 我们可以购买到全球范围内的任何一件
产品,美国刚刚发生的新闻, 转眼就可以被我们所知。互联网让我们之间的联系
更加紧密, 形成了地球村的模式。
随着社会经济的快速发展, 生活节奏的日益加快, 越来越多的上班族难以
有足够的空闲时间来自己动手做饭, 在这样的背景下, 外卖市场发展起来了。
在发展初期,许多商家因为经营成本的缘故, 无法聘请专门的送餐人员,而许多
人又没时间也不愿意独自去餐馆就餐。 为了缓和这个矛盾,人们就创造了一种新
的外卖配送方式。 由外卖公司聘请专门的送餐人员为消费者和商家提供服务,而
消费者需要为配送人员支付一定的服务费。 这种模式的出现, 迅速掀起了国内
的外卖狂潮。小餐馆在这样的模式下展现了新的生命力,每日的业务量成倍地增
加。而在以前。点餐通常是通过人工完成的,许多信息均有服务员记录, 信息在
纸质文档上传播有很多不足。可能会因为某个人的笔迹问题,而导致一些字无法
辨认;或者是在传递信息的过程中,信息丢失都有可能发生。对于餐馆经营者来
说,很容易丢失业务, 也会给顾客留下服务不周的印象。而在目前的外卖平台系
统中,所有的信息都记录在系统中,商家登录客户端程序之后, 就可以看到顾客
的消费详情, 包括顾客的联系方式,选择的菜类, 以及配送地址和其他附加信
息, 商家也可以为用户提供更优质的服务。
人们生活水平的不断提高,日常生活中人们对外卖的数量的需求也在不断提
高,目前的外卖平台,系统比较复杂,除了外卖还集成了一些其他的功能。在此
背景下,开发一款简洁实用的外卖平台成了目前急需解决的问题,正是基于此本
文提出一种我饿了外卖平台。我饿了外卖平台主要是借助计算机,通过对我饿了
外卖平台所需的信息管理,增加用户的选择,同时也方便对广大用户信息的及时
查询、修改以及对用户信息的及时了解。我饿了外卖平台对用户带来了更多的便
利,该系统通过和数据库管理系统软件协作来满足用户的需求。计算机技术在现
代管理中的应用,使计算机成为人们应用现代技术的重要工具。能够有效的解决
获取信息便捷化、全面化的问题,提高效率。