资源描述:
《毕业设计(论文)-基于java的聊天系统的设计与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科生毕业论文(设计)基于java的聊天系统的设计与实现姓 名学 号专 业计算机科学与技术指导教师2015年5月30日XXXV摘 要随着互联网的发展,即时通讯工具正受到更大用户群体的青睐。即时通讯(InstantMessenger,简称IM)是指一种能够让使用者即时发送和接收互联网消息的实时通讯服务。即时通讯的最大特点在于它的即时性,只需通信双方同时在线,就能像多媒体电话一样,实现文字、档案、声音、影像等信息的互传。在网络环境的支持下,通信双方可以便捷的实现信息交互,而不受物理距离的限制。因此即时通信系统在当今社会中有着非常重要的地位。本论文详细的论述了即
2、时通讯系统的客户端和服务器端的主要组成模块,研究了各系统模块的实现方式和具体设计方案,重点阐述了各模块的主要功能,并通过模块流程图加以展示。系统采用面向对象和模块化的设计方法,主要运用了网络通信技术、数据库技术、多线程技术等计算机相关技术,实现了文本通信、用户分组等功能,具有较强的通信实时性。该系统基于C/S体系结构和MVC框架,使用Java语言进行开发,实现了多用户的即时通信。设计并实现了用户注册、登录、用户列表、多用户即时聊天等功能。基于Swing开发了较完整的图形用户界面(GUI);通过套接字编程实现了通信功能。在上述技术研究的基础上,本文构建了局域网环境
3、下,面向普通用户的即时通讯系统,该系统能够满足基本的通信需求。同时该系统采用模块化程序设计模式,因此具有较好的系统扩充性。关键词:即时聊天;socket;局域网;javaIIIAbstractWiththedevelopmentoftheInternet,instantmessagingtoolisfavoredbymoreandmoreusergroups.IM(InstantMessenger,IM)referstoakindofreal-timecommunicationservicewhichallowsuserstosendandreceiveInte
4、rnetmessagesinstantly.ThebiggestcharacteristicofInstantmessagingisitsimmediacy,justcommunicationonlineatthesametime,bothsidescanrealizetosendtheinformationtoeachotherlikemultimediaphone,suchastext,archives,soundandimage.Withthesupportofnetworkenvironment,bothcommunicationsidescaneasi
5、lyrealizetheinformationinteraction,whichcan’tberestrictedbyphysicaldistance.Soinstantcommunicationsystemhasaveryimportantpositionintoday'ssociety.Thepaperdiscussesthemainmodulesoftheclientandserversideoftheinstantcommunicationsystemdetaily,studiesthewayofrealizationofeachsystemmodule
6、andthespecificdesign,expoundsthemainfunctionsofeachmodule,anddisplaysthembymoduleflowchart.Withstrongreal-timecommunication,thesystemadoptsobject-orientedandmodulardesignmethod,mainlyusescomputertechnology,suchasthenetworkcommunicationtechnology,databasetechnologyandmultithreadingtec
7、hnology,andhasrealizedthetextcommunication,usergroupandotherfunctions.ThesystemisbasedonC/SarchitectureandMVCframework,usesJavalanguagedevelopment,andrealizesthemulti-userreal-timecommunication.Thesystemdesignsandimplementstheuserregistration,login,theuserlist,multi-userinstantmessag
8、ing,etc.Base