WO2010075742A1 - 一种p2p网络中获取媒体内容的方法、装置及系统 - Google Patents

一种p2p网络中获取媒体内容的方法、装置及系统 Download PDF

Info

Publication number
WO2010075742A1
WO2010075742A1 PCT/CN2009/075829 CN2009075829W WO2010075742A1 WO 2010075742 A1 WO2010075742 A1 WO 2010075742A1 CN 2009075829 W CN2009075829 W CN 2009075829W WO 2010075742 A1 WO2010075742 A1 WO 2010075742A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
peer
media content
capability information
request
Prior art date
Application number
PCT/CN2009/075829
Other languages
English (en)
French (fr)
Inventor
董小青
李晋
宗宁
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010075742A1 publication Critical patent/WO2010075742A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
    • H04N7/17309Transmission or handling of upstream communications
    • H04N7/17318Direct or substantially direct transmission and handling of requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Definitions

  • the present invention relates to a network technology in the field of communications, and in particular to a method, device and system for acquiring media content in a P2P network. Background technique
  • a peer-to-peer network (ie Peer to Peer network) is a technology widely used on the Internet today, which can make full use of the terminal idle capacity to serve the entire system.
  • Peer-to-peer networks have multiple network architectures, mainly structured and unstructured.
  • an unstructured peer-to-peer network it includes devices such as directory servers and peer nodes.
  • the directory server records what is being shared on the network and a list of peer nodes that are downloading content.
  • the peer node obtains all or part of the download list of the target content through the directory server, and selects a node that can serve as a neighbor to help the content download, and establish a peer-to-peer session connection with the node.
  • P2P streaming media also known as streaming media
  • the P2P streaming media transmission method divides the entire A/V and 3D multimedia files into a compressed package through a special compression method, and the video server continuously and real-time transmits to the user computer.
  • the user only needs to decompress the compressed A/V, 3D and other multimedia files on the user's computer after a few seconds or tens of seconds of startup delay to play and watch.
  • This transmission method of playing back and playing multimedia files not only greatly shortens the startup delay, but also greatly reduces the need for system cache capacity.
  • the startup process of the new node joining the P2P network requesting to download content 1 is: the new node to the channel server obtains the channel list, the flag node starts to start; the new node obtains from the tracking server Requesting a list of some or all nodes of the same program; the new node requests each node in the node list to obtain a buffer map Buff Map; the new node randomly selects one of the required data blocks from the obtained Buffer Map of each node.
  • Multiple nodes act as neighbor nodes, and initiate download requests to neighbor nodes, attempt to establish a connection, and start downloading data blocks; the new node downloads a sufficient number of data blocks, and video playback begins.
  • the main purpose of the embodiments of the present invention is to provide a method, a device, and a system for downloading media content in a P2P network, which are used to solve the problem that a neighboring node that can provide media downloading in a P2P network is too long.
  • a method for obtaining media content in a P2P network comprising: transmitting a request for acquiring node capability information to one or more peer nodes capable of providing specific media content; receiving the return of the one or more peer nodes Node capability information; from a peer node that returns node capability information, a peer node whose node capability meets the current download requirement is selected as a neighbor node; and the media content is downloaded through the neighbor node.
  • An apparatus for acquiring media content in a P2P network includes: a sending unit, a receiving unit, a first selecting unit, and a processing unit; the sending unit, configured to send a request for acquiring node capability information to provide specific media content One or more peer nodes; the receipt a unit, configured to receive, according to the request sent by the sending unit, node capability information returned by the one or more peer nodes; the first selecting unit, configured to be used in the peer node that returns the node capability information The peer node that selects the node capability to meet the current download requirement is used as the neighbor node; and the processing unit is configured to download the media content by using the neighbor node selected by the first selection unit.
  • a system for acquiring media content in a P2P network comprising: a requesting node and at least one requested node; the requesting node and the requested node are peer nodes in a P2P network; Sending a request for acquiring node capability information to at least one requested node capable of providing specific media content; receiving node capability information returned by the at least one requested node; and selecting a node capability from the requested node returning the node capability information Downloading the requested node as the neighbor node; downloading the media content by the neighbor node; the at least one requested node, configured to return the self node capability information according to the request for acquiring the node capability information sent by the requesting node Giving the requesting node, and when selected by the requesting node as a neighboring node, providing the media content to the requesting node.
  • one or more peer nodes in a node list capable of providing specific media content are sent by sending a request for acquiring node capability information; receiving the one or more The node capability information returned by the peer node; from the peer node that returns the node capability information, the peer node whose node capability meets the current download requirement is selected as the neighbor node; and the media content is downloaded by the neighbor node, and the solution is solved.
  • the problem that the neighbor nodes that can provide media downloads are too long, resulting in a large startup delay, thereby improving the system service quality and the user experience.
  • FIG. 1 is a flow chart of a method for obtaining media content in a P2P network according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a specific implementation manner of acquiring media content in a P2P network according to an embodiment of the present invention
  • 3 is a flowchart of a specific implementation manner of acquiring media content in another P2P network according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for acquiring media content in a P2P network according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a system for acquiring media content in a P2P network according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for acquiring media content in a P2P network according to an embodiment of the present disclosure, where the method includes:
  • S100 Send a request for acquiring node capability information to one or more peer nodes in a node list capable of providing specific media content.
  • the first peer node After obtaining the node list that provides the media content, the first peer node sends a request for acquiring node capability information of one or more peer nodes provided by the node list, where the request for acquiring node capability information may be carried And sending, by the first peer node, a request for obtaining a cache image table BufferMap to one or more peer nodes provided by the node list, that is, by sending a request for acquiring node capability information in a BufferMap request message field.
  • the peer node provided to the node list; or may send a request to acquire node capability information through a custom extended capability request/response message (Capability Request/Response Msg) at the same time as or after sending the BufferMap message.
  • the peer node provided by the node list is a node of a newly joined P2P network; the media content includes services such as an on-demand service or a live broadcast service; and the peer node provided by the node list is one or more that owns the media content.
  • the node capability information includes: any combination of one or more pieces of information of an uplink bandwidth of the peer node, a number of concurrent service nodes, and a number of concurrent connections.
  • the node capability information received and received may be returned by a response message carried in the BufferMap or by a customized extension capability response message.
  • the first peer node may select a peer node whose node capability information meets the current download requirement as a neighbor node according to the node capability information; or obtain one or more requests by sending a request to obtain a buffer image table BufferMap.
  • the BufferMap information returned by the peer node selects, from the peer node that returns the cache map table and the node capability information, the peer node having the currently required media content, and the node capability meets the current download requirement as the neighbor node.
  • the peer node that meets the current download requirement may be one or more peer nodes that satisfy a predetermined selection policy of the system, for example, the bandwidth is the largest, or the bandwidth is within a certain range;
  • the first peer node sends a download request to the neighbor node, and the neighboring node downloads the media content, and the selected neighbor node may be one or more peer nodes that meet the requirements.
  • the request for acquiring the node capability information is sent to one or more peer nodes in the node list by acquiring the node list provided by the foregoing embodiment of the present invention; Receiving the node capability information returned by the one or more peer nodes; and selecting, from the peer node that returns the node capability information, the peer node that meets the current download requirement as the neighbor node; The neighbor node downloads the media content,
  • the problem that the discovery of the neighbor nodes that can provide media downloading in the P2P network is too long, resulting in a large startup delay, thereby improving the system service quality and the user experience.
  • FIG. 2 is a flowchart of a specific implementation manner of acquiring media content in a P2P network according to an embodiment of the present invention.
  • step S202 the first peer node obtains a list of nodes capable of providing specific media content.
  • the node list of the media content is a partial or all node list of the same program.
  • the media content includes services such as an on-demand service or a live broadcast service;
  • the peer node provided by the node list is one or more peer nodes that have the media content.
  • the peer node that needs to download the media content is all peer nodes that need to download the media content, including the first peer node.
  • step S204 the first peer node sends a request for obtaining a cache map table to one or more peer nodes in the node list capable of providing specific media content, wherein the request for obtaining the cache map table carries the request Option for node capability information.
  • the node capability request information is carried in the extended message field and sent to the peer node provided by the node list by using the extended BufferMap request message, and used for the node capability information of the mutual interaction between the nodes.
  • the node capability information includes: any combination of one or more pieces of information of an uplink bandwidth of the peer node, a number of concurrent service nodes, and a number of concurrent connections.
  • step S206 the BufferMap and node capability information returned by the one or more peer nodes are received.
  • step S208 from the one or more peer nodes, according to the corresponding BufferMap and node capability information, select a peer node having the currently required media content, and the node capability meets the current download requirement as a neighbor. node.
  • one or more peer nodes having the media content required by the current one and having the node capability satisfying the current download requirement are selected.
  • the node capability is specifically bandwidth to meet the download requirements, such as A peer node having a width of 0.8 1.2 times the current program code rate, and a peer node selected in the range as a neighbor node.
  • step S210 the first peer node downloads the media content through the neighbor node.
  • the first peer node sends a download request to the neighbor node, and the media content is downloaded by the neighbor node.
  • the node capability request information is carried in the extended message field and sent to the peer node in the node list capable of providing the specific media content; Selecting a peer node that has the media content and the node capability meets the current download requirement as a neighboring node, and downloading the media content by using the neighboring node, and solving the time in the P2P network that the neighbor node that can provide the media download is found Long, causing a problem of extended startup time, thereby improving system service quality and user experience.
  • FIG. 3 is a flowchart of a specific implementation manner of acquiring media content in another P2P network according to an embodiment of the present invention.
  • step S302 the first peer node obtains a list of nodes capable of providing specific media content.
  • the node list of the media content is a partial or all node list of the same program.
  • the media content includes services such as an on-demand service or a live broadcast service;
  • the peer node provided by the node list is one or more peer nodes that have the media content.
  • the peer node that needs to download the media content is all peer nodes that need to download the media content, including the first peer node.
  • step S304 the first peer node receives the node list, and according to the node list, sends a request message for obtaining a cache map table BufferMap and a request message for acquiring node capability information to one of the node lists or Multiple peer nodes.
  • the first peer node sends a request message for obtaining the cache map table BufferMap and a request message for acquiring the node capability information to the peer node in the node list, where the request message for obtaining the node capability information and the returned response are
  • the message is new according to standard or system rules
  • the message is used by the first peer node to interact with each node in the node list, and the node capability information includes: an uplink bandwidth of the node, a number of concurrent service nodes, and a number of concurrent connections. Any combination of multiple information.
  • the node capability request message is defined as:
  • step S306 the BufferMap and node capability information corresponding to the one or more peer nodes returned by the one or more peer nodes provided by the node list are received.
  • step S308 a peer node having the media content and the node capability satisfying the current download requirement is selected as a neighbor node from the BufferMap and the node capability information corresponding to the one or more peer nodes.
  • one or more peer nodes having the media content required by the current one and having the node capability satisfying the current download requirement are selected, where the node capability is specifically The bandwidth satisfies the download requirement, for example, a peer node whose bandwidth is 0.8 1.2 times the current program code rate, and the peer node selected in the range is the neighbor node.
  • step S310 the first peer node downloads the media content through the neighbor node.
  • the first peer node sends a download request to the neighbor node, and the media content is downloaded by the neighbor node.
  • the first peer node respectively sends a node capability request message and a BufferMap request message to the peer node provided by the node list; according to the BufferMap information and the node capability information.
  • Selecting a peer node having the currently required media content, and the node capability satisfies the current download requirement as a neighbor node, through the neighbor The downloading of the media content by the neighboring node solves the problem that the time of the neighboring node that can provide the media downloading in the P2P network is too long, resulting in a large startup delay, thereby improving the system service quality and the user experience.
  • FIG. 4 is a structural diagram of an apparatus for downloading media content in a P2P network according to an embodiment of the present invention.
  • An apparatus for downloading media content in a P2P network comprising: a sending unit 400, a receiving unit 402, a first selecting unit 404, and a processing unit 406, as follows:
  • the sending unit 400 is configured to send a request for acquiring node capability information to one or more peer nodes in a node list capable of providing specific media content.
  • the node capability information includes: any combination of one or more pieces of information of an uplink bandwidth of the node, a number of concurrent service nodes, and a number of concurrent connections.
  • the receiving unit 402 is configured to receive, according to the request sent by the sending unit, node capability information returned by the one or more peer nodes.
  • the first selecting unit 404 is configured to select, from the peer node that returns the node capability information, a peer node whose node capability meets the current download requirement as a neighbor node.
  • the processing unit 406 is configured to download, by the neighbor node selected by the first selection unit, the media content.
  • the sending unit 400 is specifically configured to send a request for acquiring a cache map table to one or more peer nodes in the node list, where the request for obtaining a cache map table carries the acquiring node capability information. Options.
  • the device further includes: a requesting unit 408;
  • the requesting unit 408 is configured to send a request for acquiring a cache image table to one or more peer nodes in the node list.
  • the receiving unit 402 is further configured to receive a cache image table returned by one or more peer nodes included in the node list.
  • the device further includes: a second selection unit.
  • the second selecting unit is configured to select, from the peer node that returns the cache mapping table and the node capability information, the peer node that has the media content, and the node capability meets the current download requirement, as the neighbor node.
  • the apparatus also includes an acquisition unit for obtaining a list of nodes capable of providing specific media content.
  • the foregoing embodiment of the present invention provides a device for obtaining media content in a P2P network, which solves the problem that the neighboring node that can provide media downloading in the P2P network takes too long to start.
  • the problem of large delay increases the quality of system service and the user experience.
  • FIG. 5 is a schematic structural diagram of a system for acquiring media content in a P2P network according to an embodiment of the present invention.
  • FIG. 5 is described in detail below.
  • a system for obtaining media content in a P2P network comprising: a requesting node 502 and at least one requested node 504.
  • Both the requesting node 502 and the requested node 504 are peer nodes in a P2P network.
  • the requesting node 502 is configured to send a request for acquiring node capability information to at least one requested node in a node list capable of providing specific media content; receiving node capability information returned by the at least one requested node; returning from the Among the requested nodes of the node capability information, the requested node that meets the current download requirement is selected as a neighbor node; and the media content is downloaded by the neighbor node;
  • the at least one requested node 504 is configured to return, according to the request for acquiring the node capability information sent by the requesting node, the self-node capability information to the requesting node, and when the requesting node selects the neighboring node, The requesting node provides the media content.
  • the requesting node When the requesting node sends a request for obtaining a cached image table to the requested node, the requesting node is further configured to send a request for obtaining a cached image table to the at least one requested node, And selecting, according to the cache mapping table and node capability information returned by the requested node, a peer node having the media content, and the node capability meets a current download requirement, as a neighbor node.
  • the requested node is further configured to provide a cache image table BufferMap of the requested node.
  • the system for obtaining media content in a P2P network solves the problem that the neighboring node that can provide media downloading in the P2P network takes too long to start.
  • the problem of large delay increases the quality of system service and the user experience.

Description

一种 P2P网络中获取媒体内容的方法、 装置及系统 本申请要求 2008年 12月 31日提交的, 申请号为 200810242222.9, 发 明名称为 "一种 P2P网络中获取媒体内容的方法、 装置及系统" 的中国申 请优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域的网络技术, 具体指一种 P2P网络中获取媒体内 容的方法、 装置及系统。 背景技术
对等网络 (即 Peer to Peer 网络) 是目前互联网上广泛应用的一种技 术, 它能够充分利用终端空闲能力为整个系统服务。 对等网络有多种网络架 构, 主要为结构化和非结构化两种网络架构。 在非结构化对等网络中, 包含 目录服务器, 对等节点等设备。 目录服务器记录网络中正在共享的内容, 以 及正在下载某内容的对等节点列表。 对等节点通过目录服务器获取目标内容 的全部或部分下载列表, 从中选取可以作为邻居帮助自己完成内容下载的节 点, 与之建立对等会话连接。
P2P流媒体, 又称流式媒体, 是一种新的媒体传送方式, 具体为采用 P2P方式完成内容在网络中的传输。 P2P流媒体传输方式将整个 A/V及 3D 等多媒体文件经过特殊的压缩方式分成一个个压缩包, 由视频服务器向用户 计算机连续、 实时传送。 用户只需经过几秒或几十秒的启动延时即可在用户 的计算机上利用解压设备对压缩的 A/V、 3D等多媒体文件解压后进行播放 和观看。 这种对多媒体文件边下载边播放的传输方式不仅使启动延时大幅度 地缩短, 而且对系统缓存容量的需求也大大降低。
目前新节点加入 P2P 网络中请求下载内容 1 的的启动过程为: 新节点 到频道服务器获取频道列表, 标志节点启动开始; 新节点向追踪服务器获取 请求同一节目的部分或全部节点列表; 新节点分别向节点列表中各节点请求 获取缓存映像表 Buffer Map; 新节点根据获得的各节点的 Buffer Map, 从中 随机选择拥有自己所需数据块的一个或多个节点作为邻居节点, 并向邻居节 点发起下载请求, 尝试建立连接, 开始下载数据块; 新节点下载了足够数据 块数目, 视频播放开始。
在对现有技术的研究和实践过程中, 发明人发现现有技术存在以下问 题: 由于新节点根据 Buffer Map随机选择邻居节点请求数据下载, 无法保 证选择的成功率, 导致新节点所请求的邻居节点可能无法为其提供数据下 载; 此时, 新节点就需要重复尝试与拥有自己所需数据块的邻居节点建立连 接, 直至找到能为自己提供数据下载的邻居节点。 在新节点重复选择和不断 尝试寻找可提供服务的邻居节点的过程中, 消耗了大量时间, 增加了启动延 时, 降低了系统服务质量, 从而影响了用户的体验。 发明内容
有鉴于此, 本发明实施例的主要目的在于提供一种 P2P 网络中下载媒 体内容的方法、 装置及系统, 用以解决了 P2P网络中由于查找可提供媒体 下载的邻居节点的时间过长, 导致启动时延大的问题。
为实现上述目的, 本发明实施例提供如下的技术方案:
一种 P2P 网络中获取媒体内容的方法, 所述方法包括: 发送获取节点 能力信息的请求给能够提供特定媒体内容的一个或多个对等节点; 接收所述 一个或多个对等节点返回的节点能力信息; 从返回节点能力信息的对等节点 中, 选择节点能力满足当前下载需求的对等节点作为邻居节点; 通过所述邻 居节点下载所述媒体内容。
一种 P2P 网络中获取媒体内容的装置, 所述装置包括: 发送单元、 接 收单元、 第一选择单元和处理单元; 所述发送单元, 用于发送获取节点能力 信息的请求给能够提供特定媒体内容的一个或多个对等节点; 所述接收单 元, 用于根据所述发送单元发送的请求, 接收所述一个或多个对等节点返回 的节点能力信息; 所述第一选择单元, 用于从所述返回节点能力信息的对等 节点中, 选择节点能力满足当前下载需求的对等节点作为邻居节点; 所述处 理单元, 用于通过所述第一选择单元选择的邻居节点下载所述媒体内容。
一种 P2P 网络中获取媒体内容的系统, 所述系统包括: 请求节点和至 少一个被请求节点; 所述请求节点和被请求节点均为 P2P 网络中的对等节 点; 所述请求节点, 用于发送获取节点能力信息的请求给能够提供特定媒体 内容的至少一个被请求节点; 接收所述至少一个被请求节点返回的节点能力 信息; 从返回节点能力信息的被请求节点中, 选择节点能力满足当前下载需 求的被请求节点作为邻居节点; 通过所述邻居节点下载所述媒体内容; 所述 至少一个被请求节点, 用于根据所述请求节点发送的获取节点能力信息的请 求, 返回自身节点能力信息给所述请求节点, 并在被所述请求节点选择为邻 居节点时, 向所述请求节点提供所述媒体内容。
由上述本发明的实施例提供的具体实施方案可以看出, 通过发送获取节 点能力信息的请求给能够提供特定媒体内容的节点列表中的一个或多个对等 节点; 接收所述一个或多个对等节点返回的节点能力信息; 从所述返回节点 能力信息的对等节点中, 选择节点能力满足当前下载需求的对等节点作为邻 居节点; 通过所述邻居节点下载所述媒体内容, 解决了 P2P网络中由于查 找可提供媒体下载的邻居节点的时间过长, 导致启动时延大的问题, 从而提 高了系统服务质量和用户的体验。 附图说明
图 1 为本发明实施例中提供的一种 P2P网络中获取媒体内容的方法流 程图;
图 2为本发明实施例中的一种 P2P网络中获取媒体内容的具体实现方 式流程图; 图 3为本发明实施例中的另一种 P2P 网络中获取媒体内容的具体实现 方式流程图;
图 4为本发明实施例中一种 P2P 网络中获取媒体内容的装置的结构示 意图;
图 5为本发明实施例中一种 P2P 网络中获取媒体内容的系统结构示意 图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发 明的实施例作进一歩地详细描述。
应当明确, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
如图 1所示, 图 1为本发明实施例中提供的一种 P2P网络中获取媒体内 容的方法流程图, 所述方法包括:
S100、 发送获取节点能力信息的请求给能够提供特定媒体内容的节点 列表中的一个或多个对等节点。
第一对等节点获取提供所述媒体内容的节点列表后, 发送获取所述节点 列表提供的一个或多个对等节点的节点能力信息的请求, 其中, 所述获取节 点能力信息的请求可以携带在第一对等节点发送的获取缓存映像表 BufferMap 的请求中, 发送给所述节点列表提供的一个或多个对等节点, 即 通过将获取节点能力信息的请求放在 BufferMap请求消息字段中发送给所述 节点列表提供的对等节点; 也可以是在发送 BufferMap消息的同时, 或者之 后, 通过自定义的扩展能力请求 /响应消息 (Capability Request/Response Msg) 发送获取节点能力信息的请求给所述节点列表提供的对等节点。 其中, 所述第一对等节点为新加入的 P2P网络的节点; 所述媒体内容 包括点播业务或直播业务等业务; 所述节点列表所提供的对等节点为拥有该 媒体内容的一个或多个对等节点。 S102、 接收所述一个或多个对等节点返 回的节点能力信息。
其中, 所述节点能力信息包括: 对等节点的上行带宽、 并发服务节点 数、 并发连接数的一种或多种信息的任意组合。
所述接收返回的节点能力信息可以通过携带在 BufferMap 的响应消息 中, 也可以通过自定义的扩展能力响应消息返回。
S104、 从所述返回节点能力信息的对等节点中, 选择节点能力满足当 前下载需求的对等节点作为邻居节点。
其中, 所述第一对等节点可以根据所述节点能力信息, 选择节点能力信 息满足当前下载需求的对等节点作为邻居节点; 也可以通过发送获取缓存映 像表 BufferMap的请求, 获取一个或多个对等节点返回的的 BufferMap信 息, 从所述返回缓存映像表和节点能力信息的对等节点中, 选择具有当前所 需的媒体内容, 且节点能力满足当前下载需求的对等节点作为邻居节点。
所述满足当前下载需求的对等节点, 可以是满足系统既定选择策略, 例 如带宽最大, 或者带宽在一定范围内的一个或多个对等节点;
S106、 通过所述邻居节点下载所述媒体内容。
所述第一对等节点向邻居节点发送下载请求, 通过所述邻居节点下载所 述媒体内容, 所述选择的邻居节点可以为一个或多个满足要求的对等节点。
由上述本发明的实施例提供的具体实施方案可以看出, 通过获取提供所 述媒体内容的节点列表后, 发送获取节点能力信息的请求给所述节点列表中 的一个或多个对等节点; 接收所述一个或多个对等节点返回的所述节点能力 信息; 从所述返回节点能力信息的对等节点中, 选择所述节点能力满足当前 下载需求的对等节点作为邻居节点; 通过所述邻居节点下载所述媒体内容, 解决了 P2P 网络中由于查找可提供媒体下载的邻居节点的时间过长, 导致 启动时延大的问题, 从而提高了系统服务质量和用户的体验。
请参见图 2, 图 2为本发明实施例中的一种 P2P网络中获取媒体内容的 具体实现方式流程图。
在歩骤 S202 中, 第一对等节点获取能够提供特定媒体内容的节点列 表。
所述媒体内容的节点列表为同一节目的部分或全部节点列表。 所述媒体 内容包括点播业务或直播业务等业务; 所述节点列表所提供的对等节点为拥 有该媒体内容的一个或多个对等节点。 需要下载所述媒体内容的对等节点为 包括所述第一对等节点在内的所有需要下载所述媒体内容的对等节点。
在歩骤 S204中, 第一对等节点发送获取缓存映像表的请求给能够提供 特定媒体内容的节点列表中的一个或多个对等节点, 其中, 所述获取缓存映 像表的请求携带有获取节点能力信息的选项。
具体为: 通过扩展 BufferMap请求消息, 将节点能力请求信息携带在扩 展的消息字段中发送给所述节点列表提供的对等节点, 用于节点间相互交互 彼此的节点能力信息。
其中, 所述节点能力信息包括: 对等节点的上行带宽、 并发服务节点 数、 并发连接数的一种或多种信息的任意组合。
在歩骤 S206中, 接收所述一个或多个对等节点返回的的 BufferMap和 节点能力信息。
在歩骤 S208 中, 从与所述一个或多个对等节点中, 根据相应的 BufferMap和节点能力信息, 选择具有当前所需的媒体内容, 且节点能力满 足当前下载需求的对等节点作为邻居节点。
具体为, 根据与所述一个或多个对等节点相应的 BufferMap和节点能力 信息, 选择出一个或多个拥有当前自己所需的媒体内容, 并且节点能力满足 当前下载需求的对等节点, 此处节点能力具体为带宽满足下载需求, 例如带 宽为当前节目码率的 0.8 1.2倍的对等节点, 在该范围中选择出的对等节点 作为邻居节点。
在歩骤 S210中, 第一对等节点通过所述邻居节点下载所述媒体内容。 所述第一对等节点向邻居节点发送下载请求, 通过所述邻居节点下载所 述媒体内容。
由上述本发明的实施例提供的具体实施方案可以看出, 通过扩展 BufferMap请求消息, 将节点能力请求信息携带在扩展的消息字段中发送给 能够提供特定媒体内容的节点列表中的对等节点; 选择具有所述媒体内容, 且节点能力满足当前下载需求的对等节点作为邻居节点, 通过所述邻居节点 下载所述媒体内容, 解决了 P2P网络中由于查找可提供媒体下载的邻居节 点的时间过长, 导致启动时延大的问题, 从而提高了系统服务质量和用户的 体验。
请参见图 3, 图 3为本发明实施例中的另一种 P2P网络中获取媒体内容 的具体实现方式流程图。
在歩骤 S302 中, 第一对等节点获取能够提供特定媒体内容的节点列 表。
所述媒体内容的节点列表为同一节目的部分或全部节点列表。 所述媒体 内容包括点播业务或直播业务等业务; 所述节点列表所提供的对等节点为拥 有该媒体内容的一个或多个对等节点。 需要下载所述媒体内容的对等节点为 包括所述第一对等节点在内的所有需要下载所述媒体内容的对等节点。
在歩骤 S304中, 第一对等节点接收所述节点列表, 并根据所述节点列 表, 发送获取缓存映像表 BufferMap的请求消息和获取节点能力信息的请求 消息给所述节点列表提供的一个或多个对等节点。
具体为: 第一对等节点分别向节点列表中的对等节点发送获取缓存映像 表 BufferMap的请求消息和获取节点能力信息的请求消息; 其中, 所述获取 节点能力信息的请求消息和返回的响应消息为根据标准或系统规则, 新定义 的消息, 所述消息用于第一对等节点与节点列表中的各节点交互彼此的能力 信息, 所述节点能力信息包括: 节点的上行带宽、 并发服务节点数、 并发连 接数的一种或多种信息的任意组合。
例如, 所述的节点能力请求消息的定义为:
Capability Request =
Message Header //定义新的消息类型
Capability TLV
Capability Response =
Message Header //定义新的消息类型
Capability TLV
在歩骤 S306中, 接收所述节点列表提供的一个或多个对等节点返回的 与所述一个或多个对等节点相应的 BufferMap和节点能力信息。
在歩骤 S308中, 从与所述一个或多个对等节点相应的 BufferMap和节 点能力信息中, 选择具有所述媒体内容, 且节点能力满足当前下载需求的对 等节点作为邻居节点。
具体为: 根据与所述一个或多个节点相应的 BufferMap中, 选择出一个 或多个拥有当前自己所需的媒体内容, 并且节点能力满足当前下载需求的对 等节点, 此处节点能力具体为带宽满足下载需求, 例如带宽为当前节目码率 的 0.8 1.2倍的对等节点, 在该范围中选择出的对等节点作为邻居节点。
在歩骤 S310中, 第一对等节点通过所述邻居节点下载所述媒体内容。 所述第一对等节点向邻居节点发送下载请求, 通过所述邻居节点下载所 述媒体内容。
由上述本发明的实施例提供的具体实施方案可以看出, 通过第一对等节 点分别发送节点能力请求消息和 BufferMap请求消息给节点列表提供的对等 节点; 根据所述 BufferMap信息和节点能力信息, 选择具有当前所需的媒体 内容, 且节点能力满足当前下载需求的对等节点作为邻居节点, 通过所述邻 居节点下载所述媒体内容, 解决了 P2P网络中由于查找可提供媒体下载的 邻居节点的时间过长, 导致启动时延大的问题, 从而提高了系统服务质量和 用户的体验。
请参见图 4, 图 4本发明实施例中一种 P2P网络中下载媒体内容的装置 的结构图。
一种 P2P网络中下载媒体内容的装置, 所述装置包括: 发送单元 400、 接收单元 402、 第一选择单元 404和处理单元 406, 具体如下:
所述发送单元 400, 用于发送获取节点能力信息的请求给能够提供特定 媒体内容的节点列表中的一个或多个对等节点。
其中, 所述节点能力信息包括: 节点的上行带宽、 并发服务节点数、 并 发连接数的一种或多种信息的任意组合。
所述接收单元 402, 用于根据所述发送单元发送的请求, 接收所述一个 或多个对等节点返回的节点能力信息。
所述第一选择单元 404, 用于从所述返回节点能力信息的对等节点中, 选择节点能力满足当前下载需求的对等节点作为邻居节点。
所述处理单元 406, 用于通过所述第一选择单元选择的邻居节点下载所 述媒体内容。
上述装置中, 所述发送单元 400具体用于发送获取缓存映像表的请求给 所述节点列表中的一个或多个对等节点, 其中, 所述获取缓存映像表的请求 携带有获取节点能力信息的选项。
当所述发送单元仅用于发送获取所述节点列表提供的一个或多个节点的 节点能力信息时, 所述装置进一歩包括: 请求单元 408;
所述请求单元 408, 用于发送获取缓存映像表的请求给所述节点列表中 的一个或多个对等节点。
所述接收单元 402还用于接收所述节点列表包含的一个或多个对等节点 返回的缓存映像表。 当所述节点列表中的一个或多个对等节点返回的 BufferMap信息和节点 能力信息时, 所述装置还进一歩包括: 第二选择单元。
所述第二选择单元, 用于从返回缓存映像表和节点能力信息的对等节点 中, 选择具有所述媒体内容, 且节点能力满足当前下载需求的对等节点作为 邻居节点。
所述装置还包括获取单元, 用于获取能够提供特定媒体内容的节点列 表。
由上述本发明的实施例提供的具体实施方案可以看出, 通过提供一种 P2P网络中获取媒体内容的装置, 解决了 P2P网络中由于查找可提供媒体下 载的邻居节点的时间过长, 导致启动时延大的问题, 从而提高了系统服务质 量和用户的体验。
请参阅图 5, 图 5为本发明实施例中一种 P2P网络中获取媒体内容的系 统的组成结构示意图, 下面对图 5进行详细描述。
一种 P2P 网络中获取媒体内容的系统, 所述系统包括: 请求节点 502 和至少一个被请求节点 504。
所述请求节点 502和被请求节点 504均为 P2P网络中的对等节点。
所述请求节点 502, 用于发送获取节点能力信息的请求给能够提供特定 媒体内容的节点列表中的至少一个被请求节点; 接收所述至少一个被请求节 点返回的节点能力信息; 从所述返回节点能力信息的被请求节点中, 选择节 点能力满足当前下载需求的被请求节点作为邻居节点; 通过所述邻居节点下 载所述媒体内容;
所述至少一个被请求节点 504, 用于根据所述请求节点发送的获取节点 能力信息的请求, 返回自身节点能力信息给所述请求节点, 并在被所述请求 节点选择为邻居节点时, 向所述请求节点提供所述媒体内容。
当所述请求节点发送获取缓存映像表的请求给所述被请求节点时, 所述 请求节点, 还用于发送获取缓存映像表的请求给所述至少一个被请求节点, 根据所述被请求节点返回的缓存映像表和节点能力信息, 选择具有所述媒体 内容, 且所述节点能力满足当前下载需求的对等节点作为邻居节点。 所述被 请求节点还用于提供所述被请求节点的缓存映像表 BufferMap。
由上述本发明的实施例提供的具体实施方案可以看出, 通过提供一种 P2P网络中获取媒体内容的系统, 解决了 P2P网络中由于查找可提供媒体下 载的邻居节点的时间过长, 导致启动时延大的问题, 从而提高了系统服务质 量和用户的体验。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并补 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到的变化或替换, 都应该涵盖在本发明的保护范围之内。 因此, 本发 明的保护范围应该以权利要求的保护范围为准。

Claims

权利要求书
1、 一种 P2P 网络中获取媒体内容的方法, 其特征在于, 所述方法包 括:
发送获取节点能力信息的请求给能够提供特定媒体内容的一个或多个对 等节点;
接收所述一个或多个对等节点返回的节点能力信息;
从返回节点能力信息的对等节点中, 选择节点能力满足当前下载需求的 对等节点作为邻居节点;
通过所述邻居节点下载所述媒体内容。
2、 根据权利要求 1 所述的获取媒体内容的方法, 其特征在于, 所述发 送获取节点能力信息的请求给能够提供媒体内容的一个或多个对等节点具体 包括:
发送获取缓存映像表的请求给所述一个或多个对等节点, 其中, 所述获 取缓存映像表的请求携带有获取节点能力信息的选项;
所述方法还包括: 接收所述一个或多个对等节点返回的缓存映像表。
3、 根据权利要求 1 所述的获取媒体内容的方法, 其特征在于, 所述发 送获取节点能力信息的请求给能够提供媒体内容的一个或多个对等节点之 前, 进一歩包括:
发送获取缓存映像表的请求给所述一个或多个对等节点;
接收所述一个或多个对等接点返回的缓存映射表。
4、 根据权利要求 1至 3所述的获取媒体内容的方法, 其特征在于, 所 述节点能力信息包括: 对等节点的上行带宽、 并发服务节点数、 并发连接数 的一种或多种信息的任意组合。
5、 根据权利要求 2或 3所述的获取媒体内容的方法, 其特征在于, 所 述从返回节点能力信息的对等节点中, 选择节点能力满足当前下载需求的对 等节点作为邻居节点包括:
从返回缓存映像表和节点能力信息的对等节点中, 选择具有所述媒体内 容, 且所述节点能力满足当前下载需求的对等节点作为邻居节点。
6、 一种 P2P 网络中获取媒体内容的装置, 其特征在于, 所述装置包 括: 发送单元、 接收单元、 第一选择单元和处理单元;
所述发送单元, 用于发送获取节点能力信息的请求给能够提供特定媒体 内容的一个或多个对等节点;
所述接收单元, 用于根据所述发送单元发送的请求, 接收所述一个或多 个对等节点返回的节点能力信息;
所述第一选择单元, 用于从所述返回节点能力信息的对等节点中, 选择 节点能力满足当前下载需求的对等节点作为邻居节点;
所述处理单元, 用于通过所述第一选择单元选择的邻居节点下载所述媒 体内容。
7、 根据权利要求 6所述的装置, 其特征在于, 所述发送单元具体用于 发送获取缓存映像表的请求给所述一个或多个对等节点, 其中, 所述获取缓 存映像表的请求携带有获取节点能力信息的选项。
8、 根据权利要求 6所述的装置, 其特征在于, 所述装置进一歩包括: 请求单元;
所述请求单元, 用于发送获取缓存映像表的请求给所述节点列表中的一 个或多个对等节点。
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述接收单元还用 于接收所述一个或多个对等节点返回的缓存映像表。
10、 根据权利要求 6至 8中任意一项所述的装置, 其特征在于, 所述节 点能力信息包括: 节点的上行带宽、 并发服务节点数、 并发连接数的一种或 多种信息的任意组合。
11、 根据权利要求 9所述的装置, 其特征在于, 所述装置进一歩包括: 第二选择单元;
所述第二选择单元, 用于从返回缓存映像表和节点能力信息的对等节点 中, 选择具有所述媒体内容, 且节点能力满足当前下载需求的对等节点作为 邻居节点。
12、 一种 P2P网络中获取媒体内容的系统, 其特征在于, 所述系统包 括: 请求节点和至少一个被请求节点;
所述请求节点和被请求节点均为 P2P网络中的对等节点;
所述请求节点, 用于发送获取节点能力信息的请求给能够提供特定媒体 内容的至少一个被请求节点; 接收所述至少一个被请求节点返回的节点能力 信息; 从返回节点能力信息的被请求节点中, 选择节点能力满足当前下载需 求的被请求节点作为邻居节点; 通过所述邻居节点下载所述媒体内容; 所述至少一个被请求节点, 用于根据所述请求节点发送的获取节点能力 信息的请求, 返回自身节点能力信息给所述请求节点, 并在被所述请求节点 选择为邻居节点时, 向所述请求节点提供所述媒体内容。
13、 根据权利要求 12所述的系统, 其特征在于, 所述请求节点还用于 发送获取缓存映像表的请求给所述至少一个被请求节点, 根据所述被请求节 点返回的缓存映像表和节点能力信息, 选择具有所述媒体内容, 且所述节点 能力满足当前下载需求的对等节点作为邻居节点。
14、 根据权利要求 13所述的系统, 其特征在于, 所述被请求节点还用 于向所述请求节点提供所述被请求节点的缓存映像表 BufferMap。
PCT/CN2009/075829 2008-12-31 2009-12-22 一种p2p网络中获取媒体内容的方法、装置及系统 WO2010075742A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810242222.9 2008-12-31
CN 200810242222 CN101771550A (zh) 2008-12-31 2008-12-31 一种p2p网络中获取媒体内容的方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2010075742A1 true WO2010075742A1 (zh) 2010-07-08

Family

ID=42309801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075829 WO2010075742A1 (zh) 2008-12-31 2009-12-22 一种p2p网络中获取媒体内容的方法、装置及系统

Country Status (2)

Country Link
CN (1) CN101771550A (zh)
WO (1) WO2010075742A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457564A (zh) * 2010-10-28 2012-05-16 华为技术有限公司 点对点网络的实时流媒体下载方法及系统
CN102546775B (zh) * 2011-12-27 2015-05-20 中兴通讯股份有限公司 一种cdn中的节点及其自组网方法
CN109587531A (zh) * 2017-09-28 2019-04-05 华为技术有限公司 视频传输方法、装置及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812566A (zh) * 2005-10-25 2006-08-02 北京影立驰技术有限公司 在信息家电中实现p2p流播放的装置和方法
CN101150465A (zh) * 2006-09-22 2008-03-26 腾讯科技(深圳)有限公司 一种获取种子信息的方法及p2p网络中的超级节点和普通节点
CN101272404A (zh) * 2008-05-15 2008-09-24 中国科学院计算技术研究所 一种p2p视频直播系统数据调度中的链路选择方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812566A (zh) * 2005-10-25 2006-08-02 北京影立驰技术有限公司 在信息家电中实现p2p流播放的装置和方法
CN101150465A (zh) * 2006-09-22 2008-03-26 腾讯科技(深圳)有限公司 一种获取种子信息的方法及p2p网络中的超级节点和普通节点
CN101272404A (zh) * 2008-05-15 2008-09-24 中国科学院计算技术研究所 一种p2p视频直播系统数据调度中的链路选择方法

Also Published As

Publication number Publication date
CN101771550A (zh) 2010-07-07

Similar Documents

Publication Publication Date Title
US10321199B2 (en) Streaming with optional broadcast delivery of data segments
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
EP2053859B1 (en) A method and apparatus for reducing delay of media play
EP2171600B1 (en) Assisted peer-to-peer media streaming
RU2288545C2 (ru) Способ и система передачи мультимедийных сообщений
KR101662843B1 (ko) 데이터 통신 망에서의 스트리밍 서비스 장치 및 방법
RU2647654C2 (ru) Система и способ доставки аудиовизуального контента в клиентское устройство
WO2014063297A1 (zh) 一种播放流媒体文件的方法和装置
Detti et al. Mobile peer-to-peer video streaming over information-centric networks
WO2010048774A1 (zh) 一种流媒体分发系统、方法及装置
WO2009015611A1 (fr) Procédé, système et appareil pour une commutation rapide de source multimédia
WO2011017976A1 (zh) 媒体服务方法及系统
KR101743228B1 (ko) 스트리밍 장치 및 그 방법, 이를 이용한 스트리밍 서비스 시스템 및 컴퓨터로 판독 가능한 기록매체
JP2011082977A (ja) P2pネットワークシステム及びそのデータ送受信方法
US20130166659A1 (en) Methods for distributing contents to peers by means of multicast connections within a p2p infrastructure, and associated control server
WO2010075742A1 (zh) 一种p2p网络中获取媒体内容的方法、装置及系统
WO2012055228A1 (zh) 点对点网络的实时流媒体下载方法及系统
EP2340634B1 (fr) Procédé et dispositifs de gestion de transfert d'un flux de données
WO2015168993A1 (zh) 一种基于内容提供商与服务提供商分离的控制方法及装置
US20170085623A1 (en) Content downloading and network provisioning
CN109951717A (zh) 一种快速开播方法及装置
WO2014206136A1 (zh) 一种终端能力的协商方法、确定方法和终端
JP2015008475A (ja) データセグメントのオプションのブロードキャスト配信によるストリーミング

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09836029

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09836029

Country of ref document: EP

Kind code of ref document: A1