即时消息系统--本科毕业设计 收藏
摘要
随着网络通信技术和计算机技术的进一步发展,即时消息正在成为网络在线活动中不可缺少的业务。本课题在现有的网络通信技术、数据库技术和编程技术的基础上设计并实现了网络即时消息系统。
该系统采用三层 C/S网络系统构架,采用多线程实现服务器的并发处理,采用 ODBC 接口访问 SQL Server2000数据库设计数据管理模块,采用J2SE平台和java语言去开发系统。该系统按照软件工程思想采用面向对象和模块化设计方法设计,其中采用了网络通信技术、数据库技术、多线程技术等计算机技术,实现了网络通信的基本功能,具有通信即时性的特点。
在论文中,我们将会讨论网络即时消息系统的现状和发展,研究实现此系统的技术背景。然后我们对系统进行需求分析。按照要求,我们将进行总体设计和详细设计,如服务器端的设计,数据库的设计和客户端的设计。最后实现系统的配置和使用。
本毕业设计所完成的网络即时消息系统的主要功能如下:
1. 服务器端:后台启动、监视用户和发送系统消息;
2. 用户登录和注册;
3. 好友管理:查找好友、添加好友和删除好友;
4. 通信:发送消息、接收消息和聊天记录
5. 上线和隐身。
关键词:即时消息系统,C/S三层结构,TCP/IP, J2SE平台
Abstract
With the further development of network communication technology and computer technology, Instant Messaging has been a requirement of on-line activities. This project design and implementation,the instant messaging based on the topic of the existing network communication technology, database technology and programming technology.
This system uses composite structure of three-tier C/S to design system architecture, uses multi-threading to implement server's parallel processing, uses ODBC interface to access to SQL Server database to design data management module, uses J2SE(Java 2 Standard Edition) and Object-oriented programming language ,java,to develop the system.This system is designed by object-oriented and modular design method, which used computer technologies based on network communication technology, database technology, Multi-threading technology, software reuse and so on, this system has basic functions of network communication, , and has features of instant.
In my dissertation,we will discuss the status and development of network instant messenger,and research in the relevant technology background.After that we will analyse the requirement of the system. With the requirement analysis,we will make the general design and detailed design,such as server design ,database design and client design.In the last part ,we will implement the system and put it into practice.
The system has completed the following major functions:
1.Server: Startup,surveillance and send systemic message.;
2.User management: registration login and logout;
3.Friend management: find ,add and delete;
4.Communication:sending message,receriving message and receiving system message;
5.Online and hide.
Key Words:Instant Messenger,C/S Three-layer Construction, TCP/IP,J2SE Platform
目录
摘 要
Abstract
目录
第一章 绪论
1.1选题背景
1.1.1 即时消息系统的研究现状
1.1.2 即时消息系统的发展趋势
1.1.3论文研究的主要内容
1.2 技术背景
1.2.1 C/S 模型
1.2.2 TCP/IP 协议
1.2.3编程技术
第二章 系统分析与设计
2.1 需求分析
2.2系统总体框架
2.2.1总体设计
2.2.2功能模块
2.3系统详细设计
2.3.1多线程