毕业(设计)论文
题 目:基于 springboot 的社区问答网站与设计
毕业设计论文
i
I
摘要
信息技术的发展带来了大量的数据内容,在这些数据中,想要找到自己需要
的只有通过搜索引擎。如今,通过百度去查找信息成为大众的首选,然而在经济
利益的驱动下,许多百度来的信息都是商业内容,很难找到真实有用的实际信息。
在互联网中平台,信息交流和资源共享是一个非常重要的平台,随着用户的增长,
大规模数据的形成,在这些错综复杂的数据中用户很难找到符合自己的信息。基
于这些问题,本文研究了社区问答网站。通过该系统,用户可以主动的发布问题,
获取别人对该问题的解答和讨论,从而获取想要的结果,提高了获取信息的手段
和效率,同时加强了用户之间的相互交流沟通,促进了信息化的发展。
本文先提出了开发社区问答网站的背景意义,然后通过功能性和非功能性分
析阐述本系统的需求,然后从功能设计和数据库设计两方面进行系统的设计建模。
在技术实现部分采用了 Java 作为开发后台的编程语言,数据库选择 MySQL,框
架选择 Springboot 微服务技术。最后进行了代码的编写,并说明了实现流程。
最终,通过软件测试来验证社区问答网站的功能要求。综合表明,本社区问答网
站满足了信息发布的基本业务,帮助用户及时了解和发布问题内容,提供了深层
次的交流平台。
关键词:问题;信息发布;交流平台;Springboot;
毕业设计论文
i
II
Abstract
The development of information technology has brought a lot of data conte
nt. In these data, what you want to find is through the search engine. Nowada
ys, finding information through Baidu has become the first choice of the publi
c. However, driven by economic interests, many information from Baidu is co
mmercial content, so it is difficult to find real and useful practical information.
In the Internet, information exchange and resource sharing is a very important
platform. With the growth of users and the formation of large-scale data, it is
difficult for users to find their own information in these complex data. Based
on these questions, this paper studies the community Q & a website. Thr
ough the system, users can actively publish questions and obtain answers and
discussions from others, so as to obtain the desired results, improve the means
and efficiency of obtaining information, strengthen the mutual communication
between users and promote the development of informatization.
This paper first puts forward the background significance of developing co
mmunity Q & a website, then expounds the requirements of the system th
rough functional and non functional analysis, and then carries on the design m
odeling of the system from two aspects of functional design and database desi
gn. In the technical implementation part, Java is used as the programming lang
uage of the development background, MySQL is selected as the database, and
springboot microservice technology is selected as the framework. Finally, the c
ode is written and the implementation process is explained. Finally, the functio
nal requirements of the community Q & a website are verified through so
ftware testing. The comprehensive results show that the community Q & a
website meets the basic business of information release, helps users understan
d and release the problem content in time, and provides a deep-seated commun
ication platform.
Keywords: problems; Information Delivery; Communication platform; Sprin
gboot;
毕业设计论文
i
目 录
摘要 ...................................................................................................................................................I
Abstract ..........................................................................................................................................II
1 绪论 ..............................................................................................................................................1
1.1 选题背景 ..........................................................................................................................1
1.2 选题意义 ..........................................................................................................................1
1.3 研究内容 ..........................................................................................................................2
2 相关技术介绍 ..............................................................................................................................3
2.1 Java 语言 .........................................................................................................................3
2.2 Springboot 技术 .............................................................................................................3
2.3 Mysql 数据库 ...................................................................................................................4
3 系统分析 ......................................................................................................................................5
3.1 可行性分析 .......................................................................................................................5
3.2 需求分析 ..........................................................................................................................5
3.2.1 非功能性需求 .......................................................................................................5
3.2.2 功能需求 ...............................................................................................................6
3.3 系统用例 ..........................................................................................................................6
3.3.1 会员功能需求 ........................................................................................................6
3.3.2 管理员功能需求 ....................................................................................................7
4 系统设计 ......................................................................................................................................9
4.1 系统详细设计 ...................................................................................................................9
4.1.1 功能设计 ...............................................................................................................9
4.2.2 后台端流程设计 .................................................................................................10
4.2.3 前台流程设计 .....................................................................................................12
4.2 数据库设计 ....................................................................................................................13
4.2.1 逻辑结构设计 .....................................................................................................13
4.2.2 物理结构设计 .....................................................................................................14
5 系统实现 ....................................................................................................................................19
5.1 数据库操作实现 ............................................................................................................19
5.2 后台功能实现 ................................................................................................................19
5.2.1 管理员登录 .........................................................................................................19
5.2.2 管理主界面 .........................................................................................................20
5.2.3 问题信息管理 .....................................................................................................21
5.2.4 用户管理 .............................................................................................................21
5.3 前台功能实现 ................................................................................................................22
5.3.1 会员注册 .............................................................................................................22
5.3.2 会员登录 .............................................................................................................23
5.3.3 问题查看 .............................................................................................................23
5.3.4 发布问题 .............................................................................................................24
5.3.5 用户问题回复 .....................................................................................................25
6 系统测试 ....................................................................................................................................26
6.1 测试说明 ........................................................................................................................26
6.2 功能测试 ........................................................................................................................26
毕业设计论文
i
6.3 测试说明 ........................................................................................................................28
总结 ................................................................................................................................................29
参考文献 ........................................................................................................................................30
谢 辞 ..............................................................................................................................................32