CN101820434A - Transmission method, system and peer nodes of peer network media - Google Patents
Transmission method, system and peer nodes of peer network media Download PDFInfo
- Publication number
- CN101820434A CN101820434A CN200910105679A CN200910105679A CN101820434A CN 101820434 A CN101820434 A CN 101820434A CN 200910105679 A CN200910105679 A CN 200910105679A CN 200910105679 A CN200910105679 A CN 200910105679A CN 101820434 A CN101820434 A CN 101820434A
- Authority
- CN
- China
- Prior art keywords
- media content
- peer
- content
- request
- media
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明实施例公开了一种对等网络媒体传输方法,其包括:接收来自请求终端的媒体内容请求;根据所述媒体内容请求,获取与所述请求终端请求的媒体内容相关的度量标识;将所述度量标识承载到接收到的媒体内容请求,并将包含所述度量标识的媒体内容请求发送给内容源终端,以请求所述内容源终端根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式发送所述请求终端请求的媒体内容。本发明实施例公开的对等网络媒体传输方法可实现通过对等节点中转及用户间直通两种媒体内容传输方式的优势互补。本发明实施例还进一步公开了一种对等网络媒体传输系统和对等节点。
The embodiment of the present invention discloses a peer-to-peer network media transmission method, which includes: receiving a media content request from a requesting terminal; according to the media content request, acquiring a metric identifier related to the media content requested by the requesting terminal; The metric identifier bears the received media content request, and sends the media content request containing the metric identifier to the content source terminal, so as to request the content source terminal to adopt a peer-to-peer transmission mode according to the metric identifier Or transmit the media content requested by the requesting terminal in a direct transmission manner between the content source terminal and the requesting terminal. The peer-to-peer network media transmission method disclosed in the embodiment of the present invention can realize the complementary advantages of the two media content transmission modes of peer-to-peer node transfer and direct connection between users. The embodiment of the invention further discloses a peer-to-peer network media transmission system and a peer-to-peer node.
Description
技术领域technical field
本发明主要涉及通信技术领域,特别地,涉及一种对等网络(peer-to-peernetwork,P2P Network)媒体传输方法和系统,以及一种用于对等网络的对等节点。The present invention mainly relates to the technical field of communication, in particular, to a peer-to-peer network (P2P Network, P2P Network) media transmission method and system, and a peer-to-peer node for the peer-to-peer network.
背景技术Background technique
P2P网络技术是一种在通信网络中各方互为客户机/服务器,直接进行通信或协作,彼此共享包括处理能力、存储空间和数据等资源的通信技术。P2P network technology is a communication technology in which all parties in the communication network act as clients/servers, communicate or cooperate directly, and share resources including processing power, storage space and data with each other.
基于对等节点-用户终端(Peer-Client)架构的P2P网络是由对等节点组成P2P叠加网(P2P Overlay),且用户终端,包括提供媒体内容的终端(即内容源终端)和请求所述媒体内容的终端(即请求终端),直接挂在对应的对等节点之下并通过对等节点进行媒体内容的发布和接收。The P2P network based on the peer-to-peer node-user terminal (Peer-Client) architecture is composed of peer-to-peer nodes to form a P2P overlay network (P2P Overlay), and the user terminal, including the terminal that provides media content (ie, the content source terminal) and the requested The terminal of the media content (that is, the requesting terminal) is directly connected to the corresponding peer node and publishes and receives the media content through the peer node.
当请求终端请求媒体内容时,首先,请求终端侧的第一对等节点根据请求终端发送的媒体内容请求在P2P网络中查找所需内容,并获得内容源终端侧的第二对等节点的地址信息;其次,所述第一对等节点将所述媒体内容请求传送至所述第二对等节点;再次,所述第二对等节点将所述媒体内容请求转交至内容源终端;最后,内容源终端响应所述媒体内容请求,并将对应媒体内容提供给所述请求终端。When the requesting terminal requests media content, first, the first peer node on the requesting terminal side searches for the required content in the P2P network according to the media content request sent by the requesting terminal, and obtains the address of the second peer node on the content source terminal side information; secondly, the first peer node transmits the media content request to the second peer node; again, the second peer node forwards the media content request to the content source terminal; finally, The content source terminal responds to the media content request, and provides the corresponding media content to the requesting terminal.
内容源终端向请求终端进行媒体内容传输可通过用户间直通的传输方式或通过对等节点中转的传输方式。这两种传输方式各有优势,因此,如何优化现有的媒体传输方式,实现上述两种传输方式的优势互补逐渐成为业界关注的问题。The media content transmission from the content source terminal to the requesting terminal may be through a direct transmission mode between users or a transfer mode through a peer-to-peer node. These two transmission methods have their own advantages. Therefore, how to optimize the existing media transmission methods and realize the complementary advantages of the above two transmission methods has gradually become a concern of the industry.
发明内容Contents of the invention
鉴于上述问题,本发明实施例提供一种对等网络媒体传输方法和系统,并进一步提供一种用于对等网络的对等节点。In view of the above problems, embodiments of the present invention provide a method and system for media transmission in a peer-to-peer network, and further provide a peer node for a peer-to-peer network.
本发明实施例提供的对等网络媒体传输方法,包括:接收来自请求终端的媒体内容请求;根据所述媒体内容请求,获取与所述请求终端请求的媒体内容相关的度量标识,所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;将所述度量标识承载到接收到的媒体内容请求,并将包含所述度量标识的媒体内容请求发送给内容源终端,以请求所述内容源终端根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式发送所述请求终端请求的媒体内容。The peer-to-peer network media transmission method provided by the embodiment of the present invention includes: receiving a media content request from a requesting terminal; according to the media content request, acquiring a metric identifier related to the media content requested by the requesting terminal, the metric identifier It is used to represent one or more combinations of the popularity degree of the media content requested by the requesting terminal, the security authority or the load degree of the relevant peer node; the metric identification is carried to the received media content request, and will contain The media content request identified by the measurement is sent to the content source terminal, so as to request the content source terminal to send the request in a peer-to-peer transmission mode or a direct transmission mode between the content source terminal and the requesting terminal according to the measurement identification The media content requested by the terminal.
本发明实施例提供的对等网络媒体传输系统,包括:对等节点,其用于接收来自请求终端的媒体内容请求,获取与所述请求终端请求的媒体内容相关的度量标识并将其承载到接收到的媒体内容请求,其中所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;内容源终端,其用于接收由所述对等节点提供的包含所述度量标识的媒体内容请求,并根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式将所述请求终端请求的媒体内容发送给所述请求终端。The peer-to-peer network media transmission system provided by the embodiment of the present invention includes: a peer node, which is configured to receive a media content request from a requesting terminal, obtain a metric identifier related to the media content requested by the requesting terminal, and carry it to the A media content request received, wherein the metric identification is used to represent one or more combinations of the degree of popularity of the media content requested by the requesting terminal, the security authority, or the load level of the relevant peer node; the content source terminal, which It is used to receive the media content request provided by the peer node that includes the metric identifier, and transmit the media content request in a peer-to-peer transfer mode or a direct transmission mode between the content source terminal and the requesting terminal according to the metric ID The media content requested by the requesting terminal is sent to the requesting terminal.
本发明实施例提供的对等节点,包括:媒体请求接收模块,其用于接收来自请求终端的媒体内容请求;度量标识获取模块,其用于获取与所述请求终端请求的媒体内容相关的度量标识,所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;媒体请求发送模块,其用于将所述度量标识和媒体内容请求发送给内容源终端,以请求所述内容源终端根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式发送与所述媒体内容请求相对应的媒体内容。The peer-to-peer node provided by the embodiment of the present invention includes: a media request receiving module, which is used to receive a media content request from a requesting terminal; a metric identifier obtaining module, which is used to obtain a metric related to the media content requested by the requesting terminal Identification, the metric identification is used to represent one or more combinations of the popularity of the media content requested by the requesting terminal, the security authority, or the load level of the relevant peer node; a media request sending module, which is used to send the The metric identifier and the media content request are sent to the content source terminal to request the content source terminal to send the media content with the media content in a peer-to-peer transmission mode or a direct transmission mode between the content source terminal and the requesting terminal according to the metric identifier. Request the corresponding media content.
本发明实施例所述的对等网络媒体传输方法和系统根据用于表示媒体内容的相关统计信息的度量标识,选择对应的传输方式进行媒体内容的传输,比如当媒体内容为热门内容、需要安全监控、或相关对等节点负荷正常时采用通过对等节点中转并根据需要进行流复制的传输方式,而当媒体内容为冷门内容、不需要安全监控、或相关对等节点负荷过重时采用用户间直通的传输方式。由此,本发明实施例实现通过对等节点中转及用户间直通两种媒体内容传输方式的优势互补,有效优化和疏导P2P网络中的流量,提高媒体内容传输效率。The peer-to-peer network media transmission method and system described in the embodiments of the present invention selects the corresponding transmission mode to transmit the media content according to the measurement identifier used to represent the relevant statistical information of the media content, for example, when the media content is a popular content and requires security When monitoring, or when the load of the relevant peer nodes is normal, the transmission method of transferring through the peer nodes and performing stream replication as needed is adopted, and when the media content is unpopular, does not require security monitoring, or the load of the relevant peer nodes is overloaded, the user through direct transmission. Thus, the embodiments of the present invention realize the complementary advantages of the two media content transmission modes of peer-to-peer node transfer and direct connection between users, effectively optimize and smooth the traffic in the P2P network, and improve the efficiency of media content transmission.
附图说明Description of drawings
图1为本发明实施例提供的P2P网络媒体传输方法的流程图。FIG. 1 is a flowchart of a P2P network media transmission method provided by an embodiment of the present invention.
图2为本发明P2P网络媒体传输方法具体实施方案在媒体内容为热门内容时的信令交互图。FIG. 2 is a signaling interaction diagram of a specific embodiment of the P2P network media transmission method of the present invention when the media content is popular content.
图3为本发明P2P网络媒体传输方法具体实施方案在媒体内容为冷门内容时的信令交互图。FIG. 3 is a signaling interaction diagram when the media content is an unpopular content in a specific embodiment of the P2P network media transmission method of the present invention.
图4为本发明P2P网络媒体传输系统实施例一的结构示意图。FIG. 4 is a schematic structural diagram of
图5为本发明P2P网络媒体传输系统实施例二的结构示意图。FIG. 5 is a schematic structural diagram of Embodiment 2 of the P2P network media transmission system of the present invention.
图6为本发明对等节点实施例的结构示意图。FIG. 6 is a schematic structural diagram of a peer-to-peer node embodiment in the present invention.
具体实施方式Detailed ways
发明人通过分析发现,采用通过对等节点中转的传输方式具有其优点,比如,在传输过程中可利用用于对媒体内容进行中转的对等节点进行媒体内容的复制并将复制内容提供给其他请求相同媒体内容的用户终端,从而减少网络中的重复流量,也可以通过所述对等节点在媒体内容的中转过程中对安全权限较高的媒体内容进行安全监控,从而减少媒体内容恶意传播的问题等等。不过,采用此传输方式有可能会导致对应的对等节点负载过重而影响传输效率。而采用通过用户间直通的传输方式也有其优点,比如在传输过程中不需要经过对等节点中转,因而并不会过多占用P2P网络资源,从而可以提高传输效率等。The inventor found through analysis that the transmission method through peer nodes has its advantages. For example, during the transmission process, the peer nodes used to transfer media content can be used to copy the media content and provide the copied content to other User terminals that request the same media content, thereby reducing repeated traffic in the network, can also perform security monitoring on media content with high security rights during the transfer process of media content through the peer node, thereby reducing the risk of malicious dissemination of media content Questions and more. However, using this transmission method may cause the corresponding peer node to be overloaded and affect the transmission efficiency. The use of direct transmission between users also has its advantages. For example, it does not need to be transferred through peer nodes during the transmission process, so it does not occupy too much P2P network resources, thereby improving transmission efficiency.
在分析上述两种传输方式各自优点的基础上,本发明实施例提供一种P2P网络媒体传输方法,其可实现上述两种传输方式的优势互补。所述P2P网络可以为在基于对等节点-用户终端(Peer-Client)架构的P2P网络。请参阅图1,当请求媒体内容的用户终端(以下称为请求终端)在P2P网络中向提供媒体内容的用户终端(以下称为内容源终端)请求对应媒体内容时,首先,请求终端侧的对等节点(以下称为请求节点)接收来自请求终端的媒体内容请求;其次,所述请求节点根据所述媒体内容请求,获取与所述请求终端请求的媒体内容相关的度量标识,其中所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;最后,所述请求节点将所述度量标识承载到接收到的媒体内容请求,并将包含所述度量标识的媒体内容请求发送给内容源终端,以请求所述内容源终端根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式发送所述请求终端请求的媒体内容。On the basis of analyzing the respective advantages of the above two transmission methods, an embodiment of the present invention provides a P2P network media transmission method, which can realize the complementary advantages of the above two transmission methods. The P2P network may be a P2P network based on a Peer-Client (Peer-Client) architecture. Referring to Fig. 1, when a user terminal requesting media content (hereinafter referred to as a requesting terminal) requests corresponding media content from a user terminal providing media content (hereinafter referred to as a content source terminal) in a P2P network, first, the requesting terminal side A peer node (hereinafter referred to as a requesting node) receives a media content request from a requesting terminal; secondly, the requesting node obtains a metric identifier related to the media content requested by the requesting terminal according to the media content request, wherein the The metric identifier is used to represent one or more combinations of the popularity of the media content requested by the requesting terminal, the security authority, or the load level of the relevant peer node; finally, the requesting node carries the metric identifier to the received media content request, and send the media content request containing the metric identifier to the content source terminal, so as to request the content source terminal to adopt the transmission mode of peer-to-peer node relay or between the content source terminal and the requesting terminal according to the metric identifier The media content requested by the requesting terminal is sent in a direct transmission manner.
进一步地,举例来说,在所述度量标识表示媒体内容的热门程度时,如果所述媒体内容的访问统计量超过某一预定参考值,所述度量标识表示所述媒体内容为热门内容,则其可对应记为H-tag=1;而如果所述媒体内容的访问统计量低于或等于该预定参考值时,所述度量标识表示所述媒体内容为冷门内容,则其可对应记为H-tag=0。又比如,在所述度量标识表示媒体内容的安全权限时,如果所述媒体内容需要被安全监控,所述度量标识可记为H-tag=1;否则,则记为H-tag=0。又比如,在所述度量表示表示相关对等节点的负载程度时,如果所述媒体内容对应的对等节点(如源节点等)负荷正常,所述度量标识可记为H-tag=1而如果当所述对等节点出现负荷过重,则记为H-tag=0。Further, for example, when the metric identifier indicates the popularity of the media content, if the access statistic of the media content exceeds a predetermined reference value, the metric identifier indicates that the media content is a popular content, then It can be correspondingly recorded as H-tag=1; and if the access statistic of the media content is lower than or equal to the predetermined reference value, the metric indicator indicates that the media content is unpopular content, then it can be correspondingly recorded as H-tag=0. For another example, when the metric identifier indicates the security authority of the media content, if the media content needs to be monitored safely, the metric identifier can be recorded as H-tag=1; otherwise, it can be recorded as H-tag=0. For another example, when the metric indicates the load level of the relevant peer node, if the load of the peer node (such as a source node, etc.) corresponding to the media content is normal, the metric identifier can be recorded as H-tag=1 and If the peer node is overloaded, record it as H-tag=0.
进一步地,所述请求节点在获取所述度量标识之后,还可进一步对所述度量标识的值进行分析,以根据所述度量标识的值判断所述媒体内容是否为热门内容、或者判断所述媒体内容是否需要安全监控、或者判断相关对等节点的负荷是否正常。Further, after acquiring the metric identifier, the requesting node may further analyze the value of the metric identifier, so as to judge whether the media content is a popular content according to the value of the metric identifier, or judge the Whether the media content requires security monitoring, or whether the load of the relevant peer nodes is normal.
进一步地,所述媒体内容请求可以携带有所述请求终端的地址信息,且所述请求节点还可根据其对所述度量标识的值的分析结果,对所述媒体内容请求携带的地址信息进行相应的处理。比如,当所述度量标识表示对应媒体内容为热门内容、或其需要安全监控、或其相关对等节点负荷正常时,所述请求节点还可进一步用其本地地址信息替换所述请求终端地址信息,从而将其本地地址信息承载在所述媒体内容请求并发送给所述内容源终端或内容源终端侧的对等节点(以下称为源节点),以使所述内容源终端可以采用对等节点中转的传输方式进行媒体内容的传输。而当所述度量标识表示对应媒体内容为冷门内容、或其不需要安全监控、或其相关对等节点负荷过重时,所述请求节点对接收到的媒体内容请求携带的请求终端地址信息进行透传,从而将所述请求终端地址信息发送给所述内容源终端,以使所述内容源终端可采用内容源终端和请求终端直通的传输方式进行媒体内容的传输。Further, the media content request may carry the address information of the requesting terminal, and the requesting node may also perform an analysis on the address information carried by the media content request according to the analysis result of the value of the metric identifier. Treat accordingly. For example, when the metric identifier indicates that the corresponding media content is a popular content, or that it requires security monitoring, or that its related peer node load is normal, the requesting node may further replace the requesting terminal address information with its local address information , so as to carry its local address information in the media content request and send it to the content source terminal or the peer node on the content source terminal side (hereinafter referred to as the source node), so that the content source terminal can use peer-to-peer The transmission mode of node relay is used for the transmission of media content. And when the metric identifier indicates that the corresponding media content is unpopular content, or that it does not require security monitoring, or that its related peer nodes are overloaded, the requesting node performs a check on the requesting terminal address information carried in the received media content request. Transparent transmission, so that the address information of the requesting terminal is sent to the content source terminal, so that the content source terminal can transmit media content in a direct transmission mode between the content source terminal and the requesting terminal.
进一步地,所述请求节点可以通过源节点将包含所述度量标识的媒体内容请求转交给所述内容源终端,并利用所述度量标识通知所述内容源终端侧的对等节点在转交过程中对包含所述度量标识的媒体内容请求所携带的地址信息进行相应处理,比如对地址信息进行替换或者进行透传。Further, the requesting node may transfer the media content request including the metric identifier to the content source terminal through the source node, and use the metric identifier to notify the peer node on the content source terminal side that during the forwarding process Corresponding processing is performed on the address information carried in the media content request including the metric identifier, such as replacing or transparently transmitting the address information.
进一步地,所述度量标识与媒体内容的传输方式之间可具有一定的对应关系。比如,若所述度量标识为H-tag=1,即所述媒体内容为热门内容、或者其需要安全监控、或者其相关对等节点负荷正常,则所述请求节点可通过所述度量标识通知所述内容源终端采用对等节点中转的传输方式;而若所述度量标识为H-tag=0,即所述媒体内容为冷门内容、或者其不需要安全监控、或者其相关对等节点负荷过重,所述请求节点通过所述度量标识通知所述内容源终端采用内容源终端和请求终端间直通的传输方式。Further, there may be a certain correspondence between the metric identifier and the transmission mode of the media content. For example, if the metric identifier is H-tag=1, that is, the media content is a popular content, or it needs security monitoring, or the load of its related peer nodes is normal, then the requesting node can notify through the metric identifier The content source terminal adopts a peer-to-peer transmission mode; and if the metric is identified as H-tag=0, that is, the media content is unpopular content, or it does not require security monitoring, or its related peer node load If it is too heavy, the requesting node notifies the content source terminal to adopt the direct transmission mode between the content source terminal and the requesting terminal through the metric identifier.
进一步地,当所述内容源终端采用对等节点中转的传输方式时,所述请求节点还可将来自所述内容源终端的媒体内容转交至所述请求终端,并在转交过程中确认是否存在其他用户终端请求同样的媒体内容;若存在,将所述媒体内容进行复制,并将复制内容传送至对应用户终端。进一步地,所述请求节点也可以预先将经由其中转的媒体内容进行复制保存,再确认是否存在其他用户终端请求同样的媒体内容;若存在,则将预先保存的媒体内容直接输出至对应用户终端。Further, when the content source terminal adopts the transmission method of peer-to-peer node transfer, the requesting node can also transfer the media content from the content source terminal to the requesting terminal, and confirm whether there is Other user terminals request the same media content; if it exists, copy the media content, and transmit the copied content to the corresponding user terminal. Further, the requesting node can also copy and save the media content transferred through it in advance, and then confirm whether there are other user terminals requesting the same media content; if there is, the pre-saved media content is directly output to the corresponding user terminal .
为便于理解,下面以所述度量标识用于表示媒体内容的热门程度这种情况为例,结合附图对本发明实施例提供的P2P网络媒体传输方法作进一步说明。请参阅图2、图3,其中图2为本发明P2P网络媒体传输方法一种具体实施方案在媒体内容为热门内容时的信令交互图,而图3为本发明P2P网络媒体传输方法一种具体实施方案在媒体内容为冷门内容时的信令交互图。本发明P2P网络媒体传输方法具体实施方案主要包括以下步骤:For ease of understanding, the P2P network media transmission method provided by the embodiment of the present invention will be further described below with reference to the accompanying drawings, taking the situation that the metric identifier is used to indicate the popularity of media content as an example. Please refer to Fig. 2 and Fig. 3, wherein Fig. 2 is a signaling interaction diagram of a specific embodiment of the P2P network media transmission method of the present invention when the media content is popular content, and Fig. 3 is a P2P network media transmission method of the present invention A specific embodiment is a signaling interaction diagram when the media content is unpopular content. The specific implementation scheme of the P2P network media transmission method of the present invention mainly includes the following steps:
步骤201,请求终端向请求节点发送媒体内容请求Setup_0,其中,所述媒体内容请求Setup_0可携带有所述请求终端的地址信息,如其内部用于进行媒体内容传输的IP地址或端口等。
步骤202,请求节点在P2P网络中查找对应媒体内容,并从索引节点获取所述媒体内容对应的查找响应,所述查找响应可包括用于提供所述媒体内容的内容源终端和/或对应源节点的地址信息等。
步骤203,请求节点从度量信息处理单元获取与媒体内容相关的度量标识。具体而言,首先,所述请求节点向度量信息处理单元发送用于询问所述媒体内容相关度量信息的查询请求。所述度量信息可以为对应媒体内容的热门程度、安全权限或相关对等节点的负载程度,本实施例采用媒体内容的热门程度为例。所述度量信息处理单元可以为用于对所述度量信息进行分析处理的实体单元,其可配置为所述请求节点内部的功能模块、或作为一设置于所述P2P网络中专门用于进行媒体信息统计的对等节点、或作为一独立于所述P2P网络中所述对等节点的服务器等。
其次,所述度量信息处理单元响应所述查询请求,对所述度量信息(如,媒体内容的访问量)进行分析处理并生成用于标识所述度量信息的度量标识。一种可选的方案如下:当所述媒体内容的访问统计量超过某一预定参考值时,所述度量信息处理单元生成度量标识H-tag=1;而当所述媒体内容的访问统计量低于或等于该预定参考值时,所述度量信息处理单元生成度量标识H-tag=0。进一步地,所述度量信息处理单元将其生成的度量标识发送至所述请求节点。Secondly, the metric information processing unit analyzes and processes the metric information (for example, the number of visits of media content) in response to the query request, and generates a metric identifier for identifying the metric information. An optional solution is as follows: when the access statistic of the media content exceeds a predetermined reference value, the metric information processing unit generates a metric identification H-tag=1; and when the access statistic of the media content When it is lower than or equal to the predetermined reference value, the metric information processing unit generates a metric flag H-tag=0. Further, the metric information processing unit sends the generated metric identifier to the requesting node.
步骤204,请求节点对所述度量标识进行解析以判断所述媒体内容是否为热门内容。具体而言,所述请求节点可根据所述度量标识的值进行判断。比如,若所述请求节点解析出所述度量标识H-tag的值为1,则判断对应的媒体内容为热门内容;而若所述请求节点解析出所述度量标识H-tag的值为0,则判断对应的媒体内容为冷门内容。
进一步地,当所述度量标识表示所述媒体内容为热门内容时,所述请求节点选择采用对等节点中转的传输方式,并更新所述媒体内容请求以通知内容源终端采用其所选择的传输方式(即通过对等节点中转)进行媒体内容的传输;而当所述度量标识表示所述媒体内容为冷门内容时,所述请求节点选择采用选择通过用户间直通(比如内容源终端和请求终端间直通)的传输方式,并更新所述媒体内容请求以通知内容源终端采用其所选择的传输方式(即通过用户间直通)进行媒体内容的传输。Further, when the metric identifier indicates that the media content is a popular content, the requesting node selects the transfer mode of the peer node, and updates the media content request to notify the content source terminal to adopt the transmission mode selected by it. mode (that is, through peer-to-peer node transfer) to carry out the transmission of media content; and when the metric identifier indicates that the media content is unpopular content, the requesting node chooses to use direct communication between users (such as the content source terminal and the requesting terminal) direct communication between users), and update the media content request to notify the content source terminal to use the transmission mode selected (that is, direct communication between users) to transmit the media content.
具体而言,请参阅图2,若所述媒体内容为热门内容,即H-tag=1,则执行步骤205A-208A。Specifically, referring to FIG. 2 , if the media content is popular content, ie H-tag=1, then execute
步骤205A,请求节点通过将所述度量标识H-tag=1承载至所述所述媒体内容请求的方式对其进行更新,并将向源节点发送更新后的媒体内容请求。
在一种实施例中,所述请求节点一方面在本地保存所述度量标识H-tag=1,另一方面将所述度量标识H-tag=1附加至所述媒体内容请求Setup_0。进一步地,所述请求节点还将所述媒体内容请求Setup_0所携带的所述请求终端地址信息替换为本地地址信息(即所述请求节点本身的地址信息),从而将所述媒体内容请求Setup_0更新为携带有所述度量标识及请求节点地址信息的媒体内容请求Setup_1A。进一步地,所述请求节点代理所述请求终端将该媒体内容请求Setup_1A传送至源节点。In an embodiment, the requesting node saves the metric identifier H-tag=1 locally on the one hand, and attaches the metric identifier H-tag=1 to the media content request Setup_0 on the other hand. Further, the requesting node also replaces the requesting terminal address information carried by the media content request Setup_0 with local address information (that is, the address information of the requesting node itself), thereby updating the media content request Setup_0 Request Setup_1A for the media content carrying the metric identifier and requesting node address information. Further, the requesting node transmits the media content request Setup_1A to the source node on behalf of the requesting terminal.
步骤206A,所述源节点对其所接收的媒体内容请求进行进一步更新,并将更新后的媒体内容请求发送至内容源终端。Step 206A, the source node further updates the received media content request, and sends the updated media content request to the content source terminal.
在一种实施例中,所述源节点从所述请求节点接收到所述媒体内容请求Setup_1A之后,一方面通过其携带的度量标识H-tag=1获知对应的媒体内容为热门内容,并在本地保存所述度量标识H-tag=1。另一方面,所述源节点还将所述媒体内容请求Setup_1A所携带的请求节点地址信息替换为其本身的地址信息(即源节点地址信息),从而将媒体内容请求Setup_1A进一步更新为携带有所述度量标识及源节点地址信息的媒体内容请求Setup_2A。并且,所述源节点还进一步代理所述请求节点将该媒体内容请求Setup_2A传送至内容源终端。In one embodiment, after the source node receives the media content request Setup_1A from the requesting node, on the one hand, it knows that the corresponding media content is a popular content through the metric identification H-tag=1 carried by it, and The metric identifier H-tag=1 is stored locally. On the other hand, the source node also replaces the request node address information carried by the media content request Setup_1A with its own address information (ie source node address information), thereby further updating the media content request Setup_1A to carry the Media content request Setup_2A for the above-mentioned metric identifier and source node address information. In addition, the source node further transmits the media content request Setup_2A to the content source terminal on behalf of the request node.
由此可见,所述请求终端、请求节点和源节点分别通过对应的媒体内容请求Setup_0、Setup_1A、Setup_2A,将其本身的地址信息通知给所述请求节点、源节点和内容源终端。It can be seen that, the requesting terminal, the requesting node and the source node respectively notify the requesting node, the source node and the content source terminal of their own address information through the corresponding media content requests Setup_0, Setup_1A and Setup_2A.
步骤207A,所述内容源终端向请求终端返回请求响应。所述内容源终端从所述媒体内容请求Setup_2A携带的度量标识H-tag=1获知所述请求节点选择采用通过源节点和请求节点等对等节点进行中转的传输方式,并进一步通过所述源节点和请求节点向所述请求终端返回请求响应。具体而言,所述内容源终端首先向源节点发送携带有内容源地址信息的请求响应Setup-ack_0,所述源节点接着将所述请求响应Setup-ack_0其携带的内容源地址信息替换为其本身的地址信息(即源节点地址信息),并代理所述内容源向请求节点发送所述携带由源节点地址信息的请求响应Setup-ack_1A,所述请求节点进而将所述请求响应Setup-ack_1A携带的源节点地址信息替换为其本身的地址信息(即请求节点地址信息),并代理所述源节点向请求终端发送携带有请求节点地址信息的请求响应Setup-ack_2A。
可见,通过对应的请求响应Setup-ack_0、Setup-ack_1A、Setup-ack_2A,所述内容源终端、源节点和请求节点便分别将其本身的地址信息传递至所述源节点、请求节点和请求终端。It can be seen that, through corresponding request responses to Setup-ack_0, Setup-ack_1A, and Setup-ack_2A, the content source terminal, source node, and request node transmit their own address information to the source node, request node, and request terminal respectively .
进一步地,在接收到所述请求响应Setup-ack_2A之后,所述请求终端可以向请求节点发送会话建立确认消息Session-ok。所述会话建立确认消息Session-ok进一步经请求节点和源节点的接续传递,被所述内容源终端接收。至此,所述内容源终端和请求终端之间便建立起利用源节点和请求节点进行中转的中转传输通道。Further, after receiving the request response Setup-ack_2A, the requesting terminal may send a session establishment acknowledgment message Session-ok to the requesting node. The session establishment confirmation message Session-ok is further transmitted through the connection between the requesting node and the source node, and is received by the content source terminal. So far, a transit transmission channel is established between the content source terminal and the requesting terminal using the source node and the requesting node for transit.
步骤208A,所述内容源终端将对应媒体内容传输至所述请求终端。即,所述内容源终端利用所述中转传输通道传输所述媒体内容。由所述内容源终端发送的媒体内容依序经源节点和请求节点的中转之后,传送到所述请求终端。
进一步地,在所述媒体内容经所述中转传输通道进行传输的过程中,所述源节点和请求节点还可进一步确认是否存在其他用户终端请求同样的媒体内容。若所述源节点或请求节点在此期间接收到来自其他用户终端的媒体内容请求,则对经过其中转的媒体内容进行复制,并进一步将复制内容传送至所述其他请求所述媒体内容的用户终端。Further, during the process of transmitting the media content through the transit transmission channel, the source node and the requesting node may further confirm whether there is any other user terminal requesting the same media content. If the source node or the requesting node receives media content requests from other user terminals during this period, it will copy the media content transferred by it, and further transmit the copied content to the other users requesting the media content terminal.
进一步地,所述源节点和请求节点在进行媒体内容的中转过程中,也可主动对所述媒体内容进行预先复制,并将预先复制的内容预先存储至其内部的存储模块之中。当所述源节点或请求节点发现存在其他用户终端请求同样的媒体内容时,便直接将预先存储于其内部的复制内容输出至对应的用户终端。Furthermore, the source node and the requesting node may also proactively pre-copy the media content during the transfer process of the media content, and pre-store the pre-copied content in their internal storage modules. When the source node or the requesting node finds that there are other user terminals requesting the same media content, it directly outputs the pre-stored copy content to the corresponding user terminal.
由此可见,当所述度量标识表示对应的媒体内容为热门内容时,所述内容源终端采用通过对等节点中转的传输方式进行所述媒体内容的传输。在传输过程中,当存在多个用户终端同时请求同样的媒体内容时,对应对等节点可对经其中转的传输内容进行复制,并直接提供给请求同样内容的其他用户终端。利用这种流复制方式,便可以使所述P2P网络的重复流量得到疏导,有效减小所述P2P网络的流量,提高网络资源的利用效率。It can be seen that, when the metric identifier indicates that the corresponding media content is a popular content, the content source terminal transmits the media content in a transfer manner through a peer node. During the transmission process, when there are multiple user terminals requesting the same media content at the same time, the corresponding peer node can copy the transmission content transferred by it, and directly provide it to other user terminals requesting the same content. By using this flow duplication mode, the repeated traffic of the P2P network can be unblocked, the traffic of the P2P network can be effectively reduced, and the utilization efficiency of network resources can be improved.
而另一方面,请参阅图3,若所述媒体内容为冷门内容,即H-tag=0,执行步骤205B-208B:On the other hand, please refer to FIG. 3 , if the media content is unpopular content, that is, H-tag=0, execute steps 205B-208B:
步骤205B,请求节点通过将所述度量标识H-tag=0承载至所述所述媒体内容请求以对其进行更新,并将向源节点发送更新后的媒体内容请求。Step 205B, the requesting node updates the media content request by carrying the metric identifier H-tag=0 to the media content request, and sends the updated media content request to the source node.
在一种实施例中,所述请求节点一方面在本地保存所述度量标识H-tag=0,另一方面将所述度量标识H-tag=0附加至所述媒体内容请求Setup_0。与步骤205A不同,所述请求节点对媒体内容请求Setup_0所携带的请求终端地址信息并不进行替换,而是直接透传该地址信息。由此,所述请求节点便将所述媒体内容请求Setup_0更新为携带有所述度量标识及请求终端地址信息的媒体内容请求Setup_B。进一步地,所述请求节点代理所述请求终端将该媒体内容请求Setup_B传送至源节点。In an embodiment, the requesting node saves the metric identifier H-tag=0 locally on the one hand, and attaches the metric identifier H-tag=0 to the media content request Setup_0 on the other hand. Different from
步骤206B,所述源节点代理所述请求节点向内容源终端发送更新后的所述媒体内容请求;
所述源节点从所述请求节点接收到所述媒体内容请求Setup_B之后,通过其携带的度量标识H-tag=0获知对应的媒体内容为冷门内容,并在本地保存所述度量标识H-tag=0。并且,所述源节点直接透传其携带的请求终端地址信息,由此其进一步便将该媒体内容请求Setup_B传送至内容源终端。After the source node receives the media content request Setup_B from the requesting node, it learns that the corresponding media content is an unpopular content through the measurement identification H-tag=0 carried by it, and saves the measurement identification H-tag locally =0. Moreover, the source node directly transparently transmits the requesting terminal address information it carries, so that it further transmits the media content request Setup_B to the content source terminal.
步骤207B,所述内容源终端向请求终端返回请求响应。
具体而言,内容源终端从所述媒体内容请求Setup_B携带的度量标识H-tag=0获知所述请求节点选择采用通过用户间直通的传输方式。进一步地,所述内容源终端通过所述源节点和请求节点,向所述请求终端发送携带有内容源地址信息的请求响应Setup-ack_B。至此,所述内容源终端和请求终端便分别通过所述媒体内容请求Setup_B和请求响应Setup-ack_B获知对方的地址信息,Specifically, the content source terminal learns from the metric identifier H-tag=0 carried in the media content request Setup_B that the requesting node selects the direct transmission mode between users. Further, the content source terminal sends a request response Setup-ack_B carrying content source address information to the requesting terminal through the source node and the requesting node. So far, the content source terminal and the requesting terminal have obtained the address information of the other party through the media content request Setup_B and the request response Setup-ack_B respectively,
进一步地,接收到所述请求响应Setup-ack_B之后,所述请求终端通过所述请求节点和源节点的接续传递,将会话建立确认消息Session-ok发送给内容源终端,由此所述内容源终端便与所述请求终端之间便建立起一条不经过对等节点中转而直接由所述内容源终端面向所述请求终端的直通传输通道。Further, after receiving the request response Setup-ack_B, the requesting terminal sends a session establishment confirmation message Session-ok to the content source terminal through the connection transfer between the requesting node and the source node, so that the content source A direct transmission channel from the content source terminal to the requesting terminal is established between the terminal and the requesting terminal without transiting through peer nodes.
步骤208B,内容源终端将对应媒体内容传输至所述请求终端。具体而言,所述内容源利用所述直通传输通道与所述请求终端直接进行媒体内容传输会话,即向所述请求终端提供所述媒体内容。
可见,当所述度量标识表示对应的媒体内容为冷门内容时,所述内容源终端采用用户间直通的传输方式进行所述媒体内容的传输。通过这种传输方式,所述媒体内容并不经过对等节点的中转,因此既不会占用P2P网络资源,又可有效提高传输效率。It can be seen that when the metric identifier indicates that the corresponding media content is unpopular content, the content source terminal transmits the media content in a direct transmission manner between users. Through this transmission mode, the media content does not pass through peer-to-peer nodes, so it will not occupy P2P network resources, and the transmission efficiency can be effectively improved.
综上所述,本发明实施例提供的P2P网络媒体传输方法根据媒体内容的热门程度选择对应的传输方式进行媒体内容的传输。当媒体内容为热门内容时采用对等节点中转并根据需要进行流复制的传输方式,从而使网络中可能存在的重复流量进行有效疏导;而当媒体内容为冷门内容时采用用户间直通的传输方式,提高传输效率。由此,本发明实施例提供的P2P网络媒体传输方法实现通过对等节点中转及用户间直通两种媒体内容传输方式的优势互补。To sum up, the P2P network media transmission method provided by the embodiment of the present invention selects a corresponding transmission mode according to the popularity of the media content to transmit the media content. When the media content is popular, the transmission method of peer-to-peer node transfer and stream replication is adopted as needed, so that the duplicate traffic that may exist in the network can be effectively channeled; when the media content is unpopular content, the direct transmission method between users is adopted , improve transmission efficiency. Therefore, the P2P network media transmission method provided by the embodiment of the present invention realizes the complementary advantages of the two media content transmission modes of peer-to-peer node transfer and direct connection between users.
另外,在本发明实施例提供的P2P网络传输方法之中,所述度量标识所对应的度量信息还可以为所述媒体内容的安全权限或所述媒体内容对应的对等节点的负载程度。此两种情况下,所述媒体内容的传输可参照上述P2P网络传输方法的具体实施方案进行,以下进行简单说明。In addition, in the P2P network transmission method provided by the embodiment of the present invention, the metric information corresponding to the metric identifier may also be the security authority of the media content or the load level of the peer node corresponding to the media content. In these two cases, the transmission of the media content can be performed with reference to the specific implementation solutions of the above-mentioned P2P network transmission method, which will be briefly described below.
比如,以所述度量标识表示媒体内容的安全权限为例,当所述媒体内容的安全权限较高时,所述度量信息处理单元提供的度量标识为H-tag=1。在此情况下,所述请求节点对所述度量标识进行解析之后获知所述媒体内容需要被安全监控,则选择采用通过对等节点中转的传输方式。在所述媒体内容的传输过程中,P2P网络可通过对媒体内容进行中转的对等节点(如源节点和请求节点等)进行安全监控。相反地,当所述媒体内容的安全权限较低时,所述度量信息处理单元提供的度量标识为H-tag=0。此情况下,所述请求节点通过对所述度量标识的解析获知所述媒体内容并不需要被安全监控,则选择采用通过用户间直通的传输方式。For example, taking the metric identifier representing the security authority of the media content as an example, when the security authority of the media content is high, the metric identifier provided by the metric information processing unit is H-tag=1. In this case, after parsing the metric identifier, the requesting node learns that the media content needs to be monitored safely, and then chooses to adopt the transmission mode of relaying through peer nodes. During the transmission of the media content, the P2P network can conduct security monitoring through peer nodes (such as source nodes and request nodes) that transfer the media content. On the contrary, when the security authority of the media content is low, the metric identifier provided by the metric information processing unit is H-tag=0. In this case, the requesting node learns that the media content does not need to be monitored by security through analyzing the metric identifier, and then chooses to adopt the direct transmission mode between users.
又如,以所述度量标识表示对应的对等节点的负载程度为例,当所述媒体内容对应的对等节点负荷正常时,所述度量信息处理单元提供的度量标识为H-tag=1。此情况下,所述请求节点通过对所述度量标识的解析获知相关对等节点(如源节点)负载正常可以进行媒体内容中转,则选择采用通过对等节点中转的传输方式。而当所述媒体内容对应的对等节点负荷过重时,所述度量信息处理单元提供的度量标识为H-tag=0。此情况下,所述请求节点通过对所述度量标识的解析获知相关对等节点负载过重可能暂时无法进行媒体内容中转,则选择采用通过用户间直通的传输方式。As another example, taking the load degree of the corresponding peer node indicated by the metric identifier as an example, when the load of the peer node corresponding to the media content is normal, the metric identifier provided by the metric information processing unit is H-tag=1 . In this case, the requesting node learns that the load of the relevant peer node (such as the source node) is normal and can transfer the media content through the analysis of the metric identifier, and then chooses to use the transmission mode of transferring through the peer node. And when the peer node corresponding to the media content is overloaded, the metric identifier provided by the metric information processing unit is H-tag=0. In this case, the requesting node learns that the load of the relevant peer node is too heavy and may not be able to transfer the media content temporarily through analyzing the metric identifier, so it chooses to use the direct transmission mode between users.
进一步地,所述度量标识还可以表示所述媒体内容的热门程度、安全权限或其相关对等节点的负载程度三者之间的组合,具体的组合方式可根据实际需要进行确定。在此情况下,所述媒体内容的传输也可参照上述P2P网络传输方法的具体实施方案进行。Further, the metric identifier may also represent a combination of the popularity of the media content, the security authority or the load level of its related peer nodes, and the specific combination may be determined according to actual needs. In this case, the transmission of the media content may also be performed with reference to the specific implementation solution of the above-mentioned P2P network transmission method.
基于所述P2P网络媒体传输方法,本发明实施例还进一步提供一种P2P网络媒体传输系统。请参阅图4,其为本发明P2P网络媒体传输系统实施例一的结构示意图,实施例一提供的P2P网络媒体传输系统500包括:Based on the P2P network media transmission method, the embodiment of the present invention further provides a P2P network media transmission system. Please refer to FIG. 4, which is a schematic structural diagram of
内容源终端502,其用于提供媒体内容;
请求终端501,其用于通过发出媒体内容请求的方式向所述内容源502请求对应的媒体内容,其中所述媒体内容请求可以携带有所述请求终端501的地址信息;A requesting
请求节点510,其用于接收来自所述请求终端501的媒体内容请求,获取与所述请求终端请求的媒体内容相关的度量标识并将其承载到接收到的媒体内容请求,其中所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;A requesting
源节点520,其用于将所述请求节点510提供的携带有所述度量标识的媒体内容请求转交至所述内容源502;a
其中,所述内容源终端502还可进一步用于接收由所述包含有度量标识的媒体内容请求,并根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式将所述请求节点请求的媒体内容发送给所述请求终端501。Wherein, the
进一步地,所P2P网络媒体传输系统500还可包括:Further, the P2P network
度量信息处理单元540,其可以为独立于所述请求节点510及源节点520的功能实体,且其可用于对所述媒体内容的热门程度、安全权限或相关对等节点的负载程度进行分析,并根据分析结果向所述请求节点510提供对应的度量标识。A metric
进一步地,所述P2P网络媒体传输系统500还可包括:Further, the P2P network
索引节点530,其用于保存所述媒体内容的内容索引,并响应请求节点510的查询将所述内容索引的信息提供给所述请求节点510。其中,所述内容索引的信息可包括提供所述媒体内容的内容源终端502的地址信息和/或其对应源节点520的地址信息。The
进一步地,所述请求节点510还可进一步用于对所述度量标识进行分析,以根据分析结果判断对应的媒体内容是否为热门内容、或者其是否需要安全监控、或者其相关的对等节点负荷是否正常。Further, the requesting
进一步地,所述请求节点510还可以根据所述度量标识分析结果,对所述来自请求终端501的媒体内容请求所携带的地址信息进行相应处理,比如,当所述度量标识表示对应的媒体内容为热门内容、或者需要安全监控、或者其相关的对等节点负荷正常时,将所述媒体内容请求携带的地址信息替换为所述请求节点510本身的地址信息;否则,透传所述媒体内容请求携带的地址信息。Further, the requesting
进一步地,当所述度量标识表示所述媒体内容为热门内容时,所述源节点520和请求节点510还可将来自所述内容源终端502的媒体内容转交至请求终端501,并在转交过程中确认是否存在其他用户终端请求同样的媒体内容;若存在,将所述媒体内容进行复制,并将复制内容传送至对应用户终端。Further, when the metric identifier indicates that the media content is a popular content, the
另外,作为P2P网络媒体传输系统中的三个逻辑角色,所述请求节点510、索引节点530及源节点520三者中任一节点都可以担当所述三个逻辑角色的任意一个或两个,或同时当人三个逻辑角色。In addition, as the three logical roles in the P2P network media transmission system, any node among the
请参阅图5,其为本发明P2P网络媒体传输系统实施例二的结构示意图,实施例二提供的P2P网络媒体传输系统600与所述实施例一提供的P2P网络媒体传输系统500相近,而主要区别在于,所述P2P网络媒体传输系统600的度量信息处理单元640为请求节点610的一个功能模块,并设置于所述请求节点610的内部。所述请求节点610在接收到来自请求终端601的媒体内容请求之后,并不需要从外部接收度量标识,而是直接从其内部的信息分析单元640获取对应度量标识。Please refer to FIG. 5 , which is a schematic structural diagram of Embodiment 2 of the P2P network media transmission system of the present invention. The P2P network
进一步地,所述度量信息处理单元640也可以设置为其他对等节点如索引节点630或源节点620的内部功能模块。Further, the metric
基于上述P2P网络媒体传输系统500和600,本发明实施例还进一步提供一种用于P2P网络媒体传输系统的对等节点。请参阅图6,本发明实施例提供的对等节点700可作为P2P网络的请求节点,其包括:Based on the above P2P network
媒体请求接收模块710,其用于接收来自请求终端的媒体内容请求,其中所述媒体内容请求可携带有所述请求终端的地址信息;A media
度量标识获取模块720,其用于获取与所述请求终端请求的媒体内容相关的度量标识,所述度量标识用于表示所述请求终端请求的媒体内容的热门程度、安全权限或相关对等节点的负载程度的一种或多种组合;A metric
媒体请求更新模块730,其用于将所述度量标识承载至所述媒体请求接收模块接收到的媒体内容请求以生成包含所述度量标识的媒体内容请求;A media
媒体请求发送模块740,其用于将所述度量标识和媒体内容请求发送给内容源终端,以请求所述内容源终端根据所述度量标识采用对等节点中转的传输方式或内容源终端和请求终端间直通的传输方式发送与所述媒体内容请求相对应的媒体内容。A media
进一步地,所述对等节点700还可包括:Further, the
地址信息存储模块750,其用于存储所述对等节点的地址信息,并将所述对等节点地址信息提供至所述媒体请求更新模块730。The address
进一步地,在所述度量标识表示所述媒体内容为热门内容、或者需要安全监控、或者相关对等节点负荷正常时,所述媒体请求更新模块730还用于将所述来自请求终端的媒体内容请求所携带的请求终端地址信息替换为所述请求节点本身的地址信息;而在所述度量标识表示所述媒体内容为冷门内容、或者不需要安全监控、或者相关对等节点负荷过重时,所述媒体请求更新模块730还用于透传所述来自请求终端的媒体内容请求所携带的请求终端地址信息。Further, when the metric identifier indicates that the media content is a popular content, or requires security monitoring, or the load of the relevant peer node is normal, the media
进一步地,所述对等节点700还可包括:Further, the
媒体内容接收模块760,其用于接收由内容源终端提供的媒体内容,其中所述媒体内容可通过其他对等节点中转而传送至所述媒体内容接收模块760;A media
媒体内容转交模块770,其用于将由所述媒体内容接收模块760接收的媒体内容转交至对应的请求终端;A media
媒体内容存储模块780,其用于保存经媒体内容转交模块770转交的媒体内容。The media
所述媒体内容转交模块770在进行媒体内容转交的过程中,还可向所述媒体请求接收模块710请求是否存在其他用户终端请求同样的媒体内容;若存在,则对其转交的媒体内容进行复制并保存于所述媒体内容存储模块780,并进一步将所述媒体内容存储模块780保存的复制内容提供至所述其他用户终端。In the process of media content transfer, the media
进一步地,所述对等节点700还可以包括:Further, the
请求响应转交模块790,其用于将由所述内容源终端返回的请求响应转交至所述请求终端,并根据由所述度量标识获取模块720获取的度量标识确定是否将所述请求响应携带的地址信息替换为由所述地址信息存储模块750提供的所述对等节点700本身的地址信息。A request
其中,当所述度量标识表示对应媒体内容为热门内容、或者需要安全监控、或者相关对等节点负荷正常时,所述请求响应转交模块790将请求响应携带的地址信息替换为所述地址信息存储模块750提供的地址信息,以建立中转传输通道。当所述度量标识表示对应媒体内容为冷门内容、或者不需要安全监控、或者相关对等节点负荷过重时,所述请求响应转交模块790直接将所述请求响应携带的地址信息透传至请求终端,以建立直通传输通道。Wherein, when the metric identifier indicates that the corresponding media content is a popular content, or requires security monitoring, or the load of the relevant peer node is normal, the request
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的硬件平台的方式来实现,当然也可以全部通过硬件来实施。基于这样的理解,本发明的技术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course can also be implemented entirely by hardware. Based on this understanding, all or part of the contribution made by the technical solution of the present invention to the background technology can be embodied in the form of software products, and the computer software products can be stored in storage media, such as ROM/RAM, magnetic disks, optical disks, etc. , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments of the present invention.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200910105679 CN101820434B (en) | 2009-02-28 | 2009-02-28 | Transmission method, system and peer nodes of peer network media |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200910105679 CN101820434B (en) | 2009-02-28 | 2009-02-28 | Transmission method, system and peer nodes of peer network media |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101820434A true CN101820434A (en) | 2010-09-01 |
| CN101820434B CN101820434B (en) | 2013-11-06 |
Family
ID=42655382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200910105679 Expired - Fee Related CN101820434B (en) | 2009-02-28 | 2009-02-28 | Transmission method, system and peer nodes of peer network media |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101820434B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106230953A (en) * | 2016-08-05 | 2016-12-14 | 北京邮电大学 | A kind of D2D communication means based on distributed storage and device |
| WO2018137149A1 (en) * | 2017-01-24 | 2018-08-02 | 华为技术有限公司 | Method for requesting content and proxy device |
| WO2019006756A1 (en) * | 2017-07-07 | 2019-01-10 | Arris Enterprises Llc | Proxy between wireless local area network infrastructures |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1897588B (en) * | 2006-06-21 | 2010-06-16 | 北京北大方正电子有限公司 | A mixed-mode network file transfer method and system |
| CN101237429B (en) * | 2008-02-25 | 2012-10-03 | 蓝汛网络科技(北京)有限公司 | Stream media living broadcasting system, method and device based on content distribution network |
| CN101355512B (en) * | 2008-09-09 | 2011-04-20 | 创新科存储技术(深圳)有限公司 | Data transmission system, method and transmission control server |
-
2009
- 2009-02-28 CN CN 200910105679 patent/CN101820434B/en not_active Expired - Fee Related
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106230953A (en) * | 2016-08-05 | 2016-12-14 | 北京邮电大学 | A kind of D2D communication means based on distributed storage and device |
| CN106230953B (en) * | 2016-08-05 | 2019-07-05 | 北京邮电大学 | A kind of D2D communication means and device based on distributed storage |
| WO2018137149A1 (en) * | 2017-01-24 | 2018-08-02 | 华为技术有限公司 | Method for requesting content and proxy device |
| WO2019006756A1 (en) * | 2017-07-07 | 2019-01-10 | Arris Enterprises Llc | Proxy between wireless local area network infrastructures |
| US11075881B2 (en) | 2017-07-07 | 2021-07-27 | Arris Enterprises Llc | Proxy between wireless local area network infrastructures |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101820434B (en) | 2013-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3944168B2 (en) | Method and system for peer-to-peer communication in a network environment | |
| AU2006335155B2 (en) | Optimizing communication using scaleable peer groups | |
| US20080276091A1 (en) | Mobile Device File Sharing Method and Apparatus | |
| US8321586B2 (en) | Distributed storage system, node device, recording medium in which node processing program is recorded, and address information change notifying method | |
| US20050216569A1 (en) | Method for implementing content delivery network (cdn) internetworking, respective networks and interface component | |
| CN105991412B (en) | Information push method and device | |
| CN108881354B (en) | Push information storage method and device, server and computer storage medium | |
| KR101141126B1 (en) | Method, device and system for diagnosing whether nodes are abnormal or not in p2p network | |
| US8619631B2 (en) | Information communication system, information communication method, node device included in information communication system and recording medium recording information processing program | |
| US20190089648A1 (en) | Resource subscription method, resource subscription apparatus, and resource subscription system | |
| KR101564416B1 (en) | 2 Method and apparatus for receiving data using P2P portal server | |
| Park et al. | Smart base station-assisted partial-flow device-to-device offloading system for video streaming services | |
| KR20120071576A (en) | Method, device and system for real-time publish subscribe discovery based on distributed hash table | |
| WO2007086250A1 (en) | Information distribution system, re-registration message transmission method, node device, and recording medium containing node processing program | |
| JP4833995B2 (en) | Mobile online game system and communication method between mobile game terminals | |
| US20080235244A1 (en) | Distributed content storing system, node device, node process program, and content data providing method | |
| US20110246674A1 (en) | Information communication system, first information processing device, method for processing information, and computer readable storage medium | |
| CN101820434A (en) | Transmission method, system and peer nodes of peer network media | |
| JP5117739B2 (en) | Information management device | |
| US20060023646A1 (en) | Method and apparatus for anonymous data transfers | |
| JP5741956B2 (en) | Relay device and relay method | |
| CN116095139A (en) | Session processing method, system, device and storage medium | |
| JP4223045B2 (en) | DNS server device, request message processing method, and request message processing program | |
| CN101815022B (en) | Source switching method, device and system in peer-to-peer network | |
| US20060023727A1 (en) | Method and apparatus for anonymous data transfers |
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 | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20201120 Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province Patentee after: Changshu intellectual property operation center Co.,Ltd. Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Effective date of registration: 20201120 Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
| CP02 | Change in the address of a patent holder | ||
| CP02 | Change in the address of a patent holder |
Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province Patentee after: Changshu intellectual property operation center Co.,Ltd. Address before: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province Patentee before: Changshu intellectual property operation center Co.,Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131106 |