登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

基于java web ChatOnline系统的设计与实现

 2023-03-07 08:03  

论文总字数:19149字

摘 要

网络聊天室已经成为一种时尚。目前,出现了很多非常不错的聊天工具,其中应用比较广泛的有Netmeeting、腾讯QQ、MSN-Messager等等。在线聊天系统基于B/S架构实现双人即时聊天、群组即时聊天、发送图片等功能,全面基于浏览器运行,避免用户安装客户端软件或浏览器插件。功能耦合性低,既可以独立运行,也可以方便快速的与其他网站系统集成,嵌入到各种营销型网站、企业办公等领域使用,很大程度上丰富了网站运营的空间。系统具备跨平台特性,无论用户使用windows系统还是linux系统,都可以通过浏览器登录系统,方便的交流沟通。用户还可以通过网络硬盘和好友共享文件,或存放自己的文件。用户可以建立自己的群组,接收来自好友的消息,相当于聊天室。用户在使用的时候下载和安装软件是可以放心的,升级会静悄悄的在服务端执行。在线聊天系统不仅降低了用户的沟通成本,为用户提供更方便、灵活的沟通渠道,而且提高了企业的利润率,改善了服务质量,为企业带来更好的经济效益。

课题的难点有:1、如何实现群聊功能,2、如何保证服务器的多并发可以通畅,3、Ajax异步服务来完成注册的验证服务,4、乱码问题,5、如何分离管理员和普通用户,6、如何实现删除好友和黑名单功能,7、使用插件完成工具栏功能。8、实现在群聊中的私聊

关键词:Myeclips;oracle;jsp;spring;springMVC;mybatis

Design and implementation of web ChatOnlin system based on Java

Abstract

With the rapid development of Internet, network chat tool has as 1 of the most important tool for the exchange of information, more and more users of all ages. At present, there are many very good chat tool, which has a broader application of Netmeeting, Tencent, MSN-Messager and so on. Online chat system to achieve double B/S architecture based on real-time chat, instant group chat, send pictures and other functions, all based on the browser, users avoid installing client software or browser plug-in. The function of low coupling, can run independently, but also can quickly and easily with other website system Integrated into the marketing website, the use of business and other fields, greatly enriches the website operation space. The system features of cross platform, regardless of the user windows system or Linux system, can log on to the system through the browser, convenient communication. Users can also share files through the network hard disk and friends, or keep your own file. Users can set up their own group, receiving news from friends, equivalent to chat rooms. Users do not need to worry about downloading and installing software, there is no need to worry about when the system upgrade, upgrade will quietly in the online chat system not only reduced the server. Low user communication costs, to provide users with more convenient and flexible communication channels, but also improve the profitability of enterprises, improve the quality of service, to bring better economic benefits.

The design of this topic is divided into ordinary user module and administrator module. The function module of ordinary user module mainly realizes the user login, user registration, user view online, and grouping of friends management, chat with friends, see friends. Add details, group chat function module administrator module mainly realizes the user management, information query and chat.

The key problem is to realize the function of chat. The first is between users and users of the chat function, followed by the group chat function, including a personal talk, everyone can see, and reply, one can choose sb. To private chat and the server can satisfy multiple concurrent.

The difficulty of this project are: 1, how to realize group chat function, 2, how to ensure that multiple concurrent server can open, 3, Ajax asynchronous service to complete the registration verification service, 4, 5, how to separate the garbage problem, administrators and ordinary users, 6, how to realize and delete friends blacklist, 7, completed the toolbar functions using.8 plug-in, realize group chat private chat.

Key words: Myeclips; Oracle; JSP; spring; springMVC; mybatis

目录

摘要 I

Abstract II

第一章 引言 1

1.1 研究背景和意义 1

1.1.1本课题研究背景 1

1.2课题调研和可行性分析 2

1.2.1课题调研 2

1.2.2课题可行性分析 2

1.3网络聊天室的开发平台 2

第二章 系统设计关键技术 3

2.1 开发工具介绍 3

2.1.1 JSP简介 3

2.1.2 AJAX简介 3

2.1.3 MySQL 数据库简介 4

2.2 应用模型技术分析 4

2.2.1 浏览器/服务器(B/S)模式 4

2.3 数据库技术 4

2.3.1 数据库的种类 4

2.3.2 数据库设计的基本步骤 5

第三章 系统分析 6

3.1 系统整体构架分析 6

3.1.1 系统采用的软件体系结构 6

3.1.2 系统分层结构 6

3.2 系统功能分析 6

3.2.1 系统主要功能组织 6

3.2.2 系统功能模块分析 7

3.3 系统采用的环境配置 7

3.3.1 系统运行环境 7

3.3.2 系统安装调试说明 8

第四章 网络聊天室的设计与实现 9

4.1 数据库设计 9

4.1.1数据库需求分析 9

4.1.2数据库概念结构设计 11

4.1.3数据库逻辑结构设计 14

4.1.4数据库结构的实现 14

4.2 主要功能设计 17

4.2.1 系统功能流设计 17

4.2.2 系统功能模块设计 17

4.2.3 登陆模块的实现 17

4.2.4 群聊功能的实现 18

4.2.5 好友管理模块 19

4.2.6 用户管理模块 20

第五章 系统调试与测试 21

5.1 测试方法介绍 21

5.2 测试计划的制定和用例设计 21

5.2.1 测试计划的制定 21

5.2.2 用例设计 21

5.2.3 测试的执行和结果分析 22

总 结 23

致 谢 24

参 考 文 献 25

第一章 引言

1.1 研究背景和意义

作为近期十分流行的软件,网络聊天室已经成为很多人生活中的一部分,在这个信息化飞速发展的时代人们离不开网络。用网络通信是一种必然的趋势。这有很多好处例如降低成本,通话方便,记录方便存储,有很多类似产品登录,类似于腾讯QQ,MSN等。该课题意在于了解网络通讯,并完成一个简易的网络聊天室。

1.1.1本课题研究背景

◆网络技术

大家都知道网络技术是计算机领域中发展的最快的一门技术,它在许多行业中都起到了举足轻重的作用。计算机网络的推广开来,未来会有越来越多的人利用网上的资源,享受这全面发展并且近乎无敌的网络服务,凭借着网络的帮助来提高工作效率和水平。随着我国经济发展和网络的普及,网络技术也更加全面地应用于大家平日的工作之中。

◆聊天室

伴随着网络在现在社会的发展,人们渴望用低廉的方式来完成简单的通信,因此网上聊天室是一种必然的趋势。人们已经越来越习惯于在网上获取信息并且可以交流信息,所以网上聊天便成为人们的第一选择。群聊是伴随着网上单对单聊天,而引伸出来的新概念。群聊是一种新时代中十分流行的聊天方式。所以我结合所学的全部知识,完成单独聊天以及群聊两大功能的聊天室软件

◆Java

程序设计中,面向对象的编程技术越来越成熟,这种编程方式更注重的是过程,针对对象提出假设来设计程序。现在这种方式的编程是计算机应用的主流,尤其在网络技术开发中,面向对象的Java语言编程和相关的Java技术发展速度十分迅速。Java技术应用十分广泛比如网上购物、网上银行、远程教学、网络聊天、网络游戏等都使用这种技术。Java的特点是还可以体现使平台无关性的思想,平台无关的字节码可以编译成为JAVA程序,只要有Java解释器的机器上就可以运行。

Java可以减少应用系统的维护费用。可以有效的缩短应用系统的开发时间。极大程度的降低成本。Java的编译一次,提供一个完全的开放结构。传递信息到多平台的低成本方式。企业计算和部分电子商务可以通过Java Enterprise APIs提供丰富的类库。

1.1.2研究意义

完成一个聊天室功能。并且通过实践过程更深入学习了解JSP技术还有数据库的基础知识。数据库的使用尤为重要。JSP控制输出界面。

1.2课题调研和可行性分析

1.2.1课题调研

用网络进行通讯已然成为了一种时尚。在高速发展的现代科技中,互联网的地位是毋庸置疑的。网络通讯的发展是必然的。JSP AJAX MySQL开发一个聊天室,就是在这样一个大环境下创建的课题。

1.2.2课题可行性分析

(1)经济可行性

剩余内容已隐藏,请支付后下载全文,论文总字数:19149字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图