CN101867623B - Peer-to-peer network service primitive system - Google Patents
Peer-to-peer network service primitive system Download PDFInfo
- Publication number
- CN101867623B CN101867623B CN2010102259807A CN201010225980A CN101867623B CN 101867623 B CN101867623 B CN 101867623B CN 2010102259807 A CN2010102259807 A CN 2010102259807A CN 201010225980 A CN201010225980 A CN 201010225980A CN 101867623 B CN101867623 B CN 101867623B
- Authority
- CN
- China
- Prior art keywords
- module
- service
- peer
- transmit
- submodule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
一种网络通信技术领域的对等网络服务原语系统,包括:应用服务模块、对等通信模块、传输网络模块、用户接口模块和应用接口模块,其中:应用服务模块与用户接口模块相连传输应用服务通信信息,用户接口模块与对等通信模块相连传输应用服务通信信息,对等通信模块与应用接口模块相连传输应用服务的API信息,应用接口模块与传输网络模块相连传输应用服务的API信息。本发明能够简化P2P应用系统的开发和部署,具有灵活的扩展性,且可用于DHT协议和非DHT协议的P2P系统;使得多个P2P应用可以在同一个覆盖层得到支撑,提高了系统资源的重用性和优化了资源配置效率;能够净化P2P网络环境,提供健康的P2P应用。A peer-to-peer network service primitive system in the field of network communication technology, comprising: an application service module, a peer-to-peer communication module, a transmission network module, a user interface module, and an application interface module, wherein: the application service module is connected to the user interface module to transmit application For service communication information, the user interface module is connected to the peer-to-peer communication module to transmit application service communication information, the peer-to-peer communication module is connected to the application interface module to transmit API information of the application service, and the application interface module is connected to the transmission network module to transmit API information of the application service. The invention can simplify the development and deployment of the P2P application system, has flexible scalability, and can be used in P2P systems with DHT protocol and non-DHT protocol; multiple P2P applications can be supported on the same coverage layer, and the resource utilization of the system is improved. Reusability and optimized resource allocation efficiency; it can purify the P2P network environment and provide healthy P2P applications.
Description
技术领域 technical field
本发明涉及的是一种网络通信技术领域的系统,具体是一种对等网络服务原语系统。The invention relates to a system in the technical field of network communication, in particular to a peer-to-peer network service primitive system.
背景技术 Background technique
对等网络(Peer-to-Peer network,简称P2P网络)是一种新的通信网络模式,网上各台计算机有相同的功能,无主从之分,任一台计算机都是即可作为服务器,设定共享资源供网络中其他计算机所使用,又可以作为工作站,享受其他计算机提供的海量资源共享下载等服务;对等网络是分布式系统和计算机网络相结合的产物,它让所有网络成员享有“自由、平等、互联”的功能。P2P是英文Peer-to-Peer(对等)的简称,又被称为“点对点”。P2P通信技术,是一种新的通信模式。以P2P技术为基础组成的通信网络,就是P2P网络,即对等网络。P2P网络快速发展,已经占据了当前互联网超过一半的带宽资源,被称为“改变互联网的新一代网络技术”。Peer-to-Peer network (P2P network for short) is a new communication network mode, each computer on the network has the same function, there is no master-slave distinction, any computer can be used as a server, Set shared resources for use by other computers in the network, and can also be used as a workstation to enjoy services such as massive resource sharing and downloading provided by other computers; the peer-to-peer network is the product of the combination of distributed systems and computer networks, which allows all network members to enjoy The function of "freedom, equality and interconnection". P2P is the abbreviation of English Peer-to-Peer (peer-to-peer), also known as "peer-to-peer". P2P communication technology is a new communication mode. A communication network based on P2P technology is a P2P network, or a peer-to-peer network. The rapid development of P2P network has already occupied more than half of the bandwidth resources of the current Internet, and it is called "a new generation of network technology that changes the Internet".
近年来,Bittorrent,PPLive以及eMule等P2P系统获得了巨大的成功。但是,由于P2P本身并没有规范性要求,大量的这些P2P应用功能相互叠加,导致了对有限的网络资源和开发资源的恶性竞争和浪费。此外,开发一个P2P系统也是相对复杂的工作,而且新的系统应用也缺乏推广的平台。因此,只有减少P2P应用系统的开发和布署的复杂性,提供一致性的P2P服务体系和简化的编程接口,才能解决上述问题。同时,最为关键的是,对等网络服务体系必须重视目前由P2P应用引起的两大问题:网络效率和内容安全。In recent years, P2P systems such as Bittorrent, PPLive and eMule have achieved great success. However, since P2P itself has no normative requirements, a large number of these P2P application functions are superimposed on each other, resulting in vicious competition and waste of limited network resources and development resources. In addition, developing a P2P system is also a relatively complicated work, and new system applications lack a platform for promotion. Therefore, only by reducing the complexity of the development and deployment of P2P application systems, providing a consistent P2P service system and simplified programming interfaces can the above problems be solved. At the same time, the most critical thing is that the peer-to-peer network service system must pay attention to two major problems caused by P2P applications: network efficiency and content security.
经过对现有技术的文献检索发现,国外有Sean Rhea等人在Proceedings of ACMSIGCOMM 2005,August 2005(美国计算机协会通信特别兴趣组会议,2005年8月)发表的《OpenDHT:A Public DHT Service and Its Uses》(《OpenDHT:一种开放式分布哈希表服务和它的使用》)提出了一个开放性的DHT(Distributed Hash Table,即分布式哈希表)服务体系,通过几个简单的用户接口服务命令发送、接收、删除等,可方便实现一个基于DHT的P2P分布式应用,但是它的缺点是仅限制于DHT协议,对于非DHT协议的对等网络不适用,并且它仅提供了简单的接口服务,使得它不能够支持复杂的应用服务。针对网络效率和内容安全问题,一些限制措施已经为ISP(互联网服务提供商)所采用。但是问题在于:采用限制的方式,会使ISP有失去用户的危险,而且也面临法律的问题;采用Cache(缓存)方式,设备投入跟不上P2P流量的迅猛上升,而且这种额外投入也影响了ISP的利益。另一方面,P2P的节点加入是随意的,以致P2P网络成为恶意代码、黄色淫秽内容、反动信息、盗版资源等传播的沃土,内容安全问题非常值得忧虑。这也是目前P2P系统受到批评的一个重要原因。Through document retrieval to prior art, it is found that Sean Rhea et al. published "OpenDHT: A Public DHT Service and Its" in Proceedings of ACMSIGCOMM 2005, August 2005 (ACM Communications Special Interest Group Meeting, August 2005) by Sean Rhea et al. "Uses" ("OpenDHT: An Open Distributed Hash Table Service and Its Use") proposes an open DHT (Distributed Hash Table, Distributed Hash Table) service system, through several simple user interfaces Service command sending, receiving, deleting, etc., can easily implement a DHT-based P2P distributed application, but its disadvantage is that it is only limited to the DHT protocol, and it is not applicable to peer-to-peer networks that are not DHT protocols, and it only provides simple Interface services, making it unable to support complex application services. For network efficiency and content security issues, some restrictive measures have been adopted by ISPs (Internet Service Providers). But the problem is: the use of restrictions will cause the ISP to risk losing users, and it will also face legal issues; using the Cache (caching) method, equipment investment cannot keep up with the rapid increase in P2P traffic, and this additional investment will also affect benefit of the ISP. On the other hand, the joining of P2P nodes is random, so that the P2P network has become a fertile ground for the spread of malicious code, pornographic content, reactionary information, pirated resources, etc., and content security issues are very worthy of concern. This is also an important reason why the current P2P system is criticized.
发明内容 Contents of the invention
本发明的目的在于克服现有技术存在的上述不足,提供一种对等网络服务原语系统。本发明通过内在的服务原语和扩展的服务原语,能够简化P2P应用系统的开发和部署,具有灵活的扩展性,且可用于DHT协议和非DHT协议的P2P系统,使应用范围扩大了很多。本发明通过提供一个一致性的应用接口模块,使得多个P2P应用可以在同一个Overlay(覆盖层)得到支撑,提高了系统资源的重用性和优化了资源配置效率。通过采取主动的布署安全监控服务和安全审核策略,能够净化P2P网络环境,提供健康的P2P应用。The purpose of the present invention is to overcome the above-mentioned shortcomings in the prior art and provide a peer-to-peer network service primitive system. The present invention can simplify the development and deployment of the P2P application system through the internal service primitive and the extended service primitive, has flexible scalability, and can be used in the P2P system of the DHT protocol and the non-DHT protocol, so that the application range is greatly expanded . By providing a consistent application interface module, the present invention enables multiple P2P applications to be supported in the same Overlay (overlay layer), improves the reusability of system resources and optimizes resource allocation efficiency. By actively deploying security monitoring services and security audit strategies, the P2P network environment can be purified and healthy P2P applications can be provided.
本发明是通过以下技术方案实现的:The present invention is achieved through the following technical solutions:
本发明包括:应用服务模块、对等通信模块、传输网络模块、用户接口模块和应用接口模块,其中:应用服务模块与用户接口模块相连传输应用服务通信信息,用户接口模块与对等通信模块相连传输应用服务通信信息,对等通信模块与应用接口模块相连传输应用服务的API(应用程序接口)信息,应用接口模块与传输网络模块相连传输应用服务的API信息。The invention includes: an application service module, a peer-to-peer communication module, a transmission network module, a user interface module and an application interface module, wherein: the application service module is connected to the user interface module to transmit application service communication information, and the user interface module is connected to the peer-to-peer communication module To transmit application service communication information, the peer-to-peer communication module is connected to the application interface module to transmit API (application program interface) information of the application service, and the application interface module is connected to the transmission network module to transmit API information of the application service.
所述的应用服务模块包括:通用服务子模块、注册服务子模块和扩展服务子模块,其中:通用服务子模块、注册服务子模块和扩展服务子模块分别与用户接口模块相连传输通用服务信息、注册服务信息和扩展服务信息。The application service module includes: a general service submodule, a registration service submodule and an extended service submodule, wherein: the general service submodule, the registration service submodule and the extended service submodule are respectively connected with the user interface module to transmit general service information, Register service information and extended service information.
所述的通用服务子模块包括:文件共享单元、流媒体分发单元和IP语音单元,其中:文件共享单元与用户接口模块相连传输文件共享信息,流媒体分发单元与用户接口模块相连传输流媒体分发信息,IP语音单元与用户接口模块相连传输IP语音信息。The general service sub-module includes: a file sharing unit, a streaming media distribution unit and an IP voice unit, wherein: the file sharing unit is connected with the user interface module to transmit file sharing information, and the streaming media distribution unit is connected with the user interface module to transmit streaming media distribution information, the IP voice unit is connected with the user interface module to transmit IP voice information.
所述的用户接口模块包括:通用服务接口子模块、注册服务接口子模块和扩展服务接口子模块,其中:通用服务接口子模块与应用服务模块相连传输通用服务信息,通用服务接口子模块与对等通信模块相连传输通用服务的API信息,注册服务接口子模块与应用服务模块相连传输注册服务消息,注册服务接口子模块与对等通信模块相连传输注册服务的API消息,扩展服务接口子模块与应用服务模块相连传输扩展服务信息,扩展服务接口子模块与对等通信模块相连传输扩展服务的API信息。The user interface module includes: a general service interface submodule, a registration service interface submodule and an extended service interface submodule, wherein: the general service interface submodule is connected with the application service module to transmit general service information, and the general service interface submodule is connected to the The other communication modules are connected to transmit the API information of the general service, the registration service interface sub-module is connected to the application service module to transmit the registration service message, the registration service interface sub-module is connected to the peer-to-peer communication module to transmit the API message of the registration service, the extension service interface sub-module is connected to the The application service module is connected to transmit extended service information, and the extended service interface sub-module is connected to the peer-to-peer communication module to transmit API information of the extended service.
所述的传输网络模块是基于OSI(开放式系统互联)的传输网络模块,或者是基于TCP/IP(传输控制协议/因特网互联协议)的传输网络模块。The transmission network module is a transmission network module based on OSI (Open Systems Interconnection), or a transmission network module based on TCP/IP (Transmission Control Protocol/Internet Protocol).
所述的应用接口模块包括:节点适配器子模块、ISP子模块、存储子模块、接收缓存子模块和发送缓存子模块,其中:节点适配器子模块与ISP子模块相连传输服务的适配信息,存储模块与ISP子模块相连传输ISP的服务信息,接收缓存子模块与节点适配器子模块相连传输接收的服务信息,发送缓存子模块与节点适配器子模块相连传输发送的服务信息。The application interface module includes: a node adapter submodule, an ISP submodule, a storage submodule, a receiving cache submodule and a sending cache submodule, wherein: the node adapter submodule connects with the ISP submodule to transmit service adaptation information, stores The module is connected with the ISP sub-module to transmit ISP service information, the receiving cache sub-module is connected with the node adapter sub-module to transmit received service information, and the sending cache sub-module is connected with the node adapter sub-module to transmit and send service information.
本发明的工作过程:当两个对等节点间交换消息时,消息先由第一个节点的应用服务模块发出,再通过对等通信模块传递。两个对等节点之间的应用服务模块通过对等通信模块进行对等节点间的原语协作,通过用户接口模块和应用接口模块与原语体系进行沟通。用户接口模块实现用户以及服务的注册、注销,应用接口模块提供给用户利用本服务原语体系基础设施实现新的应用服务,并可进一步通过用户界面接口注册到体系中。由传输网络模块交付到第二个对等节点的传输网络模块,并向上提交给此节点的对等通信模块。对等通信模块通过传输网络模块的原语实现通信。由第二个对等节点对等通信模块最终提交给应用服务模块。至此,两个对等节点的应用服务通信完成,全部的通信过程由通信原语实现。The working process of the present invention: when two peer nodes exchange messages, the message is first sent by the application service module of the first node, and then transmitted through the peer-to-peer communication module. The application service module between two peer nodes performs primitive cooperation between peer nodes through the peer-to-peer communication module, and communicates with the primitive language system through the user interface module and the application interface module. The user interface module realizes the registration and deregistration of users and services, and the application interface module provides users with the use of the service primitive system infrastructure to realize new application services, and can further register into the system through the user interface interface. Delivered by the transport network module to the transport network module of the second peer node and up to the peer communication module of this node. The peer-to-peer communication module realizes communication by transmitting the primitives of the network module. It is finally submitted to the application service module by the peer-to-peer communication module of the second peer node. So far, the application service communication between the two peer nodes is completed, and the entire communication process is realized by communication primitives.
与现有技术相比,本发明的有益效果为:Compared with prior art, the beneficial effect of the present invention is:
1、提供开放的API接口给P2P应用开发调用,封装了Overlay层通信的复杂性,较大地简化了P2P应用开发。P2P应用开发只需要关注应用服务原语实现,而Overlay层的监控和维护由OpenP2P进行管理;1. Provide an open API interface for P2P application development and call, which encapsulates the complexity of Overlay layer communication and greatly simplifies P2P application development. P2P application development only needs to focus on the implementation of application service primitives, while the monitoring and maintenance of the Overlay layer is managed by OpenP2P;
2、提供在Overlay层按需布署特定功能服务节点,以改善P2P网络性能,并具有动态可扩展性;2. Provide on-demand deployment of specific functional service nodes in the Overlay layer to improve P2P network performance and have dynamic scalability;
3、提供文件共享、流媒体分发以及VoIP的集成服务,并支持用户利用开放API开发自己的P2P应用服务和服务分发;3. Provide file sharing, streaming media distribution and VoIP integration services, and support users to use open APIs to develop their own P2P application services and service distribution;
4、提供P2P内容的安全性审核机制,防止恶意信息的发布和访问。4. Provide a security review mechanism for P2P content to prevent the release and access of malicious information.
具体实施方式 Detailed ways
以下对本发明的实施例进一步描述:本实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于下述的实施例。The following are further descriptions of the embodiments of the present invention: this embodiment is implemented under the premise of the technical solution of the present invention, and detailed implementation methods and specific operating procedures are provided, but the protection scope of the present invention is not limited to the following embodiments .
实施例Example
本实施例包括:应用服务模块、对等通信模块、传输网络模块、用户接口模块和应用接口模块,其中:应用服务模块与用户接口模块相连传输应用服务通信信息,用户接口模块与对等通信模块相连传输应用服务通信信息,对等通信模块与应用接口模块相连传输应用服务的API信息,应用接口模块与传输网络模块相连传输应用服务的API信息。This embodiment includes: an application service module, a peer-to-peer communication module, a transmission network module, a user interface module, and an application interface module, wherein: the application service module is connected to the user interface module to transmit application service communication information, and the user interface module and the peer-to-peer communication module The peer-to-peer communication module is connected to the application interface module to transmit the API information of the application service, and the application interface module is connected to the transmission network module to transmit the API information of the application service.
所述的应用服务模块包括:通用服务子模块、注册服务子模块和扩展服务子模块,其中:通用服务子模块、注册服务子模块和扩展服务子模块分别与用户接口模块相连传输通用服务信息、注册服务信息和扩展服务信息。The application service module includes: a general service submodule, a registration service submodule and an extended service submodule, wherein: the general service submodule, the registration service submodule and the extended service submodule are respectively connected with the user interface module to transmit general service information, Register service information and extended service information.
所述的通用服务子模块包括:文件共享单元、流媒体分发单元和IP语音单元,其中:文件共享单元与用户接口模块相连传输文件共享信息,流媒体分发单元与用户接口模块相连传输流媒体分发信息,IP语音单元与用户接口模块相连传输IP语音信息。The general service sub-module includes: a file sharing unit, a streaming media distribution unit and an IP voice unit, wherein: the file sharing unit is connected with the user interface module to transmit file sharing information, and the streaming media distribution unit is connected with the user interface module to transmit streaming media distribution information, the IP voice unit is connected with the user interface module to transmit IP voice information.
所述的注册服务子模块对用户提供的服务进行注册。The registration service sub-module registers the services provided by the user.
所述的扩展服务子模块是用户提供的服务。The extended service sub-module is a service provided by the user.
所述的用户接口模块包括:通用服务接口子模块、注册服务接口子模块和扩展服务接口子模块,其中:通用服务接口子模块与通用服务子模块相连传输通用服务信息,通用服务接口子模块与对等通信模块相连传输通用服务的API信息,注册服务接口子模块与注册服务子模块相连传输注册服务消息,注册服务接口子模块与对等通信模块相连传输注册服务的API消息,扩展服务接口子模块与扩展服务子模块相连传输扩展服务信息,扩展服务接口子模块与对等通信模块相连传输扩展服务的API信息。The user interface module includes: a general service interface submodule, a registration service interface submodule and an extended service interface submodule, wherein: the general service interface submodule is connected to the general service submodule to transmit general service information, and the general service interface submodule is connected to the general service interface submodule The peer-to-peer communication module is connected to transmit the API information of the general service, the registration service interface sub-module is connected to the registration service sub-module to transmit the registration service message, the registration service interface sub-module is connected to the peer-to-peer communication module to transmit the API message of the registration service, and the extension service interface sub-module The module is connected to the extended service sub-module to transmit extended service information, and the extended service interface sub-module is connected to the peer-to-peer communication module to transmit API information of the extended service.
所述的传输网络模块是基于OSI的传输网络模块。The transmission network module is an OSI-based transmission network module.
所述的应用接口模块包括:节点适配器子模块、ISP子模块、存储子模块、接收缓存子模块和发送缓存子模块,其中:节点适配器子模块与ISP子模块相连传输服务的适配信息,存储模块与ISP子模块相连传输ISP的服务信息,接收缓存子模块与节点适配器子模块相连传输接收的服务信息,发送缓存子模块与节点适配器子模块相连传输发送的服务信息。The application interface module includes: a node adapter submodule, an ISP submodule, a storage submodule, a receiving cache submodule and a sending cache submodule, wherein: the node adapter submodule connects with the ISP submodule to transmit service adaptation information, stores The module is connected with the ISP sub-module to transmit ISP service information, the receiving cache sub-module is connected with the node adapter sub-module to transmit received service information, and the sending cache sub-module is connected with the node adapter sub-module to transmit and send service information.
所述的节点适配器子模块维护overlay拓扑以及传递消息。The node adapter sub-module maintains the overlay topology and transmits messages.
所述的ISP子模块通过ISP提供的各项支撑服务,维护覆盖层拓扑以及加速消息传递和网络下载。The ISP sub-module maintains the overlay topology and accelerates message delivery and network download through various supporting services provided by the ISP.
所述的存储子模块保存ISP提供的服务信息。The storage sub-module stores service information provided by the ISP.
所述的接收缓存子模块在信道拥塞或竞争时缓存接收的信息,等候处理。The receiving buffer submodule buffers the received information when the channel is congested or competed, and waits for processing.
所述的发送缓存子模块在信道拥塞或竞争时缓存待发送的信息,等候处理。The sending buffer submodule buffers the information to be sent when the channel is congested or competed, and waits for processing.
所述的传输网络层是对等网络服务原语体系的底层接口层,此层进行网络消息的传输,通过节点适配器子模块实现三种类型的传输(即:传输控制协议、用户数据包协议单播和用户数据包协议多播)。Described transmission network layer is the bottom interface layer of peer-to-peer network service primitive system, this layer carries out the transmission of network message, realizes three types of transmissions (namely: Transmission Control Protocol, User Data Packet Protocol list) by node adapter submodule broadcast and User Datagram Protocol multicast).
本实施例中把P2P的实现细节封装到对等通信模块,对等通信模块向上通过消息与具体应用交互,向下通过消息与传输网络模块交互,在内部通过消息与ISP交互。In this embodiment, the implementation details of P2P are encapsulated into the peer-to-peer communication module. The peer-to-peer communication module interacts with specific applications through messages upwards, interacts with the transmission network module through messages downwards, and interacts with the ISP internally through messages.
本实施例所述的API信息的格式如下:The format of the API information described in this embodiment is as follows:
1)、用户发送应用消息格式如下:1) The format of the application message sent by the user is as follows:
KeyOverlayID:资源IDKeyOverlayID: Resource ID
RouteType:0代表单播;1代表多播RouteType: 0 means unicast; 1 means multicast
AppID:应用唯一标识,需要利用注册服务获得全局唯一IDAppID: App unique identifier, need to use the registration service to obtain a globally unique ID
Application:应用命令及参数Application: Application commands and parameters
2)、Overlay消息格式如下:2), Overlay message format is as follows:
MsgType:0代表拓扑维护;1代表应用消息MsgType: 0 means topology maintenance; 1 means application message
SrcOverlayID:源IDSrcOverlayID: Source ID
DstOverlayID:目标IDDstOverlayID: Target ID
◆Data:命令及参数◆Data: commands and parameters
◆对于MsgType=0时拓扑维护消息的命令集有:◆The command set for the topology maintenance message when MsgType=0 is as follows:
◆HelloNeighbour:探测邻居集◆HelloNeighbour: Probe neighbor set
◆Join:加入覆盖层◆Join: join the covering layer
◆Leave:离开覆盖层◆Leave: leave the overlay
◆GetNeibours:获得邻居集◆GetNeibours: Get neighbor set
◆ElectSuperNode:选择超级节点◆ElectSuperNode: select a super node
对于MsgType=1时的应用消息,通过发送和分发实现回拨。如果目标地址是本节点,则分发应用请求在本地执行;否则,视应用消息的路由类型而定,如果为多播时,需要分发在本地执行,同时发送消息到其它多播成员;如果为单播,则只需要发送消息到下一跳。For the application message when MsgType=1, callback is realized by sending and distributing. If the target address is this node, the distribution application request is executed locally; otherwise, depending on the routing type of the application message, if it is multicast, the distribution needs to be executed locally, and the message is sent to other multicast members at the same time; if it is single broadcast, you only need to send the message to the next hop.
3)、ISP消息格式如下:3) The ISP message format is as follows:
◆MsgType:0代表请求;1代表响应◆MsgType: 0 for request; 1 for response
◆MsgCode:◆MsgCode:
0代表GetTopInfo(获得拓扑信息)0 means GetTopInfo (get topology information)
1代表GetSepService(特殊服务)1 stands for GetSepService (special service)
2代表GetSuperNodeInfo(获得超级节点描述信息信息)2 stands for GetSuperNodeInfo (get super node description information)
3代表PutNodeInfo(将节点信息上传到ISP Facilities)3 stands for PutNodeInfo (upload node information to ISP Facilities)
4代表RegisterNode(注册节点)4 represents RegisterNode (registration node)
5代表DestoryNode(注销节点)5 represents DestoryNode (logout node)
6代表CheckSecurity(检测信息是否安全)6 stands for CheckSecurity (check whether the information is safe)
本实施例中应用服务模块并不直接将ISP服务提供给开发者使用,而是通过封装的API给开发者使用,这样可以保护ISP资源以及安全性,并通过一致性接口实现可控可管理性。P2P服务原语系统通过开放的API添加扩展服务子模块,并以插件的形式扩展进入P2P服务原语体系的开放系统。系统采用消息驱动的事件处理模型。目前提供四种基本API:JoinOverlay(加入覆盖层),,LeaveOverlay(离开覆盖层),SendMsg(发送消息),ReceiveMsg(接收消息)。当一个对等节点在加入到OpenP2P时,将首先连接聚合服务器,由聚合的信息判断出此对等节点所在的地理位置,确定出此对等节点由哪个负责点进行监控以及辅助其通信。In this embodiment, the application service module does not directly provide ISP services to developers, but uses encapsulated APIs for developers to use, which can protect ISP resources and security, and realize controllability and manageability through consistent interfaces . The P2P service primitive system adds extended service sub-modules through the open API, and expands into the open system of the P2P service primitive system in the form of plug-ins. The system uses a message-driven event processing model. Four basic APIs are currently provided: JoinOverlay (join the overlay), LeaveOverlay (leave the overlay), SendMsg (send a message), ReceiveMsg (receive a message). When a peer node joins OpenP2P, it will first connect to the aggregation server, judge the geographic location of the peer node from the aggregated information, and determine which responsible point the peer node monitors and assists in its communication.
本实施例的具体优点:Concrete advantages of this embodiment:
1、通过下载基于OpenP2P的服务系统,可以在同一Overlay结构下,支持流媒体分发、文件共享、VoIP等。提供文件共享、流分发以及VoIP的集成服务,并支持用户利用开放API开发自己的P2P应用服务和服务分发。使得P2P用户可以发布自己的兴趣频道,形成自己的圈子;此外还从P2P服务原语体系提供的优质网络服务获益。1. By downloading the service system based on OpenP2P, it can support streaming media distribution, file sharing, VoIP, etc. under the same Overlay structure. Provide file sharing, streaming distribution and VoIP integration services, and support users to use open APIs to develop their own P2P application services and service distribution. It enables P2P users to publish their own interest channels and form their own circles; in addition, they also benefit from the high-quality network services provided by the P2P service primitive system.
2、可以根据通用的应用API接口,开发自己的基于OpenP2P的应用服务,并将之发布到Overlay网络,凝聚自己的兴趣圈。2. You can develop your own OpenP2P-based application services according to the general application API interface, and publish them to the Overlay network to gather your own interest circle.
3、Overlay网络与ISP协作,由ISP布署可靠监管服务,引导流量分发匹配Overlay与物理层,给参与的Peer节点提供比通常P2P系统更优化和有保障的网络性能。提供开放的API接口给P2P应用开发调用,封装了Overlay层通信的复杂性,较大地简化了P2P应用开发。P2P应用开发只需要关注应用服务原语实现,而Overlay层的监控和维护由P2P服务原语体系进行管理。当前流行的P2P系统商如PPLive,可以利用P2P服务原语体系的接口服务以改进其流媒体分发的质量以及与ISP的紧张关系。3. The Overlay network cooperates with the ISP, and the ISP deploys reliable supervision services, guides traffic distribution to match the Overlay and the physical layer, and provides participating Peer nodes with more optimized and guaranteed network performance than the usual P2P system. Provides an open API interface for P2P application development and calls, encapsulates the complexity of Overlay layer communication, and greatly simplifies P2P application development. P2P application development only needs to focus on the implementation of application service primitives, while the monitoring and maintenance of the Overlay layer is managed by the P2P service primitive system. The current popular P2P system providers such as PPLive can use the interface service of the P2P service primitive system to improve the quality of its streaming media distribution and the tension with ISP.
4、通过ISP提供的多种可扩展的特殊服务器集群,如抗Churn服务器、NAT穿透辅助服务器等,保障应用服务性能有保障,并可根据应用地需求,不断进行扩展。提供在Overlay层按需布署特定功能服务节点,以改善P2P网络性能,并具有动态可扩展性。使得ISP可以通过此P2P服务原语体系架构进行监管策略的布署,这种监管策略主要目标是引导流量或者分享收益。4. A variety of scalable special server clusters provided by the ISP, such as anti-Churn servers, NAT penetration auxiliary servers, etc., guarantee the performance of application services, and can continue to expand according to the needs of the application. Provide on-demand deployment of specific function service nodes at the Overlay layer to improve P2P network performance and have dynamic scalability. This allows ISPs to deploy regulatory strategies through this P2P service primitive architecture. The main goal of this regulatory strategy is to guide traffic or share revenue.
5、通过各ISP监测点以及OpenP2P自身提供的安全策略服务器,允许不同层次地使用安全策略,保障P2P的安全应用。提供P2P内容的安全性审核机制,防止恶意信息的发布和访问。5. Through the security policy server provided by each ISP monitoring point and OpenP2P itself, it is allowed to use security policies at different levels to ensure the safe application of P2P. Provide a security review mechanism for P2P content to prevent the release and access of malicious information.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102259807A CN101867623B (en) | 2010-07-15 | 2010-07-15 | Peer-to-peer network service primitive system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010102259807A CN101867623B (en) | 2010-07-15 | 2010-07-15 | Peer-to-peer network service primitive system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101867623A CN101867623A (en) | 2010-10-20 |
| CN101867623B true CN101867623B (en) | 2012-08-29 |
Family
ID=42959183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010102259807A Expired - Fee Related CN101867623B (en) | 2010-07-15 | 2010-07-15 | Peer-to-peer network service primitive system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101867623B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8971841B2 (en) | 2010-12-17 | 2015-03-03 | Microsoft Corporation | Operating system supporting cost aware applications |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9542203B2 (en) | 2010-12-06 | 2017-01-10 | Microsoft Technology Licensing, Llc | Universal dock for context sensitive computing device |
| US8923770B2 (en) | 2010-12-09 | 2014-12-30 | Microsoft Corporation | Cognitive use of multiple regulatory domains |
| US8792429B2 (en) | 2010-12-14 | 2014-07-29 | Microsoft Corporation | Direct connection with side channel control |
| US8948382B2 (en) | 2010-12-16 | 2015-02-03 | Microsoft Corporation | Secure protocol for peer-to-peer network |
| US9294545B2 (en) | 2010-12-16 | 2016-03-22 | Microsoft Technology Licensing, Llc | Fast join of peer to peer group with power saving mode |
| CN102209120A (en) * | 2011-07-08 | 2011-10-05 | 盛趣信息技术(上海)有限公司 | Game picture sharing system and method based on P2P (Peer to Peer) technology |
| CN108199866B (en) * | 2017-12-14 | 2020-06-12 | 上海交通大学 | A social network system with strong privacy protection |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101119271A (en) * | 2007-07-05 | 2008-02-06 | 中国科学技术大学 | A structured P2P application service platform and its implementation method |
| WO2008124591A1 (en) * | 2007-04-04 | 2008-10-16 | Zte Corporation | System and method of providing services via peer-to-peer-based next generation network |
-
2010
- 2010-07-15 CN CN2010102259807A patent/CN101867623B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008124591A1 (en) * | 2007-04-04 | 2008-10-16 | Zte Corporation | System and method of providing services via peer-to-peer-based next generation network |
| CN101119271A (en) * | 2007-07-05 | 2008-02-06 | 中国科学技术大学 | A structured P2P application service platform and its implementation method |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8971841B2 (en) | 2010-12-17 | 2015-03-03 | Microsoft Corporation | Operating system supporting cost aware applications |
| US9008610B2 (en) | 2010-12-17 | 2015-04-14 | Microsoft Corporation | Operating system supporting cost aware applications |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101867623A (en) | 2010-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101867623B (en) | Peer-to-peer network service primitive system | |
| US20090100128A1 (en) | Accelerating peer-to-peer content distribution | |
| CN103634692A (en) | CDN (content distribution network) and P2P (peer-to-peer) based hybrid stream media video-on-demand system | |
| US20090182815A1 (en) | Accelerating peer-to-peer content distribution | |
| CN102594926B (en) | Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method | |
| CN101355468B (en) | Method for publishing P2P stream medium information | |
| CN101026543A (en) | Point-tor point P2P content sharing method and system | |
| CN102546382B (en) | Method and system for realizing multicast in Internet protocol version 4 over Internet protocol version 6 (IPv4overIPv6) tunnel | |
| WO2009155801A1 (en) | Method, system and apparatus for providing media stream service | |
| Rhinow et al. | P2P live video streaming in WebRTC | |
| Zhao et al. | Gridmedia: A practical peer-to-peer based live video streaming system | |
| WO2011000289A1 (en) | Method, system and proxy node for peer-to-peer (p2p) streaming media data distribution | |
| WO2020155293A1 (en) | Stream pushing method, system and server | |
| CN109996126A (en) | Equipment connection dynamic dispatching method and system under a kind of hybrid network framework | |
| JP2014023150A (en) | Multicast transmission using unicast protocol | |
| Helgason et al. | A middleware for opportunistic content distribution | |
| US20100138555A1 (en) | System and Method to Guide Active Participation in Peer-to-Peer Systems with Passive Monitoring Environment | |
| CN102025777A (en) | Method for sharing peer-to-peer (P2P) resources under condition of internet protocol version 4/version 6 (IPv4/v6) hybrid networking | |
| Kazemzadeh et al. | Publiy+: A peer-assisted publish/subscribe service for timely dissemination of bulk content | |
| WO2010043810A1 (en) | Method and devices for managing a data flow transfer | |
| CN102857352A (en) | Multicasting and broadcasting method and system based on overlay network | |
| Zhang et al. | P2P-leveraged mobile live streaming | |
| Patrikakis et al. | An implementation of an overlay network architecture scheme for streaming media distribution | |
| CN105306280B (en) | The data-driven network struction maintenance system and method transmitted towards efficient subflow | |
| Hua et al. | A dynamic stream merging technique for video-on-demand services over wireless mesh access networks |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120829 Termination date: 20150715 |
|
| EXPY | Termination of patent right or utility model |