CN101534204B - Streaming media information distribution system and method thereof and user end - Google Patents
Streaming media information distribution system and method thereof and user end Download PDFInfo
- Publication number
- CN101534204B CN101534204B CN2008101016603A CN200810101660A CN101534204B CN 101534204 B CN101534204 B CN 101534204B CN 2008101016603 A CN2008101016603 A CN 2008101016603A CN 200810101660 A CN200810101660 A CN 200810101660A CN 101534204 B CN101534204 B CN 101534204B
- Authority
- CN
- China
- Prior art keywords
- node
- point
- server
- information
- media information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000013475 authorization Methods 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000013519 translation Methods 0.000 claims description 6
- 238000013467 fragmentation Methods 0.000 abstract description 32
- 238000006062 fragmentation reaction Methods 0.000 abstract description 32
- 238000012986 modification Methods 0.000 abstract description 5
- 230000004048 modification Effects 0.000 abstract description 5
- 238000007726 management method Methods 0.000 description 53
- 239000000872 buffer Substances 0.000 description 25
- 238000005516 engineering process Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 24
- 239000012634 fragment Substances 0.000 description 20
- 230000006870 function Effects 0.000 description 20
- 238000004458 analytical method Methods 0.000 description 11
- 230000009466 transformation Effects 0.000 description 9
- 230000036541 health Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000000717 retained effect Effects 0.000 description 4
- 230000003139 buffering effect Effects 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 101150012579 ADSL gene Proteins 0.000 description 2
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 2
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 2
- 102100033040 Carbonic anhydrase 12 Human genes 0.000 description 2
- 101000867855 Homo sapiens Carbonic anhydrase 12 Proteins 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明提供一种流媒体信息分发系统和方法及客户端。该系统中包括内容分发网络中心节点、内容分发网络边缘节点和点对点自治域,系统通过位于点对点自治域内的区域中心服务器或位于内容分发网络边缘节点内的点对点分片模块对用户请求的流媒体信息进行分片处理,并下发给用户节点。本发明以内容分发网络为内容核心,以点对点为服务边缘的架构,在网络边缘对流媒体进行分片处理,通过该系统架构,可以在不对现有内容分发网络进行改造或改造较小的情况下有效地提升内容分发网络服务能力。
The invention provides a streaming media information distribution system, method and client. The system includes content distribution network central node, content distribution network edge node and point-to-point autonomous domain. Perform fragmentation processing and send it to user nodes. The present invention takes the content distribution network as the content core and the point-to-point as the service edge architecture, and performs fragmentation processing on the streaming media at the edge of the network. Through this system architecture, the existing content distribution network can be modified without or with a small modification Effectively enhance the service capability of content distribution network.
Description
技术领域technical field
本发明实施例涉及流媒体通信领域,尤其涉及一种流媒体信息分发系统和方法及客户端。The embodiments of the present invention relate to the field of streaming media communication, in particular to a streaming media information distribution system and method and a client.
背景技术Background technique
流媒体(Streaming Media)指在数据网络上按时间先后次序传输和播放的连续音/视频数据流。与传统的播放方式不同,流媒体在播放前并不下载整个文件,只将部分内容缓存,使流媒体数据流边传送边播放,这样就节省了下载等待时间和存储空间。目前,流媒体分发主要采用内容分发网络(ContentDelivery Network;以下简称:CDN)和点对点网络(Peer-to-Peer Network;以下简称:P2P)两种技术。Streaming Media (Streaming Media) refers to the continuous audio/video data stream transmitted and played in chronological order on the data network. Different from traditional playback methods, streaming media does not download the entire file before playing, but only caches part of the content, so that the streaming media data stream can be played while being transmitted, which saves download waiting time and storage space. Currently, streaming media distribution mainly adopts two technologies: content delivery network (Content Delivery Network; hereinafter referred to as: CDN) and peer-to-peer network (Peer-to-Peer Network; hereinafter referred to as: P2P).
CDN是一种基于客户端/服务器(Client/Server;以下简称:C/S)结构的分布式媒体服务技术平台。CDN是目前采用比较普遍、技术成熟度比较高的一种平台,目前的CDN服务主要应用于证券、金融保险、ISP、ICP、网上交易、门户网站、大中型公司和网络教学等领域,其目的是通过在现有的Internet中增加一层新的网络架构,通过智能化策略,将用户需要访问的内容分发到距离用户最近、服务质量最好的节点,同时通过后台服务自动的将用户调度到相应的节点,为用户提供最好的服务。这种方案有效缓解了Internet网络拥塞状况,提高用户访问网站的响应速度。从技术上全面解决由于网络带宽小、用户访问量大、网点分布不均等原因而造成的用户访问响应速度慢的问题。CDN技术虽然可以在一定程度上加速流媒体分发,实现下载、直播和点播,但是其核心仍然是基于集中服务器的结构,很难降低其扩展的成本。另外,现有CDN技术在高峰时期对突发流量的适应性、容错性等方面仍然存在一定缺陷。随着用户规模的迅速增加,对CDN应用发展提出了较大挑战。A CDN is a distributed media service technology platform based on a client/server (Client/Server; hereinafter referred to as: C/S) structure. CDN is currently a platform that is widely used and has relatively high technical maturity. The current CDN service is mainly used in securities, finance and insurance, ISP, ICP, online transactions, portal websites, large and medium-sized companies, and online teaching. By adding a new layer of network architecture to the existing Internet, through intelligent strategies, the content that users need to access is distributed to the node closest to the user and with the best service quality, and at the same time, the user is automatically dispatched to the node through the background service. The corresponding nodes provide users with the best service. This solution effectively relieves Internet network congestion and improves the response speed of users accessing websites. Technically, it fully solves the problem of slow user access response speed due to reasons such as small network bandwidth, large user access volume, and uneven network distribution. Although CDN technology can accelerate streaming media distribution to a certain extent and realize download, live broadcast and on-demand broadcast, its core is still based on the structure of centralized servers, and it is difficult to reduce the cost of its expansion. In addition, the existing CDN technology still has certain defects in terms of adaptability and fault tolerance to burst traffic during peak periods. With the rapid increase of the user scale, great challenges are posed to the development of CDN applications.
P2P技术打破了传统的C/S模式,是一种基于对等节点非中心化服务的技术平台。在P2P网络中,每个节点的地位都是相同的,具备客户端和服务器双重特性,可以同时作为服务使用者和服务提供者。P2P技术充分利用了对等节点的服务能力,能在较低的扩展成本下避免拥塞,为大量用户提供具备高实时性和容错性能的流服务。但是,现有的单纯的P2P流媒体应用也存在它的问题,P2P流媒体业务的盛行会带来网络流量风暴、新闻监管缺失,内容版权管理真空,盗版盛行,可能导致恶性病毒,给电信运营商以及产业链造成损害,这些问题阻碍了P2P流媒体技术进一步发展成为运营商级别的可靠技术平台。P2P technology breaks the traditional C/S mode and is a technology platform based on peer-to-peer decentralized services. In the P2P network, each node has the same status, has the dual characteristics of client and server, and can serve as a service user and a service provider at the same time. P2P technology makes full use of the service capabilities of peer nodes, can avoid congestion at low expansion costs, and provide streaming services with high real-time and fault-tolerant performance for a large number of users. However, the existing simple P2P streaming media applications also have its problems. The prevalence of P2P streaming media services will bring about network traffic storms, lack of news supervision, vacuum in content copyright management, and prevalence of piracy, which may lead to vicious viruses and cause serious damage to telecom operators. These problems have hindered the further development of P2P streaming media technology into a reliable technology platform at the operator level.
通过对CDN技术和P2P技术所进行的优缺点分析可以得出,在可扩展性、内容版权、QoS服务、流量管理等方面,CDN和P2P技术各有所长,基本上能完全互补。目前,P2P和CDN融合实现P2P流媒体业务主要以下有三种方案:Through the analysis of the advantages and disadvantages of CDN technology and P2P technology, it can be concluded that in terms of scalability, content copyright, QoS service, traffic management, etc., CDN and P2P technology have their own strengths and can basically complement each other completely. At present, there are three main solutions for P2P and CDN integration to realize P2P streaming services:
方案一、重建P2P CDN流媒体系统Solution 1: Rebuild the P2P CDN streaming media system
图1为现有的重建P2P CDN流媒体系统架构图,如图1所示,为现有技术中P2P和CDN融合实现P2P流媒体业务方案一的系统结构示意图。该系统中,系统服务对象为P2P CDN用户,原有CDN用户需要对客户端进行改造后才可以通过该系统获取到媒体内容。该系统中,在P2P CDN中心节点按照P2P协议对媒体内容进行分片处理,然后将分片后的媒体内容利用CDN技术推送到P2P CDN骨干边缘节点,P2P CDN骨干边缘节点及其覆盖的最终用户(User)作为对等实体,共同构成一个P2P自治域,在域内利用P2P技术实现资源共享,而自治域之间不发生流量交换。Fig. 1 is the structure diagram of the existing reconstructed P2P CDN streaming media system, as shown in Fig. 1, it is a schematic diagram of the system structure of P2P and CDN fusion in the prior art to realize P2P streaming media business solution one. In this system, the system service objects are P2P CDN users, and the original CDN users need to modify the client to obtain media content through the system. In this system, the P2P CDN central node fragments the media content according to the P2P protocol, and then uses the CDN technology to push the fragmented media content to the P2P CDN backbone edge nodes, P2P CDN backbone edge nodes and the end users covered by them As a peer entity, (User) jointly constitute a P2P autonomous domain, and use P2P technology to realize resource sharing in the domain, and no traffic exchange occurs between autonomous domains.
方案二、对现有CDN进行改造建立P2P CDN流媒体系统Solution 2: Transform the existing CDN to establish a P2P CDN streaming media system
图2为现有的对CDN网络进行大规模改造建立P2P CDN流媒体系统架构图,如图2所示,为现有技术中P2P和CDN融合实现P2P流媒体业务方案二的系统结构示意图。该系统中,系统服务对象既包括P2P CDN用户,也可以包括原有CDN用户,并且不需要对原有CDN用户的客户端进行改造。该系统在原有CDN网络中增加部分模块(可以是硬件也可以是软件),利用增加的模块为用户提供P2P流媒体服务。在该系统中,在CDN中心节点增加P2P CDN中心节点,作为P2P CDN系统的内容源,原有CDN中心节点仍作为原有CDN系统的内容源。在骨干网边缘,增加P2P CDN骨干边缘节点,在CDN中心节点按照P2P协议对媒体内容进行分片处理,并将分片后的媒体内容利用CDN技术由P2P CDN中心节点推送到P2P CDN骨干边缘节点,P2P CDN骨干边缘节点及其覆盖的最终用户(User)作为对等实体,共同构成一个P2P自治域,在域内利用P2P技术实现资源共享,而自治域之间不发生流量交换。原有CDN中心节点和CDN边缘节点保留,按照原有CDN技术实现传统流媒体的分发。Figure 2 is an architecture diagram of the existing P2P CDN streaming media system for large-scale transformation of the existing CDN network. In this system, the system service objects include both P2P CDN users and original CDN users, and there is no need to modify the clients of the original CDN users. The system adds some modules (which can be hardware or software) to the original CDN network, and uses the added modules to provide users with P2P streaming media services. In this system, a P2P CDN central node is added to the CDN central node as the content source of the P2P CDN system, and the original CDN central node is still used as the content source of the original CDN system. At the edge of the backbone network, add P2P CDN backbone edge nodes, fragment the media content at the CDN central node according to the P2P protocol, and push the fragmented media content from the P2P CDN central node to the P2P CDN backbone edge node using CDN technology , the P2P CDN backbone edge nodes and their covered end users (Users) as peer entities together constitute a P2P autonomous domain, in which P2P technology is used to realize resource sharing, and no traffic exchange occurs between autonomous domains. The original CDN central node and CDN edge node are reserved, and the distribution of traditional streaming media is realized according to the original CDN technology.
方案三、在客户端进行P2P分片的P2P CDN流媒体系统Solution 3: P2P CDN streaming media system for P2P fragmentation on the client side
图3为现有的在客户端进行P2P分片处理的P2P CDN流媒体系统架构图,如图3所示,为现有技术中P2P和CDN融合实现P2P流媒体业务方案三的系统结构示意图。该系统中,客户端增加P2P分片功能,对媒体流进行分片。首先初始用户端从服务端接收并播放内容分发网络系统的音视频数据,将音视频数据分片,并编号缓存;后续用户端通过判断,从服务端或用户端获取音视频数据,播放音视频数据同时将音视频数据分片,并编号缓存。Fig. 3 is an architecture diagram of an existing P2P CDN streaming media system that performs P2P fragmentation processing on the client side. In this system, the client adds a P2P fragmentation function to fragment the media stream. First, the initial client receives and plays the audio and video data of the content distribution network system from the server, fragments the audio and video data, and caches them by numbers; the subsequent client obtains the audio and video data from the server or the client through judgment, and plays the audio and video At the same time, the data fragments the audio and video data and caches them with numbers.
在上述方案一中,针对用户为P2P CDN用户,原有CDN用户需要对客户端进行改造后才可以使用该系统得到媒体内容。另外,该系统未利用现有CDN系统,不能有效保护运营商现有投资。在上述方案二中,对现有CDN进行了大规模的改造,改造投资大。另外,为了同时为原有CDN用户和P2PCDN用户提供流媒体服务,在骨干网中,既要传输传统流媒体,也要传输P2P分片处理后的媒体内容,耗费更多骨干网带宽。在上述方案三中,每个客户端都需要增加分片功能,并且对于同一媒体内容,在多个客户端进行了分片,增加延时。In the above scheme 1, for users who are P2P CDN users, the original CDN users need to modify the client before they can use the system to obtain media content. In addition, the system does not utilize the existing CDN system and cannot effectively protect the existing investment of operators. In the above-mentioned scheme two, the existing CDN has undergone large-scale transformation, and the transformation investment is large. In addition, in order to provide streaming media services for original CDN users and P2PCDN users at the same time, in the backbone network, both traditional streaming media and P2P fragmented media content must be transmitted, which consumes more backbone network bandwidth. In the third solution above, each client needs to add a fragmentation function, and for the same media content, fragmentation is performed on multiple clients, which increases the delay.
发明内容Contents of the invention
本发明的目的是为解决现有技术的缺陷,提供一种流媒体信息分发系统和方法及客户端。The object of the present invention is to provide a streaming media information distribution system and method and a client to solve the defects of the prior art.
本发明提供一种流媒体信息分发系统,包括位于骨干网中的内容分发网络中心节点、位于所述骨干网边缘的内容分发网络边缘节点和点对点自治域,所述点对点自治域包括:The present invention provides a streaming media information distribution system, comprising a central node of a content distribution network located in a backbone network, an edge node of a content distribution network located at the edge of the backbone network, and a point-to-point autonomous domain, wherein the point-to-point autonomous domain includes:
节点索引服务器,用于存储所述点对点自治域内节点的节点信息,且在接收到一节点发送的流媒体内容请求信息时,为发送所述请求信息的节点提供节点列表,所述节点列表中包括能够为所述节点提供对应的流媒体内容的节点信息;The node index server is used to store the node information of the nodes in the point-to-point autonomous domain, and when receiving the streaming media content request information sent by a node, provide a node list for the node sending the request information, the node list includes Being able to provide the node with corresponding streaming media content node information;
区域中心服务器,用于当所述点对点自治域内无能够为所述发送所述请求信息的节点提供对应的流媒体内容的节点时,将存储的或通过所述内容分发网络边缘节点接收所述内容分发网络中心节点发送的、所述发送请求信息的节点对应的流媒体信息,按照点对点协议进行分片处理后发送给所述发送所述请求信息的节点。The regional center server is used to store or receive the content through the edge node of the content distribution network when there is no node in the point-to-point autonomous domain that can provide the corresponding streaming media content for the node sending the request information The streaming media information sent by the central node of the distribution network and corresponding to the node sending the request information is sent to the node sending the request information after being fragmented according to the point-to-point protocol.
本发明提供另一种流媒体信息分发系统,包括位于骨干网中的内容分发网络中心节点、位于所述骨干网边缘的内容分发网络边缘节点和点对点自治域,所述内容分发网络边缘节点包括:The present invention provides another streaming media information distribution system, comprising a central node of a content distribution network located in a backbone network, an edge node of a content distribution network located at the edge of the backbone network, and a point-to-point autonomous domain, and the edge node of a content distribution network includes:
点对点分片模块,用于当所述点对点自治域内无能够为所述发送所述请求信息的节点提供对应的流媒体内容的节点时,在将所述发送所述请求信息的节点重定向到能够为其提供所请求的流媒体信息的高速缓存后,对所述高速缓存分发的流媒体信息进行分片处理,并发送给所述发送所述请求信息的节点;A point-to-point fragmentation module, configured to redirect the node sending the request information to a node capable of providing the node sending the request information when there is no node in the point-to-point autonomous domain capable of providing corresponding streaming media content for the node sending the request information After providing it with a cache of the requested streaming media information, perform fragmentation processing on the streaming media information distributed by the cache, and send it to the node that sends the requested information;
所述点对点自治域包括:The point-to-point autonomous domain includes:
节点索引服务器,用于存储所述点对点自治域内节点的节点信息,且在接收到一节点发送的流媒体内容请求信息时,为发送所述请求信息的节点提供节点列表,所述节点列表中包括能够为所述节点提供对应的流媒体内容的节点信息。The node index server is used to store the node information of the nodes in the point-to-point autonomous domain, and when receiving the streaming media content request information sent by a node, provide a node list for the node sending the request information, the node list includes Node information corresponding to the streaming media content can be provided for the node.
本发明提供一种流媒体信息分发方法,包括:The present invention provides a streaming media information distribution method, comprising:
请求节点向节点索引服务器发送流媒体内容请求信息;The requesting node sends streaming media content request information to the node index server;
所述节点索引服务器在其存储的节点列表中,查找能够为所述请求节点提供流媒体信息的服务节点信息;The node index server searches for service node information capable of providing streaming media information for the requesting node in its stored node list;
若有,则所述节点索引服务器将查找到的服务节点信息组成服务节点列表,并发送给所述请求节点,所述请求节点与所述服务节点进行通信,获得所述服务节点的流媒体信息;If so, the node index server forms the service node list with the service node information found, and sends it to the requesting node, and the requesting node communicates with the service node to obtain the streaming media information of the service node ;
若无,则所述请求节点向区域中心服务器发送所述流媒体内容请求信息,所述区域中心服务器判断是否存储有对应的流媒体信息,若有,则所述区域中心服务器将所述对应的流媒体信息进行分片处理,并发送给所述请求节点;若无,则所述区域中心服务器向内容分发网络请求对应的流媒体信息,并将获得的所述对应的流媒体信息进行分片处理,并发送给所述请求节点。If not, the requesting node sends the streaming media content request information to the regional center server, and the regional center server judges whether there is corresponding streaming media information stored, and if so, the regional center server sends the corresponding The streaming media information is fragmented and sent to the requesting node; if not, the regional center server requests the corresponding streaming media information from the content distribution network, and fragments the obtained corresponding streaming media information processed and sent to the requesting node.
本发明提供另一种流媒体信息分发方法,包括:The present invention provides another method for distributing streaming media information, including:
请求节点向节点索引服务器发送流媒体内容请求信息;The requesting node sends streaming media content request information to the node index server;
所述节点索引服务器在其存储的节点列表中,查找能够为所述请求节点提供流媒体信息的服务节点信息;The node index server searches for service node information capable of providing streaming media information for the requesting node in its stored node list;
若有,则所述节点索引服务器将查找到的服务节点信息组成服务节点列表,并发送给所述请求节点,所述请求节点与所述服务节点进行通信,获得所述服务节点的流媒体信息;If so, the node index server forms the service node list with the service node information found, and sends it to the requesting node, and the requesting node communicates with the service node to obtain the streaming media information of the service node ;
若无,则所述请求节点向内容分发网络请求对应的流媒体信息,并通过内容分发网络边缘节点的点对点分片模块将所述对应的流媒体信息进行分片处理,并发送给所述请求节点。If not, the requesting node requests the corresponding streaming media information from the content distribution network, and performs fragmentation processing on the corresponding streaming media information through the point-to-point fragmentation module of the edge node of the content distribution network, and sends it to the requesting node node.
本发明提供一种客户端,包括:The present invention provides a client, including:
播放模块,用于从数据下载模块中获取流媒体信息,并对所述流媒体信息进行解码播放;A playback module, configured to obtain streaming media information from the data download module, and decode and play the streaming media information;
数据下载模块,用于建立和维护用于暂存自其它客户端处下载的流媒体信息的环形缓冲区,还建立一用于从所述环形缓冲区获取流媒体信息的先入先出的数据缓冲区;The data download module is used to establish and maintain a ring buffer for temporarily storing streaming media information downloaded from other clients, and also establishes a first-in-first-out data buffer for obtaining streaming media information from the ring buffer district;
数据调度模块,用于根据其它客户端的资源管理模块的数据缓冲区中缓存的数据块的编号信息,从所述其它客户端获取对应的流媒体信息;The data scheduling module is used to obtain corresponding streaming media information from other clients according to the serial number information of the data blocks cached in the data buffer of the resource management module of other clients;
资源管理模块,用于建立并维护本地数据状态表,所述本地数据状态表中存储有数据下载模块中的数据缓冲区缓存的流媒体信息的标志符和所述数据缓冲区中缓存的数据块的编号。The resource management module is used to establish and maintain a local data state table, the identifier of the streaming media information cached in the data buffer in the data download module and the data blocks cached in the data buffer are stored in the local data state table number.
本发明提供的流媒体信息分发系统和方法及客户端,在骨干网层次保留了原有的CDN系统的架构和功能,充分利用CDN的管理机制,实现内容统一管理、资源管理和用户管理,解决了纯P2P网络的内容不可监管,无法进行有效用户管理的问题;在网络边缘引入P2P自治域,自治域之间相互独立,有效地将P2P流量限制在P2P自治域内;该系统形成以CDN为内容核心,以P2P为服务边缘的架构,在网络边缘对传统流媒体按照P2P协议进行分片处理,通过这种系统架构,运营商可以在不对现有CDN进行改造或改造较小的情况下有效地提升CDN服务能力。在网络边缘对传统流媒体进行分片,在骨干网,传送的仍然是传统媒体流,可在不对现有CDN用户客户端进行改造的情况下为现有CDN用户提供流媒体业务。The streaming media information distribution system, method and client provided by the present invention retain the architecture and functions of the original CDN system at the backbone network level, make full use of the management mechanism of the CDN, and realize unified management of content, resource management and user management, and solve the problem of The content of the pure P2P network cannot be supervised, and the problem of effective user management cannot be carried out; P2P autonomous domains are introduced at the edge of the network, and the autonomous domains are independent of each other, effectively restricting P2P traffic within the P2P autonomous domain; the system forms a CDN-based The core, with P2P as the service edge architecture, fragments the traditional streaming media at the edge of the network according to the P2P protocol. Through this system architecture, operators can effectively transform the existing CDN without or with minor transformation. Improve CDN service capabilities. Fragment traditional streaming media at the edge of the network, and transmit traditional media streaming on the backbone network, which can provide streaming media services to existing CDN users without modifying existing CDN user clients.
附图说明Description of drawings
图1为现有的重建P2P CDN流媒体系统架构图;Fig. 1 is the structure diagram of the existing reconstruction P2P CDN streaming media system;
图2为现有的对CDN网络进行大规模改造建立P2P CDN流媒体系统架构图;Figure 2 is an architecture diagram of the existing P2P CDN streaming media system for large-scale transformation of the existing CDN network;
图3为现有的在客户端进行P2P分片处理的P2P CDN流媒体系统架构图;Fig. 3 is the architecture diagram of the existing P2P CDN streaming media system that performs P2P fragmentation processing at the client;
图4为本发明流媒体信息分发系统实施例的系统总框架图;Fig. 4 is the overall system frame diagram of the streaming media information distribution system embodiment of the present invention;
图5为本发明流媒体信息分发方法实施例的媒体流传送过程图Fig. 5 is a media stream transmission process diagram of an embodiment of the streaming media information distribution method of the present invention
图6为本发明一种流媒体信息分发系统的实施例的系统框架图;Fig. 6 is a system frame diagram of an embodiment of a streaming media information distribution system of the present invention;
图7为本发明一种流媒体信息分发方法实施例的流程示图;Fig. 7 is a flowchart diagram of an embodiment of a method for distributing streaming media information according to the present invention;
图8为本发明一种流媒体信息分发方法另一实施例流程示意图;FIG. 8 is a schematic flowchart of another embodiment of a method for distributing streaming media information according to the present invention;
图9为本发明另一种流媒体信息分发系统实施例的系统框架图;Fig. 9 is a system frame diagram of another streaming media information distribution system embodiment of the present invention;
图10为本发明另一种流媒体信息分发方法实施例的流程示图;FIG. 10 is a flow diagram of another embodiment of a method for distributing streaming media information in the present invention;
图11为本发明另一种流媒体信息分发方法的另一实施例流程示意图;FIG. 11 is a schematic flowchart of another embodiment of another method for distributing streaming media information in the present invention;
图12为本发明客户端结构示意图。Fig. 12 is a schematic diagram of the client structure of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例进一步说明本发明实施例的技术方案。The technical solutions of the embodiments of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
图4为本发明流媒体信息分发系统实施例的系统总框架图,如图4所示,在本发明实施例提供新的适合运营商的P2P流媒体内容分发系统中,在骨干网层次保留了原有的CDN系统的架构和功能,在骨干网络边缘,构造多个自治的、相互独立的P2P流媒体网络,即P2P自治域;每个P2P自治域内的用户(User)之间通过P2P方式进行交互。在网络边缘对传统媒体流按照P2P协议进行分片处理,并将分片后的媒体信息发送给用户。Fig. 4 is the overall system frame diagram of the embodiment of the streaming media information distribution system of the present invention, as shown in Fig. 4, in the new P2P streaming media content distribution system suitable for operators provided by the embodiment of the present invention, the backbone network layer retains The architecture and functions of the original CDN system, on the edge of the backbone network, construct multiple autonomous and mutually independent P2P streaming media networks, that is, P2P autonomous domains; users in each P2P autonomous domain (Users) communicate through P2P. interact. At the edge of the network, the traditional media stream is fragmented according to the P2P protocol, and the fragmented media information is sent to the user.
图5为本发明流媒体信息分发方法实施例的媒体流传送过程图,本方法为适合运营商的P2P流媒体内容分发系统媒体流传送过程图;如图5所示,由于本发明实施例中的流媒体信息分发系统对原有CDN系统不进行改造,在原有CDN网络中,传输的仍然是传统的未分片的媒体流,在P2P自治域的区域中心节点,对传统媒体流按照P2P协议进行分片,对于CDN用户,可由原有的CDN系统为其提供未分片的媒体流,对于P2P用户,由P2P流媒体系统为其提供分片后的P2P媒体流。Fig. 5 is the media stream transmission process diagram of the embodiment of the streaming media information distribution method of the present invention, and this method is the media stream transmission process diagram of the P2P streaming media content distribution system suitable for operators; The streaming media information distribution system does not modify the original CDN system. In the original CDN network, the traditional unfragmented media stream is still transmitted. In the regional central node of the P2P autonomous domain, the traditional media stream is transmitted according to the P2P protocol. For fragmentation, for CDN users, the original CDN system can provide them with unfragmented media streams; for P2P users, the P2P streaming media system can provide them with fragmented P2P media streams.
以下基于上述的系统框架,本发明实施例提供两种新的适合运营商的P2P流媒体内容分发系统和基于该系统的分发方法,详细介绍如下。Based on the above-mentioned system framework, the embodiments of the present invention provide two new P2P streaming media content distribution systems suitable for operators and a distribution method based on the systems, which are described in detail as follows.
图6为本发明一种流媒体信息分发系统实施例的系统框架图,如图6所示,本系统主要实现在P2P自治域内对流媒体进行分片处理,该系统包括位于骨干网中的CDN中心节点、位于所述骨干网边缘的CDN边缘节点和点对点自治域。在骨干网中保留有原有的CDN系统的架构,在CDN中心节点中包括内容管理服务器11、CA12、WEB服务器13、SP/CP服务器14、网管和监控服务器15、业务统计服务器16、AAA服务器17和媒体资源库18;CDN中心节点与CDN边缘节点连接,CDN边缘节点与P2P自治域连接,在P2P自治域中包括:节点索引服务器31和区域中心服务器32。其中节点索引服务器31用于存储所述P2P自治域内节点的节点信息,且在接收到一节点发送的流媒体内容请求信息时,为发送所述请求信息的节点提供节点列表,所述节点列表中包括能够为所述节点提供对应的流媒体内容的节点信息;区域中心服务器32用于当所述P2P自治域内无能够为所述发送所述请求信息的节点提供对应的流媒体内容的节点时,将存储的或通过所述内容分发网络边缘节点接收所述内容分发网络中心节点发送的、所述发送请求信息的节点对应的流媒体信息,按照P2P协议进行分片处理后发送给所述发送所述请求信息的节点。Fig. 6 is a system frame diagram of an embodiment of a streaming media information distribution system of the present invention. As shown in Fig. 6, the system mainly implements fragmentation processing of streaming media in the P2P autonomous domain, and the system includes a CDN center located in the backbone network node, a CDN edge node located at the edge of the backbone network, and a point-to-point autonomous domain. The original CDN system architecture is retained in the backbone network, and the CDN central node includes content management server 11, CA12,
P2P自治域内的数个用户36在域内利用P2P技术实现资源共享。节点索引服务器31存储有P2P自治域内每个节点即用户的信息,当得到一个节点请求某一流媒体内容的信息后,节点索引服务器31根据当前网络中节点的相关信息及选择策略为该节点提供一个可以提供该媒体内容的节点列表,然后由节点根据选择调度策略选择为其服务的节点。系统中每一个节点都要定期地向节点索引服务器31上报本身存储和收看的媒体内容信息。区域中心服务器32是P2P自治域内的源服务器,存储热门的媒体内容,当用户请求某一媒体内容时,将得到一个P2P自治域内可以提供该媒体内容的节点列表,若P2P自治域内没有节点可以为该用户提供此媒体内容,则用户向区域中心服务器32发送媒体内容请求信息,由区域中心服务器32为该用户提供服务;若区域中心服务器32中没有存储用户所请求的媒体内容,则由区域中心服务器32向CDN网络请求对应的媒体内容,由于从CDN中得到的媒体流为传统的未分片的媒体流,因此,区域中心服务器32将该媒体流按照P2P协议进行分片,并将分片后的媒体流选择性存储并发送给用户。
在P2P自治域内还包括区域业务管理服务器33、网络地址转换(NetworkAddress Translation;以下简称:NAT)穿越服务器34和带宽补偿服务器35,其中区域业务管理服务器33用于对所述点对点自治域中的节点进行认证、授权和统计;NAT穿越服务器34用于进行系统中NAT和防火墙的穿越;带宽补偿服务器35用于流媒体码流带宽大于用户上行带宽时,进行带宽补偿。In the P2P autonomous domain, a regional
具体地,NAT穿越服务器34负责系统中NAT和防火墙的穿越;区域业务管理服务器33负责系统中用户的认证、授权、统计等工作,当用户请求某一媒体内容时,首先被P2P调度服务器调度到区域业务管理服务器33中,由区域业务管理服务器33同系统中运营支撑系统互通,对用户进行认证、授权;此外,区域业务管理服务器33还负责收集和整理客户端上报的统计信息,并将此信息上报全国业务统计系统。带宽补偿服务器35主要用于上行带宽小于下行带宽的网络,例如ADSL环境下,用户上行带宽和下行带宽不一致,当流媒体码流大于用户平均上行带宽,P2P节点无法完成流量平衡,多出的带宽由带宽补偿服务器直接补偿。Specifically, the
P2P自治域内包括的上述五个服务器,即区域中心服务器、节点索引服务器、NAT穿越服务器、区域业务管理服务器和带宽补偿服务器是按逻辑功能划分的,每个功能在网络实现中可以通过多个物理实体实现,也可以仅通过一个物理实体实现两个以上功能。The above five servers included in the P2P autonomous domain, namely the regional center server, node index server, NAT traversal server, regional business management It can also be realized by one physical entity, or more than two functions can be realized by only one physical entity.
在本发明实施例提供的流媒体信息分发系统中,在骨干网层次保留了原有的CDN系统的架构和功能,充分利用CDN的管理机制,实现内容统一管理、资源管理和用户管理,解决了纯P2P网络的内容不可监管,无法进行有效用户管理的问题;在网络边缘引入P2P自治域,自治域之间相互独立,有效地将P2P流量限制在P2P自治域内;该系统形成以CDN为内容核心,以P2P为服务边缘的架构,在网络边缘对传统流媒体按照P2P协议进行分片处理,通过这种系统架构,运营商可以在不对现有CDN进行改造或改造较小的情况下有效地提升CDN服务能力。In the streaming media information distribution system provided by the embodiment of the present invention, the structure and functions of the original CDN system are retained at the backbone network level, and the management mechanism of the CDN is fully utilized to realize unified management of content, resource management and user management, and solve the problem of The content of the pure P2P network cannot be supervised, and effective user management cannot be carried out; P2P autonomous domains are introduced at the edge of the network, and the autonomous domains are independent of each other, effectively restricting P2P traffic within the P2P autonomous domain; the system forms a CDN-based content core , with P2P as the service edge architecture, traditional streaming media is fragmented according to the P2P protocol at the edge of the network. Through this system architecture, operators can effectively upgrade the existing CDN without or with minor transformation. CDN service capabilities.
本实施提供的系统实现了P2P和CDN的融合,将两种技术融合来构建统一的流媒体系统,具有以下优点:(1)提高流服务能力,P2P在边缘层的引入大大降低了边缘服务器的压力,提高了流媒体传输的效率;(2)P2P融合CDN网络具有可管理性,为了避免骨干网上的流量对冲,通过集中的分布式架构,将P2P的流量严格限制在同一边缘节点的区域内,避免电信骨干网上的流量无序性和风暴,增强了网络的可管理性和服务高的可靠性。通过客户端,可以实现对用户的监控,流量的监管;(3)P2P与CDN结合的方式,使得有限的服务能力可以为更多的用户提供流媒体服务,保证了服务质量;P2P技术的应用也能够更有效地防止因网络的抖动而产生对服务质量的影响。The system provided by this implementation realizes the integration of P2P and CDN, and integrates the two technologies to build a unified streaming media system, which has the following advantages: (1) Improve streaming service capabilities, and the introduction of P2P at the edge layer greatly reduces (2) The P2P integrated CDN network is manageable. In order to avoid traffic hedging on the backbone network, P2P traffic is strictly limited to the same edge node area through a centralized distributed architecture. , to avoid traffic disorder and storms on the telecommunications backbone network, and enhance the manageability of the network and the high reliability of services. Through the client, user monitoring and traffic supervision can be realized; (3) The combination of P2P and CDN enables limited service capabilities to provide streaming media services for more users, ensuring service quality; the application of P2P technology It can also more effectively prevent the impact on the quality of service caused by network jitter.
本实施例提供的系统充分利用现有CDN且不对现有的CDN进行改造或改造较小,保护了运营商现有投资。本系统在网络边缘对传统流媒体进行分片,在骨干网,传送的仍然是传统媒体流,可在不对现有CDN用户客户端进行改造的情况下为现有CDN用户提供流媒体业务。本系统可分阶段部署,业务开展迅速,不需对系统进行整体改造,只需在试点地区网络边缘建立P2P自治域,对于CDN用户,可继续使用CDN为其提供流媒体业务。The system provided by this embodiment fully utilizes the existing CDN and does not modify the existing CDN or the modification is minor, which protects the existing investment of the operator. This system fragments the traditional streaming media at the edge of the network. On the backbone network, the traditional media streaming is still transmitted. It can provide streaming media services for existing CDN users without modifying the existing CDN user client. The system can be deployed in phases, and the business can be developed quickly. There is no need for overall transformation of the system. It only needs to establish a P2P autonomous domain at the edge of the network in the pilot area. For CDN users, they can continue to use the CDN to provide streaming media services.
图7为本发明一种流媒体信息分发方法实施例的流程示图,如图7所示,该方法是基于上述的流媒体信息分发系统进行流媒体信息分发的方法,包括如下步骤:Fig. 7 is a flowchart diagram of an embodiment of a method for distributing streaming media information of the present invention. As shown in Fig. 7, the method is a method for distributing streaming media information based on the above-mentioned streaming media information distributing system, including the following steps:
步骤1、请求节点向节点索引服务器发送流媒体内容请求信息;Step 1. The requesting node sends streaming media content request information to the node index server;
请求节点就是要请求流媒体的节点用户。A requesting node is a node user who wants to request streaming media.
步骤2、所述节点索引服务器在其存储的节点列表中,查找能够为所述请求节点提供流媒体信息的服务节点信息;若有,则将查找到的节点信息组成服务节点列表,并发送给所述请求节点;若无,则执行步骤4;
步骤3、所述请求节点与所述服务节点列表中的节点进行通信,获得所述服务节点列表中的节点的流媒体信息,流媒体信息分发过程结束;Step 3, the requesting node communicates with the nodes in the service node list to obtain the streaming media information of the nodes in the service node list, and the streaming media information distribution process ends;
步骤4、所述请求节点向区域中心服务器发送所述流媒体内容请求信息;
步骤5、所述区域中心服务器判断是否存储有对应的流媒体信息,若有,则所述区域中心服务器将所述对应的流媒体信息进行分片处理,并发送给所述请求节点;若无,则所述区域中心服务器向内容分发网络请求对应的流媒体信息,并将获得的所述对应的流媒体信息进行分片处理,并发送给所述请求节点。Step 5, the regional center server judges whether there is corresponding streaming media information stored, and if so, the regional center server fragments the corresponding streaming media information and sends it to the requesting node; if not , the regional center server requests the content distribution network for the corresponding streaming media information, performs fragmentation processing on the obtained corresponding streaming media information, and sends it to the requesting node.
本发明一种流媒体信息分发方法实施例中调度过程为用户登录后,向P2P调度服务器请求调度,P2P调度服务器将用户调度到某一P2P自治域,用户按就近原则被调度到某一P2P自治域中,如果该自治域负载已满或者出现故障,则被调度到其它邻近区域。P2P调度服务器将P2P自治域内的区域业务管理服务器的IP地址及媒体内容的标识(以下简称:ID)返回给用户,用户在P2P自治域内请求获得媒体内容。如果P2P自治域内没有用户请求的媒体内容,则需利用CDN调度策略进行调度,用户所在P2P自治域内没有用户请求的媒体内容,则用户所在P2P自治域的区域中心服务器向CDN网络请求媒体内容。区域中心服务器首先请求域名系统(Domain Name System;以下简称:DNS)对该媒体统一资源定位符(Uniform Resource Locator;以下简称:URL)进行解析,DNS向全局服务器负载均衡(Global Server LoadBalancing;以下简称:GSLB)请求解析,GSLB根据DNS确定该区域中心服务器位置,并对该区域中心服务器所在区域的CDN骨干边缘服务器负载均衡(Server Load Balancing;以下简称:SLB)进行健康和负载等状态进行检测;GSLB向DNS返回该区域CDN边缘节点SLB的IP地址;DNS向P2P自治域的区域中心服务器返回解析结果,即CDN边缘节点SLB的IP地址;P2P自治域的区域中心服务器访问该CDN边缘节点SLB;CDN边缘节点SLB对高速缓存(以下简称:CACHE)进行健康、内容、负载和临近度等探测,选择出最优的CACHE,将区域中心服务器重定向到所选CACHE;CACHE向区域中心服务器提供媒体流,区域中心服务器将该媒体流按P2P协议进行分片处理,并向用户提供媒体流。In the embodiment of the streaming media information distribution method of the present invention, the scheduling process is that after the user logs in, he requests scheduling from the P2P scheduling server, and the P2P scheduling server schedules the user to a certain P2P autonomous domain, and the user is scheduled to a certain P2P autonomous In the domain, if the load of the autonomous domain is full or failure occurs, it will be dispatched to other adjacent areas. The P2P scheduling server returns the IP address of the regional service management server in the P2P autonomous domain and the identification of the media content (hereinafter referred to as: ID) to the user, and the user requests to obtain the media content in the P2P autonomous domain. If there is no media content requested by the user in the P2P autonomous domain, CDN scheduling policy is required for scheduling. If there is no media content requested by the user in the P2P autonomous domain where the user resides, the regional central server of the P2P autonomous domain where the user resides requests media content from the CDN network. The regional center server first requests the Domain Name System (Domain Name System; hereinafter referred to as: DNS) to resolve the media Uniform Resource Locator (hereinafter referred to as: URL), and the DNS sends the global server load balancing (Global Server Load Balancing; hereinafter referred to as : GSLB) request analysis, GSLB determines the location of the regional center server according to DNS, and detects the health and load status of the CDN backbone edge server load balancing (Server Load Balancing; hereinafter referred to as: SLB) in the area where the regional center server is located; GSLB returns the IP address of the CDN edge node SLB to the DNS; DNS returns the resolution result to the regional central server of the P2P autonomous domain, that is, the IP address of the CDN edge node SLB; the regional central server of the P2P autonomous domain accesses the CDN edge node SLB; The CDN edge node SLB detects the health, content, load, and proximity of the cache (hereinafter referred to as: CACHE), selects the optimal CACHE, and redirects the regional center server to the selected CACHE; the CACHE provides media to the regional center server The regional center server fragments the media stream according to the P2P protocol, and provides the media stream to the user.
图8为本发明一种流媒体信息分发方法的另一实施例流程示意图,如图8所示,本实施提供一种基于前述的在P2P自治域内进行流媒体信息分片处理的系统实现流媒体分发的优选实施例过程,包括如下步骤:Fig. 8 is a schematic flow diagram of another embodiment of a method for distributing streaming media information according to the present invention. As shown in Fig. 8, this implementation provides a system based on the aforementioned fragmentation processing of streaming media information in the P2P autonomous domain to realize streaming media The preferred embodiment process of distribution includes the following steps:
步骤100、用户36访问门户网站,获得认证计费系统即运营支撑系统20的认证,得到P2P调度服务器24的IP地址和某一媒体内容的URL;Step 100, the
步骤101、用户向P2P调度服务器24请求调度;Step 101, the user requests scheduling from the P2P scheduling server 24;
步骤102、P2P调度服务器24将用户调度到某一P2P自治域中,用户按就近原则被调度到某一P2P自治域,如果该自治域负载已满或者出现故障,则被调度到其它邻近区域。P2P调度服务器将P2P自治域内的区域业务管理服务器的IP地址及媒体内容的ID返回给用户;Step 102, the P2P scheduling server 24 schedules the user to a certain P2P autonomous domain. The user is scheduled to a certain P2P autonomous domain according to the principle of proximity. If the autonomous domain is full or fails, the user is scheduled to other neighboring areas. The P2P scheduling server returns the IP address of the regional service management server in the P2P autonomous domain and the ID of the media content to the user;
步骤103、用户向P2P自治域内区域业务管理服务器33请求授权;Step 103, the user requests authorization from the regional
步骤104、区域业务管理服务器33向运营支撑系统20确认该用户是否为合法用户;Step 104, the regional
步骤105、区域业务管理服务器33对用户进行认证授权,并将授权信息及P2P自治域内节点索引服务器31的IP地址返回给用户;Step 105, the regional
步骤106、用户向节点索引服务器31请求服务节点列表;Step 106, the user requests the service node list from the
步骤107、节点索引服务器31查看节点列表,根据所述媒体内容的ID判断P2P自治域内节点是否含有用户所要求的内容,如果P2P自治域内有节点含有用户所要求的内容,则根据节点选择策略,为用户提供一组服务节点;如果该P2P自治域内没有足够的优秀节点提供P2P服务,则可以利用带宽补偿服务器提供流媒体内容。否则,如果该P2P自治域内节点(包括带宽补偿服务器)不含有用户请求的媒体内容,则执行步骤111;Step 107, the
步骤108、用户和这组节点进行通信,得到每个节点所含媒体资源块的信息;Step 108, the user communicates with the group of nodes to obtain the information of the media resource block contained in each node;
步骤109、用户节点通过选择策略和调度算法,确定当前为自己服务的节点,并发送媒体内容请求;Step 109, the user node determines the node currently serving itself by selecting a strategy and a scheduling algorithm, and sends a media content request;
步骤110、被请求节点通过阻塞策略有选择地向用户发送媒体内容;Step 110, the requested node selectively sends media content to the user through a blocking strategy;
步骤111、如果P2P自治域内没有节点(包括带宽补偿服务器)含有用户请求媒体内容,则用户将该媒体相关信息发送给用户所在P2P自治域的区域中心服务器,请求媒体内容;Step 111, if there is no node (including the bandwidth compensation server) in the P2P autonomous domain that contains the media content requested by the user, the user sends the media-related information to the regional center server of the P2P autonomous domain where the user is located to request the media content;
步骤112、P2P自治域的区域中心服务器32若含有媒体内容,则由区域中心服务器32为用户提供服务;Step 112, if the regional
步骤113、如果区域中心服务器32不含有该媒体内容,则请求DNS23对该媒体内容的URL进行解析;Step 113, if the
步骤114、DNS23向GSLB25请求解析;Step 114, DNS23 requests resolution to GSLB25;
步骤115、GSLB25根据DNS23确定该区域中心服务器32位置,并对该区域中心服务器32所在区域的CDN骨干边缘SLB26进行健康和负载等状态进行检测;Step 115, GSLB25 determines the location of the
步骤116、GSLB25向DNS23返回该区域CDN边缘节点SLB26的IP地址;Step 116, GSLB25 returns the IP address of CDN edge node SLB26 in this area to DNS23;
步骤117、DNS23向P2P自治域的区域中心服务器返回解析结果,即CDN边缘节点SLB26的IP地址;Step 117, DNS23 returns the analysis result to the regional center server of the P2P autonomous domain, that is, the IP address of the CDN edge node SLB26;
步骤118、P2P自治域的区域中心服务器32访问该CDN边缘节点SLB26;Step 118, the
步骤119、CDN边缘节点SLB26对CACHE22进行健康、内容、负载和临近度等探测,选择出最优的CACHE22,将区域中心服务器重定向到所选CACHE;Step 119, the CDN edge node SLB26 detects the health, content, load and proximity of the CACHE22, selects the optimal CACHE22, and redirects the regional center server to the selected CACHE;
步骤120、CACHE22向区域中心服务器提供媒体流;Step 120, CACHE22 provides the media stream to the regional center server;
步骤121、区域中心服务器32将该媒体流按P2P协议进行分片并向用户提供分片后的媒体流。Step 121, the
在本实施提供的方法中,网络边缘对传统流媒体集中进行分片,不需要在每个用户端增加分片功能,用户端从区域中心服务器得到进行P2P分片后的媒体流后,直接利用P2P技术共享。在骨干网,传送的仍然是传统媒体流,这样,既可以为现有CDN用户按照C/S方式提供服务,也可以为P2P用户提供服务。In the method provided by this implementation, the edge of the network centrally fragments the traditional streaming media without adding a fragmentation function to each client. After the client obtains the media stream after P2P fragmentation from the regional center server, it directly uses P2P technology sharing. On the backbone network, traditional media streams are still transmitted. In this way, services can be provided for existing CDN users in C/S mode, and services can also be provided for P2P users.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
图9为本发明另一种流媒体信息分发系统实施例的系统框架图,如图9所示,本系统主要实现在CDN网络边缘对流媒体进行分片处理,该系统包括位于骨干网中的内容分发网络中心节点、位于所述骨干网边缘的内容分发网络边缘节点和点对点自治域。在骨干网中保留有原有的CDN系统的架构,在CDN中心节点中包括内容管理服务器11、CA12、WEB服务器13、SP/CP服务器14、网管和监控服务器15、业务统计服务器16、AAA服务器17和媒体资源库18;CDN中心节点与CDN边缘节点连接,CDN边缘节点与P2P自治域连接,所述内容分发网络边缘节点包括点对点分片模块21,点对点分片模块21用于当所述点对点自治域内无能够为所述发送所述请求信息的节点提供对应的流媒体内容的节点时,在将所述发送所述请求信息的节点重定向到能够为其提供所请求的流媒体信息的Cache后,对所述Cache分发的流媒体信息进行分片处理,并发送给所述发送所述请求信息的节点;所述点对点自治域包括节点索引服务器31,节点索引服务器31用于存储所述点对点自治域内节点的节点信息,且在接收到一节点发送的流媒体内容请求信息时,为发送所述请求信息的节点提供节点列表,所述节点列表中包括能够为所述节点提供对应的流媒体内容的节点信息。Fig. 9 is a system frame diagram of another streaming media information distribution system embodiment of the present invention. As shown in Fig. 9, the system mainly implements fragmentation processing of streaming media at the edge of the CDN network, and the system includes content located in the backbone network A central node of the distribution network, an edge node of the content distribution network located at the edge of the backbone network, and a point-to-point autonomous domain. The original CDN system architecture is retained in the backbone network, and the CDN central node includes content management server 11, CA12, WEB server 13, SP/CP server 14, network management and monitoring server 15, business statistics server 16, and AAA server 17 and media resource library 18; CDN central node is connected with CDN edge node, and CDN edge node is connected with P2P autonomous domain, and described content distribution network edge node comprises point-to-point fragmentation module 21, and point-to-point fragmentation module 21 is used for when described point-to-point When there is no node in the autonomous domain that can provide the corresponding streaming media content for the node that sends the request information, redirect the node that sends the request information to a Cache that can provide it with the requested streaming media information Afterwards, the stream media information distributed by the Cache is fragmented, and sent to the node sending the request information; the point-to-point autonomous domain includes a node index server 31, and the node index server 31 is used to store the point-to-point The node information of the nodes in the autonomous domain, and when receiving the streaming media content request information sent by a node, provide a node list for the node that sent the request information, and the node list includes the information that can provide the corresponding streaming media content for the node. The node information of the content.
P2P自治域内的数个用户36在域内利用P2P技术实现资源共享。节点索引服务器31存储有P2P自治域内每个节点即用户的信息,当得到一个节点请求某一流媒体内容的信息后,节点索引服务器31根据当前网络中节点的相关信息及选择策略为该节点提供一个可以提供该媒体内容的节点列表,然后由节点根据选择调度策略选择为其服务的节点。系统中每一个节点都要定期地向节点索引服务器31上报本身存储和收看的媒体内容信息。在CDN边缘节点增加P2P分片模块21,CDN按照负载均衡策略将用户重定位到某一Cache后,P2P分片模块21将Cache分发的媒体流按照P2P协议进行分片处理,并将分片后的媒体内容发送给用户。
在P2P自治域内还包括区域业务管理服务器33、NAT穿越服务器34和带宽补偿服务器35,其中区域业务管理服务器33用于对所述点对点自治域中的节点进行认证、授权和统计;NAT穿越服务器34用于进行系统中NAT和防火墙的穿越;带宽补偿服务器35用于流媒体码流带宽大于用户上行带宽时,进行带宽补偿。In the P2P autonomous domain, it also includes a regional
具体地,NAT穿越服务器34负责系统中NAT和防火墙的穿越;区域业务管理服务器33负责系统中用户的认证、授权、统计等工作,当用户请求某一媒体内容时,首先被P2P调度服务器调度到区域业务管理服务器33中,由区域业务管理服务器33同系统中运营支撑系统互通,对用户进行认证、授权;此外,区域业务管理服务器33还负责收集和整理客户端上报的统计信息,并将此信息上报全国业务统计系统。带宽补偿服务器35主要用于上行带宽小于下行带宽的网络,例如ADSL环境下,用户上行带宽和下行带宽不一致,当流媒体码流大于用户平均上行带宽,P2P节点无法完成流量平衡,多出的带宽由带宽补偿服务器直接补偿。Specifically, the
P2P自治域内包括的上述四个服务器,即节点索引服务器、NAT穿越服务器、区域业务管理服务器和带宽补偿服务器是按逻辑功能划分的,每个功能在网络实现中可以通过多个物理实体实现,也可以仅通过一个物理实体实现两个以上功能。The above four servers included in the P2P autonomous domain, that is, node index server, NAT traversal server, regional service management server and bandwidth compensation server are divided according to logical functions. Each function can be realized by multiple physical entities in the network implementation, or Two or more functions may be realized by only one physical entity.
在本发明实施例提供的流媒体信息分发系统中,在骨干网层次保留了原有的CDN系统的架构和功能,充分利用CDN的管理机制,实现内容统一管理、资源管理和用户管理,解决了纯P2P网络的内容不可监管,无法进行有效用户管理的问题;在网络边缘引入P2P自治域,自治域之间相互独立,有效地将P2P流量限制在P2P自治域内;该系统形成以CDN为内容核心,以P2P为服务边缘的架构,在网络边缘对传统流媒体按照P2P协议进行分片处理,通过这种系统架构,运营商可以在不对现有CDN进行改造或改造较小的情况下有效地提升CDN服务能力。In the streaming media information distribution system provided by the embodiment of the present invention, the structure and functions of the original CDN system are retained at the backbone network level, and the management mechanism of the CDN is fully utilized to realize unified management of content, resource management and user management, and solve the problem of The content of the pure P2P network cannot be supervised, and effective user management cannot be carried out; P2P autonomous domains are introduced at the edge of the network, and the autonomous domains are independent of each other, effectively restricting P2P traffic within the P2P autonomous domain; the system forms a CDN-based content core , with P2P as the service edge architecture, traditional streaming media is fragmented according to the P2P protocol at the edge of the network. Through this system architecture, operators can effectively upgrade the existing CDN without or with minor transformation. CDN service capabilities.
本实施提供的系统实现了P2P和CDN的融合,将两种技术融合来构建统一的流媒体系统,具有以下优点:(1)提高流服务能力,P2P在边缘层的引入大大降低了边缘服务器的压力,提高了流媒体传输的效率;(2)P2P融合CDN网络具有可管理性,为了避免骨干网上的流量对冲,通过集中的分布式架构,将P2P的流量严格限制在同一边缘节点的区域内,避免电信骨干网上的流量无序性和风暴,增强了网络的可管理性和服务高的可靠性。通过客户端,可以实现对用户的监控,流量的监管;(3)P2P与CDN结合的方式,使得有限的服务能力可以为更多的用户提供流媒体服务,保证了服务质量;P2P技术的应用也能够更有效地防止因网络的抖动而产生对服务质量的影响。The system provided by this implementation realizes the integration of P2P and CDN, and integrates the two technologies to build a unified streaming media system, which has the following advantages: (1) Improve streaming service capabilities, and the introduction of P2P at the edge layer greatly reduces (2) The P2P integrated CDN network is manageable. In order to avoid traffic hedging on the backbone network, P2P traffic is strictly limited to the same edge node area through a centralized distributed architecture. , to avoid traffic disorder and storms on the telecommunications backbone network, and enhance the manageability of the network and the high reliability of services. Through the client, user monitoring and traffic supervision can be realized; (3) The combination of P2P and CDN enables limited service capabilities to provide streaming media services for more users, ensuring service quality; the application of P2P technology It can also more effectively prevent the impact on the quality of service caused by network jitter.
本实施例提供的系统充分利用现有CDN且不对现有的CDN进行改造或改造较小,保护了运营商现有投资。本系统在网络边缘对传统流媒体进行分片,在骨干网,传送的仍然是传统媒体流,可在不对现有CDN用户客户端进行改造的情况下为现有CDN用户提供流媒体业务。本系统可分阶段部署,业务开展迅速,不需对系统进行整体改造,只需在试点地区网络边缘建立P2P自治域,对于CDN用户,可继续使用CDN为其提供流媒体业务。The system provided by this embodiment fully utilizes the existing CDN and does not modify the existing CDN or the modification is minor, which protects the existing investment of the operator. This system fragments the traditional streaming media at the edge of the network. On the backbone network, the traditional media streaming is still transmitted. It can provide streaming media services for existing CDN users without modifying the existing CDN user client. The system can be deployed in phases, and the business can be developed quickly. There is no need for overall transformation of the system. It only needs to establish a P2P autonomous domain at the edge of the network in the pilot area. For CDN users, they can continue to use the CDN to provide streaming media services.
图10为本发明一种流媒体信息分发方法一实施例的流程示图,如图10所示,该方法是基于上述的流媒体信息分发系统进行流媒体信息分发的方法,包括如下步骤:Fig. 10 is a flow diagram of an embodiment of a method for distributing streaming media information of the present invention. As shown in Fig. 10, the method is a method for distributing streaming media information based on the above-mentioned streaming media information distributing system, including the following steps:
步骤10、请求节点向节点索引服务器发送流媒体内容请求信息;
步骤20、所述节点索引服务器在其存储的节点列表中,查找能够为所述请求节点提供流媒体信息的服务节点信息;若有,则执行步骤30;若无,则执行步骤40;
步骤30、所述节点索引服务器将查找到的服务节点信息组成服务节点列表,并发送给所述请求节点,所述请求节点与所述服务节点进行通信,获得所述服务节点的流媒体信息;
步骤40、所述请求节点向内容分发网络请求对应的流媒体信息,并通过内容分发网络边缘节点的点对点分片模块将所述对应的流媒体信息进行分片处理,并发送给所述请求节点。
本发明另一种流媒体信息分发方法实施例中调度过程为用户登录后,向P2P调度服务器请求调度,P2P调度服务器将用户调度到某一P2P自治域,用户按就近原则被调度到某一P2P自治域中,如果该自治域负载已满或者出现故障,则被调度到其它邻近区域。P2P调度服务器将P2P自治域内的区域业务管理服务器的IP地址及媒体内容的ID返回给用户,用户在P2P自治域内请求获得媒体内容。如果P2P自治域内没有用户请求的媒体内容,则需利用CDN调度策略进行调度,用户所在P2P自治域内没有用户请求媒体内容,则用户请求DNS对该流媒体的URL信息进行解析,DNS向GSLB请求解析,GSLB根据DNS确定该用户位置,并对该用户所在区域的CDN骨干边缘节点SLB进行健康和负载等状态进行检测;GSLB向DNS返回该区域CDN边缘节点SLB的IP地址;DNS向用户返回解析结果,即CDN边缘节点SLB的IP地址;用户访问该CDN边缘节点SLB;CDN边缘节点SLB对CACHE进行健康、内容、负载和临近度等探测,选择出最优的CACHE,将用户重定向到所选CACHE;P2P分片模块将CACHE分发的媒体流按照P2P协议进行分片处理并将分片后的媒体流发送给用户。In another streaming media information distribution method embodiment of the present invention, the scheduling process is that after the user logs in, he requests scheduling from the P2P scheduling server, and the P2P scheduling server schedules the user to a certain P2P autonomous domain, and the user is scheduled to a certain P2P In an autonomous domain, if the load of the autonomous domain is full or failure occurs, it will be dispatched to other adjacent areas. The P2P scheduling server returns the IP address of the regional service management server in the P2P autonomous domain and the ID of the media content to the user, and the user requests to obtain the media content in the P2P autonomous domain. If there is no media content requested by the user in the P2P autonomous domain, it is necessary to use the CDN scheduling policy for scheduling. If there is no user requesting media content in the P2P autonomous domain where the user resides, the user requests DNS to analyze the URL information of the streaming media, and DNS requests GSLB for resolution. , GSLB determines the location of the user according to DNS, and detects the health and load status of the CDN backbone edge node SLB in the area where the user is located; GSLB returns the IP address of the CDN edge node SLB in the area to DNS; DNS returns the resolution result to the user , that is, the IP address of the CDN edge node SLB; the user accesses the CDN edge node SLB; the CDN edge node SLB detects the health, content, load, and proximity of the CACHE, selects the optimal CACHE, and redirects the user to the selected CACHE; the P2P fragmentation module fragments the media stream distributed by CACHE according to the P2P protocol and sends the fragmented media stream to the user.
图11为本发明另一种流媒体信息分发方法的另一实施例流程示意图,如图11所示,本实施提供一种基于前述的在CDN边缘节点进行流媒体信息分片处理的系统实现流媒体分发的优选实施例过程,包括如下步骤:Fig. 11 is a schematic flow diagram of another embodiment of another method for distributing streaming media information in the present invention. As shown in Fig. 11, this implementation provides a system based on the aforementioned fragmentation processing of streaming media information at CDN edge nodes to realize streaming The preferred embodiment process of media distribution includes the following steps:
步骤200、用户访问门户网站,获得认证计费系统即运营支撑系统20的认证,得到P2P调度服务器24的IP地址和某一媒体内容的URL;
步骤201、用户向P2P调度服务器24请求调度;
步骤202、P2P调度服务器24按就近原则将用户调度到某一P2P自治域内,如果该自治域负载已满或者出现故障,则被调度到其它邻近区域。P2P调度服务器将P2P自治域内的区域业务管理服务器的IP地址及媒体内容的ID返回给用户;
步骤203、用户向P2P自治域内区域业务管理服务器33请求授权;
步骤204、区域业务管理服务器33向运营支撑系统20确认该用户是否为合法用户;
步骤205、区域业务管理服务器33对用户进行认证授权,并将授权信息及P2P自治域内节点索引服务器31的IP地址返回给用户;
步骤206、用户向节点索引服务器31请求服务节点列表;
步骤207、节点索引服务器查31看节点列表,根据所述媒体内容的ID判断P2P自治域内节点是否含有用户所要求的内容,如果P2P自治域内有节点含有用户所要求的内容,则根据节点选择策略,为用户提供一组服务节点,如果该P2P自治域内没有足够的优秀节点提供P2P服务,则利用带宽补偿服务器提供内容;否则,如果该P2P自治域内节点(包括带宽补偿服务器)不含有用户请求媒体内容,转到步骤211;
步骤208、用户和这组节点通信,得到每个节点所含媒体资源块的信息;
步骤209、用户节点通过选择策略和调度算法,确定当前为自己服务的节点,并发送媒体内容请求;
步骤210、被请求节点通过阻塞策略有选择地向用户发送媒体内容;
步骤211、如果P2P自治域内没有节点(包括带宽补偿服务器)含有用户请求媒体内容,则用户请求DNS23对该媒体URL进行解析;
步骤212、DNS23向GSLB25请求解析;
步骤213、GSLB25根据DNS23确定该用户位置,并对该用户所在区域的CDN骨干边缘SLB26进行健康和负载等状态进行检测;
步骤214、GSLB25向DNS返回该区域CDN边缘节点SLB26的IP地址;
步骤215、DNS23向用户返回解析结果,即CDN边缘节点SLB26的IP地址;
步骤216、用户访问该CDN边缘节点SLB26;
步骤217、CDN边缘节点SLB26对CACHE22进行健康、内容、负载和临近度等探测,选择出最优的CACHE22,将用户重定向到所选CACHE22;
步骤218、CACHE22所在CDN网络边缘节点的P2P分片模块将CACHE22分发的媒体流按照P2P协议进行分片处理,并将分片后的媒体流发送给用户。Step 218, the P2P fragmentation module of the edge node of the CDN network where CACHE22 is located fragments the media stream distributed by CACHE22 according to the P2P protocol, and sends the fragmented media stream to the user.
在本实施提供的方法中,网络边缘对传统流媒体集中进行分片,不需要在每个用户端增加分片功能,用户端从区域中心服务器得到进行P2P分片后的媒体流后,直接利用P2P技术共享。在骨干网,传送的仍然是传统媒体流,这样,既可以为现有CDN用户按照C/S方式提供服务,也可以为P2P用户提供服务。In the method provided by this implementation, the edge of the network centrally fragments the traditional streaming media without adding a fragmentation function to each client. After the client obtains the media stream after P2P fragmentation from the regional center server, it directly uses P2P technology sharing. On the backbone network, traditional media streams are still transmitted. In this way, services can be provided for existing CDN users in C/S mode, and services can also be provided for P2P users.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
图12为本发明客户端结构示意图,如图12所示,该客户端包括播放模块1、数据下载模块2、数据调度模块3和资源管理模块4。其中播放模块1用于从数据下载模块2中获取流媒体信息,并对所述流媒体信息进行解码播放;数据下载模块2用于建立和维护用于暂存自其它客户端处下载的流媒体信息的环形缓冲区,还建立一用于从所述环形缓冲区获取流媒体信息的先入先出的数据缓冲区;数据调度模块3用于根据其它客户端的资源管理模块4的数据缓冲区中缓存的数据块的编号信息,从所述其它客户端获取对应的流媒体信息;资源管理模块4用于建立并维护本地数据状态表,所述本地数据状态表中存储有数据下载模块中的数据缓冲区缓存的流媒体信息的标志符和所述数据缓冲区中缓存的数据块的编号。FIG. 12 is a structural diagram of the client of the present invention. As shown in FIG. 12 , the client includes a playback module 1 , a
具体地,播放模块1从数据下载模块2维护的数据缓冲区中获取流媒体数据,并可以通过两种方式对流媒体数据进行播放:第一种方式是在播放模块1中设置内置播放器,完成各种格式的流媒体数据中音频视频数据的解码、播放和同步功能;针对不同格式的流媒体数据需要实现各种不同的解码器,解码器将把数据解码后的音频、视频数据送到播放器的显示模块进行播放;第二种方式是使用已有的播放器,如RealNetwork公司的RealPlayer或Microsoft公司的MediaPlayer。在这种方式下,播放模块1应该实现简单的流媒体服务器功能,即允许播放器使用一定的协议从播放模块1取得流媒体数据进行播放。播放模块1至少应实现HTTP服务器功能,并在回环地址(127.0.0.1)上进行侦听,这样,RealPlayer或MediaPlayer就可以通过HTTP协议连接本地端口获取流媒体数据进行播放。Specifically, the playback module 1 obtains the streaming media data from the data buffer maintained by the
在实际应用中,可以根据需求选择两种方式中的一种来实现播放模块的功能。一般来说,实现内置播放器需要对各种流媒体数据的格式有全面的了解,以实现解码器,通常比较困难;但是采用这种方式可以对数据进行更灵活有效的控制,并且可以自主设计客户端播放器,为用户设计一个更加友好易于操作的界面。而实现HTTP服务器相对要容易得多,不需要考虑播放器的功能和品质,所要做的仅是按HTTP协议的方式接受播放器的请求,并把数据顺次发送出去。In practical applications, one of the two methods can be selected according to requirements to realize the function of the playback module. Generally speaking, implementing a built-in player requires a comprehensive understanding of the formats of various streaming media data in order to implement a decoder, which is usually difficult; but this method allows more flexible and effective control of the data, and can be independently designed Client player, designed a more friendly and easy-to-operate interface for users. It is relatively easier to implement an HTTP server, without considering the function and quality of the player, all that needs to be done is to accept the request of the player according to the HTTP protocol, and send the data sequentially.
数据下载模块2的功能都是为实现数据下载而设计的。其功能描述如下:首先,数据下载模块2在内存中建立并维护一个环形的缓冲区以对数据进行快速的读写,而不需要进行数据的频繁、大量内部复制。这个环形缓冲区用来暂存自其它对等点,即其它客户端处下载的流媒体数据,以供本地消费和其它对等点下载。这个环形缓冲区将会定期地被维护,并提供了读写操作的同步机制。当缓冲区中数据填满缓冲区的四分之三时,将不会再向其中写入数据,当缓冲区中数据少于缓冲区的四分之一时,则不可以从其中删除数据。其次,数据下载模块2在内存中建立了一个先入先出的缓冲区,该缓冲区不断地从环形缓冲区顺序获得媒体内容,并将媒体内容推送到播放器,供用户收看。设置双缓冲区,一方面能够减轻因下载速率抖动带来的影响,另一方面能够更高效的在节点之间进行内容分发。The functions of the
还有,数据下载模块2负责与P2P自治域中的带宽补偿服务器或可用的下载者的数据下载模块2建立直接连接以获得数据,优先自其它下载者获取数据,只有在无法自其它下载者处获取数据时才从带宽补偿服务器处获取数据,以减轻带宽补偿服务器的网络压力,使之可以为更多的下载者服务。In addition, the
另外,数据下载模块2还负责建立网络侦听,以使其它对等点可以与之建立网络连接,以贡献本地数据下载模块的缓冲区中的流媒体数据。In addition, the
数据调度模块3的主要功能是根据可提供媒体内容的节点的“Buffermap”(存储该节点所包含数据块信息)信息,尽快地从其它节点获得媒体数据。不同的调度算法对整个系统的数据分发的性能有很大的影响。数据调度约束主要有两个:稀少数据优先原则以及播放时间优先原则。在节点刚加入时,没有任何数据可以提供上载服务,所以需要尽快的获取一块数据,在获得一块完整的数据之后,节点才开始提供数据分发服务;然而下载稀少的数据速度往往比较慢,所以在选择第一个数据块时采取随机的方式,在完成第一个数据块的下载后,再应用前两个调度策略。The main function of the data scheduling module 3 is to obtain media data from other nodes as soon as possible according to the "Buffermap" (storing the information of the data block contained in the node) information of the node that can provide media content. Different scheduling algorithms have a great impact on the performance of data distribution in the whole system. There are two main data scheduling constraints: the principle of rare data priority and the principle of playback time priority. When the node first joins, there is no data to provide upload service, so it is necessary to obtain a piece of data as soon as possible, and the node starts to provide data distribution service after obtaining a complete piece of data; however, the speed of downloading rare data is often slow, so in The first data block is selected in a random manner, and after the download of the first data block is completed, the first two scheduling strategies are applied.
资源管理模块4在内存中建立并维护了一个本地数据状态表,一方面本地数据状态表中记录了在当前客户端的数据下载模块2的数据缓冲区中缓存媒体内容的标志符,节点周期性地将其发送给P2P自治域内的节点索引服务器;另外,本地数据状态表中记录了缓冲区中缓存的各数据块的编号,可以用缓存数据的映射“buffermap”来实现,“buffermap”的每一位对应一个数据片断,用“0”和“1”来表示节点是否含有该数据片断信息,当其它节点向该节点请求连接时,该节点返回“buffermap”。The
本实施例提供的该客户端还包括指令解析模块5用于接收指令信息,对所述指令信息进行解析,并发送解析结果。指令解析模块5相当于一个P2P流媒体系统节点的控制器,连接着一个P2P流媒体系统节点的各个部分。首先,指令解析模块5获得自服务器或其它节点发过来的指令消息,并对之进行解析,然后把解析的结果传到其它模块,相应模块将会进一步处理;其次,用户的需求或反馈信息会被传递到指令解析模块5,指令解析模块5经过分析并与其它模块交互,将把这个信息组织成一个指令消息,然后发送到服务器或其它P2P流媒体系统节点。The client provided in this embodiment further includes an instruction analysis module 5 for receiving instruction information, analyzing the instruction information, and sending the analysis result. The instruction analysis module 5 is equivalent to a controller of a P2P streaming media system node, and is connected to various parts of a P2P streaming media system node. First, the instruction analysis module 5 obtains the instruction message sent from the server or other nodes, and analyzes it, and then transmits the analysis result to other modules, and the corresponding module will further process it; secondly, the user's demand or feedback information will be After being passed to the instruction analysis module 5, the instruction analysis module 5 will organize this information into an instruction message after analyzing and interacting with other modules, and then send it to the server or other P2P streaming media system nodes.
本实施例提供的该客户端还包括注册模块6用于完成用户的注册和登录;当新的用户加入系统时,该注册模块6负责向系统中的用户管理模块注册;用户请求服务时,首先通过注册模块6进行登录,登陆之后的用户才可以执行各种操作。NAT和防火墙检测模块7用于对客户端自身是否在防火墙内或在内网中,以及NAT和防火墙的类型进行检测;业务统计模块8用于进行业务统计,并上报统计结果信息;业务统计模块8负责用户端的业务统计,并将其上报区域业务管理服务器;认证授权模块9用于对用户的用法进行认证和授权;认证授权模块9负责对用户的用法进行认证、授权,包括DRM控制器。This client provided by the present embodiment also includes registration module 6 to be used for completing user's registration and login; When new user joins system, this registration module 6 is responsible for registering with the user management module in the system; When the user requests a service, first After logging in through the registration module 6, the user after logging in can perform various operations. NAT and firewall detection module 7 are used to detect whether the client itself is in the firewall or in the intranet, and the type of NAT and firewall; business statistics module 8 is used to perform business statistics and report statistical result information; business statistics module 8 is responsible for the business statistics of the user end, and reports it to the regional business management server; the authentication and authorization module 9 is used to authenticate and authorize the usage of the user; the authentication and authorization module 9 is responsible for authenticating and authorizing the usage of the user, including the DRM controller.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101016603A CN101534204B (en) | 2008-03-10 | 2008-03-10 | Streaming media information distribution system and method thereof and user end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101016603A CN101534204B (en) | 2008-03-10 | 2008-03-10 | Streaming media information distribution system and method thereof and user end |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101534204A CN101534204A (en) | 2009-09-16 |
CN101534204B true CN101534204B (en) | 2011-08-31 |
Family
ID=41104607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101016603A Expired - Fee Related CN101534204B (en) | 2008-03-10 | 2008-03-10 | Streaming media information distribution system and method thereof and user end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101534204B (en) |
Families Citing this family (54)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404378B (en) * | 2010-09-07 | 2014-11-05 | 成都索贝数码科技股份有限公司 | Streaming media distribution and transmission network system |
CN102282825B (en) * | 2010-12-14 | 2013-11-06 | 华为技术有限公司 | Method and device for streaming media to request address mapping and cache nodes in content delivery network |
EP2673942B1 (en) * | 2011-02-09 | 2015-08-19 | Citrix Systems Inc. | Systems and methods for n-tier cache redirection |
CN102651756A (en) * | 2011-02-28 | 2012-08-29 | 上海未来宽带技术及应用工程研究中心有限公司 | RealPlayer system and playing method based on streaming peer-to-peer (P2P) live broadcasting technology |
US20120239775A1 (en) * | 2011-03-18 | 2012-09-20 | Juniper Networks, Inc. | Transparent proxy caching of resources |
CN102694831B (en) * | 2011-03-25 | 2015-09-16 | 中国电信股份有限公司 | Mobile terminal streaming compensation data method and system, content distributing network |
CN102769819A (en) * | 2011-05-03 | 2012-11-07 | 中国移动通信集团公司 | Content distribution method in wireless communication system and corresponding system and server |
CN102231749B (en) * | 2011-08-12 | 2013-12-11 | 乐视网信息技术(北京)股份有限公司 | System and method for transmitting live stream by utilizing content delivery network (CDN) |
CN103023859B (en) * | 2011-09-22 | 2018-06-19 | 中兴通讯股份有限公司 | The content processing method and system of a kind of distributed business network |
CN103166990B (en) * | 2011-12-13 | 2016-04-27 | 中国电信股份有限公司 | P2P peer to peer connection method for building up and system |
CN103179150B (en) * | 2011-12-21 | 2016-04-06 | 明博教育科技股份有限公司 | A kind of method and system of data distributing of waterfall type |
CN102821316A (en) * | 2012-05-14 | 2012-12-12 | 南京邮电大学 | Improved video on demand (VOD) transmission method based on peer-to-peer computing core algorithm |
TWI502975B (en) * | 2012-05-24 | 2015-10-01 | Acer Inc | Method and system for playback of on-line video streaming |
CN103634346B (en) * | 2012-08-23 | 2018-05-22 | 腾讯科技(深圳)有限公司 | The data distributing method and system of network data center |
CN103684978B (en) * | 2012-09-13 | 2017-07-11 | 腾讯科技(深圳)有限公司 | Microblogging is stored, issued, transmission control method and system |
CN102904933B (en) * | 2012-09-25 | 2015-02-04 | 中国联合网络通信集团有限公司 | P2P (Peer-to-Peer) traffic dredging and optimizing network system |
CN102984279B (en) * | 2012-12-17 | 2016-03-30 | 复旦大学 | CDN initiatively selects high-quality node to carry out the method for optimize the content distribution services in advance |
CN103905341B (en) * | 2012-12-28 | 2017-03-29 | 中国移动通信集团公司 | Resource regulating method, apparatus and system |
CN103685549A (en) * | 2013-12-24 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Method and system for processing connection content delivery network |
CN103888512A (en) * | 2014-02-20 | 2014-06-25 | 上海聚力传媒技术有限公司 | Method and device for downloading resources |
CN105007499B (en) * | 2014-04-24 | 2019-06-21 | 中兴通讯股份有限公司 | A kind of code stream transmission method, device and server |
CN105100151B (en) * | 2014-05-14 | 2018-12-07 | 中国移动通信集团公司 | A kind of method, apparatus and system of content distribution |
CN104219286B (en) * | 2014-08-13 | 2015-11-18 | 腾讯科技(深圳)有限公司 | streaming media processing method, device, client, CDN node server and terminal |
CN104301408A (en) * | 2014-10-13 | 2015-01-21 | 无锡云捷科技有限公司 | CDN and P2P fusion method based on compensation node |
WO2016074149A1 (en) * | 2014-11-11 | 2016-05-19 | 21 Vianet Group, Inc. | Expedited media content delivery |
CN105763585A (en) * | 2014-12-17 | 2016-07-13 | 中兴通讯股份有限公司 | Method of implementing data pushing function and GSLB |
CN105072159B (en) * | 2015-07-17 | 2018-09-18 | 杭州施强教育科技有限公司 | A kind of node administration list structure in P2P networkings and its management method |
CN105577646B (en) * | 2015-12-11 | 2019-01-15 | 合一网络技术(北京)有限公司 | Method, equipment and the content distribution system of user side aggregated bandwidth |
CN105578211B (en) * | 2015-12-16 | 2018-09-07 | 深圳市网心科技有限公司 | Live streaming based on unlimited service node accelerates network interim card optimization method and system |
CN105392021A (en) * | 2015-12-23 | 2016-03-09 | 武汉鸿瑞达信息技术有限公司 | Massive video pushing system and pushing method thereof |
CN105635175B (en) * | 2016-02-04 | 2018-11-06 | 北京奇艺世纪科技有限公司 | A kind of load-balancing method and system of RTMP streaming servers |
CN105635179B (en) * | 2016-03-02 | 2019-11-15 | 湖南岳麓山数据科学与技术研究院有限公司 | A kind of double net emerging systems and data transmission method |
CN105791886B (en) * | 2016-03-03 | 2018-10-09 | 华南理工大学 | Support the wireless flow media video service system and method for fine-grained data fragment |
CN107517390A (en) * | 2016-05-26 | 2017-12-26 | 上海云熵网络科技有限公司 | The processing system and method for STREAMING VIDEO based on network code and content distribution network |
CN106375352B (en) * | 2016-12-02 | 2019-07-05 | 北京数码视讯科技股份有限公司 | The load-balancing method and device of edge content buffer network |
CN110249318A (en) * | 2017-02-07 | 2019-09-17 | 华为技术有限公司 | Cache replacement system and method |
CN108449371B (en) * | 2017-02-16 | 2019-10-29 | 中国移动通信有限公司研究院 | A kind of contents access method and device |
CN106982395B (en) * | 2017-03-02 | 2020-02-14 | 上海云熵网络科技有限公司 | HLS-based P2P live broadcast system and method |
US20180352287A1 (en) * | 2017-06-02 | 2018-12-06 | Apple Inc. | Persistent ID for Offline Access to Streamed Media |
CN108449388A (en) * | 2018-02-25 | 2018-08-24 | 心触动(武汉)科技有限公司 | A kind of multinode idleness of equipment aggregated bandwidth utilizes method and system |
CN108600859B (en) * | 2018-03-30 | 2020-10-20 | 深圳市网心科技有限公司 | A data slicing method and system |
CN108667658B (en) * | 2018-04-28 | 2020-02-21 | 厦门白山耘科技有限公司 | Bandwidth multiplexing method and device |
CN109347967B (en) * | 2018-11-02 | 2021-08-03 | 网宿科技股份有限公司 | A method and device for acquiring audio and video data |
CN111343225B (en) * | 2018-12-19 | 2024-04-09 | 三六零科技集团有限公司 | A file processing method and device |
CN109618241A (en) * | 2018-12-21 | 2019-04-12 | 网宿科技股份有限公司 | Audio and video stream distribution method and dynamic parent node in audio and video stream distribution system |
CN109788051A (en) * | 2019-01-02 | 2019-05-21 | 深圳市网心科技有限公司 | Network resource transmission method and system based on distributed file system |
CN109618003B (en) * | 2019-01-14 | 2022-02-22 | 网宿科技股份有限公司 | Server planning method, server and storage medium |
CN109738923B (en) * | 2019-03-18 | 2023-07-14 | 腾讯科技(深圳)有限公司 | A driving navigation method, device and system |
CN111934897A (en) * | 2019-05-13 | 2020-11-13 | 深圳市茁壮网络股份有限公司 | A data request processing method and system |
CN112218121B (en) * | 2019-07-09 | 2022-12-30 | 中国移动通信集团安徽有限公司 | Content delivery network scheduling method and device |
CN111355798A (en) * | 2020-02-27 | 2020-06-30 | 典基网络科技(上海)有限公司 | Data distribution method and system |
CN112203155B (en) * | 2020-09-09 | 2022-08-26 | 杭州海康威视系统技术有限公司 | Stream taking method, system and equipment |
CN114205351A (en) * | 2021-11-01 | 2022-03-18 | 北京中合谷投资有限公司 | Cloud game service system and method for family customers |
CN114374706B (en) * | 2022-01-11 | 2024-05-28 | 北京易智时代数字科技有限公司 | Content security management method based on distributed architecture |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964481A (en) * | 2005-11-11 | 2007-05-16 | 中兴通讯股份有限公司 | An interactive network TV system |
CN101001197A (en) * | 2006-12-31 | 2007-07-18 | 华为技术有限公司 | Transmission method, system and correlated equipment of media flow |
-
2008
- 2008-03-10 CN CN2008101016603A patent/CN101534204B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964481A (en) * | 2005-11-11 | 2007-05-16 | 中兴通讯股份有限公司 | An interactive network TV system |
CN101001197A (en) * | 2006-12-31 | 2007-07-18 | 华为技术有限公司 | Transmission method, system and correlated equipment of media flow |
Also Published As
Publication number | Publication date |
---|---|
CN101534204A (en) | 2009-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101534204B (en) | Streaming media information distribution system and method thereof and user end | |
EP2084881B1 (en) | System and methods for Peer-to-Peer Media Streaming | |
KR102110421B1 (en) | System and method for delivering an audio-visual content to a client device | |
JP4299606B2 (en) | Stable multicast flow | |
JP6278531B2 (en) | Hybrid HTTP and UDP content distribution | |
US8756296B2 (en) | Method, device and system for distributing file data | |
US8621655B2 (en) | Enforcing single stream per sign-on from a content delivery network (CDN) media server | |
ES2865076T3 (en) | Method and system for broadcasting multimedia data. | |
US9497035B2 (en) | Method, device, and system for playing media based on P2P | |
US20060064500A1 (en) | Caching control for streaming media | |
US20130219441A1 (en) | Method, server and terminal for audio and video on demand | |
WO2013178010A1 (en) | Multimedia content distribution method, device and system | |
WO2009155801A1 (en) | Method, system and apparatus for providing media stream service | |
CN101145929A (en) | A P2P streaming media on-demand system for IPV6 environment | |
CN111107445B (en) | Media protocol stream optimization method and system | |
CN101997822A (en) | Streaming media content delivery method, system and equipment | |
US20100332621A1 (en) | Method and Apparatus for Obtaining Media Over a Communications Network | |
CN101895576A (en) | P2P distributed streaming media live broadcast method with small-startup time delay | |
CN105872044A (en) | Streaming media multi-level cache network acceleration system and method based on WebRTC | |
CN100478940C (en) | Method and device for playing cross-platform distributed network controllable multi-medium | |
CN107317809B (en) | A kind of information center network multi-level video media system and using method thereof | |
WO2016180284A1 (en) | Service node allocation method, device, cdn management server and system | |
CN105656742A (en) | Multi-looped network stream media multicast system and method based on MOST | |
KR101745367B1 (en) | Multimedia contents streaming system using http and method thereof | |
JP2007527576A (en) | System, receiver, method, and program for distributing content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110831 Termination date: 20150310 |
|
EXPY | Termination of patent right or utility model |