P2P网络平台JXTA的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
对等网络技术(P2P)作为一种新兴的技术,近些年来得到快速的发展。P2P中的每个节点既是资源的提供者,又是资源的获取者。与传统的模式相比,具有无可比拟的非中心化、可扩展性强、健壮性、高性能/价格比、安全性高等优势。同时P2P技术具有广阔的应用前景,已经应用到即时通讯、文件共享、对等计算、精度搜索、企业应用、电子商务和电子游戏等领域。
     但是众多P2P系统均是各自为政,形成了一个个P2P的孤岛。这样与P2P设计的分布式的初衷相背离了。在2000年的夏天,Sun公司提出了“只有互通才能真正发挥出P2P的优势,就好像即时通讯IM(Instant Messaging),能互连的人越多,越有价值”的观点,并出面发布一个平台—JXTA平台。JXTA不仅仅是一个对等网络计算平台,关键的是它实现一个与网络、编程语言和平台无关的支持多种P2P应用的平台。JXTA平台具有互操作性、平台无关性、广泛性等特性,是P2P应用开发的理想平台。
     本论文通过对P2P平台JXTA的三层体系结构和协议的分析研究,掌握基于JXTA平台开发P2P应用的核心技术和过程,从而运用JXTA提供的一套数量少,概念简单的协议构建P2P应用系统。最后,本文提出基于JXTA平台,集成5Ms和J2EE技术设计并构建一个分布式工作流平台,简称PDWP。论文首先给出了PDWP的网络架构图和体系结构图,并描述了PDWP要实现的一些功能;接着按功能模块对PDWP的具体实现进行了详细地讲述,主要模块包括P2P底层网络的建立、工作流的定义和发布、消息的接收和发送以及任务的启动、中止、挂起、恢复和推进;最后通过实验对PDWP在提高设备分散、信息化建设和网络条件不同的企业之间信息交互和协作的效率上的性能进行评价。
     论文首先阐述了P2P网络计算的历史与发展现状以及P2P典型应用;然后详细分析研究新的对等网络计算平台——JXTA,包括JXTA的体系结构、基本术语、核心协议和标准协议:最后给出开发实例——一个建立在JXTA平台上的分布式工作流平台。
The peer-to-peer network technology (P2P) as the most up and coming technology, has developed very fast in recent years. In P2P each node is the resource provider, also the resource extraction. Compares with the traditional pattern, it has lots of incomparable superiorities, such as: non-centralization, expansibility, robustness, high cost performance and higer sercure. And P2P technology has the broad application prospect, applies unceasingly to instant messaging, file sharing, coordinated computation, precision search, enterprise application, electronic commerce and computer game etc.
     But the multitudinous P2P systems do their own way and in them own field, them has formed a lot of P2P isolated island. This departed from the original P2P design intention-distributional share. In 2000 summer, Sun Corporation proposed a viewpoint: "only exchanged can display P2P truly superiority, just like Instant Messaging (IM), more human joined in, more valuealbe this system is". And released a platform—JXTA platform. JXTA is not merely a peer-to-peer network calculates platform, what is essential is it is designed to be independent of programming language, transport protocols/networking platforms and system platforms. It has the features such as, interoperability, platform independence and ubiquity, so it become a ideal P2P application develop platform.
     In this paper, we master the core technology and process of developing P2P application through analyzing the architecture and the protocols of JXTA. So we can use a set of fewer and simpler protocols to design P2P application.In the end, we use JMS and J2EE technology to design a platform of decentralized workflow, for short PDWP, it based on JXTA platform. The paper first presents the network structure and the infructure of PDWP, and describes PDWP's function; Then pressed the function module to carry on to PDWP specific implementation in detail narrated, the main module including the the creation of peer-to-peer network, the definition and issue of workflow,the receiving and sending of message, and starting, stoping, suspending, resuming, continuing of the task; Finally, we experimentalize to evaluate PDWP's performance versus traditional workflow management system.
     In the paper, we describe the history of network computing and the developing status of P2P application in the first, then we discuss the platform of peer-to-peer computing—JXTA in detail. It involves the architecture, the term, the core protocols and the standard protocols of JXTA. Finally, we give a developing example, it is a platform of decentralized workflow based on JXTA.
引文
[1]李祖鹏等 基于Peer-to-Peer网络的JXTA技术研究计算机工程与应用 2003.11
    [2]高岭,刘红,周兆确Java P2P技术内幕人民邮电出版社 2003
    [3]许斌.JXTA-Java P2P网络编程技术 北京:清华大学出版社,2003
    [4]张志强。JXTA技术与原型实现简介。http://www-128.ibm.com/developerworks/cn/iava/1-jxta/index.html.2001-7-04
    [5]吴慧良.对等网络计算平台JXTA的研究:[学位论文].浙江:浙江大学,2003
    [6]范玉顺,《工作流管理技术基础》.北京:清华大学出版社,2001.
    [7]实现多任务域工作流.计算机世界,2004,第48期.
    [8]杨青云.基于组件服务的分布式工作流互操作模型.计算机应用,2002,第22期:48-49.
    [9]胡长城.工作流授权控制模型.2003.
    [10]Napster website, http://www.napster.com
    [11]Gnutella website, http://gnutella.wego.com
    [12]Freenet website, http://sourceforge.net/projects/freenet/
    [13]eDonkcys website. Http://vww.edonkey2000.com
    [14]KaZaA website. http://www.kazaa.com
    [15]Project JXTA website, http://www.jxta.org
    [16]Project JXTA: JXTA v2.0 Protocols Specification. Sun Microsystems Inc.
    [17]Scott Oaks, Bernard Wraversat. Li Cong JXTA技术手册 清华大学出版社 2004
    [18]Project JXIA: JXTA v2.3 Java Programmer's Guide. Sun Microsvstems Inc.
    [19]SETI@home Home Page. http://setiathome.ssl.berkely.edu/.
    [20]Project JXTA: Technical Shell Overview. httn://wwwjxta.or},/proiect/www/dots/TechShellOverview.pdf.2001-04
    [21]S. R. Waterhouse, D. M. Doolin, G. Kan, etc. JXTA Search:a distributed search framework for peer-to-peer networks. IEEE Internet Computing, 2002-06:6873
    [22]Li. Gong. JXTA:: A network programming environment. IEEE Internet Computing, 2001-05:8895
    [23]Project JXTA:JXTABook.http://www.brendonwilson.com/projects/jxta/jxtabook.pdf.2001-01
    [24]The Internet Society: JXTA v2.0 Protocols Specification.http://spec.axta.org/nonav/vL0/docbook/JXTAProtocols.html.2003-02
    [25]Thomas Risse, etc. P2P Evolution: From File-sbaring to Decentralized Workflows Information Technology. 2004, 46 (4): pp. 193-199
    [26]S. Kim, J S. Paik, etc. Peer-to-Peer Workflow Model for Clustering and Scheduling Resources on Grid/P2P Communication Technology, Korea, Proc. of 6th Int. Conference on Advanced February 2004
    [27]H.Schuster, J.Neeb and R.Schamburger. Using Distributed Object Middleware to Implement Scalable Workflow Management Systems.In: Journal of Integrated Design and Process Science. JUNE 1999, Vol. 3, No. 2.
    [28]Shuman Ghosemajnmder. Advanced Peer-Based Technology Business Models. http:/Ishumans,com/p2p-business-models.pdf.
    [29]Sun, JXTA Technology:Creating Connected Communities. Jan.2004.
    [30]http://www.openp2p.com/
    [31]http://conferences.oreilly.com/p2p/
    [32]http://www.javafox.org/workflow/
    [33]The Workflow Management Coalition. The Workflow Reference Model,Document No. TC00-1003, Issue 1.1 1995. http://www.wfmc.org.
    [34]Daniel Barbara, Sharad Mehrotra, Marek Rusinkiewicz. INCAs:Managing Dynamic Workflows in Distributed Environments. September 6,1995.
    [35]W. M. P. van der Aalst, Hofstede, A. H. M. ter, Kiepuszewski B., Barros,A. P., Workflow Patterns, http://tmitwww.tm.tue.hl/research/patterns/.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700