预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共107页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

本科毕业设计(论文)基于Java即时聊天系统设计和实现学号:05学生姓名:何晶指导老师:范忠诚所在学院:计算机科学技术学院所学专业:计算机科学和技术专业6月摘要伴伴随互联网高速发展,产生了一系列和互联网相关新鲜事物,即时聊天系统就是其中最具代表性产物。即时聊天系统经过不停地发展,凭借其快速、便捷、即时特点,逐步成为一个关键信息交流工具,受到越来越多网民青睐。即时聊天系统开发关键包含两个方面:即时聊天系统服务器端设计、即时聊天系统用户端设计。即时聊天系统服务器端设计关键经过Socket套接字建立服务器,服务器能够读取和转发从用户端发来信息,而且能够刷新用户列表。即时聊天系统用户端设计关键经过和服务器建立连接,从而使服务器端和用户端信息进行交流。在这里,网络通信机制原理得到了利用,经过直接继承Thread类来建立多线程。同时,开发中利用了计算机网络编程基础理论知识,如TCP/IP协议、用户端/服务器端模式(Client/Server模式)、网络编程设计方法等。在网络编程中利用流来实现信息交换,从而读取和发送信息。即时聊天系统采取myeclipse为基础开发环境和java语言进行编写,经过不停修正和改善初始原型系统,直至此系统完全可行为止。关键词:即时聊天系统;套接字;JavaAbstractAlongwiththehigh-speeddevelopmentofInternet,producedaseriesofnewthingsrelatedtotheInternet,instantmessagingsystemistheproductofoneofthemostrepresentative.Instantmessagingsystemthroughconstantdevelopment,withitsfast,convenient,real-timecharacteristics,becominganimportantcommunicationtool,getthefavourofagrowingnumberofInternetusers.Instantmessagingsystemdevelopmentmainlyincludestwoaspects:instantmessagingsystemserverclient,instantmessagingsystemdesign.InstantmessagingsystemdesignmainlythroughtheSocketserverSocketserver,theservercanreadandforwardfromtheclient'sinformation,andbeabletorefreshtheuserlist.Instantmessagingsystemdesignmainlybytheclientandtheserverconnectionisestablished,whichmakestheservertocommunicatewiththeclient'sinformation.Here,theprinciplehasbeenusingnetworkcommunicationmechanism,throughdirectinheritanceforbuildingamultithreadedThreadclass.Atthesametime,theuseofcomputernetworkprogramminginthedevelopmentofthebasictheoryofknowledge,suchasTCP/IPprotocol,Client/Servermode(Client/Servermode),networkprogrammingdesignmethod,etc.Usingflowinnetworkprogrammingtoachievetheexchangeofinformation,soastoreadandsendinformation.InstantmessagingsystemusingmyeclipseasthebasicdevelopmentenvironmentandtheJavalanguagetowrite,byconstantlyrevisedandimprovedtheinitialprototypesystem,untilthesystemiscompletelyfeasible.Keywords:Instantmessagingsystem;socket;Java目录摘要IAbstractII第1章绪论11.1课题背景11.2中国外发展现实状况11.2.1国外发展现实状况11.2.2中国发展现实状况11.3开发目标