基于JAVA 聊天系统的设计与实现毕业论文

 2021-04-12 04:04

摘 要

随着互联网的发展,开始流行一些即时通讯软件。即时通讯(简称)是目前比较流行的一种让使用者能够实时的发送和接收来自其他使用者信息的服务。相对于传统的通讯而言,有着很大的优势,让使用者不需要等待,使用者们只要同时在线,就能随意发送文字、声音、视频和文件给对方。通过互联网,聊天双方可以不受空间的限制,无论远隔天涯,都能像面对面一样聊天。因此,开发一款实用方便的即时通讯软件非常必要。

本论文采用java语言,mysql数据库,C/S框架进行设计。首先介绍了即时通讯聊天系统的背景意义,研究现状和发展趋势;其次结合当下热门的即时聊天系统的功能,分析了即时通讯软件的基本需求;然后说明了系统的整体层次划分、模块的划分和数据库的设计;最后,结合java(socket通讯)相关技术,MVC框架等核心技术解决了服务器监听客户端,客户端向服务器发送请求,服务器端操作数据库等问题,实现了客户端之间的通讯,并且对其做了测试,最后将展示系统的效果。

关键词:Java;即时聊天;客户端;服务器;套接字

Design and Implementation of Chat System Based on Java

ABSTRACT

With the development of the Internet, some popular instant messaging software has become popular. Instant messaging is a popular service that allows users to send and receive information from other users in real time. Compared to the traditional communication, there is a great advantage, so that users do not need to wait, as long as the users are online at the same time, will be able to send text, sound, video and file to each other. Through the Internet, chat both sides can not be limited by space, regardless of distant horizon, can chat like face to face. Therefore, the development of a practical and convenient instant messaging software is necessary.

This paper uses java language, mysql database, C / S framework for design. Firstly, it introduces the background, the research status and the development trend of the instant messaging chat system. Secondly, it analyzes the basic requirements of the instant messaging software in combination with the function of the popular instant chat system. Then it explains the whole hierarchy of the system, Finally, the combination of java (socket communication) related technology, MVC framework and other core technologies to solve the server to listen to the client, the client to the server to send requests, server-side operation database and other issues, to achieve the communication between the client, And tested it, and finally will show the effect of the system.

Key words:Java;Instant chat;Client;Server; Socket

目 录

目 录 I

第1章 绪论 1

1.1 课题研究背景和意义 1

1.2 国内外研究现状 1

1.2.1 国内研究现状 1

1.2.2 国外研究现状 1

1.3 论文研究内容和结构 2

第2章 相关技术 3

2.1 C/S模式分析 3

2.2 MVC框架相关技术 3

2.3 MySQL相关技术 4

2.4 Java相关技术简介 4

2.5 Socket技术简介 4

2.6 Java多线程技术简介 5

第3章 需求分析 6

3.1 系统需求总述 6

3.2 功能性需求分析 6

3.2.1 客户端需求 6

3.2.2 服务端需求 6

3.2.3 数据库需求 6

3.3 本章小结 6

第4章 系统设计 8

4.1 概要设计 8

4.1.1 系统体系结构的设计 8

4.1.2系统基本架构 8

4.1.3 功能模块设计 8

4.1.4 系统层次结构 9

4.2 详细设计 10

4.2.1 系统功能模块 10

4.2.2 界面显示 10

4.2.3 业务处理 10

4.2.4 数据传送 11

4.3 数据库设计 11

4.3.1 数据库的概念设计 11

4.3.2 数据库的逻辑设计 11

4.4 本章小结 13

第5章 系统实现 13

5.1 服务器端 14

5.1.1 服务器登录界面 14

5.1.2 服务器主界面 14

5.1.3 启动服务器 15

5.1.4 用户监听界面 15

5.1.5 用户搜索界面 16

5.2 客户端 16

5.2.1 客户端登录界面 16

5.2.2 客户端注册界面 17

5.2.3 客户端主界面 18

5.2.4 用户分组 19

5.2.5 好友资料修改 19

5.2.6 聊天界面 21

5.2.7 用户文字聊天功能 21

5.2.8 用户文件传输功能 22

5.2.9 状态改变显示功能 22

5.2.10 修改个人密码功能 23

5.2.11 添加好友功能 23

5.3 主要技术难题及解决方案 24

5.4 本章小结 25

第6章 系统测试 25

6.1 功能性测试 26

6.1.1 系统登录注册 26

6.1.2 资源占用情况 27

6.2 非功能性测试 27

6.2.1 界面显示测试 27

6.2.2 多客户端测试 27

结 论 27

致 谢 28

参考文献 29

第1章 绪论

1.1 课题研究背景和意义

随着互联网的发展,开始流行一些即时通讯软件。即时通讯(简称)是目前比较火热的一种让使用者能够实时的发送和接收来自其他使用者信息的服务。因此即时通信系统在现代社会非常流行,也很受大家喜爱。

伴随着互联网的发展,越来越多的人开始使用即时通讯软件。即时通讯相对于传统的通讯而言,有着很大的优势,比如它的即时性,让使用者不需要等待,使用者们只要同时在线,就能随意发送文字、声音、视频和文件给对方。通过互联网,聊天双方可以不受空间的限制,无论远隔天涯,都能像面对面一样聊天[1]

即时通讯系统的重中之重是考虑使用者的习惯和需求,只有能满足用户的种种需求,才是有价值的系统。

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

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。