您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > P2P平台上的Web服务
2006-3-141P2PWebRuixuanLi,FengKeCollegeofComputerScience,HUSTrxli@public.wh.hb.cn~rxli/2006-3-142•JXTAP2P•P2PWeb2006-3-143JXTAP2P•JXTA(Juxtapose,)Sun2001JXTAP2PJXTASunONEJXTA(OpenNetEnvironment,Sun)SUN“”SUNONE(OpenNetEnvironment,Sun)SUN“”2006-3-144JXTAP2PBillJoyJXTASun“JXTA(P2P)”1977BerkeleyBSDUnix1982BillJoyScottMcNealySunBillJoy““20031977BerkeleyBSDUnix1982BillJoyScottMcNealySunBillJoy““20032006-3-145JXTAP2P•P2P()1.P2PP2PNapsterGnutellaAIMP2P2006-3-146JXTAP2P•P2P2.P2PCJavaWindowsUnixTCP/IPBluetoothP2PAPI2006-3-147JXTAP2P•P2P3.P2PPDA2006-3-148JXTAP2P•P2P4.P2PP2PP2P2006-3-149JXTAP2P•JXTA(1)(2)(3)(4)JXTAP2P“”“”P2PJXTAP2P“”“”P2P2006-3-1410JXTAP2P•JXTA(1)Peer,(2)(3)/Peer(5)PeerPeer(6)Peer2006-3-1411JXTAP2P•JXTA(7)JXTA(8)ISPPeer(9)(10)2006-3-14121.(myJXTA)•JXTAmyJXTAJ2SEJXTAJXTAP2PmyJXTAJXTAPeer(Chess)•JXTAJXTAJXTAJXTAPeer(JXTA-CAD)•JXTAJXTA-CADCAD•JXTAJXTAJXTAJXTA•JXTA1.Peer()PeerPeerPeerPeerPeer()PeerPeer2006-3-1417JXTA2006-3-1418JXTAP2P•JXTA2.PeerGroup()¾Peer;¾Peers;¾;¾¾VPN2006-3-1419JXTANetPeerGroupPeerNetPeerGroupPeer2006-3-1420JXTAP2P•JXTA3.EdgePeer()¾¾JXTA¾¾P2P¾¾JXTA2006-3-1421JXTAP2P•JXTA4.RendezvousPeer()¾PeerPeerPeer¾¾¾P2P(RendezvousSuper-PeersNetwork)2006-3-1422PeerAPeerB()Rdv1Rdv2PeerAPeerBRdv1Rdv1Rdv2Rdv2PeerBPeerBPeerBPeerAPeerAPeerB()Rdv1Rdv2PeerAPeerBRdv1Rdv1Rdv2Rdv2PeerBPeerBPeerBPeerA2006-3-1423JXTAP2P•JXTA5.RouterPeer(Peer)JXTAPeerERPPeerPeerJXTAP2P2006-3-1424JXTAP2P•JXTA6.GatewayPeer(Peer)¾JXTAPeerPeer¾PeerPeer¾NAT2006-3-1425PeerPeerNAT¾Peer1TCPPeer2¾Peer2Peer3HTTP¾Peer2Peer3¾Peer1TCPPeer2¾Peer2Peer3HTTP¾Peer2Peer32006-3-1426JXTAP2P•JXTA7.Endpoint()¾PeerIP¾¾PeerPeerPeerTCPPeerHTTP2006-3-1427JXTAP2P•JXTA8.Pipe()¾PeerPeerPeer¾PeerPeer2006-3-1428JXTA2006-3-1429JXTAP2P•JXTAPipe¾----PeerPeer¾----PeerPeer2006-3-1430JXTAP2P•JXTAPipe----JXTA/------------------------2006-3-1431JXTAP2P•JXTA9.Advertisement()¾XMLJXTAPeer¾JXTAJXTA¾JXTA72006-3-1432JXTAP2P?xmlversion=1.0?!DOCTYPEjxta:PipeAdvertisementjxta:PipeAdvertisementxmlns:jxta=:uuid-9CCCDF5AD8154D3D87A391210404E59BE4B888209A2241A4A162A10916074A9504/IdTypeJxtaUnicast/TypeNameHelloWorldPipe/Name/jxta:PipeAdvertisementURNUniformResourceName().URNUniformResourceName().UUID128(16)(UniversallyUniqueIdentifier)UUID128(16)(UniversallyUniqueIdentifier)2006-3-1433JXTAP2P•JXTA10.Message()JXTA¾XMLXML/¾2006-3-1434JXTAP2P•JXTAXML?xmlversion=1.0?!DOCTYPEMessageElementName“JXTA:product”Mime_Type=“text/plain”BrandHaierTV/BrandPrice1200.00/PriceSpecials1000.00/Specials/Message2006-3-1435JXTAP2P•JXTA¾(JXTACore)IDPeer¾(JXTAServices)P2P¾(JXTAApplications)JXTA2006-3-1436JXTAP2P•JXTA¾PeerDiscoveryProtocol(PDP)¾PipeBindingProtocol(PBP)¾PeerInformationProtocol(PIP)¾RendezvousProtocol(RVP)¾EndpointRoutingProtocol(ERP)¾PeerResolverProtocol(PRP)¾PeerDiscoveryProtocol(PDP)¾PipeBindingProtocol(PBP)¾PeerInformationProtocol(PIP)¾RendezvousProtocol(RVP)¾EndpointRoutingProtocol(ERP)¾PeerResolverProtocol(PRP)2006-3-14371.PeerDiscoveryProtocol(PDP)PDPPeer(1)Peer(2)PeerPeer2006-3-1438Dicovery1.Peer1PeerRendezvousDiscoveryQueryMessage2.Rendezvousdiscovery,DiscoveryResponseMessage,Peer3.Peer,,DiscoveryResponseMessage2006-3-14390Peer,1()Peer2006-3-14400Peer,1ExpirationResponseCount2006-3-14412.PipeBindingProtocol(PBP)PeerPeerPipePeerPeerEndpointPipeIDPipePBPPipe(1)PipeBindingQueryMessagePipe(2)PipeBindingAnswerMessagePipe2006-3-14421.Peer1InputPipe,,2.Peer2Peer1,Peer2Peer1,OutputPipe,Peer2PeerRendezvousPipeBindingQueryMessage3.Peer1PipeBindingQueryMessage,Pipe,,PipeBindingAnswer,4.Peer2PipeBindingAnswerMessage,Peerendpoint,endpointOutputPipe,,Peer2Peer12006-3-14433.PeerInformationProtocol(PIP)PeerpingPIP(1)PeerInfoQueryMessagePeer(2)PeerInfoResponseMessagePeer2006-3-1444PeerInfo1.Peer1Peer2PeerInfoQueryMessage2.Peer,PeerInfoServicetargetIDPeerID,,PeerPeerInfoResponseMessage,,2006-3-14454.RendezvousProtocol(RVP)RVPJXTARVP(1)(2)(TTL)RVP(1)(LeaseRequest):Peer(2)(LeaseGranted):Peer(3)(LeaseCancelRequest):Peer(4)(LeaseCancelled):Peer2006-3-1446RVP2006-3-14475.EndpointRoutingProtocol(ERP)ERP/ERP(1)RouteQueryMessage(2)RouteResponseMessagePeer(3)EndpointRouteMessagePeer2006-3-1448ERP1.Peer1Peer4Peer4Peer1PeerRouteQueryMessagePeer42.Peer4Peer1RouteResponseMessage3.Peer1RouteResponseMessageEndpointRouteMessagePeer4Endpoint4.Peer3EndpointRouteMessagePeerEndpointRouteMessageEndpoint5.Peer4EndpointRouteMessagePeer12006-3-14496.PeerResolverProtocol(PRP)/PeerPeerXMLJXTA(PDPPBPPIP)2006-3-1450JXTAP2P•JXTAPeerDiscoveryProtocal----PeerResolverProtocal----PeerInformationProtocal----PipeBindingProtocal----RendezvousProtocal----EndpointRoutingProtocol----2006-3-1451(1)(SharedResourceDistributedIndexSRDI)JXTAJXTA(XML)SRDI(HushTable)SRDISRDI2006-3-1452(2)DistributedHashTable,DHTDHTP2P(VID)(KEY)K
本文标题:P2P平台上的Web服务
链接地址:https://www.777doc.com/doc-1579976 .html