基于Java技术的即时聊天系统实现

2015届本科毕业论文(设计)

基于Java技术的 即时聊天系统实现

代码:http://download.csdn.net/detail/syqwe/8869057

姓 名:____ XXXX _______

系 别:计算机与信息技术学院

专 业: 网络安全 _

学 号:____XXXXXXXX_ ____

指导教师:____ XXXXX ______

2015年 5月8日

目 录

1 绪论 ............................................................................................................................................................. 1

1.1 背景 ................................................................................................................................................. 1 1.2 论文研究内容与方法 ..................................................................................................................... 1 2 开发环境介绍 ............................................................................................................................................. 1

2.1 Java技术简介 ................................................................................................................................ 1 2.2 开发工具简介 ................................................................................................................................. 1 3 需求分析 ..................................................................................................................................................... 1

3.1 功能性需求分析 ............................................................................................................................. 2 3.2 非功能性需求分析 ......................................................................................................................... 2 4 总体设计 ..................................................................................................................................................... 2

4.1 功能模块设计 ................................................................................................................................. 2 4.2 数据库设计 ..................................................................................................................................... 3 5 系统详细设计与实现 ................................................................................................................................. 5

5.1 界面设计 ......................................................................................................................................... 5

5.1.1 登录界面 ............................................................................................................................... 5 5.1.2 注册界面 ............................................................................................................................... 5 5.1.3 修改密码界面 ....................................................................................................................... 6 5.1.4 好友列表界面 ....................................................................................................................... 7 5.1.5 聊天窗口界面 ....................................................................................................................... 8 5.1.6 服务器端界面 ....................................................................................................................... 9 5.2 功能实现 ......................................................................................................................................... 9

5.2.1 实现登录 ............................................................................................................................... 9 5.2.2 实现注册 ............................................................................................................................. 10 5.2.3 实现修改密码 ..................................................................................................................... 10 5.2.4 添加、删除好友 ................................................................................................................. 11 5.2.5 移动黑名单 ......................................................................................................................... 11 5.2.6 多对多聊天 ......................................................................................................................... 12 5.2.7 显示表情 ............................................................................................................................. 12 5.2.8 文件的发送 ......................................................................................................................... 13 5.2.9 历史记录 ............................................................................................................................. 14

6 测试阶段 ................................................................................................................................................... 15 总 结 ............................................................................................................................................................. 15 参考文献 ....................................................................................................................................................... 15 致 谢 ............................................................................................................................................................. 15

I

基于Java技术的即时聊天系统实现

摘要

基于Java技术的即时聊天系统采用C/S架构,MyEclipse集成开发环境和MySQL数据库为开发环境,在Window7系统下使用Java程序设计语言开发的一款聊天系统。系统主要分为:用户注册、用户登录、修改密码、好友列表、聊天等五大模块;在功能上用户能够进行添加删除好友,移动黑名单,一对一、多对多的聊天,发送表情,传送文件等操作。

关键词

Java;即时聊天系统;C/S;MyEclipse;MySQL;

Implementation of Instant Messaging System Based on Java Technology

Abstract

Java technology and C/S architecture is used in the instant messaging system, the MyEclipse integrated development environment and MySQL database as a development environment based

on Java programming language, the use of Window7 system in the development of a chat system. The system is mainly divided into: user registration,user login, change password, list of friends, chat and other five modules; in function, users can add and delete friends, mobile blacklist, one to one, many to many chat, send expression, transfer files and other operations.

Keywords

Java; instant messaging system; C/S ; MyEclipse; MySQL;

II

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4