WO2012116582A1 - P2p content distribution method and system - Google Patents

P2p content distribution method and system Download PDF

Info

Publication number
WO2012116582A1
WO2012116582A1 PCT/CN2012/070410 CN2012070410W WO2012116582A1 WO 2012116582 A1 WO2012116582 A1 WO 2012116582A1 CN 2012070410 W CN2012070410 W CN 2012070410W WO 2012116582 A1 WO2012116582 A1 WO 2012116582A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
storage server
fragment
server
distribution node
Prior art date
Application number
PCT/CN2012/070410
Other languages
French (fr)
Chinese (zh)
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 WO2012116582A1 publication Critical patent/WO2012116582A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Definitions

  • the present invention relates to content distribution technologies, and in particular, to a peer-to-peer (P2P, Peer to Peer) content distribution method and system.
  • P2P peer-to-peer
  • Peer to Peer content distribution method and system.
  • the basic architecture of the P2P content distribution system consists of a tracker and a content distribution node.
  • the tracker is also called a location server.
  • the peer is a peer node. Usually all or most peers are user nodes.
  • the tracker is managed. Peer and server for peer positioning.
  • Common P2P content distribution systems include P2P systems using proprietary protocols such as BT (BitTorrent) and PPLive.
  • BT BitTorrent
  • PPLive Currently, the standard protocol for P2P content distribution is the P2P Peer to Peer Streaming Protocol (PPSP), which is being standardized by the Internet Engineering Task Force (IETF).
  • P2P content distribution traffic accounts for a large proportion of Internet traffic, and its large traffic brings network congestion. Network congestion affects users' P2P content distribution services and other services. The limited uplink bandwidth of users also limits the quality of P2P content distribution.
  • P2P content distribution combined with the storage server can solve the above problems.
  • a storage server is provided by a third party (usually a network operator), also known as a P2P cache.
  • P2P content distribution combined with storage server has two ways, one is active storage mode, the storage server supports P2P protocol, and actively participates in content distribution; the other is passive storage mode, and the P2P content distribution system uses storage server storage that does not support P2P protocol.
  • a P2P content distribution system using a storage server using a passive storage method includes a content distribution node (peer), a tracking server (tracker), and a storage server that does not support the P2P protocol.
  • the content distribution node is used to upload and/or download content; the tracking server records the peer address participating in the content distribution, and can also record which content segments each peer owns; the storage server stores and distributes the content for the P2P content distribution system.
  • the content distribution operation in the passive storage mode includes:
  • the content distribution node C joins the distribution group of the content by the tracking server, and reports the content/content fragment owned by the tracking server to the tracking server;
  • the content distribution node B joins the distribution group of the content by the tracking server, and reports the content/content fragment owned by the tracking server to the tracking server;
  • the content distribution node B uploads the content/content fragments it owns to the storage server to which it is connected;
  • the content distribution node A queries the tracking server for a peer list of downloadable content/content fragments
  • the tracking server returns a peer list to the content distribution node A, where the peer list includes downloadable content/content fragment information and its corresponding peer address;
  • the content distribution node A requests content/content fragments from the content distribution node C;
  • the content distribution node C returns the content/content fragment to the content distribution node A;
  • the content distribution node A requests the content distribution content B to the content distribution node B;
  • the content distribution node B returns storage server information (including the address of the storage server, authentication information, etc.) to the content distribution node A;
  • the content distribution node A uploads the content/content fragment storage server request content/content fragment to the content distribution node B;
  • the storage server returns a content/content fragment to the content distribution node A.
  • Adopt P2P content distribution combined with storage server to make users from the storage server
  • the content is fast, the delay is small, and good service quality can be obtained; and the same content of the storage server can be downloaded multiple times, thereby reducing the traffic of the user uploading content.
  • the information transfer of the storage server is slow, and the storage server cannot be fully utilized.
  • the content distribution node peer
  • the content distribution node requests content from other peers without knowing which peers own the storage server. If the requested peer does not have a storage server for the peer, it can only obtain from the requested peer. Content, but can not get content from the storage server of other peer peers, which is not conducive to improving the quality of service, which is also not conducive to reducing the upload traffic of the requested peer. It can be seen that the prior art cannot fully utilize the storage server to reduce traffic and improve service quality. Summary of the invention
  • the main object of the present invention is to provide a method and system for P2P content distribution to fully utilize a storage server to reduce traffic and improve service quality.
  • the present invention provides a method for P2P content distribution, the method comprising:
  • the tracking server records the address of the distribution node having the content/content fragment or the content/content fragment distribution, and records the storage server address where the content/content fragment is located;
  • the second content distribution node queries the tracking server for a list of nodes that own the specified content/content segment, or participates in the specified content/content segment distribution, and the tracking server returns a corresponding node list to the second content distribution node, in the node list At least an address of the first storage server that the first content distribution node uploads the content/content fragment;
  • the second content distribution node downloads the specified content/content fragment directly from the first storage server in the node list, or indirectly downloads the specified content from the first storage server in the node list via the second storage server Content fragment.
  • the tracking server records an address of a content distribution node having a content/content fragment or participating in content/content fragment distribution, and records a storage server address where the content/content fragment is located, Specifically:
  • the first content distribution node uploads the content/content fragment to the first storage server
  • the first storage server stores the received content/content fragment
  • the first content distribution node reports the first storage server address to the tracking server, and the content/content fragments it possesses;
  • the tracking server records the first storage server address and the content/content fragments it owns.
  • the tracking server records an address of the content distribution node that owns the content/content fragment or participates in the distribution of the content/content fragment, and records the storage server address where the content/content fragment is located, specifically:
  • the tracking server requests the first content distribution node to upload the specified content/content fragment to the first storage server;
  • the first content distribution node uploads the specified content/content fragment to the first storage server; the first storage server stores the received content/content fragment;
  • the first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server
  • the tracking server records that the first storage server has the corresponding content/content fragment.
  • the tracking server records an address of the content distribution node that owns the content/content fragment or participates in the distribution of the content/content fragment, and records the storage server address where the content/content fragment is located, specifically:
  • the tracking server requires the first storage server to obtain the specified content/content fragment from the first content distribution node
  • the first storage server requests a corresponding content/content fragment from the first content distribution node; the first content distribution node uploads the corresponding content/content fragment to the first storage server; the first storage server stores the received content/content fragment, The tracking server reports that the specified content/content fragment has been successfully obtained; The tracking server records that the first storage server has the corresponding content/content fragment.
  • the list of nodes returned by the tracking server to the second content distribution node further includes an address of the content distribution node having the specified content/content fragment, or participating in the specified content/content fragment distribution.
  • the present invention also provides a system for P2P content distribution, the system comprising: a tracking server, a first content distribution node, a second content distribution node, a first storage server, and a second storage server, wherein
  • the tracking server is configured to record an address of a content distribution node that owns content/content fragments, or participate in content/content fragment distribution, and records a storage server address where the content/content fragment is located; and is also used to provide a content distribution node Query service;
  • the second content distribution node is configured to query the tracking server for a node list that has a specified content/content segment, or participates in a specified content/content segment distribution, and the corresponding list returned by the tracking server includes at least a first content distribution.
  • the node uploads the address of the first storage server of the content/content fragment; and is further configured to download the specified content/content fragment directly from the first storage server in the node list, or indirectly from the node list via the second storage server The first storage server in the downloading the specified content/content fragment;
  • the first content distribution node is configured to upload a content/content fragment owned by the first content distribution server to the first storage server;
  • the first storage server is configured to provide a second content distribution node with a direct download or an indirect download service of the specified content/content segment;
  • the second storage server is configured to, in the indirect download service, forward the specified content/content segment downloaded from the first storage server to the second content distribution node.
  • the first content distribution section is further configured to report the first storage server address and the content/content fragment owned by the tracking server to the tracking server after uploading the content/content fragment to the first storage server;
  • the tracking server records the first storage server address, and the content it owns/inside Rong pieces.
  • the tracking server is further configured to: ask the first content distribution node to upload the specified content/content fragment to the first storage server;
  • the first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server; the tracking server records that the first storage server owns The corresponding content/content fragment.
  • the tracking server is further configured to: ask the first storage server to obtain the specified content/content segment from the first content distribution node;
  • the tracking server After acquiring the specified content/content segment and storing the first storage server, reporting to the tracking server that the specified content/content segment has been successfully obtained; the tracking server records that the first storage server has the corresponding content/content segment .
  • the list of nodes returned by the tracking server to the second content distribution node further includes an address of the content distribution node having the specified content/content fragment, or participating in the specified content/content fragment distribution.
  • the present invention provides a method and system for P2P content distribution, so that a content distribution node can quickly locate a storage server having a desired content, and thus the present invention is compared with a P2P content distribution method and system using an existing storage server. Take advantage of storage servers to better reduce traffic and improve service quality. DRAWINGS
  • FIG. 1 is a schematic structural diagram of a P2P content distribution system using a storage server in the prior art
  • FIG. 2 is a schematic diagram of a P2P content distribution system using a storage server according to the present invention
  • FIG. 3 is a P2P content distribution method according to the present invention
  • FIG. 4 is a flowchart of obtaining a content/content fragment by a storage server and tracking a content/content fragment obtained by a storage server by the storage server according to an embodiment of the present invention
  • FIG. 5 is a flowchart of another storage server obtaining content/content fragments and tracking content and content fragments obtained by the storage server according to an embodiment of the present invention
  • FIG. 6 is a flowchart of still obtaining a content/content fragment by a storage server, and tracking a content/content fragment obtained by the storage server by the storage server according to an embodiment of the present invention
  • FIG. 7 is a flowchart of downloading content/content fragments directly from a first storage server by a second content distribution node according to an embodiment of the present invention
  • FIG. 8 is a flow diagram of a second content distribution node indirectly downloading content/content fragments from a first storage server in accordance with an embodiment of the present invention. detailed description
  • the P2P content distribution system utilizing the storage server in the present invention comprises: at least one tracking server, at least two content distribution nodes (peers), and at least one storage server.
  • the tracking server is configured to record a peer address that has or may have a content/("/" representation or) piece of content, and records a storage server address where the content/content fragment is located; the tracking server may also record a certificate required to access the storage server. Right information.
  • the tracking server is also used by the content distribution node to query a download list that provides or may provide a content/content snippet containing at least the address of the storage server that can provide the content/content snippet.
  • a content distribution node for uploading and/or downloading content can upload only content, or only download content, or both upload content and download content.
  • the content distribution node can upload content/content fragments to the storage server, or download content/content fragments from the storage server; the content/content fragments can also be directly passed between the peers.
  • a storage server for uploading and downloading content for the content distribution node The storage server does not support the P2P protocol.
  • the storage server can be provided directly to the content distribution node by the storage service provider.
  • the content distribution node grasps the information of the storage server it uses (including the address of the storage server, and may also include other information such as the authentication information of the storage server), and can provide the information of the storage server to the tracking server. And other content distribution nodes for other content The distribution node accesses its storage server.
  • the storage server may also be provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider.
  • the tracking server grasps the information of the storage server it uses (including the address of the storage server, and may also include other information such as the authentication information of the storage server), and can provide the information of the storage server to the content distribution node. , so that the content distribution node accesses its storage server.
  • the storage service provider and the content distribution application provider can be integrated.
  • the download list described in the present invention includes at least an address of a storage server capable of providing a content/content fragment; if the access of the storage server requires authentication, it also needs to include a reference required to access the storage server. Right information. Additionally, the download list may also include an address of a content distribution node that can provide or may provide content/content segments.
  • a content distribution node that may provide content/content fragments refers to a content distribution node that participates in the distribution of corresponding content/content fragments.
  • the content distribution node that requests the download preferentially selects
  • the storage server that provides the content/content fragment requests downloading, which ensures that the content distribution node downloads the required content/content fragments from the storage server as much as possible, and minimizes the operation of downloading the content/content fragments directly from the content distribution node, thereby facilitating the operation.
  • Make full use of the storage server thereby reducing the upload traffic of the requested content distribution node and improving the quality of service.
  • the download list includes a content distribution node capable of providing content/content fragments
  • the content distribution node needs to notify the tracking server when the locally stored content/content fragment increases or decreases, and the tracking server records ;
  • the content distribution node does not need to report to the tracking server what content/content fragment is stored locally, and only needs to report to the tracking server to join the certain Distribution of content/content fragments (reporting)
  • the content distribution node may or may not have the content/content snippet.
  • the content distribution node can only obtain a download list from the tracking server that may have the content/content snippet.
  • the content distribution node obtains a download list from the tracking server that may have content (may be completely free of content, may have partial content, or may have all content), and the content distribution node selects a content distribution node from the download list to ask the other party to own After the content is fragmented, request the content piece that you want and that the other party owns.
  • the content distribution node may request the entire content/content fragment, or just a part of the content/content fragment, to a certain storage server or content distribution node, that is, the granularity of the data request is less than or equal to the granularity of the data location.
  • a P2P content distribution system architecture using a storage server is provided in the embodiment of the present invention.
  • the architecture includes: a tracking server, a first content distribution node, and a first storage server for uploading content/content fragments. And a second content distribution node and a second storage server.
  • the second content distribution node is the party that wants to obtain the content/content fragment
  • the first content distribution node is the content/content fragment side required by the second content distribution node, but those skilled in the art should understand that in practical applications Any one of the content distribution nodes may have both the function of the first content distribution node and the function of the second content distribution node.
  • the content can be movies, music, text, pictures, etc.; a piece of content is part of a complete piece of content, such as a movie, a section of a song.
  • the P2P content distribution method using the storage server is as shown in FIG. 3, and mainly includes the following steps:
  • Step 301 The tracking server records the address of the content distribution node that owns the content/content fragment, or participates in the content/content fragment distribution, and records the storage server address where the content/content fragment is located.
  • Step 302 The second content distribution node queries the tracking server for the node list that owns the specified content/content segment, or participates in the specified content/content segment distribution, and the tracking server returns a corresponding node list to the second content distribution node, where the node list is at least The address of the first storage server containing the content/content fragment uploaded by the first content distribution node.
  • Step 303 The second content distribution node directly downloads the specified content/content segment from the first storage server in the node list, or indirectly downloads the specified content/content segment from the first storage server in the node list via the second storage server. Specific operations regarding direct download or indirect download will be described in detail in the following embodiments.
  • An embodiment of the present invention provides a storage system architecture using a storage server.
  • the architecture includes: a tracking server, a first content distribution node, and a first storage server for uploading content/content fragments. And a second content distribution node and a second storage server.
  • the second content distribution node is the party that wants to obtain the content/content fragment
  • the first content distribution node is the content/content fragment side required by the second content distribution node, but those skilled in the art should understand that in practical applications Any one of the content distribution nodes may have both the function of the first content distribution node and the function of the second content distribution node.
  • a storage server obtains a content/content fragment and a process of tracking a server to record a content/content fragment obtained by the storage server, which mainly includes the following steps:
  • Step 401 The first content distribution node uploads the content/content fragment to the first storage server.
  • the upload is determined autonomously by the first content distribution node.
  • the first storage server is generally provided by the storage service provider for use by the first content distribution node, and the first content distribution node has information of the first storage server (including the address of the first storage server, and may also include Other information such as authentication information of the first storage server).
  • Step 402 The first storage server stores the received content/content fragment.
  • Step 403 The first storage server returns an upload success response to the first content distribution node.
  • Step 404 The first content distribution node reports the first storage server address to the tracking server. And report the content/content fragment owned by the first storage server.
  • the first content distribution node may also report to the tracking server the authentication information required to access the first storage server.
  • Step 405 The tracking server records the first storage server address, and records the content/content fragment owned by the storage server.
  • the tracking server may also record the authentication information required to access the first storage server.
  • Step 406 The tracking server returns a report success response to the first content distribution node.
  • another storage server obtains a content/content fragment
  • a tracking server records the content/content fragment obtained by the storage server, which mainly includes the following steps:
  • Step 501 The tracking server requests the first content distribution node to upload the specified content/content fragment to the first storage server.
  • the content/content fragment upload is determined by the tracking server.
  • the general storage server is provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider.
  • Step 502 The first content distribution node uploads the content/content fragment to the first storage server.
  • Step 503 The first storage server stores the received content/content fragment.
  • Step 504 The first storage server returns an upload success response to the first content distribution node.
  • Step 505 The first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server.
  • Step 506 The tracking server records that the first storage server has a corresponding content/content fragment.
  • a storage server obtains a content/content fragment
  • a tracking server records a content/content fragment obtained by the storage server
  • the method includes the following steps: Step 601: The tracking server requests the first storage server to acquire the specified content/content segment from the first content distribution node.
  • Content/content fragment acquisition is determined by the tracking server.
  • the general storage server is provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider.
  • Step 602 The first storage server requests a corresponding content/content fragment from the first content distribution node.
  • Step 603 The first content distribution node uploads the corresponding content/content fragment to the first storage server.
  • Step 604 the first storage server stores the received content/content fragment.
  • Step 605 The first storage server reports to the tracking server that the specified content/content fragment has been successfully obtained.
  • Step 606 The tracking server records that the first storage server has a corresponding content/content fragment.
  • the second content distribution node obtains the first storage obtained server information, and directly downloads the content/content fragment from the first storage server, specifically including the following steps. :
  • Step 701 The second content distribution node queries the tracking server for a download list of the specified content/content segment.
  • Step 702 The tracking server returns a download list including the first storage server to the second content distribution node.
  • the download list contains the address of the first storage server that can provide the content/content fragment; if the access of the first storage server requires authentication, it also needs to include the authentication information required to access the first storage server.
  • the download list may also contain other storage services that provide the content/content fragment.
  • the content distribution node may also include a content distribution node that can provide or may provide the content/content fragment.
  • Step 703 The second content distribution node requests the content/content segment from the first storage server.
  • Step 704 The first storage server returns the content/content fragment to the second content distribution node.
  • the second content distribution node obtains the first storage server information, and indirectly downloads the content/content fragment from the first storage server via the second storage server. Specifically, the following steps are included:
  • Step 801 The second content distribution node queries the tracking server for a download list of the specified content/content segment.
  • Step 802 The tracking server returns a download list including the first storage server to the second content distribution node.
  • the download list contains the address of the first storage server that can provide the content/content fragment; if the access of the first storage server requires authentication, it also needs to include the authentication information required to access the first storage server.
  • the download list may also contain other storage servers that provide the content/content snippets, and may also include content distribution nodes that provide or may provide the content/content snippets.
  • Step 803 The second content distribution node requests the second storage server to download the content/content fragment from the first storage server.
  • the second content distribution node needs to predict the address of the second storage server; if accessing the second storage server requires authentication, the second content distribution node also needs to predict the authentication information required to access the second storage server.
  • the second storage server is typically provided by the storage server provider for use by the second content distribution node, typically the second storage server is off the second content distribution node network than the first storage server The distance is close.
  • the second content distribution node provides the address of the first storage server to the second storage server; if the access of the first storage server requires authentication, it should also include the authentication information required to access the first storage server. .
  • Step 804 The second storage server requests the content/content segment from the first storage server.
  • Step 805 The first storage server returns the content/content fragment to the second storage server.
  • Step 806 The second storage server stores the content/content segment.
  • the content/content fragment stored by the second storage server can be provided to a plurality of content distribution nodes including the first content distribution node.
  • Step 807 The second storage server returns the content/content fragment to the second content distribution node.
  • Step 808 The second content distribution node reports the address of the second storage server to the tracking server, and reports the content/content fragment owned by the second storage server.
  • the second content distribution node may also report to the tracking server the authentication information required to access the second storage server.
  • Step 809 the tracking server records the second storage server address, and records the content/content fragment owned by the second storage server.
  • the tracking server may also record the authentication information required to access the second storage server.
  • Step 810 The tracking server returns a report success response to the second content distribution node.
  • Steps 808-810 are optional steps by which the tracking server learns that the second storage server stores the content/content fragment.
  • the second content distribution node is the party that wants to obtain the content/content fragment
  • the first content distribution node is the content/content fragment side required to have the second content distribution node.
  • the technical solution described in this specific embodiment is also applicable to other nodes in the P2P content distribution system that are in the same position.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a Peer to Peer (P2P) content distribution method and system. The method includes; a track server records the address of a content distribution node having content/a content fragment or participating in the distribution of content/a content fragment, and records the address of a storage server where the content/content fragment is stored; a second content distribution node queries a list of nodes having the specified content/content fragment or participating in the distribution of the specified content/content fragment from the track server, the track server returns a list of corresponding nodes to the second content distribution node, with the list of nodes at least including the address of a first storage server where the first content distribution node uploads the content/content fragment; the second content distribution node directly downloads the specified content/content fragment from the first storage server in the list of nodes, or downloads the same from the first storage server in the list of nodes via the second storage server. According to the present invention, the storage server can be fully utilized to reduce the traffic and improve the quality of service.

Description

一种 P2P内容分发的方法和系统 技术领域  Method and system for P2P content distribution
本发明涉及内容分发技术, 尤其涉及一种点对点 (P2P, Peer to Peer ) 内容分发的方法和系统。 背景技术  The present invention relates to content distribution technologies, and in particular, to a peer-to-peer (P2P, Peer to Peer) content distribution method and system. Background technique
P2P内容分发系统的基本架构由跟踪服务器(tracker )和内容分发节点 ( peer )组成, tracker也称为定位服务器; 其中, peer是对等节点, 通常全 部或大多数 peer是用户节点, tracker是管理 peer和进行 peer定位的服务器。 常见的 P2P内容分发系统有 BT( BitTorrent )、 PPLive等采用私有协议的 P2P 系统。 目前, P2P内容分发的标准协议有互联网工程任务组( IETF , Internet Engineering Task Force )正在标准化的 P2P流媒体协议 ( PPSP, Peer to Peer Streaming Protocol )。  The basic architecture of the P2P content distribution system consists of a tracker and a content distribution node. The tracker is also called a location server. The peer is a peer node. Usually all or most peers are user nodes. The tracker is managed. Peer and server for peer positioning. Common P2P content distribution systems include P2P systems using proprietary protocols such as BT (BitTorrent) and PPLive. Currently, the standard protocol for P2P content distribution is the P2P Peer to Peer Streaming Protocol (PPSP), which is being standardized by the Internet Engineering Task Force (IETF).
P2P内容分发流量占据了互联网很大比例的流量,其大流量带来了网络 拥塞问题, 网络拥塞影响用户 P2P 内容分发业务和其他业务, 用户上行带 宽的有限也限制了 P2P 内容分发的服务质量。 P2P 内容分发结合存储服务 器可以很好的解决上述问题。 通常这样的存储服务器由第三方 (通常是网 络运营商)提供, 也被称为 P2P緩存(P2P cache )。 P2P内容分发结合存储 服务器有两种方式, 一种是主动存储方式, 存储服务器支持 P2P协议, 主 动参与内容分发; 另一种是被动存储方式, P2P 内容分发系统利用不支持 P2P协议的存储服务器存储和转发内容, 这类存储服务器的代表有 IETF的 应用无关的数据中继( DECADE , Decoupled Application Data Enroute )工作 组正在标准化的 DECADE服务器。 其中, 被动存储方式不需要存储服务器 支持多种 P2P协议, 不需要存储服务器随着 P2P协议变化而修改。 如图 1所示, 采用被动存储方式的利用存储服务器的 P2P内容分发系 统, 包括内容分发节点 (peer )、 跟踪服务器(tracker ), 不支持 P2P协议的 存储服务器。 其中, 内容分发节点用于上传和 /或下载内容; 跟踪服务器记 录参与内容分发的 peer地址, 还可以记录每个 peer拥有哪些内容片断; 存 储服务器为 P2P内容分发系统存储和分发内容。 以图 1所示的系统架构为 例, 被动存储方式下的内容分发操作包括: P2P content distribution traffic accounts for a large proportion of Internet traffic, and its large traffic brings network congestion. Network congestion affects users' P2P content distribution services and other services. The limited uplink bandwidth of users also limits the quality of P2P content distribution. P2P content distribution combined with the storage server can solve the above problems. Usually such a storage server is provided by a third party (usually a network operator), also known as a P2P cache. P2P content distribution combined with storage server has two ways, one is active storage mode, the storage server supports P2P protocol, and actively participates in content distribution; the other is passive storage mode, and the P2P content distribution system uses storage server storage that does not support P2P protocol. And forwarding content, such storage server representatives have IETF's application-independent data relay (DECADE, Decoupled Application Data Enroute) working group is standardizing the DECADE server. The passive storage mode does not require the storage server to support multiple P2P protocols, and does not require the storage server to be modified as the P2P protocol changes. As shown in FIG. 1, a P2P content distribution system using a storage server using a passive storage method includes a content distribution node (peer), a tracking server (tracker), and a storage server that does not support the P2P protocol. The content distribution node is used to upload and/or download content; the tracking server records the peer address participating in the content distribution, and can also record which content segments each peer owns; the storage server stores and distributes the content for the P2P content distribution system. Taking the system architecture shown in FIG. 1 as an example, the content distribution operation in the passive storage mode includes:
51、 内容分发节点 C通过跟踪服务器加入某内容的分发群, 并向跟踪 服务器汇报其所拥有的内容 /内容片断;  51. The content distribution node C joins the distribution group of the content by the tracking server, and reports the content/content fragment owned by the tracking server to the tracking server;
52、 内容分发节点 B通过跟踪服务器加入某内容的分发群, 并向跟踪 服务器汇报其所拥有的内容 /内容片断;  52. The content distribution node B joins the distribution group of the content by the tracking server, and reports the content/content fragment owned by the tracking server to the tracking server;
53、 内容分发节点 B向其所连接的存储服务器上传其所拥有的内容 /内 容片断;  53. The content distribution node B uploads the content/content fragments it owns to the storage server to which it is connected;
54、 内容分发节点 A 向跟踪服务器查询可下载内容 /内容片断的 peer 列表;  54. The content distribution node A queries the tracking server for a peer list of downloadable content/content fragments;
55、跟踪服务器向内容分发节点 A返回 peer列表, 该 peer列表中包含 可下载的内容 /内容片断信息及其对应的 peer地址;  55. The tracking server returns a peer list to the content distribution node A, where the peer list includes downloadable content/content fragment information and its corresponding peer address;
S6、 内容分发节点 A向内容分发节点 C请求内容 /内容片断;  S6. The content distribution node A requests content/content fragments from the content distribution node C;
S7、 内容分发节点 C向内容分发节点 A返回内容 /内容片断;  S7. The content distribution node C returns the content/content fragment to the content distribution node A;
S8、 内容分发节点 A向内容分发节点 B请求内容 /内容片断;  S8. The content distribution node A requests the content distribution content B to the content distribution node B;
S9、 内容分发节点 B向内容分发节点 A返回存储服务器信息(包括存 储服务器的地址、 鉴权信息等);  S9, the content distribution node B returns storage server information (including the address of the storage server, authentication information, etc.) to the content distribution node A;
S10、 内容分发节点 A向内容分发节点 B上传内容 /内容片断的存储服 务器请求内容 /内容片断;  S10. The content distribution node A uploads the content/content fragment storage server request content/content fragment to the content distribution node B;
S11、 该存储服务器向内容分发节点 A返回内容 /内容片断。  S11. The storage server returns a content/content fragment to the content distribution node A.
采用 P2P 内容分发结合存储服务器的方式, 使得用户从存储服务器下 载内容的速度快、 时延小, 可以获得好的服务质量; 而且存储服务器的同 一内容可供多次下载, 从而减少了用户上载内容的流量。 然而, 采用被动 存储方式的现有技术中, 存储服务器的信息传递慢, 不能充分利用存储服 务器。 如图 1所示, 内容分发节点 (peer )在不知哪些 peer拥有存储服务 器的情况下向其他 peer请求内容, 若被请求的 peer没有为其服务的存储服 务器, 则只能从被请求的 peer获取内容, 而不能从其他对端 peer的存储服 务器获取内容, 这不利于提高服务质量, 这也不利于减少被请求 peer的上 传流量。 由此可以看出, 现有技术无法充分利用存储服务器来减少流量和 提高服务质量。 发明内容 Adopt P2P content distribution combined with storage server to make users from the storage server The content is fast, the delay is small, and good service quality can be obtained; and the same content of the storage server can be downloaded multiple times, thereby reducing the traffic of the user uploading content. However, in the prior art adopting the passive storage method, the information transfer of the storage server is slow, and the storage server cannot be fully utilized. As shown in Figure 1, the content distribution node (peer) requests content from other peers without knowing which peers own the storage server. If the requested peer does not have a storage server for the peer, it can only obtain from the requested peer. Content, but can not get content from the storage server of other peer peers, which is not conducive to improving the quality of service, which is also not conducive to reducing the upload traffic of the requested peer. It can be seen that the prior art cannot fully utilize the storage server to reduce traffic and improve service quality. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种 P2P 内容分发的方法和系 统, 以充分利用存储服务器来减少流量和提高服务质量。  In view of this, the main object of the present invention is to provide a method and system for P2P content distribution to fully utilize a storage server to reduce traffic and improve service quality.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供了一种 P2P内容分发的方法, 该方法包括:  The present invention provides a method for P2P content distribution, the method comprising:
跟踪服务器记录拥有内容 /内容片断、或参与内容 /内容片断分发的内容 分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器地址;  The tracking server records the address of the distribution node having the content/content fragment or the content/content fragment distribution, and records the storage server address where the content/content fragment is located;
第二内容分发节点向所述跟踪服务器查询拥有指定内容 /内容片断、 或 参与指定内容 /内容片断分发的节点列表, 所述跟踪服务器向第二内容分发 节点返回相应节点列表, 所述节点列表中至少包含第一内容分发节点上传 内容 /内容片断的第一存储服务器的地址;  The second content distribution node queries the tracking server for a list of nodes that own the specified content/content segment, or participates in the specified content/content segment distribution, and the tracking server returns a corresponding node list to the second content distribution node, in the node list At least an address of the first storage server that the first content distribution node uploads the content/content fragment;
第二内容分发节点直接从所述节点列表中的第一存储服务器下载所述 指定内容 /内容片断, 或者间接经由第二存储服务器从所述节点列表中的第 一存储服务器下载所述指定内容 /内容片断。  The second content distribution node downloads the specified content/content fragment directly from the first storage server in the node list, or indirectly downloads the specified content from the first storage server in the node list via the second storage server Content fragment.
所述跟踪服务器记录拥有内容 /内容片断、或参与内容 /内容片断分发的 内容分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为: The tracking server records an address of a content distribution node having a content/content fragment or participating in content/content fragment distribution, and records a storage server address where the content/content fragment is located, Specifically:
第一内容分发节点上传内容 /内容片断到第一存储服务器;  The first content distribution node uploads the content/content fragment to the first storage server;
第一存储服务器存储收到的内容 /内容片断;  The first storage server stores the received content/content fragment;
第一内容分发节点向跟踪服务器汇报第一存储服务器地址, 及其所拥 有的内容 /内容片断;  The first content distribution node reports the first storage server address to the tracking server, and the content/content fragments it possesses;
跟踪服务器记录第一存储服务器地址, 及其所拥有的内容 /内容片断。 所述跟踪服务器记录拥有内容 /内容片断、或参与内容 /内容片断分发的 内容分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为:  The tracking server records the first storage server address and the content/content fragments it owns. The tracking server records an address of the content distribution node that owns the content/content fragment or participates in the distribution of the content/content fragment, and records the storage server address where the content/content fragment is located, specifically:
跟踪服务器要求第一内容分发节点上传指定内容 /内容片断到第一存储 服务器;  The tracking server requests the first content distribution node to upload the specified content/content fragment to the first storage server;
第一内容分发节点上传指定内容 /内容片断到第一存储服务器; 第一存储服务器存储收到的内容 /内容片断;  The first content distribution node uploads the specified content/content fragment to the first storage server; the first storage server stores the received content/content fragment;
第一内容分发节点向跟踪服务器汇报指定的内容 /内容片断已成功上传 到第一存储服务器;  The first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server;
跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。  The tracking server records that the first storage server has the corresponding content/content fragment.
所述跟踪服务器记录拥有内容 /内容片断、或参与内容 /内容片断分发的 内容分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为:  The tracking server records an address of the content distribution node that owns the content/content fragment or participates in the distribution of the content/content fragment, and records the storage server address where the content/content fragment is located, specifically:
跟踪服务器要求第一存储服务器从第一内容分发节点获取指定内容 /内 容片断;  The tracking server requires the first storage server to obtain the specified content/content fragment from the first content distribution node;
第一存储服务器向第一内容分发节点请求相应的内容 /内容片断; 第一内容分发节点上传相应的内容 /内容片断到第一存储服务器; 第一存储服务器存储收到的内容 /内容片断, 向跟踪服务器汇报已成功 获取指定的内容 /内容片断; 跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。 The first storage server requests a corresponding content/content fragment from the first content distribution node; the first content distribution node uploads the corresponding content/content fragment to the first storage server; the first storage server stores the received content/content fragment, The tracking server reports that the specified content/content fragment has been successfully obtained; The tracking server records that the first storage server has the corresponding content/content fragment.
跟踪服务器向第二内容分发节点返回的所述节点列表中还包括拥有指 定内容 /内容片断、 或参与指定内容 /内容片断分发的内容分发节点的地址。  The list of nodes returned by the tracking server to the second content distribution node further includes an address of the content distribution node having the specified content/content fragment, or participating in the specified content/content fragment distribution.
本发明还提供了一种 P2P内容分发的系统, 该系统包括: 跟踪服务器、 第一内容分发节点、 第二内容分发节点、 第一存储服务器和第二存储服务 器, 其中,  The present invention also provides a system for P2P content distribution, the system comprising: a tracking server, a first content distribution node, a second content distribution node, a first storage server, and a second storage server, wherein
所述跟踪服务器, 用于记录拥有内容 /内容片断、 或参与内容 /内容片断 分发的内容分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器 地址; 还用于为内容分发节点提供查询服务;  The tracking server is configured to record an address of a content distribution node that owns content/content fragments, or participate in content/content fragment distribution, and records a storage server address where the content/content fragment is located; and is also used to provide a content distribution node Query service;
所述第二内容分发节点, 用于向所述跟踪服务器查询拥有指定内容 /内 容片断、 或参与指定内容 /内容片断分发的节点列表, 所述跟踪服务器返回 的相应列表中至少包含第一内容分发节点上传内容 /内容片断的第一存储服 务器的地址; 还用于直接从所述节点列表中的第一存储服务器下载所述指 定内容 /内容片断, 或者间接经由第二存储服务器从所述节点列表中的第一 存储服务器下载所述指定内容 /内容片断;  The second content distribution node is configured to query the tracking server for a node list that has a specified content/content segment, or participates in a specified content/content segment distribution, and the corresponding list returned by the tracking server includes at least a first content distribution. The node uploads the address of the first storage server of the content/content fragment; and is further configured to download the specified content/content fragment directly from the first storage server in the node list, or indirectly from the node list via the second storage server The first storage server in the downloading the specified content/content fragment;
所述第一内容分发节点, 用于上传其所拥有的内容 /内容片断到第一存 储服务器;  The first content distribution node is configured to upload a content/content fragment owned by the first content distribution server to the first storage server;
所述第一存储服务器, 用于为第二内容分发节点提供所述指定内容 /内 容片断的直接下载或间接下载服务;  The first storage server is configured to provide a second content distribution node with a direct download or an indirect download service of the specified content/content segment;
所述第二存储服务器, 用于在间接下载服务中, 将从第一存储服务器 下载的所述指定内容 /内容片断转发给所述第二内容分发节点。  The second storage server is configured to, in the indirect download service, forward the specified content/content segment downloaded from the first storage server to the second content distribution node.
所述第一内容分发节进一步用于, 在上传内容 /内容片断到第一存储服 务器后, 向跟踪服务器汇报第一存储服务器地址, 及其所拥有的内容 /内容 片断;  The first content distribution section is further configured to report the first storage server address and the content/content fragment owned by the tracking server to the tracking server after uploading the content/content fragment to the first storage server;
相应的, 跟踪服务器记录第一存储服务器地址, 及其所拥有的内容 /内 容片断。 Correspondingly, the tracking server records the first storage server address, and the content it owns/inside Rong pieces.
所述跟踪服务器进一步用于, 要求第一内容分发节点上传指定内容 /内 容片断到第一存储服务器;  The tracking server is further configured to: ask the first content distribution node to upload the specified content/content fragment to the first storage server;
相应的, 所述第一内容分发节点在上传内容 /内容片断到第一存储服务 器后, 向跟踪服务器汇报指定的内容 /内容片断已成功上传到第一存储服务 器; 跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。  Correspondingly, after uploading the content/content fragment to the first storage server, the first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server; the tracking server records that the first storage server owns The corresponding content/content fragment.
所述跟踪服务器进一步用于, 要求第一存储服务器从第一内容分发节 点获取指定内容 /内容片断;  The tracking server is further configured to: ask the first storage server to obtain the specified content/content segment from the first content distribution node;
相应的, 所述第一存储服务器在获取到指定内容 /内容片断并存储后, 向跟踪服务器汇报已成功获取指定的内容 /内容片断; 跟踪服务器记录第一 存储服务器拥有了相应的内容 /内容片断。  Correspondingly, after acquiring the specified content/content segment and storing the first storage server, reporting to the tracking server that the specified content/content segment has been successfully obtained; the tracking server records that the first storage server has the corresponding content/content segment .
跟踪服务器向第二内容分发节点返回的所述节点列表中还包括拥有指 定内容 /内容片断、 或参与指定内容 /内容片断分发的内容分发节点的地址。  The list of nodes returned by the tracking server to the second content distribution node further includes an address of the content distribution node having the specified content/content fragment, or participating in the specified content/content fragment distribution.
本发明所提供的一种 P2P 内容分发的方法和系统, 使得内容分发节点 能快速定位到拥有所需内容的存储服务器, 因此与现有利用存储服务器的 P2P内容分发方法和系统相比,本发明能够充分利用存储服务器,从而更好 地减少流量和提高服务质量。 附图说明  The present invention provides a method and system for P2P content distribution, so that a content distribution node can quickly locate a storage server having a desired content, and thus the present invention is compared with a P2P content distribution method and system using an existing storage server. Take advantage of storage servers to better reduce traffic and improve service quality. DRAWINGS
图 1为现有技术中利用存储服务器的 P2P内容分发系统的架构示意图; 图 2为本发明一种利用存储服务器的 P2P内容分发系统的架构示意图; 图 3为本发明一种 P2P内容分发的方法流程图;  1 is a schematic structural diagram of a P2P content distribution system using a storage server in the prior art; FIG. 2 is a schematic diagram of a P2P content distribution system using a storage server according to the present invention; FIG. 3 is a P2P content distribution method according to the present invention; Flow chart
图 4为本发明实施例中一种存储服务器获得内容 /内容片断、 以及跟踪 服务器记录存储服务器所获内容 /内容片断的流程图;  4 is a flowchart of obtaining a content/content fragment by a storage server and tracking a content/content fragment obtained by a storage server by the storage server according to an embodiment of the present invention;
图 5为本发明实施例中另一种存储服务器获得内容 /内容片断、 以及跟 踪服务器记录存储服务器所获内容 /内容片断的流程图; 图 6为本发明实施例中再一种存储服务器获得内容 /内容片断、 以及跟 踪服务器记录存储服务器所获内容 /内容片断的流程图; 5 is a flowchart of another storage server obtaining content/content fragments and tracking content and content fragments obtained by the storage server according to an embodiment of the present invention; FIG. 6 is a flowchart of still obtaining a content/content fragment by a storage server, and tracking a content/content fragment obtained by the storage server by the storage server according to an embodiment of the present invention; FIG.
图 7为本发明实施例中第二内容分发节点直接从第一存储服务器下载 内容 /内容片断的流程图;  7 is a flowchart of downloading content/content fragments directly from a first storage server by a second content distribution node according to an embodiment of the present invention;
图 8 为本发明实施例中第二内容分发节点间接从第一存储服务器下载 内容 /内容片断的流程图。 具体实施方式  Figure 8 is a flow diagram of a second content distribution node indirectly downloading content/content fragments from a first storage server in accordance with an embodiment of the present invention. detailed description
下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。 本发明中利用存储服务器的 P2P 内容分发系统包括: 至少一个跟踪服 务器(tracker ), 至少两个内容分发节点 (peer )、 至少一个存储服务器。  The technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings and specific embodiments. The P2P content distribution system utilizing the storage server in the present invention comprises: at least one tracking server, at least two content distribution nodes (peers), and at least one storage server.
其中, 跟踪服务器, 用于记录拥有或可能拥有内容 / ( "/" 表示或) 内 容片断的 peer地址, 记录内容 /内容片断所在的存储服务器地址; 跟踪服务 器还可以记录访问存储服务器所需的鉴权信息。 此外, 跟踪服务器还用于 供内容分发节点查询能提供或可能能提供内容 /内容片断的下载列表, 该列 表中至少包含能提供内容 /内容片断的存储服务器的地址。  The tracking server is configured to record a peer address that has or may have a content/("/" representation or) piece of content, and records a storage server address where the content/content fragment is located; the tracking server may also record a certificate required to access the storage server. Right information. In addition, the tracking server is also used by the content distribution node to query a download list that provides or may provide a content/content snippet containing at least the address of the storage server that can provide the content/content snippet.
内容分发节点, 用于上传和 /或下载内容; 一个内容分发节点可以只上 传内容, 或者只下载内容, 或者既上传内容又下载内容。 内容分发节点可 以上传内容 /内容片断到存储服务器, 也可以从存储服务器下载内容 /内容片 断; Peer间也可以直接传递内容 /内容片断。  A content distribution node for uploading and/or downloading content; a content distribution node can upload only content, or only download content, or both upload content and download content. The content distribution node can upload content/content fragments to the storage server, or download content/content fragments from the storage server; the content/content fragments can also be directly passed between the peers.
存储服务器, 用于供内容分发节点上传和下载内容, 存储服务器不支 持 P2P协议。  A storage server for uploading and downloading content for the content distribution node. The storage server does not support the P2P protocol.
存储服务器可以是存储服务提供者直接提供给内容分发节点使用的。 在这一情形下, 内容分发节点掌握其使用的存储服务器的信息 (包括存储 服务器的地址, 还可能包括如存储服务器的鉴权信息等其他信息), 并可将 存储服务器的信息提供给跟踪服务器和其他内容分发节点, 以便其他内容 分发节点访问其存储服务器。 The storage server can be provided directly to the content distribution node by the storage service provider. In this case, the content distribution node grasps the information of the storage server it uses (including the address of the storage server, and may also include other information such as the authentication information of the storage server), and can provide the information of the storage server to the tracking server. And other content distribution nodes for other content The distribution node accesses its storage server.
存储服务器也可以是存储服务提供者提供给内容分发应用提供者使 用, 再由内容分发应用提供者提供给内容分发节点使用。 在这一情形下, 跟踪服务器掌握其使用的存储服务器的信息 (包括存储服务器的地址, 还 可能包括如存储服务器的鉴权信息等其他信息 ), 并可将存储服务器的信息 提供给内容分发节点, 以便内容分发节点访问其存储服务器。 存储服务提 供者和内容分发应用提供者可以是一体的。  The storage server may also be provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider. In this case, the tracking server grasps the information of the storage server it uses (including the address of the storage server, and may also include other information such as the authentication information of the storage server), and can provide the information of the storage server to the content distribution node. , so that the content distribution node accesses its storage server. The storage service provider and the content distribution application provider can be integrated.
需要说明的是, 本发明中所述的下载列表中至少包含能提供内容 /内容 片断的存储服务器的地址; 若该存储服务器的访问需鉴权, 则还需包含访 问该存储服务器所需的鉴权信息。 另外, 所述的下载列表中还可以包含能 提供或可能能提供内容 /内容片断的内容分发节点的地址。 所谓可能能提供 内容 /内容片断的内容分发节点, 是指参与相应内容 /内容片断分发的内容分 发节点。 当所述的下载列表中既包含能提供内容 /内容片断的存储服务器的 地址,也包含能提供或可能能提供内容 /内容片断的内容分发节点的地址时, 要求下载的内容分发节点优先选择能提供内容 /内容片断的存储服务器请求 下载, 这样能够保证内容分发节点尽量从存储服务器上下载所需的内容 /内 容片断, 尽量减少直接从内容分发节点下载内容 /内容片断的操作, 从而更 加有利于充分利用存储服务器, 进而减少被请求内容分发节点的上传流量、 提高服务质量。  It should be noted that the download list described in the present invention includes at least an address of a storage server capable of providing a content/content fragment; if the access of the storage server requires authentication, it also needs to include a reference required to access the storage server. Right information. Additionally, the download list may also include an address of a content distribution node that can provide or may provide content/content segments. A content distribution node that may provide content/content fragments refers to a content distribution node that participates in the distribution of corresponding content/content fragments. When the download list includes both the address of the storage server that can provide the content/content fragment and the address of the content distribution node that can provide or may provide the content/content fragment, the content distribution node that requests the download preferentially selects The storage server that provides the content/content fragment requests downloading, which ensures that the content distribution node downloads the required content/content fragments from the storage server as much as possible, and minimizes the operation of downloading the content/content fragments directly from the content distribution node, thereby facilitating the operation. Make full use of the storage server, thereby reducing the upload traffic of the requested content distribution node and improving the quality of service.
另外, 对于所述下载列表中包含能提供内容 /内容片断的内容分发节点 的这一情况, 内容分发节点在本地存储的内容 /内容片断增减变化时, 需要 通知跟踪服务器, 跟踪服务器则记录下来;  In addition, in the case that the download list includes a content distribution node capable of providing content/content fragments, the content distribution node needs to notify the tracking server when the locally stored content/content fragment increases or decreases, and the tracking server records ;
对于所述下载列表中包含可能能提供内容 /内容片断的内容分发节点的 这一情况, 内容分发节点不需向跟踪服务器汇报本地存储了什么内容 /内容 片断, 只需向跟踪服务器汇报加入到某个内容 /内容片断的分发群中 (汇报 时可能有也可能没有该内容 /内容片断),内容分发节点只能从跟踪服务器获 得可能拥有该内容 /内容片断的下载列表。 通常情况下, 内容分发节点从跟 踪服务器获得可能拥有内容(可能完全无内容、 可能有部分内容、 也可能 有全部内容) 的下载列表, 内容分发节点从下载列表中选择内容分发节点 来询问对方拥有哪些内容片断后, 再请求自身所需且对方拥有的内容片断。 For the case where the download list contains a content distribution node that may provide a content/content fragment, the content distribution node does not need to report to the tracking server what content/content fragment is stored locally, and only needs to report to the tracking server to join the certain Distribution of content/content fragments (reporting) The content distribution node may or may not have the content/content snippet. The content distribution node can only obtain a download list from the tracking server that may have the content/content snippet. Typically, the content distribution node obtains a download list from the tracking server that may have content (may be completely free of content, may have partial content, or may have all content), and the content distribution node selects a content distribution node from the download list to ask the other party to own After the content is fragmented, request the content piece that you want and that the other party owns.
另外, 内容分发节点向某个存储服务器或内容分发节点请求的可以是 整个内容 /内容片断、 或者只是内容 /内容片断的一部分, 也就是说, 数据请 求的粒度小于或等于数据定位的粒度。  In addition, the content distribution node may request the entire content/content fragment, or just a part of the content/content fragment, to a certain storage server or content distribution node, that is, the granularity of the data request is less than or equal to the granularity of the data location.
本发明实施例所提供的一种利用存储服务器的 P2P内容分发系统架构, 如图 2所示, 该架构中包括: 跟踪服务器、 第一内容分发节点及其上传内 容 /内容片断的第一存储服务器、 第二内容分发节点、 第二存储服务器。 其 中, 以第二内容分发节点为欲获得内容 /内容片断的一方, 第一内容分发节 点为拥有第二内容分发节点所需内容 /内容片断一方, 但本领域技术人员应 当理解, 实际应用中的任何一个内容分发节点都可以既具备第一内容分发 节点的功能, 也具备第二内容分发节点的功能。 另外, 内容可以是电影、 音乐、 文本、 图片等; 内容片断是完整内容的一部分, 比如一部电影、 一 首歌曲的某一段。  A P2P content distribution system architecture using a storage server is provided in the embodiment of the present invention. As shown in FIG. 2, the architecture includes: a tracking server, a first content distribution node, and a first storage server for uploading content/content fragments. And a second content distribution node and a second storage server. Wherein, the second content distribution node is the party that wants to obtain the content/content fragment, and the first content distribution node is the content/content fragment side required by the second content distribution node, but those skilled in the art should understand that in practical applications Any one of the content distribution nodes may have both the function of the first content distribution node and the function of the second content distribution node. In addition, the content can be movies, music, text, pictures, etc.; a piece of content is part of a complete piece of content, such as a movie, a section of a song.
结合图 2所示的系统架构,利用存储服务器的 P2P内容分发方法如图 3 所示, 主要包括以下步驟:  Combined with the system architecture shown in FIG. 2, the P2P content distribution method using the storage server is as shown in FIG. 3, and mainly includes the following steps:
步驟 301 , 跟踪服务器记录拥有内容 /内容片断、 或参与内容 /内容片断 分发的内容分发节点的地址,并记录内容 /内容片断所在的存储服务器地址。  Step 301: The tracking server records the address of the content distribution node that owns the content/content fragment, or participates in the content/content fragment distribution, and records the storage server address where the content/content fragment is located.
步驟 302 , 第二内容分发节点向跟踪服务器查询拥有指定内容 /内容片 断、 或参与指定内容 /内容片断分发的节点列表, 跟踪服务器向第二内容分 发节点返回相应节点列表, 所述节点列表中至少包含第一内容分发节点上 传内容 /内容片断的第一存储服务器的地址。 步驟 303 ,第二内容分发节点直接从节点列表中的第一存储服务器下载 指定内容 /内容片断, 或者间接经由第二存储服务器从节点列表中的第一存 储服务器下载指定内容 /内容片断。 关于直接下载或间接下载的具体操作, 将在后续的实施例中进行详细说明。 Step 302: The second content distribution node queries the tracking server for the node list that owns the specified content/content segment, or participates in the specified content/content segment distribution, and the tracking server returns a corresponding node list to the second content distribution node, where the node list is at least The address of the first storage server containing the content/content fragment uploaded by the first content distribution node. Step 303: The second content distribution node directly downloads the specified content/content segment from the first storage server in the node list, or indirectly downloads the specified content/content segment from the first storage server in the node list via the second storage server. Specific operations regarding direct download or indirect download will be described in detail in the following embodiments.
本发明实施例所提供的一种利用存储服务器的 Ρ2Ρ内容分发系统架构, 如图 2所示, 该架构中包括: 跟踪服务器、 第一内容分发节点及其上传内 容 /内容片断的第一存储服务器、 第二内容分发节点、 第二存储服务器。 其 中, 以第二内容分发节点为欲获得内容 /内容片断的一方, 第一内容分发节 点为拥有第二内容分发节点所需内容 /内容片断一方, 但本领域技术人员应 当理解, 实际应用中的任何一个内容分发节点都可以既具备第一内容分发 节点的功能, 也具备第二内容分发节点的功能。 另外, 内容可以是电影、 音乐、 文本、 图片等; 内容片断是完整内容的一部分, 比如一部电影、 一 首歌曲的某一段。 如图 4所示, 为本发明实施例中一种存储服务器获得内容 /内容片断、 以及跟踪服务器记录存储服务器所获内容 /内容片断的流程, 主要包括以下 步驟:  An embodiment of the present invention provides a storage system architecture using a storage server. As shown in FIG. 2, the architecture includes: a tracking server, a first content distribution node, and a first storage server for uploading content/content fragments. And a second content distribution node and a second storage server. Wherein, the second content distribution node is the party that wants to obtain the content/content fragment, and the first content distribution node is the content/content fragment side required by the second content distribution node, but those skilled in the art should understand that in practical applications Any one of the content distribution nodes may have both the function of the first content distribution node and the function of the second content distribution node. In addition, the content can be movies, music, text, pictures, etc.; a piece of content is part of a complete piece of content, such as a movie, a section of a song. As shown in FIG. 4, in a embodiment of the present invention, a storage server obtains a content/content fragment and a process of tracking a server to record a content/content fragment obtained by the storage server, which mainly includes the following steps:
步驟 401 , 第一内容分发节点上传内容 /内容片断到第一存储服务器。 该上传是由第一内容分发节点自主决定的。 在这一情形下, 一般第一 存储服务器是存储服务提供者提供给第一内容分发节点使用的, 第一内容 分发节点拥有第一存储服务器的信息 (包括第一存储服务器的地址, 还可 能包括如第一存储服务器的鉴权信息等其他信息)。  Step 401: The first content distribution node uploads the content/content fragment to the first storage server. The upload is determined autonomously by the first content distribution node. In this case, the first storage server is generally provided by the storage service provider for use by the first content distribution node, and the first content distribution node has information of the first storage server (including the address of the first storage server, and may also include Other information such as authentication information of the first storage server).
步驟 402, 第一存储服务器存储收到的内容 /内容片断。  Step 402: The first storage server stores the received content/content fragment.
步驟 403 , 第一存储服务器向第一内容分发节点返回上传成功响应。 步驟 404, 第一内容分发节点向跟踪服务器汇报第一存储服务器地址, 并汇报第一存储服务器所拥有的内容 /内容片断。 Step 403: The first storage server returns an upload success response to the first content distribution node. Step 404: The first content distribution node reports the first storage server address to the tracking server. And report the content/content fragment owned by the first storage server.
第一内容分发节点还可能向跟踪服务器汇报访问第一存储服务器所需 的鉴权信息。  The first content distribution node may also report to the tracking server the authentication information required to access the first storage server.
步驟 405 , 跟踪服务器记录第一存储服务器地址, 并记录存储服务器所 拥有的内容 /内容片断。  Step 405: The tracking server records the first storage server address, and records the content/content fragment owned by the storage server.
跟踪服务器还可能记录访问第一存储服务器所需的鉴权信息。  The tracking server may also record the authentication information required to access the first storage server.
步驟 406 , 跟踪服务器向第一内容分发节点返回汇报成功响应。  Step 406: The tracking server returns a report success response to the first content distribution node.
如图 5所示,为本发明实施例中另一种存储服务器获得内容 /内容片断、 以及跟踪服务器记录存储服务器所获内容 /内容片断的流程, 主要包括以下 步驟:  As shown in FIG. 5, in another embodiment of the present invention, another storage server obtains a content/content fragment, and a tracking server records the content/content fragment obtained by the storage server, which mainly includes the following steps:
步驟 501 , 跟踪服务器要求第一内容分发节点上传指定内容 /内容片断 到第一存储服务器。  Step 501: The tracking server requests the first content distribution node to upload the specified content/content fragment to the first storage server.
内容 /内容片断上传是由跟踪服务器决定的。 在这一情形下, 一般存储 服务器是由存储服务提供者提供给内容分发应用提供者使用, 再由内容分 发应用提供者提供给内容分发节点使用。  The content/content fragment upload is determined by the tracking server. In this case, the general storage server is provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider.
步驟 502 , 第一内容分发节点上传内容 /内容片断到第一存储服务器。 步驟 503 , 第一存储服务器存储收到的内容 /内容片断。  Step 502: The first content distribution node uploads the content/content fragment to the first storage server. Step 503: The first storage server stores the received content/content fragment.
步驟 504 , 第一存储服务器向第一内容分发节点返回上传成功响应。 步驟 505 , 第一内容分发节点向跟踪服务器汇报指定的内容 /内容片断 已成功上传到第一存储服务器。  Step 504: The first storage server returns an upload success response to the first content distribution node. Step 505: The first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server.
步驟 506 , 跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片 断。  Step 506: The tracking server records that the first storage server has a corresponding content/content fragment.
如图 6所示,为本发明实施例中再一种存储服务器获得内容 /内容片断、 以及跟踪服务器记录存储服务器所获内容 /内容片断的流程, 主要包括以下 步驟: 步驟 601 ,跟踪服务器要求第一存储服务器从第一内容分发节点获取指 定内容 /内容片断。 As shown in FIG. 6, in another embodiment of the present invention, a storage server obtains a content/content fragment, and a tracking server records a content/content fragment obtained by the storage server, and the method includes the following steps: Step 601: The tracking server requests the first storage server to acquire the specified content/content segment from the first content distribution node.
内容 /内容片断获取是由跟踪服务器决定的。 在这一情形下, 一般存储 服务器是由存储服务提供者提供给内容分发应用提供者使用, 再由内容分 发应用提供者提供给内容分发节点使用。  Content/content fragment acquisition is determined by the tracking server. In this case, the general storage server is provided by the storage service provider to the content distribution application provider and then provided to the content distribution node by the content distribution application provider.
步驟 602 , 第一存储服务器向第一内容分发节点请求相应的内容 /内容 片断。  Step 602: The first storage server requests a corresponding content/content fragment from the first content distribution node.
步驟 603 , 第一内容分发节点上传相应的内容 /内容片断到第一存储服 务器。  Step 603: The first content distribution node uploads the corresponding content/content fragment to the first storage server.
步驟 604, 第一存储服务器存储收到的内容 /内容片断。  Step 604, the first storage server stores the received content/content fragment.
步驟 605 , 第一存储服务器向跟踪服务器汇报已成功获取指定的内容 / 内容片断。  Step 605: The first storage server reports to the tracking server that the specified content/content fragment has been successfully obtained.
步驟 606, 跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片 断。  Step 606: The tracking server records that the first storage server has a corresponding content/content fragment.
如图 7所示, 在图 3所示的 P2P内容分发流程中, 第二内容分发节点 获得第一存储获服务器信息, 并直接从第一存储服务器下载内容 /内容片断 的流程, 具体包括以下步驟:  As shown in FIG. 7, in the P2P content distribution process shown in FIG. 3, the second content distribution node obtains the first storage obtained server information, and directly downloads the content/content fragment from the first storage server, specifically including the following steps. :
步驟 701 , 第二内容分发节点向跟踪服务器查询指定内容 /内容片断的 下载列表。  Step 701: The second content distribution node queries the tracking server for a download list of the specified content/content segment.
步驟 702 ,跟踪服务器向第二内容分发节点返回包含第一存储服务器的 下载列表。  Step 702: The tracking server returns a download list including the first storage server to the second content distribution node.
下载列表中包含能提供该内容 /内容片断的第一存储服务器的地址; 若 第一存储服务器的访问需鉴权, 则还需包含访问第一存储服务器所需的鉴 权信息。  The download list contains the address of the first storage server that can provide the content/content fragment; if the access of the first storage server requires authentication, it also needs to include the authentication information required to access the first storage server.
另外, 下载列表中还可能包含其他能提供该内容 /内容片断的存储服务 器, 还可以包含能提供或可能能提供该内容 /内容片断的内容分发节点。 步驟 703 , 第二内容分发节点向第一存储服务器请求该内容 /内容片断。 步驟 704 , 第一存储服务器向第二内容分发节点返回该内容 /内容片断。 如图 8所示, 在图 3所示的 P2P内容分发流程中, 第二内容分发节点 获得第一存储服务器信息, 并间接经由第二存储服务器从第一存储服务器 下载内容 /内容片断的流程, 具体包括以下步驟: In addition, the download list may also contain other storage services that provide the content/content fragment. The content distribution node may also include a content distribution node that can provide or may provide the content/content fragment. Step 703: The second content distribution node requests the content/content segment from the first storage server. Step 704: The first storage server returns the content/content fragment to the second content distribution node. As shown in FIG. 8, in the P2P content distribution process shown in FIG. 3, the second content distribution node obtains the first storage server information, and indirectly downloads the content/content fragment from the first storage server via the second storage server. Specifically, the following steps are included:
步驟 801 , 第二内容分发节点向跟踪服务器查询指定内容 /内容片断的 下载列表。  Step 801: The second content distribution node queries the tracking server for a download list of the specified content/content segment.
步驟 802 ,跟踪服务器向第二内容分发节点返回包含第一存储服务器的 下载列表。  Step 802: The tracking server returns a download list including the first storage server to the second content distribution node.
下载列表中包含能提供该内容 /内容片断的第一存储服务器的地址; 若 第一存储服务器的访问需鉴权, 则还需包含访问第一存储服务器所需的鉴 权信息。  The download list contains the address of the first storage server that can provide the content/content fragment; if the access of the first storage server requires authentication, it also needs to include the authentication information required to access the first storage server.
另外, 下载列表中还可能包含其他能提供该内容 /内容片断的存储服务 器, 还可以包含能提供或可能能提供该内容 /内容片断的内容分发节点。  In addition, the download list may also contain other storage servers that provide the content/content snippets, and may also include content distribution nodes that provide or may provide the content/content snippets.
步驟 803 ,第二内容分发节点请求第二存储服务器代为从第一存储服务 器下载该内容 /内容片断。  Step 803: The second content distribution node requests the second storage server to download the content/content fragment from the first storage server.
在该情形下, 第二内容分发节点需预知第二存储服务器的地址; 若访 问第二存储服务器需鉴权, 第二内容分发节点还需预知访问第二存储服务 器所需的鉴权信息。 在间接获取内容 /内容片断的这一场景下, 第二存储服 务器通常是存储服务器提供者提供给第二内容分发节点使用的, 通常第二 存储服务器比第一存储服务器离第二内容分发节点网络拓朴距离近。  In this case, the second content distribution node needs to predict the address of the second storage server; if accessing the second storage server requires authentication, the second content distribution node also needs to predict the authentication information required to access the second storage server. In the scenario of indirect acquisition of content/content fragments, the second storage server is typically provided by the storage server provider for use by the second content distribution node, typically the second storage server is off the second content distribution node network than the first storage server The distance is close.
在该请求消息中, 第二内容分发节点向第二存储服务器提供第一存储 服务器的地址; 若第一存储服务器的访问需鉴权, 则还应包含访问第一存 储服务器所需的鉴权信息。 步驟 804 , 第二存储服务器向第一存储服务器请求该内容 /内容片断。 步驟 805 , 第一存储服务器向第二存储服务器返回该内容 /内容片断。 步驟 806 , 第二存储服务器存储该内容 /内容片断。 In the request message, the second content distribution node provides the address of the first storage server to the second storage server; if the access of the first storage server requires authentication, it should also include the authentication information required to access the first storage server. . Step 804: The second storage server requests the content/content segment from the first storage server. Step 805: The first storage server returns the content/content fragment to the second storage server. Step 806: The second storage server stores the content/content segment.
第二存储服务器所存储的内容 /内容片断可提供给包括第一内容分发节 点在内的多个内容分发节点。  The content/content fragment stored by the second storage server can be provided to a plurality of content distribution nodes including the first content distribution node.
步驟 807 , 第二存储服务器向第二内容分发节点返回该内容 /内容片断。 步驟 808 , 第二内容分发节点向跟踪服务器汇报第二存储服务器的地 址, 并汇报第二存储服务器所拥有的内容 /内容片断。  Step 807: The second storage server returns the content/content fragment to the second content distribution node. Step 808: The second content distribution node reports the address of the second storage server to the tracking server, and reports the content/content fragment owned by the second storage server.
第二内容分发节点还可能向跟踪服务器汇报访问第二存储服务器所需 的鉴权信息。  The second content distribution node may also report to the tracking server the authentication information required to access the second storage server.
步驟 809 ,跟踪服务器记录第二存储服务器地址, 并记录第二存储服务 器所拥有的内容 /内容片断。  Step 809, the tracking server records the second storage server address, and records the content/content fragment owned by the second storage server.
跟踪服务器还可能记录访问第二存储服务器所需的鉴权信息。  The tracking server may also record the authentication information required to access the second storage server.
步驟 810 , 跟踪服务器向第二内容分发节点返回汇报成功响应。  Step 810: The tracking server returns a report success response to the second content distribution node.
需要说明的是, 本实施例在步驟 807完成后, 第二内容分发节点已获 得所请求的内容 /内容片断。 步驟 808-810是可选步驟, 通过这三个步驟, 跟踪服务器得知第二存储服务器存储了该内容 /内容片断。  It should be noted that, after the step 807 is completed, the second content distribution node has obtained the requested content/content fragment. Steps 808-810 are optional steps by which the tracking server learns that the second storage server stores the content/content fragment.
虽然在图 3至图 8所示的具体实施例中, 以第二内容分发节点为欲获 得内容 /内容片断的一方, 第一内容分发节点为拥有第二内容分发节点所需 内容 /内容片断一方为例进行说明, 但本领域技术人员应当理解, 该具体实 施例所述的技术方案也适用于 P2P 内容分发系统中处于同等地位的其他节 点。  Although in the specific embodiment shown in FIG. 3 to FIG. 8, the second content distribution node is the party that wants to obtain the content/content fragment, the first content distribution node is the content/content fragment side required to have the second content distribution node. For example, the person skilled in the art should understand that the technical solution described in this specific embodiment is also applicable to other nodes in the P2P content distribution system that are in the same position.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种点对点 P2P内容分发的方法, 该方法包括:  A method for point-to-point P2P content distribution, the method comprising:
跟踪服务器记录拥有内容 /内容片断、 或参与内容 /内容片断分发的内 容分发节点的地址, 并记录所述内容 /内容片断所在的存储服务器地址; 第二内容分发节点向所述跟踪服务器查询拥有指定内容 /内容片断、 或参与指定内容 /内容片断分发的节点列表, 所述跟踪服务器向第二内容 分发节点返回相应节点列表, 所述节点列表中至少包含第一内容分发节 点上传内容 /内容片断的第一存储服务器的地址;  The tracking server records an address of the content distribution node that owns the content/content piece, or participates in the distribution of the content/content piece, and records the storage server address where the content/content piece is located; the second content distribution node queries the tracking server for the ownership designation a content/content fragment, or a list of nodes participating in the distribution of the specified content/content fragment, the tracking server returning a corresponding node list to the second content distribution node, the node list including at least the content uploading content/content fragment of the first content distribution node The address of the first storage server;
第二内容分发节点直接从所述节点列表中的第一存储服务器下载所 述指定内容 /内容片断, 或者间接经由第二存储服务器从所述节点列表中 的第一存储服务器下载所述指定内容 /内容片断。  The second content distribution node downloads the specified content/content fragment directly from the first storage server in the node list, or indirectly downloads the specified content from the first storage server in the node list via the second storage server Content fragment.
2、 根据权利要求 1所述 P2P内容分发的方法, 其中, 所述跟踪服务 器记录拥有内容 /内容片断、 或参与内容 /内容片断分发的内容分发节点的 地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为:  2. The method of P2P content distribution according to claim 1, wherein the tracking server records an address of a content distribution piece that owns a content/content piece, or participates in content/content piece distribution, and records the content/content piece where Storage server address, specifically:
第一内容分发节点上传内容 /内容片断到第一存储服务器;  The first content distribution node uploads the content/content fragment to the first storage server;
第一存储服务器存储收到的内容 /内容片断;  The first storage server stores the received content/content fragment;
第一内容分发节点向跟踪服务器汇报第一存储服务器地址, 及其所 拥有的内容 /内容片断;  The first content distribution node reports the first storage server address to the tracking server, and the content/content fragment it owns;
跟踪服务器记录第一存储服务器地址,及其所拥有的内容 /内容片断。 The tracking server records the first storage server address and the content/content fragments it owns.
3、 根据权利要求 1所述 P2P内容分发的方法, 其中, 所述跟踪服务 器记录拥有内容 /内容片断、 或参与内容 /内容片断分发的内容分发节点的 地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为: 3. The method of P2P content distribution according to claim 1, wherein said tracking server records an address of a content distribution piece that owns content/content pieces, or participates in content/content piece distribution, and records the content/content piece where Storage server address, specifically:
跟踪服务器要求第一内容分发节点上传指定内容 /内容片断到第一存 储服务器;  The tracking server requests the first content distribution node to upload the specified content/content fragment to the first storage server;
第一内容分发节点上传指定内容 /内容片断到第一存储服务器; 第一存储服务器存储收到的内容 /内容片断; The first content distribution node uploads the specified content/content fragment to the first storage server; The first storage server stores the received content/content fragment;
第一内容分发节点向跟踪服务器汇报指定的内容 /内容片断已成功上 传到第一存储服务器;  The first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server;
跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。  The tracking server records that the first storage server has the corresponding content/content fragment.
4、 根据权利要求 1所述 P2P内容分发的方法, 其中, 所述跟踪服务 器记录拥有内容 /内容片断、 或参与内容 /内容片断分发的内容分发节点的 地址, 并记录所述内容 /内容片断所在的存储服务器地址, 具体为:  4. The method of P2P content distribution according to claim 1, wherein the tracking server records an address of a content distribution piece that owns a content/content piece, or participates in content/content piece distribution, and records the content/content piece where Storage server address, specifically:
跟踪服务器要求第一存储服务器从第一内容分发节点获取指定内容 / 内容片断;  The tracking server requests the first storage server to obtain the specified content/content fragment from the first content distribution node;
第一存储服务器向第一内容分发节点请求相应的内容 /内容片断; 第一内容分发节点上传相应的内容 /内容片断到第一存储服务器; 第一存储服务器存储收到的内容 /内容片断, 向跟踪服务器汇报已成 功获取指定的内容 /内容片断;  The first storage server requests a corresponding content/content fragment from the first content distribution node; the first content distribution node uploads the corresponding content/content fragment to the first storage server; the first storage server stores the received content/content fragment, The tracking server reports that the specified content/content fragment has been successfully obtained;
跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。  The tracking server records that the first storage server has the corresponding content/content fragment.
5、 根据权利要求 1至 4任一项所述 P2P内容分发的方法, 其中, 跟 踪服务器向第二内容分发节点返回的所述节点列表中还包括拥有指定内 容 /内容片断、 或参与指定内容 /内容片断分发的内容分发节点的地址。  The method for distributing P2P content according to any one of claims 1 to 4, wherein the node list returned by the tracking server to the second content distribution node further includes owning the specified content/content segment, or participating in the specified content/ The address of the content distribution node to which the content fragment is distributed.
6、 一种点对点 P2P内容分发的系统, 该系统包括: 跟踪服务器、 第 一内容分发节点、 第二内容分发节点、 第一存储服务器和第二存储服务 器, 其中,  A system for peer-to-peer P2P content distribution, the system comprising: a tracking server, a first content distribution node, a second content distribution node, a first storage server, and a second storage server, wherein
所述跟踪服务器, 用于记录拥有内容 /内容片断、 或参与内容 /内容片 断分发的内容分发节点的地址, 并记录所述内容 /内容片断所在的存储服 务器地址; 还用于为内容分发节点提供查询服务;  The tracking server is configured to record an address of a content distribution node that owns content/content fragments, or participate in content/content fragment distribution, and records a storage server address where the content/content fragment is located; and is also used to provide a content distribution node Query service;
所述第二内容分发节点, 用于向所述跟踪服务器查询拥有指定内容 / 内容片断、 或参与指定内容 /内容片断分发的节点列表, 所述跟踪服务器 返回的相应列表中至少包含第一内容分发节点上传内容 /内容片断的第一 存储服务器的地址; 还用于直接从所述节点列表中的第一存储服务器下 载所述指定内容 /内容片断, 或者间接经由第二存储服务器从所述节点列 表中的第一存储服务器下载所述指定内容 /内容片断; The second content distribution node is configured to query the tracking server for a node list that has a specified content/content segment, or participates in a specified content/content segment distribution, the tracking server Returning the corresponding list at least the address of the first storage server of the first content distribution node uploading content/content fragment; also for downloading the specified content/content fragment directly from the first storage server in the node list, or Downloading the specified content/content segment from the first storage server in the node list indirectly via the second storage server;
所述第一内容分发节点, 用于上传其所拥有的内容 /内容片断到第一 存储服务器;  The first content distribution node is configured to upload a content/content fragment owned by the first content distribution server to the first storage server;
所述第一存储服务器, 用于为第二内容分发节点提供所述指定内容 / 内容片断的直接下载或间接下载服务;  The first storage server is configured to provide a second content distribution node with a direct download or an indirect download service of the specified content/content segment;
所述第二存储服务器, 用于在间接下载服务中, 将从第一存储服务 器下载的所述指定内容 /内容片断转发给所述第二内容分发节点。  The second storage server is configured to, in the indirect download service, forward the specified content/content segment downloaded from the first storage server to the second content distribution node.
7、 根据权利要求 6所述 P2P内容分发的系统, 其中, 所述第一内容 分发节进一步用于, 在上传内容 /内容片断到第一存储服务器后, 向跟踪 服务器汇报第一存储服务器地址, 及其所拥有的内容 /内容片断;  The P2P content distribution system according to claim 6, wherein the first content distribution section is further configured to report the first storage server address to the tracking server after uploading the content/content fragment to the first storage server, And the content/content fragments it owns;
相应的, 跟踪服务器记录第一存储服务器地址, 及其所拥有的内容 / 内容片断。  Correspondingly, the tracking server records the first storage server address and the content/content fragments it owns.
8、 根据权利要求 6所述 P2P内容分发的系统, 其中, 所述跟踪服务 器进一步用于, 要求第一内容分发节点上传指定内容 /内容片断到第一存 储服务器;  The P2P content distribution system according to claim 6, wherein the tracking server is further configured to: ask the first content distribution node to upload the specified content/content fragment to the first storage server;
相应的, 所述第一内容分发节点在上传内容 /内容片断到第一存储服 务器后, 向跟踪服务器汇报指定的内容 /内容片断已成功上传到第一存储 服务器; 跟踪服务器记录第一存储服务器拥有了相应的内容 /内容片断。  Correspondingly, after uploading the content/content fragment to the first storage server, the first content distribution node reports to the tracking server that the specified content/content fragment has been successfully uploaded to the first storage server; the tracking server records that the first storage server owns The corresponding content/content fragment.
9、 根据权利要求 6所述 P2P内容分发的系统, 其中, 所述跟踪服务 器进一步用于, 要求第一存储服务器从第一内容分发节点获取指定内容 / 内容片断;  The P2P content distribution system according to claim 6, wherein the tracking server is further configured to: ask the first storage server to acquire the specified content/content segment from the first content distribution node;
相应的,所述第一存储服务器在获取到指定内容 /内容片断并存储后, 向跟踪服务器汇报已成功获取指定的内容 /内容片断; 跟踪服务器记录第 一存储服务器拥有了相应的内容 /内容片断。 Correspondingly, after the first storage server obtains the specified content/content fragment and stores it, Reporting to the tracking server that the specified content/content fragment has been successfully obtained; the tracking server records that the first storage server has the corresponding content/content fragment.
10、 根据权利要求 6至 9任一项所述 P2P内容分发的系统, 其中, 跟踪服务器向第二内容分发节点返回的所述节点列表中还包括拥有指定 内容 /内容片断、 或参与指定内容 /内容片断分发的内容分发节点的地址。  The P2P content distribution system according to any one of claims 6 to 9, wherein the tracking server returns the node list returned to the second content distribution node, further comprising owning the specified content/content segment, or participating in the specified content/ The address of the content distribution node to which the content fragment is distributed.
PCT/CN2012/070410 2011-02-28 2012-01-16 P2p content distribution method and system WO2012116582A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100485511A CN102651757A (en) 2011-02-28 2011-02-28 Method and system for distributing peer-to-peer (P2P) contents
CN201110048551.1 2011-02-28

Publications (1)

Publication Number Publication Date
WO2012116582A1 true WO2012116582A1 (en) 2012-09-07

Family

ID=46693651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/070410 WO2012116582A1 (en) 2011-02-28 2012-01-16 P2p content distribution method and system

Country Status (2)

Country Link
CN (1) CN102651757A (en)
WO (1) WO2012116582A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702135A (en) * 2013-12-17 2014-04-02 乐视网信息技术(北京)股份有限公司 Method and system for interaction of video distribution and medium resource system
CN108337277A (en) * 2017-01-19 2018-07-27 贵州白山云科技有限公司 A kind of method and system for downloading update file
CN108337276A (en) * 2017-01-19 2018-07-27 贵州白山云科技有限公司 A kind of document distribution method and system
CN108683726B (en) * 2018-05-11 2021-10-08 深圳市网心科技有限公司 Data transmission method, server, terminal, network system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355591A (en) * 2008-09-12 2009-01-28 中兴通讯股份有限公司 P2P network and scheduling method thereof
WO2009076251A2 (en) * 2007-12-13 2009-06-18 General Electric Company Accelerating peer-to-peer content distribution
CN101610162A (en) * 2008-06-16 2009-12-23 华为技术有限公司 A kind of method, system and equipment that content is provided based on reciprocity storage networking
CN101969462A (en) * 2010-09-30 2011-02-09 中国科学院国家天文台 Data publishing system and data publishing method
CN102065064A (en) * 2009-11-18 2011-05-18 中兴通讯股份有限公司 Peer-to-peer overlay network, method for storing service contents and method for downloading same
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2832014A1 (en) * 2001-11-08 2003-05-09 Thomson Licensing Sa INTER-USER COMMUNICATION MODULE AND METHOD AND CORRESPONDING PRODUCTS
DE102004023652A1 (en) * 2004-04-30 2005-11-24 Siemens Ag Data transmission method for enabling peer-to-peer data transmission between peer communications terminals uses a peer communications terminal to call up a data file
GB2440762B (en) * 2006-08-11 2011-11-02 Cachelogic Ltd Content distribution network
CN102170456A (en) * 2010-02-27 2011-08-31 华为技术有限公司 Method, device and system for acquiring content in PPN (peer-to-peer network)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009076251A2 (en) * 2007-12-13 2009-06-18 General Electric Company Accelerating peer-to-peer content distribution
CN101610162A (en) * 2008-06-16 2009-12-23 华为技术有限公司 A kind of method, system and equipment that content is provided based on reciprocity storage networking
CN101355591A (en) * 2008-09-12 2009-01-28 中兴通讯股份有限公司 P2P network and scheduling method thereof
CN102065064A (en) * 2009-11-18 2011-05-18 中兴通讯股份有限公司 Peer-to-peer overlay network, method for storing service contents and method for downloading same
CN102118323A (en) * 2010-01-04 2011-07-06 中兴通讯股份有限公司 Content delivery network server and content downloading method
CN101969462A (en) * 2010-09-30 2011-02-09 中国科学院国家天文台 Data publishing system and data publishing method

Also Published As

Publication number Publication date
CN102651757A (en) 2012-08-29

Similar Documents

Publication Publication Date Title
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
WO2021213184A1 (en) Distributed election-based end-to-end content distribution network system and distribution method
US7782866B1 (en) Virtual peer in a peer-to-peer network
US8554827B2 (en) Virtual peer for a content sharing system
US20110246608A1 (en) System, method and device for delivering streaming media
CN103581245B (en) A kind of method and system of content distributing network content distribution
JP2010522386A (en) Method, system, and node for P2P content sharing
JP4473942B2 (en) Content distribution apparatus, content distribution method, and content distribution program
WO2011140842A1 (en) Multimedia file distribution method and device
CN102833293A (en) Method for downloading resources in peer to server and peer (P2SP) network, and client
JP5847185B2 (en) Content sharing method and apparatus using group change information in content-centric network environment
CN103597471A (en) Methods and systems for caching data communications over computer networks
US8966107B2 (en) System and method of streaming data over a distributed infrastructure
WO2010127618A1 (en) System and method for implementing streaming media content service
WO2009152754A1 (en) Method, system and device for providing contents based on peer to peer network
WO2008025297A1 (en) A method for downloading files by adopting the p2p technique and a p2p downloading system
WO2010105505A1 (en) Method, user node and server for requesting position information of resource on network
JP2008217769A (en) System and method for providing high quality content through peer-to-peer networking
WO2008131653A1 (en) A system and method for realizing network subscribing store and a subscribe server
WO2011127800A1 (en) Node choice method, network device and system
WO2011000289A1 (en) Method, system and proxy node for peer-to-peer (p2p) streaming media data distribution
JP2002318720A (en) Contents delivery management system
WO2012022216A1 (en) Content delivery network and method for content delivery
US20140310375A1 (en) Network node apparatus for information-centric networking and operating method of the network node apparatus
US20090172180A1 (en) Apparatus And Method For Transmitting Streaming Services

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: 12752305

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: 12752305

Country of ref document: EP

Kind code of ref document: A1