【php精品源码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。
网学会员整理了php精品源码-【精品】JXTA,P2P通信系统(源代码,使用手册等放在CSDN了) - 其它资料的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
摘 要 相对于传统的 C/S 网络模式,P2P(Peer to Peer)网络具有其独特的优势,使其能在优胜劣汰的准则下占有一席之地。
P2P 网络的非中心性,消除了服务器的性能瓶颈问题,它的可扩展性,表现为使用系统的用户越多,系统的性能越强大,它的分布式特性,使得资源的可用 性大大地 增强了。
P2P 网络技术正被使用到分布式计算、协同工作、搜索引擎和文件共享等多个应用中。
JXTA 是一个由 SUN 公司推出的开源项目。
它的目的是提供一个支持 P2P网络应用开发的网络计算平台,它为开发新的应用程序 提供了基 本的模块和服务。
它为构建 P2P 网络制订了一组独立于语言和网络的协议,使得应用程序的开发不局限于特定的语言,消息的传送不必使用特定的网络协议。
由 JXTA 开发的应用程序具有跨平台、跨网络的特性。
本文研究并实现了一个 JXTA 框架下的 P2P 即时通信系统。
该系统主要包含一个聊天模块和一个文件传输模块,它可以作为我 们正在开 发的计算机辅助教学系统中信息和文件传输的底层通信模块。
关键词:JXTA、P2P、即时通信、文件传输 ABSTRACT Compared with the traditional C/S network framework the P2Pnetwork has unique advantages which makes itself become outstandingunder fierce competition. Firstly the non-centrality of P2P networkeliminates the bottleneck of the server capability. Secondly itsscalability turns out that the more system users it has the strongerfunction it operates. Thirdly its distributed characteristicgreatly enlarges the usability of resources. The P2P networktechnology is now being used in the application of distributedcomputing cooperative work search engine file sharing and so on. JXTA which is an open source program is launched by SunMicrosystems Inc. It aims at providing a computing network platformthat supports the P2P network application development as well asa basic module and service for developing new application program.What’s more it formulates a group of protocols which isindependent from language and network for structuring P2P network.Then the development of application program would not be confinedto specific language and the transmission of message would not beconfined to specific network protocol. So the application programdeveloped by JXTA owns the characteristic of cross-platform andcross-network. This dissertation analyzes and actualizes a P2P instantmessaging system under the framework of JXTA. This system mainlycontains a chatting module and file transmitting module which couldbe utilized as the fundamental message and file transmitting moduleof our being developed computer assisted instruction systemKeywords: JXTA P2P instant messaging file transfer摘 要 ............................................................................................................................... 1第 1 章 前 言 .................................................................................................................... 4 1.1 课题开发的目的及意义 ........................................................................................................ 4 1.2 课题研究现状 ........................................................................................................................ 4第 2 章 技术背景 ...................................