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

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

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

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

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

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

JIUJIANGUNIVERSITY毕业论文题目基于Web的在线实时通讯系统的设计与实现英文题目TheDesignandImplementationofTheInstantMessagingSystemBasedonWeb院系信息科学与技术学院专业计算机科学与技术姓名廖江晨班级学号A081125指导教师杨振宇二○一二年五月信息科学与技术学院学士学位论文摘要随着互联网的快速发展,网络聊天工具已经作为一种重要的信息交流工具,受到越来越多的网民的青睐。目前,出现了很多非常不错的聊天工具,其中应用比较广泛的有Netmeeting、腾讯QQ、MSN-Messager等。聊天通讯系统的诞生拉进了人们的距离,沟通交流更加方便了。系统的开发也是受到WebQQ的启示,开发主要包括一个网络聊天服务器程序和一个网络聊天客户程序两个方面。前者通过Socket套接字建立服务器,服务器能读取、转发客户端发来信息,并能刷新用户列表。后者通过与服务器建立连接,来进行客户端与客户端的信息交流。其中用到了局域网通信机制的原理,通过直接继承Thread类来建立多线程。开发中利用了计算机网络编程的基本理论知识,如TCP/IP协议、客户端/服务器端模式(Client/Server模式)、网络编程的设计方法等。在网络编程中对信息的读取、发送。系统的目标就是能够实现在线实时通讯,系统采用MyEclipse为基本开发环境,使用SSH框架以及Ajax等进行编写,首先可在短时间内建立系统应用原型,然后,对初始原型系统进行不断修正和改进,直到形成可行系统。系统具有良好的程序结构和人机交互界面,通用性强,既可独立为一个小型聊天网站,也可应用于其它不同需求的网站。关键词:实时通讯,多线程,服务器AbstractWiththerapiddevelopmentoftheInternet,networkchattoolsalreadyasakindofimportantinformationcommunicationtool,ismoreandmorethefavourofInternetusers.Atpresent,therearemanyverynicechattingtools,whichiswidelyNetmeeting,tencentofQQ,MSN-Messagerandsoon.Chatcommunicationsystemofthebirthofthedrawnintopeople'sdistance,moreconvenientcommunication.ThedevelopmentofthesystemisalsobeingWebQQrevelation,developmentmainlyincludesanetworkchatserverprogramandanetworkchatclientprogramtwoaspects.TheformerthroughtheSocketSocketsetuptheserver,whichcanberead,forwardfromtheclientinformation,andcanrefreshuserlist.Thelatterthroughtoaserverconnection,totheclientandtheclientinformationexchange.Amongthemtheuseofthelocalareanetworkcommunicationmechanismofprinciple,throughthedirectlyinheritedThreadclasstoestablishmultithreading.Inthedevelopmentofthecomputernetworkprogrammingelementarytheoryknowledge,includingTCP/IPprotocol,Client/Servermode(Client/Servermode),networkprogrammingdesignmethod,etc.Inthenetworkprogrammingtoread,sendinformation.Thegoalofthissystemistoachievethereal-timeonlinecommunications,systemUSESMyEclipseasthebasicdevelopmentenvironmentandJavalanguagetowrite,firstinashorttimecanestablishsystemapplicationprototype,andthen,onthebasisoftheprototy