欢迎来到天天文库
浏览记录
ID:35814466
大小:625.00 KB
页数:23页
时间:2019-04-19
《毕业论文--局域网下的java聊天软件》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、河北农业大学信息学院本科毕业论文题目:局域网下的java聊天软件学院:信息科学与技术学院专业班级:计算机科学与技术0902班学号:学生姓名:指导教师姓名:指导教师职称:教授2013年5月20日摘要随着互联网的迅猛的发展,网络逐渐成了人们获取信息的主要途径。做为传统的信息交流工具e-mail,因为其发送和接受消息时间相对滞后的缘故,不能满足人们迅速获取信息的要求。即时通讯应运而生,为大众提供了一种崭新的综合的信息交流平台。即时通讯不同于传统的通讯工具e-mail,在于它的交流是实时的,使得人们交流更加便捷和快速,满足了人们迅速获取信息
2、的需求,以深受大众的喜爱,有着很好的发展前景。其中聊天软件就是即时通讯的具体实现。本系统建立在JAVA平台上,系统的设计使用了面向对象技术和面向对象的设计原则。系统采用C/S结构,客户端与客户端以及客户端与服务器端之间通过Socket传送消息。使用JAVA语言编写,开发工具采用Eclipse。服务器端设计与实现过程中,采用了多线程技术,可以在单个程序当中同时运行多个不同的线程,执行不同的任务。大大增强了程序对服务器资源的利用。关键字:多线程;客户机/服务器;java;socket;eclipseAbstractWiththerapi
3、ddevelopmentofInternet,thenetworkgraduallybecomesthemainwayforpeopletoobtaininformation.Asthetraditionalinformationcommunicationtoole-mail,becauseoftherelativelagofthesendingandreceivingmessagesoftimereasons,cannotsatisfypeoplequickaccesstoinformationrequirements.Imeme
4、rgeasthetimesrequire,providesanewintegratedinformationexchangeplatformforthepublic.Unliketraditionalinstantmessagingcommunicationtoole-mail,theexchangeisthatitisareal-time,makespeoplecommunicatemoreconvenientandfast,satisfyingthepeoplequickaccesstoinformationneeds,solo
5、vedbythepublic,hasagooddevelopmentforeground.Concreterealizationisinstantmessagingchatsoftware.ThesystembuiltontheJAVAplatform,thesystemdesignusingobject-orientedtechnologyandobject-orienteddesignprinciples.SystemusestheC/Sstructure,clientandclient-sideandserver-sidecl
6、ientandsendmessagesthroughSocket.TheuseofJAVAlanguage,developmenttoolsusingEclipse.DesignandImplementationofserver-sideprocess,theuseofmulti-threadingtechnology,whichcanprocessinasinglerunatthesametimeanumberofdifferentthreads,theimplementationofdifferenttasks.Procedur
7、esgreatlyenhancedtheuseofserverresources.Keywords:multiplethreads;client/server;Java;socket;Eclipse.目录1绪论31.1聊天软件开发背景31.2Java语言31.2.1Java的发展历史31.2.2Java的特点41.2.3Java与Internet51.3Socket编程61.3.1关于TCP/IP协议61.3.2服务器和客户机62需求分析72.1可行性分析72.2系统功能需求72.3系统性能需求73概要设计83.1运行环境83.2软
8、件功能框架图83.2.1服务端功能框架图83.2.2客户端功能框架图84详细设计94.1流程图94.1.1服务端94.1.2客户端104.2编写服务器端程序104.2.1通讯数据包说明(格式说明,包类型说明)104.2.2问题陈述11
此文档下载收益归作者所有