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

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

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

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

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

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

基于Java即时聊天系统的设计与实现(完整资料)(可以直接使用,可编辑优秀版资料,欢迎下载)本科毕业设计(论文)基于Java即时聊天系统的设计与实现学号:05学生姓名:何晶指导教师:范忠诚所在学院:计算机科学技术学院所学专业:计算机科学与技术专业2016年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目录摘要IAbstract