聊天室系统设计与实现

聊天室系统设计与实现[20200418171244]
摘 要
摘 要 - 3 -
 *查看完整论文请 +Q: 3 5 1 9 1 6 0 7 2 
关键字:网络聊天室;MyEclipse;JSP;Ajax;人性化 第一章绪论 -7- 第一章绪论
目前,网络聊天已成为网民生活、工作、学习中不可缺少的一部分。网络聊天室以其方便、快捷、价格低廉等独特优势深受用户喜欢,并且成为最受欢迎的在线联系方式之一。因此,开发功能完善的网络聊天室系统具有很强的应用需求。本课题的研究目标是开发一个网络聊天室系统,从而方便用户之间的交流联系。本系统采用较为流行的Servlet+JSP+JavaBean+JDBC架构,选用MyEclipse作为开发平台,后台采用MySQL数据库,且开发过程中使用了JSP+Ajax等关键技术。本文全面详细地介绍了各个模块的功能及其实现方法。本文系统主要包含注册模块、登录模块、管理员模块、聊天室模块,主要实现了用户注册、用户登录、管理员踢人、群聊、私聊、选择表情、改变字体颜色等功能。本文系统具有界面极具人性化、简单易懂、方便用户操作等特点。此外,本文系统采用Ajax技术来即时刷新用户在线列表和聊天消息,从而克服了已有系统要求定时和手动刷新的缺点。
ABSTRACT
Currently, the network chat has become an indispensable part of life, work and study of Internet users. With its convenient, fast, inexpensive and other unique advantages enjoyed by users, the network chat room has become one of the most popular ways of online contact. Therefore, there is a strong demand side to develop a network chat room system with complete functions.The research purpose of this paper is to develop a network chat room system to make the exchanges of users become more convenient. This system applies a more popular Servlet+JSP+JavaBean+JDBC architecture and uses MyEclipse as development platform, and the background uses MySql database and adopted the key technologies such as JSP +Ajax in the development process.?This paper introduces the functions of each module and their realization methods in a comprehensive and detailed way.This system mainly includes a registration module, login module, the administrator module, chat room module, which can mainly realize the user’s registration, user’s login, the administrator’s kicking, group chat, private chat, select expression, change the font color function and so on. This system has features like a very user-friendly interface, easy to understand, and convenient for users’ operation. In addition, this system uses Ajax technology to instantly refresh the user’s online list and chat messages, thus overcoming the existing system’s shortcomings that require the timing and manual refresh.
Key words: Chat room; MyEclipse;JSP;Ajax;Humanization
目录
山东青年政治学院学生毕业论文(设计)诚信承诺书 - 2 -
ABSTRACT - 4 -
1.1 课题背景 - 7 -
1.2 课题意义 - 7 -
1.3 国、内外研究现状 - 8 -
1.3.1 国外研究现状 - 8 -
1.3.2 国内研究现状 - 8 -
第二章 聊天室系统需求分析 - 10 -
2.1 功能分析 - 10 -
2.2 系统用例 - 11 -
2.3 时序图 - 12 -
2.4 领域模型 - 13 -
2.5 系统开发环境需求分析 - 13 -
2.5.1 系统硬件需求 - 13 -
2.5.2 系统软件需求 - 14 -
2.6 可行性分析 - 14 -
2.6.1 技术可行性分析 - 14 -
2.6.2 经济可行性分析 - 14 -
2.6.3 社会因素可行性分析 - 14 -
第三章 系统概要设计 - 15 -
3.1聊天室系统基本原理 - 15 -
3.2聊天室系统总体结构设计 - 15 -
3.3 数据库设计 - 15 -
3.3.1 数据库概念结构设计 - 16 -
3.3.2 数据库逻辑结构设计 - 16 -
第四章 聊天室系统功能设计与实现 - 17 -
4.1注册模块设计与实现 - 17 -
4.2登录模块设计与实现 - 19 -
4.3聊天室主界面模块设计与实现 - 21 -
4.4管理员功能设计与实现 - 28 -
4.5群聊功能 - 29 -
4.6私聊功能 - 29 -
4.7表情选择功能 - 30 -
4.8字体颜色选择功能 - 31 -
4.9包与类设计 - 32 -
4.9.1 包设计 - 32 -
4.9.2 类设计 - 33 -
第五章 功能测试 - 35 -
5.1测试目标 - 35 -
5.2测试方法 - 35 -
5.3测试用例 - 35 -
5.3.1黑盒测试结果 - 35 -
5.3.2 白盒测试结果 - 36 -
第六章 总结与展望 - 37 -
参考文献 - 38 -
致谢 - 39 -
1.1 课题背景
近年来,随着计算机技术的快速发展,尤其是计算机网络的发展,互联网以其方便快捷、功能强大等优势改变了用户的思想,甚至还影响了用户的生活、学习及工作方式。当前,计算机网络已经成为用户快速获取、发布和传递信息的重要渠道之一,成为用户越来越离不开的平台,在社会、生活、政治、经济等各个方面发挥着重要的作用。互联网很好地迎合了当今社会快节奏的生活,用户坐在家中,足不出户就可以享用各种各样的服务,用户通过网络可以发送电子邮件、召开在线网络会议、看网络直播、网上购物、远程教育,甚至足不出户就可以欣赏世界各地的美景,互联网依靠巨大的魅力吸引着越来越多的用户加入其中,也有着巨大的潜力值得去开发和探索[]。

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/jsjkxyjs/3126.html

好棒文