本 科 学 生 毕 业 论 文
年 月 日
论文题目:
基于 SSM 的游戏交易网站的设计与实
现
学 院:
(黑体三号字)
年 级:
(黑体三号字)
专 业:
(黑体三号字)
姓 名:
(黑体三号字)
学 号:
(黑体三号字)
指导教师:
(黑体三号字)
I
摘要
我国作为全球最大的游戏市场,游戏玩家们可获得游戏资讯的渠道五花八门,纯资
讯类媒体大多活跃于微博和微信公众号,其中佼佼者当属游研社、游民星空和游戏时光
VGtime 的微博。伴随着游戏的火爆,游戏中的虚拟物品的交易市场也逐渐的活跃起来,
对于虚拟游戏物品的交换现在也已经有了 7881、DD373 等网站来提供相应的服务。游
戏物品的交易需要保证安全性、及时性。
本次通过 SSM 技术来设计一款游戏交易网站,数据库使用了 mysql 数据库,本文
结合全流程交易网站开发过程,详细介绍了此次游戏交易网站的设计理念、模型结构,
将所学知识融入到本游戏交易网站的开发实践中,简略介绍了研究的背景和系统存在的
现实意义,开发使用的技术背景,着重介绍系统概要设计,系统实现与测试等进行了详
细的概述。
关键词
游戏交易网站;SSM 框架技术;MySQL
II
Abstract
All kinds of information media are mostly active in micro-blog and WeChat public numbers.
Among them, the most outstanding game player is micro-blog, a VGtime of the official
account of the travel agency, the vagrant starry sky and the game time. With the popularity of
the game, the trading market of virtual goods in the game is gradually active. For the
exchange of virtual game goods, there are 7881, dd373 and other websites to provide
corresponding services. The transaction of game items needs to ensure safety and timeliness.
This time through SSM technology to design a game trading website, the database uses
MySQL database, combined with the whole process of the development of the trading
website, this paper introduces the design concept, model structure of the game trading
website in detail, integrates the knowledge into the development practice of the game trading
website, briefly introduces the research background and the practical significance of the
system, and the development strategy This paper focuses on the system design, system
implementation and testing.
Key words
Game discussion community; SSM framework technology; MySQL
目录
摘要 ............................................................................................................................................I
Abstract......................................................................................................................................II
前言............................................................................................................................................1
第一章 绪论..............................................................................................................................3
1.1 研究背景.....................................................................................................................3
1.2 研究现状.....................................................................................................................4
1.3 研究内容.....................................................................................................................4
1.4 研究的意义.................................................................................................................5
1.5 本文的框架结构.........................................................................................................5
第二章 相关技术介绍..............................................................................................................7
2.1 SSM 框架技术..............................................................................................................7
2.1.1 Struts..............................................................................................................7
2.1.2 Hibernate........................................................................................................8
2.1.3 spring..............................................................................................................8
2.2 MySQL 数据库..............................................................................................................8
2.3 java 技术....................................................................................................................9
第三章 系统需求分析............................................................................................................10
3.1 需求调研...................................................................................................................10
3.1.1 角色需求........................................................................................................10
3.1.2 前端模块需求................................................................................................10
3.1.3 后端模块需求................................................................................................11
3.2 可行性分析...............................................................................................................12
3.2.1 经济可行性分析............................................................................................12
3.2.2 技术可行性分析............................................................................................12
3.2.3 操作可行性分析............................................................................................13
3.2.4 法律可行性分析............................................................................................13
3.3 非功能性需求...........................................................................................................13
3.3.1 系统承载能力需求分析................................................................................13
3.3.2 系统稳定性需求分析....................................................................................14
3.3.3 系统可扩展性分析........................................................................................14
3.3.4 系统的安全性分析........................................................................................14
第四章 系统分析与设计........................................................................................................15
4.1 系统功能结构分析...................................................................................................15
4.1.1 会员登录流程分析........................................................................................16
4.1.2 管理员登录流程分析....................................................................................16
4.2 系统用户用例图分析...............................................................................................17
4.2.1 管理员用例图................................................................................................17
4.2.2 会员用例图....................................................................................................18
4.3 数据库设计...............................................................................................................18
4.3.1 数据库逻辑结构分析....................................................................................19
4.3.2 数据库物理结构设计....................................................................................21
4.4.3 数据库数据结构设计....................................................................................21
4.3.4 数据库的连接................................................................................................22
第五章 系统的主要功能实现................................................................................................24
5.1 游戏交易网站首页实现...........................................................................................24
5.2 游戏交易网站用户注册实现...................................................................................24
5.3 游戏交易网站游民星空模块实现...........................................................................25
5.4 玩家发起话题模块实现...........................................................................................26
5.5 玩家话题回复模块实现...........................................................................................26
5.6 后台管理中心登录模块实现...................................................................................27
5.7 后台添加分区模块实现...........................................................................................27
5.8 游戏版块管理界面实现...........................................................................................28
第六章 系统的测试................................................................................................................29
6.1 系统测试的目的.......................................................................................................29
6.2 测试环境....................................................................................................................29
6.3 性能测试....................................................................................................................30