文档介绍:毕业设计(论文)
题目
QQ :
年级专业
班级学号
学生姓名
指导教师职称
论文提交日期
摘要
随着网络普及和上网人数的大增,进行信息交流已经成为人们日常生活中不可缺少的一部分,目前比较流行的聊天软件如:Facebook、腾讯QQ、移动Fetion、MSN-Messager,等等,相比于手机话费的昂贵,手机短信的繁琐等,网络通信操作简单,更重要的是给广大用户提供了一个广阔的免费的交留平台,让原本不认识的人也可以通过聊天软件成为朋友,让原本就熟悉的朋友们有更多的时间更多的机会交流,给我们的生活和工作带来了很多便利,因此受到越来越多的网民的青睐。该系统开发主要包括两个方面,一个网络聊天服务器端和一个网络聊天客户端。使用了最新的java2标准Swing组建,开发出简洁美观和布局合理的用户服务器界面;前者通过Socket套接字建立服务器,使服务器能够读取、转发客户端发来信息,并能刷新用户列表。后者通过与服务器建立连接,接收客户端之间的信息交流。其中用到了局域网通信机制的原理,采用多线程多任务的设计思想。开发中利用了计算机网络编程的基本理论知识,如TCP/IP协议、客户端/服务器端模式(Client/Server模式)、网络编程的设计方法等。在网络编程中对信息的读取、发送,是利用流来实现信息的交换,其中介绍了对实现一个系统的信息流的分析,包含了一些基本的软件工程的方法。经过分析这些情况,该聊天工具采用Eclipse为基本开发环境和java语言进行编写,实现了即时在线交流,对新用户的注册,发送信息和接收信息,以及文件传输等功能。
【关键词】即时通讯系统 B/S multithreading C/S MySQL Socket Swing
ABSTRACT
Along with work popularization and the number of users growth, the exchange of information in daily life has e an indispensable part of the relatively popular chat software such as: Facebook, tencent QQ, mobile Fetion, MSN-Messager, etc, pared to the mobile phone calls of expensive, mobile phone short message such as the red tape, munication operation simple, more important is to the general user provides a broad free/leave platform, let originally not know can also through the chat software be friends, let originally is familiar friends have more time more chance to exchange, to our life and work to bring a lot of convenience, therefore they are more and more the favour of users. The system development mainly includes two aspects, work chat the server and work chat client. Using the latest java2 standards established Swing, developed a concise and beautiful and the reasonable layout of the user server interface; The former through the Socket Socket establish server, make sure that the server can be read, forward from the client information, and can refresh user list. The latter through to a server connection, receive the exchange of information between the client. Among them the use of the local munication mechanism of principl