您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 文档JXTA,P2P通信系统(源代码,使用手册等放在CSDN了)
JXTA框架下P2P即时通信系统的研究与实现第1页共38页摘要相对于传统的C/S网络模式,P2P(PeertoPeer)网络具有其独特的优势,使其能在优胜劣汰的准则下占有一席之地。P2P网络的非中心性,消除了服务器的性能瓶颈问题,它的可扩展性,表现为使用系统的用户越多,系统的性能越强大,它的分布式特性,使得资源的可用性大大地增强了。P2P网络技术正被使用到分布式计算、协同工作、搜索引擎和文件共享等多个应用中。JXTA是一个由SUN公司推出的开源项目。它的目的是提供一个支持P2P网络应用开发的网络计算平台,它为开发新的应用程序提供了基本的模块和服务。它为构建P2P网络制订了一组独立于语言和网络的协议,使得应用程序的开发不局限于特定的语言,消息的传送不必使用特定的网络协议。由JXTA开发的应用程序具有跨平台、跨网络的特性。本文研究并实现了一个JXTA框架下的P2P即时通信系统。该系统主要包含一个聊天模块和一个文件传输模块,它可以作为我们正在开发的计算机辅助教学系统中信息和文件传输的底层通信模块。关键词:JXTA、P2P、即时通信、文件传输JXTA框架下P2P即时通信系统的研究与实现第2页共38页ABSTRACTComparedwiththetraditionalC/Snetworkframework,theP2Pnetworkhasuniqueadvantages,whichmakesitselfbecomeoutstandingunderfiercecompetition.Firstly,thenon-centralityofP2Pnetworkeliminatesthebottleneckoftheservercapability.Secondly,itsscalabilityturnsoutthatthemoresystemusersithasthestrongerfunctionitoperates.Thirdly,itsdistributedcharacteristicgreatlyenlargestheusabilityofresources.TheP2Pnetworktechnologyisnowbeingusedintheapplicationofdistributedcomputing,cooperativework,searchengine,filesharing,andsoon.JXTA,whichisanopensourceprogram,islaunchedbySunMicrosystemsInc.ItaimsatprovidingacomputingnetworkplatformthatsupportstheP2Pnetworkapplicationdevelopment,aswellasabasicmoduleandservicefordevelopingnewapplicationprogram.What’smore,itformulatesagroupofprotocols,whichisindependentfromlanguageandnetwork,forstructuringP2Pnetwork.Then,thedevelopmentofapplicationprogramwouldnotbeconfinedtospecificlanguage,andthetransmissionofmessagewouldnotbeconfinedtospecificnetworkprotocol.So,theapplicationprogramdevelopedbyJXTAownsthecharacteristicofcross-platformandcross-network.ThisdissertationanalyzesandactualizesaP2PinstantmessagingsystemundertheframeworkofJXTA.Thissystemmainlycontainsachattingmoduleandfiletransmittingmodule,whichcouldbeutilizedasthefundamentalmessageandfiletransmittingmoduleofourbeingdevelopedcomputerassistedinstructionsystemKeywords:JXTA,P2P,instantmessaging,filetransferJXTA框架下P2P即时通信系统的研究与实现第3页共38页摘要.........................................................................................................................1第1章前言...............................................................................................................41.1课题开发的目的及意义....................................................................................................41.2课题研究现状...................................................................................................................4第2章技术背景.........................................................................................................62.1P2P技术...........................................................................................................................62.1.1P2P的概念.........................................................................................................62.1.2P2P与C/S方式的对比....................................................................................62.1.3P2P网络的特点.................................................................................................82.1.4P2P的应用领域.................................................................................................92.2JXTA框架.......................................................................................................................102.2.1JXTA概述.........................................................................................................102.2.2JXTA的发现机制............................................................................................182.2.3JXTA管道API..................................................................................................192.2.4JXTA网络服务.................................................................................................212.2.5JXTA安全.........................................................................................................22第3章P2P即时通信系统的分析与设计.........................................................243.1系统需求分析.................................................................................................................243.2系统功能设计.................................................................................................................25第4章P2P即时通信系统的实现......................................................................284.1开发与运行环境.............................................................................................................284.2对等组服务的实现.........................................................................................................284.3系统运行说明.................................................................................................................30第5章总结与展望...............................................................................................375.1总结................................................................................................................................375.2工作展望........................................................................................................................37参考文献.........................................................
本文标题:文档JXTA,P2P通信系统(源代码,使用手册等放在CSDN了)
链接地址:https://www.777doc.com/doc-2432305 .html