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

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

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

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

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

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

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