WO2008025294A1 - A stream media live system, device and method of peer to peer connection - Google Patents

A stream media live system, device and method of peer to peer connection Download PDF

Info

Publication number
WO2008025294A1
WO2008025294A1 PCT/CN2007/070535 CN2007070535W WO2008025294A1 WO 2008025294 A1 WO2008025294 A1 WO 2008025294A1 CN 2007070535 W CN2007070535 W CN 2007070535W WO 2008025294 A1 WO2008025294 A1 WO 2008025294A1
Authority
WO
WIPO (PCT)
Prior art keywords
peer
streaming media
client
program
super seed
Prior art date
Application number
PCT/CN2007/070535
Other languages
French (fr)
Chinese (zh)
Inventor
Bin Fang
Bo Wu
Shili Lin
Haibo Wang
Yang Song
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2008025294A1 publication Critical patent/WO2008025294A1/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
    • 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
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • H04L67/1063Discovery through centralising entities
    • 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
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1076Resource dissemination mechanisms or network resource keeping policies for optimal resource availability in the overlay network
    • 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
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • 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
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1091Interfacing with client-server systems or between P2P systems
    • 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
    • H04L67/1087Peer-to-peer [P2P] networks using cross-functional networking aspects
    • H04L67/1093Some peer nodes performing special functions

Definitions

  • the present invention relates to streaming media technologies, and in particular, to a peer-to-peer connected streaming media live broadcast system, apparatus and method. Background of the invention
  • each client terminal is both a client and a server. Taking a shared download file as an example, each user terminal downloading the same file only needs to download a fragment of the file, and then each user exchanges clips with each other, and finally each user can get the complete file.
  • the P2P streaming media live broadcast service is a live broadcast service based on the Internet using P2P mode. It is generally used to implement streaming video programs on the network, such as watching TV and listening to music.
  • the P2P streaming media live tool has been widely used and recognized on the Internet.
  • the P2P streaming media broadcasts the data sharing between users, which reduces the load on the service provider and saves the cost of providing services.
  • the P2P streaming media live broadcast service has good user participation and becomes a direction for future development.
  • a collecting device generally generates streaming media data; and an index server (P2P Server) is configured to store information of each collecting device, and a client that requests viewing at a recent time. information.
  • P2P Server index server
  • the collecting device distributes the streaming media data to some users in the system, and then the users in the P2P streaming media live broadcast system interact with each other to download streaming media data required for viewing the program from other users.
  • the specific process is: the collecting device collects streaming media data from various input devices, and segments the streaming media data, and then publishes the information that owns the streaming media data to the index server; the client requests the viewing server to watch the program, from the index server Obtaining the collection device information of the provided program and other client information for watching the same program; the client connects to the collection device or other client, requests them to download the fragmented streaming media data; and the collection device according to a certain strategy, the fragmented stream
  • the media data is sent to the client; the client can also download the streaming media data fragments that are needed by other clients that serve the same program, so that the client also performs streaming data interaction.
  • the current P2P streaming media live broadcast system has many drawbacks. First, since the client downloads the required streaming media data from the collection device and other clients, and the above device is not dedicated to downloading the service device, the download service capability is not strong, which limits the download speed of the information.
  • the geographic location of the client is different.
  • the collection device and the client may not belong to the same network operator, so the network connection between them may be poor, and the network bandwidth is limited.
  • Distributing streaming media data directly from the collection device to some clients may result in inefficient distribution and affect the use of streaming media programs by the client. For example, when watching TV programs using streaming media, there may be pauses in the picture, only sound or It is impossible to watch at all. This situation also makes streaming media data unable to use high-speed network transmission, and long-term occupation of low-speed network bandwidth, resulting in low network transmission efficiency, wasting high-speed network resources, and degrading network performance.
  • the embodiment of the invention provides a peer-to-peer connection streaming media live broadcast system, which can speed up the distribution process of streaming media data on the network, so that the streaming media live program can obtain a smoother viewing effect.
  • the embodiment of the invention further provides a peer-to-peer connected streaming media live broadcast device, which can speed up the distribution process of the streaming media data on the network, so that the streaming media live broadcast program can obtain a smoother enjoyment effect.
  • the embodiment of the present invention also proposes a peer-to-peer connection streaming media live broadcast method, which can speed up the distribution process of streaming media data on the network, so that the streaming media live program can obtain a smoother viewing effect.
  • a peer-to-peer connection streaming media live broadcast system comprising an acquisition server, an index server, and at least one client, wherein the system further comprises at least one super seed node, the super seed node having a stronger download than the client Service capability for obtaining streaming media data from an acquisition server and/or other super seed nodes;
  • An indexing server configured to return, to the client, a super seed node that serves the program and/or another client that downloads the same program according to the network information of the client that initiates the download of the program request;
  • the client is configured to request the index server to download the program, and download the streaming media data corresponding to the program from the super seed node and/or other client returned by the index server.
  • a peer-to-peer connection streaming media live broadcast method comprising:
  • a super seed node having a stronger download service capability than the client obtains streaming media data from the collection server and/or other super seed nodes;
  • the client requests the index server to download the program, and the index server returns the super seed node serving the program and/or other clients downloading the same program to the client according to the network information of the client that initiated the request;
  • the client downloads streaming media data corresponding to the program from the super seed node and/or other client returned from the index server.
  • a peer-to-peer connected streaming media live broadcast device which has a stronger download service capability than a client, the device comprising:
  • a download request initiating unit configured to initiate a download program request to the index server, and receive an acquisition server related to the program returned by the index server and other peer-to-peer connected streaming media live devices that are downloading the program;
  • a streaming media data obtaining unit configured to acquire streaming media data corresponding to the downloading program from the collection server associated with the program and other peer-to-peer connected streaming media live broadcast devices that are downloading the program;
  • a streaming media data providing unit configured to provide streaming media data corresponding to the program to a client and/or other peer-to-peer connected streaming media live broadcast device that initiates a download request for the program.
  • the central distribution network formed by the super seed node distributes the streaming media data to the user, which solves the problem caused by the collection device and the client in different network operators and different regions under the existing network conditions. The problem of low efficiency in distributing streaming media data.
  • FIG. 1 is a schematic diagram of a prior art peer-to-peer connected streaming media live broadcast system
  • FIG. 2 is a schematic diagram of a peer-to-peer connected streaming media live broadcast system according to a first embodiment of the present invention
  • FIG. 3 is a flowchart of obtaining streaming media data by a distribution network composed of super seed nodes in the first embodiment of the present invention
  • FIG. 4 is a schematic diagram of a system for obtaining streaming media data in a distribution network composed of super seed nodes in the first embodiment of the present invention
  • Figure 5 is a flow chart showing the distribution of streaming media data by the system of the first embodiment of the present invention
  • Figure 6 is a block diagram of a super seed node device in the first embodiment of the present invention. Mode for carrying out the invention
  • FIG. 1 it is a peer-to-peer connection streaming media live broadcast system of the prior art.
  • the system includes an acquisition server 101, an index server 102, and a plurality of clients 103.
  • the solid line in the figure indicates the transmission path of the streaming media data and related state information.
  • the dotted line indicates the transmission path of the status information.
  • the working principle of the system has been explained in the background section and will not be mentioned here.
  • a node with a more powerful download service capability that is, a super seed node as described in the present invention, is added to speed up the propagation of streaming media data in the network. speed. Since the super seed node is a device dedicated to the download service, the download service capability may be hundreds of times higher than that of the general client, and distributing the streaming media data through the node naturally enhances the propagation speed of the streaming media data.
  • the optimization system proposed by the present invention adds a number of super seed nodes to each geographical location and each operator network in the entire network, and these super seed nodes form a central distribution network.
  • the client selects the appropriate super seed node and client according to the state of the network in which it is located, and performs the required streaming media data download.
  • This kind of system will enable the distribution of streaming media data to select faster and more reasonable data channels, and data transmission will be carried out more on high-speed networks, thereby greatly improving the utilization efficiency of the entire network, speeding up the transmission of data, and enabling users to obtain smooth programs. Experience.
  • FIG. 2 there is shown a peer-to-peer connected streaming media direct broadcast system according to a first embodiment of the present invention.
  • the system includes an acquisition server 201, an index server 202, a super seed node 203, and a client 204.
  • a plurality of the above devices may exist in the network.
  • the figure shows the super seed node 203A of the operator A, the super seed node 203B of the operator B, and a plurality of clients 204C-204E located in different operator networks and geographic locations.
  • the solid line in the figure indicates the distributed streaming media data or status information.
  • the dotted line in the figure indicates the index server and the super Status information of the level seed node interaction.
  • the index server 202 is a P2P server (P2P Server).
  • the collection server 201 is configured to be responsible for collecting the streaming media data, and the collection server 201 collects the streaming media data from various input devices, fragments the collected streaming media data, and numbers the streaming media data that is being provided by itself. Information is published to the index server 202.
  • the streaming media data number is strictly increased with the time of collecting the streaming media data, and the collecting server 201 buffers the data for a period of time (for example, 2 minutes), and displays the streaming media data information of the program owned by the user, including the program name and the streaming media data number. Published to the index server 202.
  • the index server 202 is configured to save, for each program, information of all the collection servers 201 that provide the program streaming media data, and the super seed node 203 that is downloading the program and the client 204 information that is downloading the program.
  • a client 204 or a super seed node 203 needs to download a program, it sends a download request to the index server 202, which includes the network information of the client 204 or the super seed node 203 and the request service. The name of the program.
  • the index server 202 will return all or a portion of its associated information about the other super seed nodes 203 and other clients 204 that are downloading the program.
  • the client 204 or super seed node 203 may be from other super seed nodes 203 and Other clients 204 download the programs they need.
  • the index server 202 is responsible for managing the information about the client 204 that downloaded the program and the super seed node 203 that serves the program. It does not provide content download for the client 204 or the super seed node 203, nor does it itself download the program.
  • the related information includes network information and status information, and the network information refers to the network location where the super seed node 203 is located, including the network of the operator and the geographic location; the status information refers to the downloaded program name and the streaming media data fragment of the downloaded program. The number. This information can be used as a basis for selection when the client 204 selects where to download the fragmented streaming media data.
  • the first strategy returns information, the first is to return the client with the same carrier and similar geographical location.
  • the client 204 or related information of the super seed node 203 are randomly returned.
  • the super seed node 203 is a device dedicated to the streaming media download service, and the difference from the general client node is mainly that it has a powerful downloading streaming media service for the other client 204 than the client 204. Capabilities, in addition to this, the status of the super seed node 203 in the network is not substantially different from the client 204. Having a super seed node 203 in the system can improve the ability to distribute streaming media data to a certain extent, but this is far from the best technical solution. In the present system, the super seed node 203 is arranged in each operator network.
  • each super seed node 203 can also be arranged in different geographical locations of the same carrier network to speed up the distribution speed in the same network operator network.
  • Each operator can directly place the Super Seed Node 203 in the Operator's Computer Room (IDC) to take full advantage of the carrier's network.
  • Each of the super seed nodes 203 should be interconnected by a high speed network to enable rapid distribution of program data in the network.
  • the client 204 can obtain the required information from the super seed node 203 closer to itself, and the client The streaming media data obtained by the terminal 204 can in turn be utilized by other nearby clients 204, so that the distribution efficiency of the entire system is increased exponentially. Therefore, the super seed node 203 can greatly increase the speed at which the system distributes streaming media data.
  • the client 204 is configured to download and play streaming media data.
  • the download request is first sent to the index server 202, and the index service is provided.
  • the provider 202 provides the client 204 with information regarding its request to download the program, including other clients 204 that have recently downloaded the program, and the super seed node 203.
  • the client 204 downloads the fragmented streaming media data to other suitable clients 204 and super seed nodes 203 based on the information.
  • the client 204 records the segmented streaming media data number of the downloaded program, and continuously exchanges related information with the other related super seed nodes 203 and the client 204 to select an appropriate path for downloading at any time. Fragment streaming media data.
  • the index server 202 does not return the information of the collection server 201 that provides the desired download program to the client 204, when the client 204 downloads the program, only the desired program can be downloaded from the other client 204 including the super seed node 203. It is not possible to download the program directly to the collection server 201.
  • the workflow for distributing streaming media data is mainly divided into two parts: obtaining streaming media data and streaming media data distribution.
  • the process of obtaining streaming media data refers to the process of obtaining streaming media data by a distribution network composed of super seed nodes 203 in the system.
  • Figure 3 shows a flow chart of the process.
  • Figure 4 shows a related system diagram for this part. As can be seen from Figure 4, the process is independent of the client 204.
  • Step S301 the index server 202 records the network information corresponding to the collection server 201 of each program and the super seed node 203.
  • the collection server 201 collects streaming media data of the program from various input devices.
  • the collection server 201 fragments the collected streaming media data, and numbers the fragmented streaming media data, and the numbering time of the streaming media data collection is strictly increased.
  • the collection server 201 buffers data for a period of time (for example, 2 minutes), and then displays the stream data of the program itself.
  • the status information including the program name and the number, is posted to the index server 202.
  • Step S303 the index server 202 records the status information issued by the collection server 201 in step S302.
  • step S304 the super seed node 203 proposes to the index server 202 to download a certain program.
  • Step S305 the index server 202 returns the network information of the collection server 201 related to the program to the super seed node 203, and other information of the super seed node 203 that is downloading the program.
  • Step S306 the index server 202 responds to the network information of the super seed node 203 of the program request service.
  • Step S307 the super seed node 203 maintains status information of each program that is being downloaded, including: media data fragments that are cached by itself, and related information of other super seed nodes 203 that serve the same program.
  • the super seed node 203, and the super seed node 203 and the collection server 201 exchange their own cached stream data fragment number, and save other super seed nodes 203 or collection servers obtained by the interaction.
  • 201 cached streaming media data slice number.
  • the purpose of the above information is to download and obtain the relevant fragmented streaming media data providing information for the super seed node 203, so that the super seed node 203 can always obtain the required fragmented streaming media data through the most reasonable path.
  • Step S308 the super seed node 203 determines the super seed node 203 for downloading the required fragmented streaming media data according to the number of the cached fragment obtained above, and the other super seed node 203 that downloads the same program or the buffering fragment number of the collecting server 201. Or the collection server 201.
  • Step S309 the super seed node 203 proposes a download request to the other super seed node 203 or the collection server 201 determined by the super seed node 203 according to the result of step S308.
  • Step S310 the requested super seed node 203 or the collection server 201 allows or The user refused to download.
  • Each collection server 201 has a maximum value of the super seed node 203 that is allowed to be connected. If the connected super seed node 203 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected.
  • each super seed node 203 also has a value of the maximum allowable connection super seed node 203. If the connected super seed node 203 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected. The information rejecting the download request is sent to the super seed node 203 that made the download request, and the super seed node 203 will reselect the other collection server 201 or the super seed node 203 for download.
  • the super seed node 203 acquires the required streaming media data from the collection server 201 or other super seed nodes 203.
  • FIG. 5 there is shown a flow diagram for distributing streaming media data in accordance with an embodiment of the present invention.
  • step S501 the client 204 requests the index server 202 to download a certain program.
  • Step S502 the index server 202 records the network information of the client 204 corresponding to the program.
  • Step S503 the index server 202 determines the operator and the geographical location of the client according to the network information of the client 204, and then returns the network information of the super seed node 203 serving the program and the other client 204 downloading the same program according to a certain policy.
  • the policy is: the operator has the same and the geographical position is similar; if the above situation does not exist, the operator has the same priority; if the above situation does not exist, the geographical location is similar to the priority If the above situation still does not exist, choose randomly.
  • Step S504 according to the obtained information, between the clients 204 that are downloading the same program, and the number of the streaming media data fragments that are cached by the client 204 and the super seed node 203, and save other clients obtained by the interaction.
  • Client 204 maintains each of the downloads that it is downloading
  • the status information of the program includes: the number of the media data fragment cached by itself, and the status information and network information of some other super seed nodes 203 and some other clients 204 that are downloading the program.
  • Step S505 the client 204 determines, according to the number of the cached fragment, and the other super seed node 203 that downloads the same program or the number of the cached fragment of the client 204, to determine the super seed node 203 or the client 204 that downloads the fragmented streaming media data.
  • Step S506 the client 204 submits a download request to the other super seed node 203 or the client 204 according to the result of the above determination.
  • Step S507 the super seed node 203 or the client 204 receiving the download request accepts or rejects the download request.
  • the super seed node 203 has the maximum number of clients 204 connections allowed, and if the connected client 204 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected.
  • the super seed node 203 checks the download rate of each client 204 of the service in real time. If the real-time download rate of a certain client 204 is found to be relatively low for a certain period of time, the service of the client 204 is stopped, so that the user is vacant. The number of connections can serve other clients 204 that download faster.
  • the determination criterion that the download rate is relatively low may have a system determining a fixed minimum download rate in advance, and once a download rate of a client 204 is lower than the value, it is timed, and is still in the same time when the specified time is reached. When the rate is too low, the download to the client 204 is stopped.
  • each client 204 has a maximum number of clients allowed to connect. If the connection requesting the downloaded client 204 does not exceed the value of the maximum allowed client 204, the download is provided for the new download request, otherwise the download is rejected.
  • the super seed node 203 is included. As described above, the super seed node 203 is a network node having a stronger download service capability than the client 204. In addition, the super seed node 203 is no different from the normal client 204. Step S508, the related information of the rejection download request is sent to the client 204 requesting the download, and the client 204 makes a download request to the other super seed node 203 or the client 204.
  • the super seed node 203 can access the streaming media data to the peer-to-peer connected streaming media network formed by the client 204 at a high speed to realize high-speed live broadcast.
  • FIG. 6 is a block diagram of a super seed node device according to a first embodiment of the present invention, including:
  • the receiving unit 601 is configured to receive the streaming media fragment downloaded from the other super seed node 203 or the client 204 or receive the download request information sent by the other super seed node 203 or the client 204;
  • the sending unit 602 is configured to send the fragmented streaming media data or send the information to the other super seed node 203 or the client 204 to download the request information;
  • a cache unit 603 configured to cache streaming media fragments and other information
  • the policy management unit 604 is configured to manage the connection usage of the device, and determine other super seed nodes 203, the collection server 201, and the client 204 that determine the download request.
  • the requesting unit 605 is configured to send a service request to the index server 202.
  • the above-mentioned super seed node device has powerful download service capability and is placed on a line with fast data transmission in the network, which can speed up the information publishing speed of the entire network.
  • the streaming data is distributed to the user by using the central distribution network composed of the super seed nodes, and the existing network conditions are solved, because the collecting device and the client are in different network operators. And the problem of low efficiency of distributing streaming media data caused by different regions.
  • the super seed nodes are placed in the network room of each network operator, and high-speed interconnected network lines can be used for each other, so that streaming media data can be distributed to different operators and geographical networks at high speed, and utilized in the distribution process.
  • High-speed network lines make full use of network resources, avoiding long-term occupation of low-speed network resources and preventing network performance from deteriorating.
  • the media streaming device is used to distribute the fragmented streaming media data to the super seed node at a high speed, and then the super seed node uses the high speed network to distribute each other, the network connection requirement of the media collection device is reduced, and the streaming media distribution is improved. speed.

Landscapes

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

Abstract

A stream media live system of peer to peer connection comprises a collecting server, an index server, multiple clients, and also comprises multiple super seed nodes, the super seed node request to the index server for downloading program, the index server returns the collecting server which providing the said program, and the client information which storing the pieces of stream media data of the said program; the super seed node downloads the pieces of the stream media data from the collecting server and the client, and records the buffered pieces of the stream media data in the index server; when the client request for a program downloading, the index server provides the information of the clients and super seed nodes which have downloaded the said program latest, the client can download program in piece according to the above clients and super seed nodes; the super seed nodes possess a stronger downloading serving capability than that of the clients. Through the super seed nodes distributed in the network, the present invention constructs a speed distributing network of the stream media data, and expedites the broadcast of the stream media data.

Description

一种对等连接流媒体直播系统、 装置和方法  Peer-to-peer connection streaming media live broadcast system, device and method
技术领域 Technical field
本发明涉及流媒体技术,尤其是涉及一种对等连接流媒体直播系统、 装置和方法。 发明背景  The present invention relates to streaming media technologies, and in particular, to a peer-to-peer connected streaming media live broadcast system, apparatus and method. Background of the invention
计算机网络发展演化过程是在集中和分布之间摆动。 早期的计算机 使用模式是众多用户共享大型计算机, 以后发展了个人计算机, 从集中 走向分布。 在互联网上存在类似情况, 开始采用客户机(浏览器) -服务 器方式, 使用网站上集中的服务器。 进一步发展将走向分布式, 集中的 服务器将变成分布的, 每一个用户终端既是客户机又是服务器, 这就是 对等连接 peer to peer (简称 P2P )模式。  The evolution of computer networks evolves between concentrating and distributing. The early computer usage model was that many users shared large computers, and later developed personal computers, from centralized to distributed. A similar situation exists on the Internet, starting with the client (browser)-server approach, using a centralized server on the site. Further development will move towards distributed, centralized servers will become distributed, and each user terminal is both a client and a server. This is the peer-to-peer peer-to-peer (P2P) mode.
近年来, 互联网上 P2P业务发展迅速, 已经成为宽带互联网业务的 主流。 P2P技术将各个用户互相结合成一个网络, 共享其中的带宽, 共 同处理其中的信息。与传统的客户机-服务器模式不同, P2P工作方式中, 每一个客户终端既是客户机又是服务器。 以共享下载文件为例, 下载同 一个文件的众多用户中的每一个用户终端只需要下载文件的一个片段, 然后各个用户互相交换片段, 最终每个用户都能得到完整的文件。  In recent years, P2P services on the Internet have developed rapidly and have become the mainstream of broadband Internet services. P2P technology combines users into one network, shares the bandwidth, and processes the information together. Unlike the traditional client-server model, in the P2P mode of operation, each client terminal is both a client and a server. Taking a shared download file as an example, each user terminal downloading the same file only needs to download a fragment of the file, and then each user exchanges clips with each other, and finally each user can get the complete file.
P2P流媒体直播服务是一种基于互联网采用 P2P模式的直播服务, 一般用于实现网络上同步欣赏流媒体节目, 例如观看电视、 听音乐等。 P2P流媒体直播工具在互联网上得到了广泛的应用和认可。 P2P流媒体 直播通过用户间共享数据, 减轻了服务提供方的负载, 节约了提供服务 的成本, 同时 P2P流媒体直播服务具有很好的用户参与性, 成为未来发 展的一个方向。 在现有的 P2P流媒体直播系统中, 一般会有一个采集设备生成流媒 体数据; 还包括索引服务器(P2P Server ), 用于保存每个采集设备的信 息, 以及最近一段时间请求观看的客户端的信息。 采集设备把流媒体数 据分发给系统中的部分用户, 然后 P2P流媒体直播系统中的用户相互之 间进行交互, 从其他用户处下载观看节目需要的流媒体数据。 具体过程 是: 采集设备从各种输入设备采集流媒体数据, 并把流媒体数据分片, 然后把自己拥有流媒体数据的信息发布到索引服务器; 客户端向索引服 务器请求观看节目, 从索引服务器获取提供节目的采集设备信息以及其 他观看同一节目的客户端信息; 客户端连接采集设备或者其他客户端 , 向它们请求下载分片的流媒体数据; 采集设备按照一定的策略, 把分片 的流媒体数据发送给客户端; 客户端也可以从其他服务同一节目的客户 端分片请求下载自己需要的流媒体数据分片, 这样客户端之间也会进行 流媒体数据交互。 The P2P streaming media live broadcast service is a live broadcast service based on the Internet using P2P mode. It is generally used to implement streaming video programs on the network, such as watching TV and listening to music. The P2P streaming media live tool has been widely used and recognized on the Internet. The P2P streaming media broadcasts the data sharing between users, which reduces the load on the service provider and saves the cost of providing services. At the same time, the P2P streaming media live broadcast service has good user participation and becomes a direction for future development. In an existing P2P live streaming system, a collecting device generally generates streaming media data; and an index server (P2P Server) is configured to store information of each collecting device, and a client that requests viewing at a recent time. information. The collecting device distributes the streaming media data to some users in the system, and then the users in the P2P streaming media live broadcast system interact with each other to download streaming media data required for viewing the program from other users. The specific process is: the collecting device collects streaming media data from various input devices, and segments the streaming media data, and then publishes the information that owns the streaming media data to the index server; the client requests the viewing server to watch the program, from the index server Obtaining the collection device information of the provided program and other client information for watching the same program; the client connects to the collection device or other client, requests them to download the fragmented streaming media data; and the collection device according to a certain strategy, the fragmented stream The media data is sent to the client; the client can also download the streaming media data fragments that are needed by other clients that serve the same program, so that the client also performs streaming data interaction.
目前的上述 P2P流媒体直播系统存在许多缺陷。 首先, 由于客户端 从采集设备和其他客户端下载所需要的流媒体数据, 而上述设备并非专 用于下载服务的设备, 其下载服务能力不强, 限制了信息的下载速度。  The current P2P streaming media live broadcast system has many drawbacks. First, since the client downloads the required streaming media data from the collection device and other clients, and the above device is not dedicated to downloading the service device, the download service capability is not strong, which limits the download speed of the information.
其次, 由于采集设备的地理位置各异, 客户端的地理位置也不尽相 同, 采集设备和客户端可能不属于同一个网络运营商, 这样他们间的网 络连接可能会比较差, 网络带宽有限, 如果直接从采集设备把流媒体数 据分发给部分客户端, 可能造成分发的效率不高, 影响客户端对流媒体 节目的使用效果, 例如, 使用流媒体观看电视节目时, 可能出现画面停 顿、 只有声音或根本无法观看, 这种情况也使得流媒体数据不能使用高 速网络传输, 而长时间占用低速的网络带宽, 造成网络传输效率低, 浪 费了高速的网络资源, 并使网络性能变劣。 发明内容 Secondly, because the geographical location of the collection device is different, the geographic location of the client is different. The collection device and the client may not belong to the same network operator, so the network connection between them may be poor, and the network bandwidth is limited. Distributing streaming media data directly from the collection device to some clients may result in inefficient distribution and affect the use of streaming media programs by the client. For example, when watching TV programs using streaming media, there may be pauses in the picture, only sound or It is impossible to watch at all. This situation also makes streaming media data unable to use high-speed network transmission, and long-term occupation of low-speed network bandwidth, resulting in low network transmission efficiency, wasting high-speed network resources, and degrading network performance. Summary of the invention
本发明实施例提供一种对等连接流媒体直播系统, 该系统可以加快 流媒体数据在网络上的分发过程, 使流媒体直播节目能够获得更为流畅 的欣赏效果。  The embodiment of the invention provides a peer-to-peer connection streaming media live broadcast system, which can speed up the distribution process of streaming media data on the network, so that the streaming media live program can obtain a smoother viewing effect.
本发明实施例还提供一种对等连接流媒体直播装置 , 可以加快流媒 体数据在网络上的分发过程, 使流媒体直播节目能够获得更为流畅的欣 赏效果。  The embodiment of the invention further provides a peer-to-peer connected streaming media live broadcast device, which can speed up the distribution process of the streaming media data on the network, so that the streaming media live broadcast program can obtain a smoother enjoyment effect.
本发明实施例还提出了一种对等连接流媒体直播方法, 可以加快流 媒体数据在网络上的分发过程, 使流媒体直播节目能够获得更为流畅的 欣赏效果。  The embodiment of the present invention also proposes a peer-to-peer connection streaming media live broadcast method, which can speed up the distribution process of streaming media data on the network, so that the streaming media live program can obtain a smoother viewing effect.
一种对等连接流媒体直播系统, 包括采集服务器、 索引服务器、 至 少一个客户端,其特征在于,该系统进一步包括至少一个超级种子节点, 所述超级种子节点, 具有比客户端更强的下载服务能力, 用于从采 集服务器和 /或其它超级种子节点获取流媒体数据;  A peer-to-peer connection streaming media live broadcast system, comprising an acquisition server, an index server, and at least one client, wherein the system further comprises at least one super seed node, the super seed node having a stronger download than the client Service capability for obtaining streaming media data from an acquisition server and/or other super seed nodes;
索引服务器, 用于根据发起下载节目请求的客户端的网络信息, 向 该客户端返回服务该节目的超级种子节点和 /或下载同一节目的其他客 户端;  An indexing server, configured to return, to the client, a super seed node that serves the program and/or another client that downloads the same program according to the network information of the client that initiates the download of the program request;
客户端, 用于向索引服务器请求下载节目, 并从索引服务器返回的 超级种子节点和 /或其他客户端下载对应于所述节目的流媒体数据.  The client is configured to request the index server to download the program, and download the streaming media data corresponding to the program from the super seed node and/or other client returned by the index server.
一种对等连接流媒体直播方法, 该方法包括:  A peer-to-peer connection streaming media live broadcast method, the method comprising:
具有比客户端更强的下载服务能力的超级种子节点从采集服务器和 /或其它超级种子节点获取流媒体数据;  A super seed node having a stronger download service capability than the client obtains streaming media data from the collection server and/or other super seed nodes;
客户端向索引服务器请求下载节目, 索引服务器根据发起请求的所 述客户端的网络信息, 向该客户端返回服务该节目的超级种子节点和 / 或下载同一节目的其他客户端; 客户端从索引服务器返回的所述超级种子节点和 /或其他客户端下 载对应于所述节目的流媒体数据。 The client requests the index server to download the program, and the index server returns the super seed node serving the program and/or other clients downloading the same program to the client according to the network information of the client that initiated the request; The client downloads streaming media data corresponding to the program from the super seed node and/or other client returned from the index server.
一种对等连接流媒体直播装置, 该装置具有比客户端更强的下载服 务能力, 该装置包括:  A peer-to-peer connected streaming media live broadcast device, which has a stronger download service capability than a client, the device comprising:
下载请求发起单元, 用于向索引服务器发起下载节目请求, 并接收 由索引服务器返回的与该节目相关的采集服务器以及其他正在下载该 节目的对等连接流媒体直播装置;  a download request initiating unit, configured to initiate a download program request to the index server, and receive an acquisition server related to the program returned by the index server and other peer-to-peer connected streaming media live devices that are downloading the program;
流媒体数据获取单元, 用于从所述与该节目相关的采集服务器以及 其他正在下载该节目的对等连接流媒体直播装置, 获取对应于该下载节 目的流媒体数据;  a streaming media data obtaining unit, configured to acquire streaming media data corresponding to the downloading program from the collection server associated with the program and other peer-to-peer connected streaming media live broadcast devices that are downloading the program;
流媒体数据提供单元, 用于向针对所述节目发起下载请求的客户端 和 /或其他对等连接流媒体直播装置 , 提供对应于所述节目的流媒体数 据。 应用本发明实施例后, 由于采用超级种子节点组成的中心分发网络 向用户分发流媒体数据, 解决了在现有网络条件下, 由于采集设备和客 户端在不同的网络运营商和不同地域引起的分发流媒体数据效率低的 问题。 附图简要说明  And a streaming media data providing unit, configured to provide streaming media data corresponding to the program to a client and/or other peer-to-peer connected streaming media live broadcast device that initiates a download request for the program. After the embodiment of the present invention is applied, the central distribution network formed by the super seed node distributes the streaming media data to the user, which solves the problem caused by the collection device and the client in different network operators and different regions under the existing network conditions. The problem of low efficiency in distributing streaming media data. BRIEF DESCRIPTION OF THE DRAWINGS
图 1是现有技术的对等连接流媒体直播系统示意图;  1 is a schematic diagram of a prior art peer-to-peer connected streaming media live broadcast system;
图 2是本发明第一实施例提供的对等连接流媒体直播系统示意图; 图 3是本发明第一实施例中超级种子节点组成的分发网络获得流媒 体数据的流程图;  2 is a schematic diagram of a peer-to-peer connected streaming media live broadcast system according to a first embodiment of the present invention; FIG. 3 is a flowchart of obtaining streaming media data by a distribution network composed of super seed nodes in the first embodiment of the present invention;
图 4是本发明第一实施例中超级种子节点组成的分发网络获得流媒 体数据相关的系统示意图;  4 is a schematic diagram of a system for obtaining streaming media data in a distribution network composed of super seed nodes in the first embodiment of the present invention;
图 5是本发明第一实施例的系统分发流媒体数据的流程图; 图 6是本发明第一实施例中所述的超级种子节点装置的框图。 实施本发明的方式 Figure 5 is a flow chart showing the distribution of streaming media data by the system of the first embodiment of the present invention; Figure 6 is a block diagram of a super seed node device in the first embodiment of the present invention. Mode for carrying out the invention
请参看图 1 , 为现有技术的对等连接流媒体直播系统, 该系统包括 采集服务器 101、 索引服务器 102、 以及若干客户端 103 , 图中实线表示 流媒体数据和相关状态信息的传输路径, 虚线表示状态信息的传输路 径。 该系统的工作原理在背景技术部分已经说明, 在此不再赞述。  Referring to FIG. 1 , it is a peer-to-peer connection streaming media live broadcast system of the prior art. The system includes an acquisition server 101, an index server 102, and a plurality of clients 103. The solid line in the figure indicates the transmission path of the streaming media data and related state information. The dotted line indicates the transmission path of the status information. The working principle of the system has been explained in the background section and will not be mentioned here.
本发明实施例中, 在现有的对等连接流媒体直播系统中, 增加具有 更强大的下载服务能力的节点, 也就是本发明所说的超级种子节点, 加 快流媒体数据在网络中的传播速度。 由于所述超级种子节点是专用于下 载服务的设备, 其下载服务能力可能是一般客户端的上百倍, 通过该节 点分发流媒体数据自然会增强流媒体数据的传播速度。 本发明提出的优 化系统是在整个网络中各个地理位置和各个运营商网络中增加若干超 级种子节点, 这些超级种子节点形成一个中心分发网络。 客户端根据自 己在网络中所处的状态选择合适的超级种子节点和客户端, 进行所需的 流媒体数据下载。 这种系统将使流媒体数据的分发能够选择更快合理的 数据通道, 数据传递更多的在高速网络上进行, 从而大幅提高整个网络 的利用效率, 加快数据的传递, 使用户获得流畅的节目体验。  In the embodiment of the present invention, in the existing peer-to-peer connected streaming media live broadcast system, a node with a more powerful download service capability, that is, a super seed node as described in the present invention, is added to speed up the propagation of streaming media data in the network. speed. Since the super seed node is a device dedicated to the download service, the download service capability may be hundreds of times higher than that of the general client, and distributing the streaming media data through the node naturally enhances the propagation speed of the streaming media data. The optimization system proposed by the present invention adds a number of super seed nodes to each geographical location and each operator network in the entire network, and these super seed nodes form a central distribution network. The client selects the appropriate super seed node and client according to the state of the network in which it is located, and performs the required streaming media data download. This kind of system will enable the distribution of streaming media data to select faster and more reasonable data channels, and data transmission will be carried out more on high-speed networks, thereby greatly improving the utilization efficiency of the entire network, speeding up the transmission of data, and enabling users to obtain smooth programs. Experience.
请参看图 2, 该图示出本发明第一实施例提供的对等连接流媒体直 播系统。  Referring to Figure 2, there is shown a peer-to-peer connected streaming media direct broadcast system according to a first embodiment of the present invention.
该系统中包括采集服务器 201、索引服务器 202、超级种子节点 203、 客户端 204。 上述设备在该网络中都可以存在多个。 为描述方便, 图中 示出运营商 A的超级种子节点 203A、 运营商 B的超级种子节点 203B、 以及若干位于不同运营商网络和地理位置的客户端 204C-204E。 图中实 线表示分发的流媒体数据或者状态信息, 图中虚线表示索引服务器与超 级种子节点交互的状态信息。 其中, 所述的索引服务器 202是 P2P服务 器(P2P Server )。 The system includes an acquisition server 201, an index server 202, a super seed node 203, and a client 204. A plurality of the above devices may exist in the network. For convenience of description, the figure shows the super seed node 203A of the operator A, the super seed node 203B of the operator B, and a plurality of clients 204C-204E located in different operator networks and geographic locations. The solid line in the figure indicates the distributed streaming media data or status information. The dotted line in the figure indicates the index server and the super Status information of the level seed node interaction. The index server 202 is a P2P server (P2P Server).
所述采集服务器 201用于负责流媒体数据的采集,该采集服务器 201 从各种输入设备采集流媒体数据, 把采集来的流媒体数据分片并编号, 并且把自己正在提供的流媒体数据的信息发布到所述索引服务器 202。 所述流媒体数据编号随流媒体数据采集的时间严格增大, 采集服务器 201緩存一段时间的数据 (比如 2分钟), 并把自己所拥有节目流媒体数 据信息, 包括节目名称、 流媒体数据编号发布到所述索引服务器 202。  The collection server 201 is configured to be responsible for collecting the streaming media data, and the collection server 201 collects the streaming media data from various input devices, fragments the collected streaming media data, and numbers the streaming media data that is being provided by itself. Information is published to the index server 202. The streaming media data number is strictly increased with the time of collecting the streaming media data, and the collecting server 201 buffers the data for a period of time (for example, 2 minutes), and displays the streaming media data information of the program owned by the user, including the program name and the streaming media data number. Published to the index server 202.
所述索引服务器 202用于为各个节目保存所有提供该节目流媒体数 据的采集服务器 201的信息, 以及正在下载该节目的超级种子节点 203 和正在下载该节目的客户端 204信息。 当某个客户端 204或者某个超级 种子节点 203需要下载某个节目时, 它会向索引服务器 202发出下载请 求, 该下载请求中包括该客户端 204或者超级种子节点 203的网络信息 以及请求服务的节目名称。 此时, 索引服务器 202会返回全部或者一部 分它保存的正在下载该节目的其他超级种子节点 203和其他客户端 204 的相关信息, 该客户端 204或者超级种子节点 203可以从其他超级种子 节点 203和其他客户端 204下载自己需要的节目。 也就是说, 索引服务 器 202 负责管理下载节目的客户端 204和为节目服务的超级种子节点 203的有关信息, 它不为客户端 204或者超级种子节点 203提供内容下 载, 自身也不下载节目。 所述有关信息包括网络信息和状态信息, 网络 信息指超级种子节点 203所处的网络位置, 包括所属运营商网络以及地 理位置; 状态信息是指下载的节目名称以及下载节目的流媒体数据分片 的编号。 这些信息可以在客户端 204选择从何处下载分片流媒体数据时 作为选择的依据。  The index server 202 is configured to save, for each program, information of all the collection servers 201 that provide the program streaming media data, and the super seed node 203 that is downloading the program and the client 204 information that is downloading the program. When a client 204 or a super seed node 203 needs to download a program, it sends a download request to the index server 202, which includes the network information of the client 204 or the super seed node 203 and the request service. The name of the program. At this point, the index server 202 will return all or a portion of its associated information about the other super seed nodes 203 and other clients 204 that are downloading the program. The client 204 or super seed node 203 may be from other super seed nodes 203 and Other clients 204 download the programs they need. That is, the index server 202 is responsible for managing the information about the client 204 that downloaded the program and the super seed node 203 that serves the program. It does not provide content download for the client 204 or the super seed node 203, nor does it itself download the program. The related information includes network information and status information, and the network information refers to the network location where the super seed node 203 is located, including the network of the operator and the geographic location; the status information refers to the downloaded program name and the streaming media data fragment of the downloaded program. The number. This information can be used as a basis for selection when the client 204 selects where to download the fragmented streaming media data.
所述索引服务器 202向客户端 204返回上述信息时, 根据一定的优 先策略返回信息, 首先是返回具有相同运营商和相近地理位置的客户端When the index server 202 returns the above information to the client 204, according to a certain priority The first strategy returns information, the first is to return the client with the same carrier and similar geographical location.
204或者超级种子节点 203的相关信息; 其次是返回具有相同运营商的 客户端 204或者超级种子节点 203的相关信息; 再其次是返回具有相近 地理位置的客户端 204或者超级种子节点 203的相关信息; 如果符合上 述情况的客户端 204和超级种子节点 203都不存在, 则随机返回。 204 or related information of the super seed node 203; secondly, returning related information of the client 204 or the super seed node 203 having the same operator; and secondly, returning information about the client 204 or the super seed node 203 having similar geographical locations. If the client 204 and the super seed node 203 that do not meet the above conditions do not exist, they are randomly returned.
所述超级种子节点 203是专门用于流媒体下载服务的设备, 其与一 般的客户端节点不同之处主要在于, 其具有远较客户端 204强大的为其 他客户端 204提供下载流媒体服务的能力 ,除此之夕卜,超级种子节点 203 在网络中的地位与客户端 204并无本质区别。 系统中具有一个超级种子 节点 203就可以一定程度上提高分发流媒体数据的能力, 但是, 这远不 是最佳的技术方案。 在本系统中, 在各个运营商网络中布置所述超级种 子节点 203。 它从采集服务器 201或者其他超级种子节点 203获取自己 需要的分片流媒体数据并且进行緩存, 然后把分片的流媒体数据分发给 需要该数据的客户端 204。 当然, 在同一运营商网络的不同地理位置也 可以布置若干超级种子节点 203, 以加快在同一网络运营商网络中的分 发速度。 各个运营商可以直接将超级种子节点 203 布置在运营商机房 ( IDC ) 中, 以便充分利用运营商的网络。 各个超级种子节点 203应当 采用高速网络互连, 以便实现节目数据在网络中的快速分发。 由于该系 统中具有由多台由超级种子节点 203组成的能够快速分发流媒体数据的 分发网络, 使客户端 204能够更快的从接近自己的超级种子节点 203处 获得所需信息 , 而该客户端 204所获得的流媒体数据又可以被附近其他 客户端 204所利用, 因此, 整个系统的分发效率以指数倍提高。 因此, 超级种子节点 203能够较大幅提高该系统分发流媒体数据的速度。  The super seed node 203 is a device dedicated to the streaming media download service, and the difference from the general client node is mainly that it has a powerful downloading streaming media service for the other client 204 than the client 204. Capabilities, in addition to this, the status of the super seed node 203 in the network is not substantially different from the client 204. Having a super seed node 203 in the system can improve the ability to distribute streaming media data to a certain extent, but this is far from the best technical solution. In the present system, the super seed node 203 is arranged in each operator network. It obtains the fragmented streaming media data that it needs from the collection server 201 or other super seed node 203 and caches it, and then distributes the fragmented streaming media data to the client 204 that needs the data. Of course, several super seed nodes 203 can also be arranged in different geographical locations of the same carrier network to speed up the distribution speed in the same network operator network. Each operator can directly place the Super Seed Node 203 in the Operator's Computer Room (IDC) to take full advantage of the carrier's network. Each of the super seed nodes 203 should be interconnected by a high speed network to enable rapid distribution of program data in the network. Since the system has a distribution network composed of a plurality of super seed nodes 203 capable of quickly distributing streaming media data, the client 204 can obtain the required information from the super seed node 203 closer to itself, and the client The streaming media data obtained by the terminal 204 can in turn be utilized by other nearby clients 204, so that the distribution efficiency of the entire system is increased exponentially. Therefore, the super seed node 203 can greatly increase the speed at which the system distributes streaming media data.
所述客户端 204用于下载播放流媒体数据。 该客户端 204提出下载 请求时, 首先将该下载请求发送到所述索引服务器 202, 所述索引服务 器 202向该客户端 204提供其请求下载节目相关的信息, 包括最近下载 该节目的其他客户端 204以及超级种子节点 203。 该客户端 204根据所 述信息向其它合适的客户端 204和超级种子节点 203下载分片流媒体数 据。 该客户端 204在下载过程中, 将记载下载节目的分片流媒体数据编 号, 并不断与上述其它相关的超级种子节点 203和客户端 204交换相关 信息, 以便随时选择合适的路径下载所需要的分片流媒体数据。 由于索 引服务器 202 不会向客户端 204返回提供所需下载节目的采集服务器 201的信息, 因此, 客户端 204下载节目时, 只能从包括超级种子节点 203的其他客户端 204下载所需节目 , 无法直接向采集服务器 201下载 节目。 The client 204 is configured to download and play streaming media data. When the client 204 proposes a download request, the download request is first sent to the index server 202, and the index service is provided. The provider 202 provides the client 204 with information regarding its request to download the program, including other clients 204 that have recently downloaded the program, and the super seed node 203. The client 204 downloads the fragmented streaming media data to other suitable clients 204 and super seed nodes 203 based on the information. During the download process, the client 204 records the segmented streaming media data number of the downloaded program, and continuously exchanges related information with the other related super seed nodes 203 and the client 204 to select an appropriate path for downloading at any time. Fragment streaming media data. Since the index server 202 does not return the information of the collection server 201 that provides the desired download program to the client 204, when the client 204 downloads the program, only the desired program can be downloaded from the other client 204 including the super seed node 203. It is not possible to download the program directly to the collection server 201.
以下结合上述对该系统中各个节点的介绍, 进一步说明该系统的工 作过程。  The following describes the working process of the system in combination with the above description of each node in the system.
该系统分发流媒体数据的工作流程主要分成获取流媒体数据和流媒 体数据分发这 2个部分。  The workflow for distributing streaming media data is mainly divided into two parts: obtaining streaming media data and streaming media data distribution.
获取流媒体数据的过程是指由系统中的超级种子节点 203组成的分 发网络获得流媒体数据的过程。 图 3示出该过程的流程图。 图 4示出这 一部分相关的系统图, 由图 4可以看出, 该过程与客户端 204无关。  The process of obtaining streaming media data refers to the process of obtaining streaming media data by a distribution network composed of super seed nodes 203 in the system. Figure 3 shows a flow chart of the process. Figure 4 shows a related system diagram for this part. As can be seen from Figure 4, the process is independent of the client 204.
步骤 S301, 索引服务器 202记录对应各个节目的采集服务器 201以 及超级种子节点 203的网络信息。 所述网络信息包 ϋ备所处的运营商 网络和地理位置。 上述记录使该分发网络的有关下载节目的各种信息能 够在整个系统中分享。  Step S301, the index server 202 records the network information corresponding to the collection server 201 of each program and the super seed node 203. The network and the geographical location of the carrier where the network information packet is located. The above records enable the distribution network to share various information about the downloaded program throughout the system.
步骤 S302,采集服务器 201从各种输入设备采集节目的流媒体数据。 采集服务器 201将采集到的流媒体数据分片 , 对分片的流媒体数据进行 编号, 编号随流媒体数据采集的时间严格增大。 采集服务器 201緩存一 段时间的数据 (比如 2分钟), 然后把自己拥有节目的流媒体数据的状 态信息 , 包括节目名称以及编号发布到所述索引服务器 202。 In step S302, the collection server 201 collects streaming media data of the program from various input devices. The collection server 201 fragments the collected streaming media data, and numbers the fragmented streaming media data, and the numbering time of the streaming media data collection is strictly increased. The collection server 201 buffers data for a period of time (for example, 2 minutes), and then displays the stream data of the program itself. The status information, including the program name and the number, is posted to the index server 202.
步骤 S303 , 索引服务器 202记录步骤 S302中采集服务器 201发布 的状态信息。  Step S303, the index server 202 records the status information issued by the collection server 201 in step S302.
步骤 S304,超级种子节点 203向索引服务器 202提出下载某个节目 的请求。  In step S304, the super seed node 203 proposes to the index server 202 to download a certain program.
步骤 S305 , 索引服务器 202向超级种子节点 203返回与该节目相关 的采集服务器 201的网络信息, 以及其他正在下载该节目的超级种子节 点 203的信息。  Step S305, the index server 202 returns the network information of the collection server 201 related to the program to the super seed node 203, and other information of the super seed node 203 that is downloading the program.
步骤 S306, 索引服务器 202对应该节目记录请求服务的超级种子节 点 203的网络信息。  Step S306, the index server 202 responds to the network information of the super seed node 203 of the program request service.
步骤 S307,超级种子节点 203维护自己正在下载的每个节目的状态 信息, 包括: 自己緩存的媒体数据分片, 以及服务相同节目的其它超级 种子节点 203的相关信息。 根据上述步骤获得的有关信息, 超级种子节 点 203之间 , 以及超级种子节点 203和采集服务器 201之间交互自己緩 存的流媒体数据分片编号, 并保存交互得到的其他超级种子节点 203或 者采集服务器 201緩存的流媒体数据分片编号。 上述信息的作用在于为 超级种子节点 203下载获得相关的分片流媒体数据提供信息, 使超级种 子节点 203始终能够通过最合理的路径获得所需的分片流媒体数据。  Step S307, the super seed node 203 maintains status information of each program that is being downloaded, including: media data fragments that are cached by itself, and related information of other super seed nodes 203 that serve the same program. According to the related information obtained in the foregoing steps, the super seed node 203, and the super seed node 203 and the collection server 201 exchange their own cached stream data fragment number, and save other super seed nodes 203 or collection servers obtained by the interaction. 201 cached streaming media data slice number. The purpose of the above information is to download and obtain the relevant fragmented streaming media data providing information for the super seed node 203, so that the super seed node 203 can always obtain the required fragmented streaming media data through the most reasonable path.
步骤 S308, 超级种子节点 203根据上述获得的緩存分片的编号, 以 及下载相同节目的其它超级种子节点 203或者采集服务器 201緩存分片 编号, 确定下载所需分片流媒体数据的超级种子节点 203或者采集服务 器 201。  Step S308, the super seed node 203 determines the super seed node 203 for downloading the required fragmented streaming media data according to the number of the cached fragment obtained above, and the other super seed node 203 that downloads the same program or the buffering fragment number of the collecting server 201. Or the collection server 201.
步骤 S309, 超级种子节点 203根据步骤 S308的结果, 向其确定的 其它超级种子节点 203或者是采集服务器 201提出下载请求。  Step S309, the super seed node 203 proposes a download request to the other super seed node 203 or the collection server 201 determined by the super seed node 203 according to the result of step S308.
步骤 S310,被请求的超级种子节点 203或者采集服务器 201允许或 者拒绝下载。 每个采集服务器 201有一个最大允许连接的超级种子节点 203数值, 如果连接的超级种子节点 203没有超过该最大允许下载的数 值, 则为新的下载请求提供下载, 否则拒绝下载。 Step S310, the requested super seed node 203 or the collection server 201 allows or The user refused to download. Each collection server 201 has a maximum value of the super seed node 203 that is allowed to be connected. If the connected super seed node 203 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected.
同时, 每个超级种子节点 203也有一个最大允许连接的超级种子节 点 203的数值, 如果连接的超级种子节点 203没有超过该最大允许下载 的数值, 则为新的下载请求提供下载, 否则拒绝下载。 拒绝下载请求的 信息发送到所述提出下载请求的超级种子节点 203 ,该超级种子节点 203 将重新选择其他采集服务器 201或者超级种子节点 203进行下载。  At the same time, each super seed node 203 also has a value of the maximum allowable connection super seed node 203. If the connected super seed node 203 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected. The information rejecting the download request is sent to the super seed node 203 that made the download request, and the super seed node 203 will reselect the other collection server 201 or the super seed node 203 for download.
通过上述步骤, 超级种子节点 203从采集服务器 201或者其他超级 种子节点 203获取所需要的流媒体数据。  Through the above steps, the super seed node 203 acquires the required streaming media data from the collection server 201 or other super seed nodes 203.
以下介绍流媒体数据分发的过程。 请参看图 5 , 该图示出根据本发 明实施例分发流媒体数据的流程图。  The process of streaming media data distribution is described below. Referring to Figure 5, there is shown a flow diagram for distributing streaming media data in accordance with an embodiment of the present invention.
步骤 S501 , 客户端 204向索引服务器 202请求下载某个节目。  In step S501, the client 204 requests the index server 202 to download a certain program.
步骤 S502, 索引服务器 202对应该节目记录所述客户端 204的网络 信息。  Step S502, the index server 202 records the network information of the client 204 corresponding to the program.
步骤 S503, 索引服务器 202根据上 ^户端 204的网络信息判断其 所在运营商和地理位置, 然后按照一定的策略返回服务该节目的超级种 子节点 203和下载同一节目的其他客户端 204的网络信息给该提出下载 请求的客户端 204, 所述策略是: 运营商相同并且地理位置相近的优先; 如果不存在上述情况, 则运营商相同的优先; 如果不存在上述情况, 则 地理位置相近的优先; 如果上述情况仍不存在, 则随机选择。  Step S503, the index server 202 determines the operator and the geographical location of the client according to the network information of the client 204, and then returns the network information of the super seed node 203 serving the program and the other client 204 downloading the same program according to a certain policy. For the client 204 that proposes the download request, the policy is: the operator has the same and the geographical position is similar; if the above situation does not exist, the operator has the same priority; if the above situation does not exist, the geographical location is similar to the priority If the above situation still does not exist, choose randomly.
步骤 S504, 根据上述获得的信息, 正在下载同一节目的客户端 204 之间 , 以及客户端 204和超级种子节点 203之间交互自己緩存的流媒体 数据分片的编号, 并保存交互得到的其他客户端 204或者超级种子节点 203緩存的流媒体数据分片的编号。 客户端 204维护自己正在下载的每 个节目的状态信息, 包括: 其自身所緩存的媒体数据分片的编号, 以及 正在下载该节目的部分其他超级种子节点 203和部分其他客户端 204的 状态信息和网络信息。 Step S504, according to the obtained information, between the clients 204 that are downloading the same program, and the number of the streaming media data fragments that are cached by the client 204 and the super seed node 203, and save other clients obtained by the interaction. The number of the streaming media data fragment buffered by the terminal 204 or the super seed node 203. Client 204 maintains each of the downloads that it is downloading The status information of the program includes: the number of the media data fragment cached by itself, and the status information and network information of some other super seed nodes 203 and some other clients 204 that are downloading the program.
步骤 S505 , 客户端 204根据自己緩存分片的编号, 以及下载相同节 目的其它超级种子节点 203或者客户端 204緩存分片的编号, 确定下载 分片流媒体数据的超级种子节点 203或者客户端 204。  Step S505, the client 204 determines, according to the number of the cached fragment, and the other super seed node 203 that downloads the same program or the number of the cached fragment of the client 204, to determine the super seed node 203 or the client 204 that downloads the fragmented streaming media data. .
步骤 S506, 客户端 204根据上述确定的结果, 向其它超级种子节点 203或客户端 204提出下载请求。  Step S506, the client 204 submits a download request to the other super seed node 203 or the client 204 according to the result of the above determination.
步骤 S507,接收所述下载请求的超级种子节点 203或客户端 204接 受或者拒绝该下载请求。 超级种子节点 203具有最大允许连接的客户端 204连接数, 如果连接的客户端 204没有超过该最大允许下载的数值, 则为新的下载请求提供下载, 否则拒绝下载。 同时, 超级种子节点 203 实时的检查自己服务的各个客户端 204的下载速率, 如果发现某个客户 端 204的实时下载速率连续一段时间比较低, 那么停止为该客户端 204 服务, 这样空出来的连接数可以为下载更快的其它客户端 204服务。 所 述下载速率比较低的判定标准可以有系统事先确定一个固定的最低下 载速率, 一旦某个客户端 204的下载速率低于该数值时, 则对其进行计 时, 当达到规定时间仍然处于这种下在速率过低的情况时, 就停止为该 客户端 204提供下载。  Step S507, the super seed node 203 or the client 204 receiving the download request accepts or rejects the download request. The super seed node 203 has the maximum number of clients 204 connections allowed, and if the connected client 204 does not exceed the maximum allowed download value, the download is provided for the new download request, otherwise the download is rejected. At the same time, the super seed node 203 checks the download rate of each client 204 of the service in real time. If the real-time download rate of a certain client 204 is found to be relatively low for a certain period of time, the service of the client 204 is stopped, so that the user is vacant. The number of connections can serve other clients 204 that download faster. The determination criterion that the download rate is relatively low may have a system determining a fixed minimum download rate in advance, and once a download rate of a client 204 is lower than the value, it is timed, and is still in the same time when the specified time is reached. When the rate is too low, the download to the client 204 is stopped.
同样的, 每个客户端 204有一个最大允许连接的客户端数, 如果连 接请求下载的客户端 204没有超过该最大允许连接的客户端 204数值, 则为新的下载请求提供下载, 否则拒绝下载。 所述最大允许连接的客户 端 204的数值中, 包括超级种子节点 203。如前所述,超级种子节点 203 与客户端 204相比,是具有更强的下载服务能力的网络节点,除此之外, 超级种子节点 203与普通的客户端 204并无差别。 步骤 S508,拒绝下载请求的相关信息发送到请求下载的客户端 204, 该客户端 204向其他超级种子节点 203或者客户端 204提出下载请求。 Similarly, each client 204 has a maximum number of clients allowed to connect. If the connection requesting the downloaded client 204 does not exceed the value of the maximum allowed client 204, the download is provided for the new download request, otherwise the download is rejected. Among the values of the maximum allowable connected client 204, the super seed node 203 is included. As described above, the super seed node 203 is a network node having a stronger download service capability than the client 204. In addition, the super seed node 203 is no different from the normal client 204. Step S508, the related information of the rejection download request is sent to the client 204 requesting the download, and the client 204 makes a download request to the other super seed node 203 or the client 204.
通过上述步骤, 超级种子节点 203可以高速的把流媒体数据接入由 客户端 204构成的对等连接流媒体网络, 实现高速直播。  Through the above steps, the super seed node 203 can access the streaming media data to the peer-to-peer connected streaming media network formed by the client 204 at a high speed to realize high-speed live broadcast.
参见图 6, 是本发明第一实施例中所述的超级种子节点装置的框图, 包括:  Referring to FIG. 6, which is a block diagram of a super seed node device according to a first embodiment of the present invention, including:
接收单元 601, 用于接收从其它超级种子节点 203或客户端 204下 载的流媒体分片或接收其他超级种子节点 203或客户端 204发送的下载 请求信息;  The receiving unit 601 is configured to receive the streaming media fragment downloaded from the other super seed node 203 or the client 204 or receive the download request information sent by the other super seed node 203 or the client 204;
发送单元 602, 用于发送分片流媒体数据或发送给其他超级种子节 点 203或者客户端 204下载请求信息;  The sending unit 602 is configured to send the fragmented streaming media data or send the information to the other super seed node 203 or the client 204 to download the request information;
緩存单元 603 , 用于緩存流媒体分片和其它信息;  a cache unit 603, configured to cache streaming media fragments and other information;
策略管理单元 604, 用于管理本装置的连接使用情况, 判断确定提 出下载请求的其他超级种子节点 203、 采集服务器 201以及客户端 204。  The policy management unit 604 is configured to manage the connection usage of the device, and determine other super seed nodes 203, the collection server 201, and the client 204 that determine the download request.
请求单元 605 , 用于向索引服务器 202发出服务请求。  The requesting unit 605 is configured to send a service request to the index server 202.
上述超级种子节点装置具有强大的下载服务能力, 并且放置于网络 中数据传递较快的线路上, 能够加快整个网络的信息发布速度。  The above-mentioned super seed node device has powerful download service capability and is placed on a line with fast data transmission in the network, which can speed up the information publishing speed of the entire network.
综上所述, 应用本发明实施例后, 由于采用超级种子节点组成的中 心分发网络向用户分发流媒体数据, 解决了在现有网络条件下, 由于采 集设备和客户端在不同的网络运营商和不同地域引起的分发流媒体数 据效率低的问题。  In summary, after applying the embodiment of the present invention, the streaming data is distributed to the user by using the central distribution network composed of the super seed nodes, and the existing network conditions are solved, because the collecting device and the client are in different network operators. And the problem of low efficiency of distributing streaming media data caused by different regions.
另外, 超级种子节点放置在各网络运营商的机房中, 相互间可以采 用高速互联的网络线路, 使流媒体数据能够高速的分发到不同的运营商 和地域的网络中, 在分发过程中利用了高速的网络线路, 充分利用了网 络资源, 避免了长时间占用低速的网络资源, 防止了网络性能变劣。 还有, 由于采用媒体采集设备把分片流媒体数据高速分发给超级种 子节点, 再由超级种子节点利用高速网络相互分发, 降低了对媒体采集 设备的网络连接的要求, 提高了流媒体分发的速度。 In addition, the super seed nodes are placed in the network room of each network operator, and high-speed interconnected network lines can be used for each other, so that streaming media data can be distributed to different operators and geographical networks at high speed, and utilized in the distribution process. High-speed network lines make full use of network resources, avoiding long-term occupation of low-speed network resources and preventing network performance from deteriorating. Moreover, since the media streaming device is used to distribute the fragmented streaming media data to the super seed node at a high speed, and then the super seed node uses the high speed network to distribute each other, the network connection requirement of the media collection device is reduced, and the streaming media distribution is improved. speed.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域 的普通技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干 改进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种对等连接流媒体直播系统, 包括采集服务器、 索引服务器、 至少一个客户端, 其特征在于, 该系统进一步包括至少一个超级种子节 点,  A peer-to-peer connection streaming media live broadcast system, comprising an acquisition server, an index server, and at least one client, wherein the system further comprises at least one super seed node.
所述超级种子节点, 具有比客户端更强的下载服务能力, 用于从采 集服务器和 /或其它超级种子节点获取流媒体数据;  The super seed node has a stronger download service capability than the client, and is used to obtain streaming media data from the collection server and/or other super seed nodes;
索引服务器, 用于根据发起下载节目请求的客户端的网络信息, 向 该客户端返回服务该节目的超级种子节点和 /或下载同一节目的其他客 户端;  An indexing server, configured to return, to the client, a super seed node that serves the program and/or another client that downloads the same program according to the network information of the client that initiates the download of the program request;
客户端, 用于向索引服务器请求下载节目, 并从索引服务器返回的 超级种子节点和 /或其他客户端下载对应于所述节目的流媒体数据。  The client is configured to request the index server to download the program, and download the streaming media data corresponding to the program from the super seed node and/or other client returned by the index server.
2、 根据权利要求 1所述的对等连接流媒体直播系统, 其特征在于, 所述索引服务器 , 用于根据以下优先顺序向发起请求的客户端返回超级 种子节点和 /或其他客户端:  The peer-to-peer connection live broadcast system according to claim 1, wherein the index server is configured to return a super seed node and/or other clients to the requesting client according to the following priority order:
返回与发起请求的客户端运营商相同并且地理位置相近的其它客户 端和 /或超级种子节点;  Returning other clients and/or super seed nodes that are the same as the client operator that initiated the request and are geographically similar;
返回与发起请求的客户端的运营商相同的其它客户端和 /或超级种 子节点;  Returning the same other client and/or super seed node as the originator of the requesting client;
返回与发起请求的客户端的地理位置相近的其它客户端和 /或超级 种子节点;  Returning other clients and/or super seed nodes that are close to the geographic location of the requesting client;
随机选择。  random selection.
3、 根据权利要求 1所述的对等连接流媒体直播系统, 其特征在于, 所述索引服务器是 P2P服务器。  3. The peer-to-peer connected streaming media live broadcast system according to claim 1, wherein the index server is a P2P server.
4、根据权利要求 1-3中任一项所述的对等连接流媒体直播系统, 其 特征在于, 所述超级种子节点被布置在运营商机房 IDC中。 The peer-to-peer connected live media live broadcast system according to any one of claims 1 to 3, wherein the super seed node is arranged in an operator equipment room IDC.
5、根据权利要求 1-3中任一项所述的对等连接流媒体直播系统, 其 特征在于, The peer-to-peer connected streaming media live broadcast system according to any one of claims 1 to 3, characterized in that
采集服务器, 用于将自身所拥有节目的流媒体数据信息发送到索引 服务器;  An collection server, configured to send streaming media data information of a program owned by the same to an index server;
索引服务器, 用于接收并记录所述流媒体数据信息, 并根据所述流 媒体数据信息向超级种子节点提供流媒体数据。  And an index server, configured to receive and record the streaming media data information, and provide streaming media data to the super seed node according to the streaming media data information.
6、 根据权利要求 5所述的对等连接流媒体直播系统, 其特征在于, 所述流媒体数据信息包括节目名称及流媒体数据编号。  The peer-to-peer connected streaming media live broadcast system according to claim 5, wherein the streaming media data information comprises a program name and a streaming media data number.
7、根据权利要求 1-3中任一项所述的对等连接流媒体直播系统, 其 特征在于,  The peer-to-peer connected streaming media live broadcast system according to any one of claims 1 to 3, characterized in that
所^户端, 用于记载下载节目的分片流媒体数据编号, 并与索引 服务器返回的超级种子节点和 /或其他客户端交换分片流媒体数据编号 , 以选择合适的路径下载所需要的分片流媒体数据。  The client is configured to record the fragmented streaming media data number of the downloaded program, and exchange the fragmented streaming media data number with the super seed node and/or other clients returned by the index server to select an appropriate path for downloading. Fragment streaming media data.
8、 根据权利要求 7所述的对等连接流媒体直播系统, 其特征在于, 所述客户端, 进一步用于保存正在下载该节目的其他超级种子节点 和 /或客户端的状态信息和网络信息。  The peer-to-peer connected live streaming system of claim 7, wherein the client is further configured to save state information and network information of other super seed nodes and/or clients that are downloading the program.
9、 根据权利要求 8所述的对等连接流媒体直播系统, 其特征在于, 所述状态信息包括所属运营商网络以及地理位置;  The peer-to-peer connected live broadcast media system according to claim 8, wherein the status information includes an associated carrier network and a geographic location;
所述网络信息包括节目名称以及节目的流媒体数据分片编号。  The network information includes a program name and a streaming media data slice number of the program.
10、 一种对等连接流媒体直播方法, 其特征在于, 该方法包括: 具有比客户端更强的下载服务能力的超级种子节点从采集服务器和 10. A peer-to-peer connection streaming media live broadcast method, the method comprising: a super seed node having a stronger download service capability than a client from an acquisition server and
/或其它超级种子节点获取流媒体数据; / or other super seed nodes to obtain streaming media data;
客户端向索引服务器请求下载节目, 索引服务器根据发起请求的所 述客户端的网络信息, 向该客户端返回服务该节目的超级种子节点和 / 或下载同一节目的其他客户端; 客户端从索引服务器返回的所述超级种子节点和 /或其他客户端下 载对应于所述节目的流媒体数据。 The client requests the index server to download the program, and the index server returns the super seed node serving the program and/or other clients downloading the same program to the client according to the network information of the client that initiated the request; The client downloads streaming media data corresponding to the program from the super seed node and/or other client returned from the index server.
11、根据权利要求 10所述的对等连接流媒体直播方法,其特征在于, 所述超级种子节点从采集服务器和 /或其它超级种子节点获取流媒体数 据包括:  The peer-to-peer connection streaming media live broadcast method according to claim 10, wherein the obtaining, by the super seed node, the streaming media data from the collection server and/or other super seed nodes comprises:
超级种子节点向索引服务器发起下载节目的请求;  The super seed node initiates a request to download the program to the index server;
索引服务器根据所述超级种子节点的网络信息, 向所述超级种子节 点返回与该节目相关的采集服务器以及其他正在下载该节目的超级种 子节点;  And the index server returns, to the super seed node, an acquisition server related to the program and other super seed nodes that are downloading the program according to the network information of the super seed node;
发起下载节目的请求的超级种子节点从所述采集服务器和 /或其他 正在下载该节目的超级种子节点获取对应于所述节目的流媒体数据。  A super seed node initiating a request to download a program acquires streaming media data corresponding to the program from the collection server and/or other super seed nodes that are downloading the program.
12、根据权利要求 11所述的对等连接流媒体直播方法,其特征在于, 所述超级种子节点的网络信息包括超级种子节点所属运营商网络和地 理位置。  The peer-to-peer connection streaming media live broadcast method according to claim 11, wherein the network information of the super seed node includes an operator network and a geographic location to which the super seed node belongs.
13、根据权利要求 10所述的对等连接流媒体直播方法,其特征在于, 所^户端的网络信息包括客户端所属运营商网络和地理位置。  The peer-to-peer connection streaming media live broadcast method according to claim 10, wherein the network information of the client includes the operator network and the geographic location to which the client belongs.
14、根据权利要求 10所述的对等连接流媒体直播方法,其特征在于, 所述索引服务器向超级种子节点返回与该节目相关的采集服务器以及 其他正在下载该节目的超级种子节点为:  The peer-to-peer connection streaming media live broadcast method according to claim 10, wherein the index server returns an acquisition server related to the program to the super seed node and other super seed nodes that are downloading the program:
索引服务器根据以下优先顺序向发起请求的客户端返回超级种子节 点和 /或其他客户端:  The index server returns the super seed node and/or other clients to the requesting client according to the following order of precedence:
返回与发起请求的客户端运营商相同并且地理位置相近的其它客户 端和 /或超级种子节点;  Returning other clients and/or super seed nodes that are the same as the client operator that initiated the request and are geographically similar;
返回与发起请求的客户端的运营商相同的其它客户端和 /或超级种 子节点; 返回与发起请求的客户端的地理位置相近的其它客户端和 /或超级 种子节点; Returning the same other client and/or super seed node as the operator of the requesting client; Returning other clients and/or super seed nodes that are similar in geographic location to the requesting client;
随机选择。  random selection.
15、根据权利要求 10-14中任一项所述的对等连接流媒体直播方法, 其特征在于, 该方法进一步包括:  The peer-to-peer connection streaming media live broadcast method according to any one of claims 10-14, wherein the method further comprises:
超级种子节点实时检查正在从该超级种子节点下载节目的各个客户 端的下载速率, 如果发现某个客户端的实时下载速率在预定时间内低于 预先设定的参考值, 则停止为该客户端提供下载服务。  The super seed node checks the download rate of each client that is downloading the program from the super seed node in real time. If it is found that the real-time download rate of a certain client is lower than the preset reference value within a predetermined time, the downloading of the client is stopped. service.
16、根据权利要求 10-14中任一项所述的对等连接流媒体直播方法, 其特征在于, 预先为采集服务器设置最大允许下载超级种子节点数, 该 方法进一步包括:  The peer-to-peer connection streaming media live broadcast method according to any one of claims 10-14, wherein the maximum number of allowed super-seed nodes is set in advance for the collection server, the method further comprising:
当所述采集服务器当前连接的超级种子节点超过所述最大允许下载 超级种子节点数时, 拒绝由其它超级种子节点发起的新下载请求。  When the super seed node currently connected by the collection server exceeds the maximum allowed download super seed node number, the new download request initiated by the other super seed node is rejected.
17、根据权利要求 10-14中任一项所述的对等连接流媒体直播方法, 其特征在于, 预先为超级种子节点设置最大允许连接数, 该方法进一步 包括:  The peer-to-peer connection streaming media live broadcast method according to any one of claims 10-14, wherein the maximum number of allowed connections is set in advance for the super seed node, the method further comprising:
当所述超级种子节点当前连接的超级种子节点和客户端的数目总和 超过所述最大允许连接数时,拒绝由其它超级种子节点和 /或客户端发起 的新下载请求。  When the sum of the number of super seed nodes and clients currently connected by the super seed node exceeds the maximum allowed connection number, a new download request initiated by other super seed nodes and/or clients is rejected.
18、根据权利要求 10-14中任一项所述的对等连接流媒体直播方法, 其特征在于, 预先为客户端设置最大允许连接数, 该方法进一步包括: 当所述客户端当前连接的客户端数超过所述最大允许连接数时 , 拒 绝由其它客户端发起的新下载请求。  The peer-to-peer connection streaming media live broadcast method according to any one of claims 10-14, wherein the maximum allowable number of connections is set in advance for the client, the method further comprising: when the client is currently connected When the number of clients exceeds the maximum allowed number of connections, the new download request initiated by other clients is rejected.
19、 一种对等连接流媒体直播装置, 其特征在于, 该装置具有比客 户端更强的下载服务能力, 该装置包括: 下载请求发起单元, 用于向索引服务器发起下载节目请求, 并接收 由索引服务器返回的与该节目相关的采集服务器以及其他正在下载该 节目的对等连接流媒体直播装置; 19. A peer-to-peer connection streaming media live broadcast device, characterized in that the device has a stronger download service capability than a client, the device comprising: a download request initiating unit, configured to initiate a download program request to the index server, and receive an acquisition server related to the program returned by the index server and another peer-to-peer connected streaming media live device that is downloading the program;
流媒体数据获取单元, 用于从所述与该节目相关的采集服务器以及 其他正在下载该节目的对等连接流媒体直播装置, 获取对应于该下载节 目的流媒体数据;  a streaming media data obtaining unit, configured to acquire streaming media data corresponding to the downloading program from the collection server associated with the program and other peer-to-peer connected streaming media live broadcast devices that are downloading the program;
流媒体数据提供单元, 用于向针对所述节目发起下载请求的客户端 和 /或其他对等连接流媒体直播装置 , 提供对应于所述节目的流媒体数 据。  And a streaming media data providing unit, configured to provide streaming media data corresponding to the program to a client and/or other peer-to-peer connected streaming media live broadcast device that initiates a download request for the program.
20、根据权利要求 19所述的对等连接流媒体直播装置,其特征在于, 所述对等连接流媒体直播装置被布置在运营商机房 IDC中。  The peer-to-peer connected streaming media live broadcast device according to claim 19, wherein the peer-to-peer connected streaming media live broadcast device is disposed in an operator's computer room IDC.
21、 根据权利要求 19或 20所述的对等连接流媒体直播装置, 其特 征在于,  21. A peer-to-peer connected streaming media live broadcast device according to claim 19 or 20, wherein
多个所述对等连接流媒体直播装置被 布置在同一运营商网络的 不同地理位置, 以形成针对所述同一运营商网络的分发网络。  A plurality of said peer-to-peer connected streaming media live devices are arranged in different geographic locations of the same carrier network to form a distribution network for said same carrier network.
22、 根据权利要求 19或 20所述的对等连接流媒体直播装置, 其特 征在于 , 多个所述对等连接流媒体直播装置被分别布置在各个运营商网 络中, 以形成针对多个运营商网络的分发网络。  The peer-to-peer connected streaming media live broadcast device according to claim 19 or 20, wherein a plurality of the peer-to-peer connected streaming media live broadcast devices are respectively arranged in respective operator networks to form a plurality of operations. The distribution network of the business network.
PCT/CN2007/070535 2006-08-22 2007-08-21 A stream media live system, device and method of peer to peer connection WO2008025294A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200610111492 CN100556129C (en) 2006-08-22 2006-08-22 A kind of equity connects flow medium live system and device
CN200610111492.7 2006-08-22

Publications (1)

Publication Number Publication Date
WO2008025294A1 true WO2008025294A1 (en) 2008-03-06

Family

ID=38880746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070535 WO2008025294A1 (en) 2006-08-22 2007-08-21 A stream media live system, device and method of peer to peer connection

Country Status (2)

Country Link
CN (1) CN100556129C (en)
WO (1) WO2008025294A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187483A (en) * 2019-07-03 2021-01-05 西安诺瓦星云科技股份有限公司 Program distribution method and program distribution system
CN112312094A (en) * 2020-10-29 2021-02-02 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device
WO2023050945A1 (en) * 2021-09-30 2023-04-06 中兴通讯股份有限公司 Multimedia content transmission method and system, electronic device, and storage medium

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170371B (en) * 2007-11-30 2010-12-29 中兴通讯股份有限公司 A client data request optimization method and system in P2P order
CN101188622B (en) * 2007-12-29 2011-04-20 腾讯科技(深圳)有限公司 A method and device for downloading file by using P2P living broadcast channel
CN101471919B (en) * 2007-12-29 2012-01-11 突触计算机系统(上海)有限公司 Method and device for downloading slicing of equipment based on point-to-point transmission protocol
CN101741893B (en) * 2008-11-24 2012-06-27 中国网通集团宽带业务应用国家工程实验室有限公司 Equivalent network flow media service processing system and method
CN101478446B (en) * 2008-12-30 2011-07-20 华为技术有限公司 Network appliance version loading method, apparatus and system
CN101969448B (en) * 2009-06-17 2013-03-13 中国移动通信集团公司 Method, system and equipment for searching active node in P2P streaming media system
CN101938508B (en) * 2009-07-01 2013-01-02 中国电信股份有限公司 Method and system for shortening time delay in peer-to-peer network streaming media live broadcast system
CN101610165B (en) * 2009-07-29 2012-08-29 腾讯科技(深圳)有限公司 Method and device for automatically diffusing resources
CN101867777B (en) * 2010-04-20 2013-04-10 南京邮电大学 Video ordering transmission method based on peer-to-peer computing set-top box
CN102238137B (en) * 2010-04-27 2014-07-16 腾讯科技(深圳)有限公司 Method, system and device for downloading
CN101917454B (en) * 2010-06-09 2014-03-12 中兴通讯股份有限公司 Method and device for synchronizing EPG (Error Pattern Generator) files in IPTV (Internet Protocol Television)
CN101877722A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Electronic program guide (EPG) system and file downloading method
CN102547470A (en) * 2010-12-27 2012-07-04 中国移动通信集团公司 Playing method, system and server for distributed streaming media business
CN102684891B (en) * 2011-03-10 2015-06-17 株式会社日立制作所 Data distribution system and data distribution server
CN102137163B (en) * 2011-03-22 2015-08-05 Tcl集团股份有限公司 A kind of method of multimedia file shared system and shared multimedia file thereof
CN103248666A (en) * 2012-02-14 2013-08-14 深圳市腾讯计算机系统有限公司 System, method and device for offline resource download
CN103873926B (en) * 2012-12-13 2017-03-22 腾讯科技(深圳)有限公司 Method and system for downloading and playing media file
CN103036973A (en) * 2012-12-13 2013-04-10 中国航天科工信息技术研究院 System and method for downloading satellite navigation precise ephemeris
CN103702202A (en) * 2013-12-13 2014-04-02 乐视致新电子科技(天津)有限公司 Method and device for realizing fast playing during channel switching
CN104852943B (en) * 2014-02-19 2019-04-05 华为技术有限公司 The method and sending device of file transmission
CN104581421B (en) * 2014-12-30 2018-05-22 新浪网技术(中国)有限公司 A kind of point-to-point stream media downloading method and nodal terminal device
CN107995244A (en) * 2016-10-27 2018-05-04 北京优朋普乐科技有限公司 A kind of data request method and device of live multimedia resource
CN108234180B (en) * 2016-12-21 2021-07-23 北京酷我科技有限公司 Seed user allocation optimization method and system
CN107295103B (en) * 2017-07-26 2020-05-26 南京邮电大学 Node management method based on centralized P2P system
CN108881963A (en) * 2018-05-30 2018-11-23 歌尔科技有限公司 Data capture method, server-side and client
CN112954052A (en) * 2021-02-07 2021-06-11 深圳市星网储区块链有限公司 Streaming media distribution method and device based on point-to-point

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004127189A (en) * 2002-10-07 2004-04-22 Matsushita Electric Ind Co Ltd Gateway device, and system and method for transferring contents
JP2005004615A (en) * 2003-06-13 2005-01-06 Oki Electric Ind Co Ltd Content distribution management system
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download
CN1925403A (en) * 2005-09-02 2007-03-07 腾讯科技(深圳)有限公司 Network communication system and method realizing file downloading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004127189A (en) * 2002-10-07 2004-04-22 Matsushita Electric Ind Co Ltd Gateway device, and system and method for transferring contents
JP2005004615A (en) * 2003-06-13 2005-01-06 Oki Electric Ind Co Ltd Content distribution management system
CN1710857A (en) * 2004-06-18 2005-12-21 千橡寰宇科技发展(北京)有限公司 Method and method for realizing document accelerated download
CN1925403A (en) * 2005-09-02 2007-03-07 腾讯科技(深圳)有限公司 Network communication system and method realizing file downloading

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187483A (en) * 2019-07-03 2021-01-05 西安诺瓦星云科技股份有限公司 Program distribution method and program distribution system
CN112312094A (en) * 2020-10-29 2021-02-02 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device
CN112312094B (en) * 2020-10-29 2022-10-18 浙江大华技术股份有限公司 Method and device for processing media information, storage medium and electronic device
WO2023050945A1 (en) * 2021-09-30 2023-04-06 中兴通讯股份有限公司 Multimedia content transmission method and system, electronic device, and storage medium

Also Published As

Publication number Publication date
CN101068336A (en) 2007-11-07
CN100556129C (en) 2009-10-28

Similar Documents

Publication Publication Date Title
WO2008025294A1 (en) A stream media live system, device and method of peer to peer connection
US11539768B2 (en) System and method of minimizing network bandwidth retrieved from an external network
CN101141459B (en) Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
Deshpande et al. Streaming live media over a peer-to-peer network
EP2288085B1 (en) P2p based method, device and system for playing media
WO2017088383A1 (en) Method, apparatus and system for playing live video
Paris et al. Peer-to-peer multimedia streaming using BitTorrent
CN102355448B (en) Cloud streaming media data transmission method and system
CN103581245B (en) A kind of method and system of content distributing network content distribution
US7908362B2 (en) Method and apparatus for the delivery of digital data
CN100558042C (en) A kind of P2P live broadcasting method based on super node
US20110246608A1 (en) System, method and device for delivering streaming media
US20080037527A1 (en) Peer-to-Peer Interactive Media-on-Demand
WO2007025474A1 (en) Network communication system and method for downloading the file
JP4370995B2 (en) Connection mode setting device, connection mode setting method, connection mode control device, connection mode control method, etc.
GB2440774A (en) Monitoring QoS and adjusting rates for delivery of data in Peer to Peer networks.
WO2012000429A1 (en) Method, server and terminal for audio and video on demand
WO2009152754A1 (en) Method, system and device for providing contents based on peer to peer network
CN101938508A (en) Method and system for shortening time delay in peer-to-peer network streaming media live broadcast system
WO2011000289A1 (en) Method, system and proxy node for peer-to-peer (p2p) streaming media data distribution
US20100198977A1 (en) Automatic live stream trees
CN101895576A (en) P2P distributed streaming media live broadcast method with small-startup time delay
JP6111452B2 (en) Method and apparatus for distributing digital data
CN109561137A (en) Establish method, apparatus, terminal device and the medium of P2P network
EP2387177A1 (en) Content distribution in a P2P infrastructure by means of multicast connections

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 300609

122 Ep: pct application non-entry in european phase

Ref document number: 07785433

Country of ref document: EP

Kind code of ref document: A1