WO2011144176A1 - Method, apparatus and system for controlling content provision of content delivery network - Google Patents

Method, apparatus and system for controlling content provision of content delivery network Download PDF

Info

Publication number
WO2011144176A1
WO2011144176A1 PCT/CN2011/075357 CN2011075357W WO2011144176A1 WO 2011144176 A1 WO2011144176 A1 WO 2011144176A1 CN 2011075357 W CN2011075357 W CN 2011075357W WO 2011144176 A1 WO2011144176 A1 WO 2011144176A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
type
request message
cdn
request
Prior art date
Application number
PCT/CN2011/075357
Other languages
French (fr)
Chinese (zh)
Inventor
赵志洪
陈寒冰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011144176A1 publication Critical patent/WO2011144176A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6581Reference data, e.g. a movie identifier for ordering a movie or a product identifier in a home shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Definitions

  • Control method, device and system for content delivery network content providing
  • the present invention relates to the field of information technology, and in particular, to a method, apparatus, and system for controlling content delivery of a content delivery network CDN. Background technique
  • Next Generation On Demand Second Generation On Demand
  • CDN Content Delivery Network
  • the terminal-oriented streaming server StreamingServer and the CDN for storage and caching are decoupled, and a standardized C2 interface is used between them.
  • the streaming server does not hit the content locally, the content is obtained from the CDN through the C2 interface.
  • the C2 request is overloaded.
  • the C2 request cannot be treated differently.
  • the C2 request is not newly determined to be a newly initiated session request or an existing session request, so that the CDN does not selectively perform flow control. , may cause some online users to watch video interruption, affecting the user's experience.
  • Embodiments of the present invention provide a method, an apparatus, and a system for controlling content provisioning of a CDN content in a content delivery network, so that the CDN can identify the type of the content request and perform flow control according to the type of the content request.
  • An embodiment of the present invention provides a method for controlling content delivery of a content delivery network CDN, including: a content access location server in a CDN receives a content providing request message, where the content providing request message carries identification information, where the identifier information is used by Identifying the type of the content providing request message;
  • the content access location server in the CDN performs content according to the type of the content providing request message Control provided.
  • An embodiment of the present invention provides a method for controlling content provided by a content delivery network CDN, including: receiving, by a content providing server in the CDN, an access request, determining a type of the access request; and sending a request to a content access location server in the CDN
  • the message carries the identifier information, and the identifier information is used to identify the type of the access request, so that the content access location server performs content control control according to the type of the access request.
  • the embodiment of the invention further provides a content access location server, including:
  • a receiving unit configured to receive a content providing request message, where the content providing request message carries identifier information, where the identifier information is used to identify a type of the content providing request message;
  • control unit configured to perform content providing control according to a type carried in the request message received by the receiving unit.
  • An embodiment of the present invention further provides a content providing server, including:
  • a receiving determining unit configured to receive an access request, and determine a type of the access request
  • the sending unit is configured to send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier information is used to identify the type of the access request, so that the content access location server is configured according to the The type of access request controls the content provision.
  • the embodiment of the invention further provides a content providing system, comprising a content access positioning server and a content providing server, wherein:
  • the content access location server is configured to receive a content providing request message of the content providing server, and perform content providing control according to a type carried in the content providing request message;
  • the content providing server is configured to receive the access request and determine the type of the access request, and send a request message to the content access location server, where the request message carries identification information, where the identifier information is used to identify the location The type of access request.
  • the method, device and system for controlling the content providing of the content delivery network CDN determine the type of the access request after receiving the access request by the content providing server in the CDN, and access the content in the CDN
  • the location server sends the request message
  • the type of the request is carried, so that the content access location server in the CDN performs content control according to the type of the access request, so that different types of requests can be processed differently to improve the user experience, and Improve user satisfaction.
  • FIG. 1 is a schematic structural diagram of a next-generation on-demand system NGOD2.0 in the prior art
  • FIG. 2 is a schematic flowchart of a method for controlling content providing content of a content delivery network CDN according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for controlling content providing content of a content delivery network CDN according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a second structure of a content access location server according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a first structure of a content providing server according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a second structure of a content providing server according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a content providing system according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 shows the architecture of NGOD2.0.
  • the Streaming Server for the terminal and the CDN for storage and caching use an open interface to facilitate the docking of the third party's Streaming Server.
  • the CDN includes a content library server Content Library, a content cache server Cache Gateway, and a content library service (CLS, Content Library Service), wherein the Content Library is a large-capacity content storage repository; the Cache Gateway is a gateway for caching hot content;
  • the content access location server when the external Streaming Server needs to access the CDN network to obtain content, first sends a LocateRequest request to the CLS, and the CLS selects the most according to the location of the Streaming Server, the load of the Cache Gateway, and the storage of the content to be accessed in the network.
  • the good Cache Gateway provides content delivery services to the above Streaming Server.
  • a standardized C2 interface is used between the CDN and the streaming server StreamingServer.
  • the streaming server StreamingServer does not hit the content locally, the streaming server StreamingServer itself does not save the content requested by the set top box (STB, Set Top Box), and then passes the C2 interface.
  • the content is obtained from the CDN by sending a LocateRequest message or a ContentTransfer message and carrying a byteRange (used to indicate a fragment of the content, such as 1000 to 1500 bytes). So for the CDN, I don’t perceive a certain The LocateRequest or ContentTransfer request corresponds to a newly initiated session of the terminal, or the terminal already in the session is acquiring subsequent content of the same program.
  • the CDN is overloaded for flow control, it cannot be targeted to reject new C2 requests. Instead, all newly-initiated C2 requests are filtered indiscriminately, which will cause some online users to watch video interruption.
  • FIG. 2 is a schematic flowchart of a method for controlling content provision of a content delivery network CDN according to an embodiment of the present invention, including:
  • Step 200 The content access location server in the CDN receives a content providing request message, where the content providing request message carries the identifier information, where the identifier information is used to identify the type of the content providing request message; specifically, the CDN
  • the content access location server may be a CLS, and the content providing request message may be a content providing request message sent by the StreamingServer; the CLS may receive the content providing request message through a C2 interface with the StreamingServer.
  • the identifier carried in the content providing request message may be implemented by extending a LocateRequest message.
  • the type of the content providing request message may include at least one of a session type, a user priority, or a service type.
  • Step 202 The content access location server in the CDN performs content provision control according to the type of the content providing request message.
  • the content access location server may determine that the session is newly initiated according to the session type of the content providing request message. Still in progress, if it is a newly initiated session, the content access request is rejected, and if it is an ongoing session, the service is continued. In this way, it can be avoided that the CDN system cannot distinguish the request type in the prior art, and the flow control is performed indiscriminately when overloading, causing the ongoing session to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
  • the content access location server may determine whether the service of the content providing request message is a session initiated by the paying user or a free user. The initiated session, if it is a free user initiated session, rejects the content access request, and if it is a session initiated by a paying user, provides a service. In this way, it is possible to avoid the fact that the CDN system cannot distinguish the service type in the prior art, and the flow control is performed indiscriminately when overloading, causing the session of the paying user to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
  • the content access location server may determine whether the service of the content providing request message is a session initiated by a high-priority user or A session initiated by a normal user, if it is a session initiated by a normal user, the content is rejected.
  • An access request if it is a session initiated by a high-priority user, provides services. In this way, it is possible to avoid the fact that the CDN system cannot distinguish the service type in the prior art, and the flow control is performed indiscriminately when overloading, causing the session of the paying user to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
  • the content providing control method of the content delivery network CDN receives the content providing request message through the content access positioning server in the CDN, and performs content providing control according to the type carried in the content providing request message. , can achieve different processing of different types of requests, improve user experience, and improve user satisfaction.
  • FIG. 3 is a schematic flowchart of a method for controlling content provided by a content delivery network CDN according to an embodiment of the present invention, including:
  • Step 300 The content providing server in the CDN receives the access request, and determines the type of the access request.
  • the content providing server in the CDN may be a StreamingServer, and when the StreamingServer receives an access request sent by a terminal such as an STB, Determine the type of the access request.
  • the type of the access request may include at least one of a session type, a user priority, or a service type.
  • Step 302 Send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier information is used to identify the type of the access request, so that the content access location server is configured according to the access
  • the type of request controls the content provided.
  • the content access location server determines whether it caches the content of the request message request before sending the request message. If not, the content access location server sends a request message to the content access location server in the CDN.
  • the Streaming Server sends a request message to the CLS in the CDN when it finds that the content requested by the access request is not cached, and carries the type of the access request by expanding parameters in the request message, for example, You can extend the C2 interface by extending the LocateRequest message in the C2 interface and adding the parameter NewSessionFlag to indicate the session type. You can set it to Yes/No to indicate whether it is a new initiating session or an ongoing session.
  • the LocateRequest message is added to the ServicePriority parameter to indicate the service type.
  • the ServicePriority parameter can be used as an integer to indicate whether it is a paid service or a free service.
  • the LocateRequest message in the C2 interface can also be extended, and the Parameter SubscriberPriority can be added thereto.
  • the SubscriberPriority parameter is an integer that indicates whether the user is a high-priority user or a normal user.
  • a method for controlling content providing content of a content delivery network CDN determines a type of an access request after receiving an access request by a content providing server in the CDN, and sends a request to a content access location server in the CDN.
  • the message carries the type of the request, so that the content access location server performs content control according to the type of the access request, and can implement different processing on different types of requests, improve user experience, and improve user satisfaction.
  • Scenario 1 STB A has an existing session, such as watching a program, and the CDN network is overloaded, and the STB is in an STB.
  • C initiates a new program-on-demand request to StreamingServer, and the program requested by STB A and P STB C is not cached on StreamingServer; in this case, StreamingServer extends a parameter in the C2 interface LocateRequest message, which represents the requested Types of.
  • the parameter may be NewSessionFlag.
  • the CLS in the CDN can identify the request types of STB A and STB C, continue to provide services for STB A requests, and reject requests to STB C.
  • STB B has an existing session, such as watching a program, while the CDN network is overloaded, and STB C initiates a new program-on-demand request to StreamingServer, and there is no request for buffering STB B and STB C on StreamingServer.
  • the program corresponding to the STB B is a high-priority user (ie, a VIP user), and the user corresponding to the STB C is a normal user; in this case, the StreamingServer expands a parameter in the LocateRequest message of the C2 interface, and the parameter represents The type of request.
  • the parameter may be SubscriberPriority.
  • the value is VIP, it indicates that it is a newly initiated session.
  • the value When the value is Normal, it indicates that it is a request of a normal user; that is, for the request message of STB C, the value of SubscriberPriority is set. Normal; For the STB B request message, set the value of SubscriberPriority to VIP.
  • the CLS in the CDN can identify the request types of STB A and STB C, continue to provide services for STB B requests, and reject requests to STB C.
  • STB B has an existing session, such as watching a program, while the CDN network is overloaded, and STB C initiates a new program-on-demand request to StreamingServer, and there is no request for buffering STB B and STB C on StreamingServer.
  • the program corresponding to the STB B is a paying user, and the user corresponding to the STB C is a free user; in this case, the StreamingServer extends a parameter in the LocateRequest message of the C2 interface, and the parameter represents the type of the request.
  • the parameter can Is the ServicePriority, when the value is F, it indicates that it is a newly initiated session.
  • the CLS in the CDN can identify the request type of STB A and STB C, continue to provide services for STB B requests, and reject requests to STB C.
  • the CLS in the CDN needs to identify the type of the request message sent by the StreamingServer, and the CLS needs to be pre-configured so that it can identify the type of the request message sent by the StreamingServer.
  • the CLS in the above three scenarios may be implemented by the content access location server described in the embodiment of FIG. 2, and the StreamingServer may be implemented by the content providing server described in the embodiment of FIG. 3.
  • the above method can also be applied to the Http request scenario.
  • the parameter needs to be extended in the header field or the URI of the Http Get request message.
  • the extension mode can be implemented by referring to the description of the foregoing method embodiment, and details are not described herein.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 4 is a schematic structural diagram of a content access location server 40 according to an embodiment of the present invention, including:
  • the receiving unit 400 is configured to receive a content providing request message, where the content providing request message carries the identifier information, where the identifier information is used to identify a type of the content providing request message;
  • the control unit 402 is configured to perform content providing control according to the type carried in the request message received by the receiving unit 400.
  • the control unit 402 may further include:
  • the determining unit 4021 is configured to determine a type of the content providing request message
  • the processing unit 4022 is configured to: when the CDN network is overloaded, perform control according to the type determined by the determining unit 4021, reject the content access request when the type is a newly initiated session, and continue to provide when the type is an ongoing session. Service; reject the content access request when the type is a free user initiated session, continue to provide the service when the type is a session initiated by the paying user; reject the content access request when the type is a session initiated by the ordinary user, when Services that are initiated by high-priority users continue to serve them.
  • a content access location server provided by an embodiment of the present invention which is provided according to a content providing request message Type-based content control enables different types of requests to be processed differently, improving user experience and improving user satisfaction.
  • FIG. 6 is a schematic structural diagram of a content providing server 60 according to an embodiment of the present invention, including:
  • the receiving judging unit 600 is configured to receive the access request, and determine the type of the access request.
  • the sending unit 602 is configured to send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier The information is used to identify the type of the access request, so that the content access location server performs control of content provision according to the type of the access request.
  • FIG. 7 is a schematic structural diagram of a specific implementation manner of a content providing server 60 according to an embodiment of the present invention, where:
  • the sending unit 602 may further include a sending determining unit 604, configured to determine whether it caches the content requested by the access request message, and if not, the notification sending unit 602 sends a request message to the content access positioning server in the CDN.
  • a sending determining unit 604 configured to determine whether it caches the content requested by the access request message, and if not, the notification sending unit 602 sends a request message to the content access positioning server in the CDN.
  • the sending unit 602 may further include: an expanding unit 6021, configured to extend, to the content access location server in the CDN, a request message, where the request message carries type information of the request, and the type information is used for content access positioning.
  • the server performs control of the content providing; the requesting unit 6022 is configured to send the extended request message of the extension unit 6021 to the content access location server in the CDN.
  • the specific implementation of the content providing server 60 provided by the embodiment of the present invention may be implemented by referring to the implementation manner of the StreamingServer in the foregoing method embodiment, and details are not described herein.
  • FIG. 8 is a schematic structural diagram of a content providing system according to an embodiment of the present invention, including: a content access positioning server 800, configured to receive a content providing request message of a content providing server 802, and provide a request message according to the content. Carrying the type to control the content provided;
  • the content providing server 802 is configured to receive the access request and determine the type of the access request, and send a request message to the content access location server 800, where the request message carries identification information, where the identifier information is used to identify the access The type of request.
  • the content access location server 800 can be implemented by referring to the content access location server 40 described in FIG. 4 and FIG. 5, and the content providing server 802 can be implemented by referring to the content providing server 60 described in FIG. 6 and FIG. No longer.
  • the method, device and system for controlling the content providing of the content delivery network CDN determine the type of the access request after receiving the access request by the content providing server in the CDN, and access the content in the CDN The type of the request carried by the location server when sending the request message, so that the CDN
  • the content access location server performs content provision control according to the type of the access request, and can implement different processing on different types of requests, improve user experience, and improve user satisfaction.

Abstract

The present invention provides a method, an apparatus and a system for controlling the content provision of a Content Delivery Network (CDN), which enables the CDN to identify the type of a content request and to perform stream control according to the type of the content request. The present invention uses a content provision server in the CDN to determine the type of an access request after receiving the access request and to send a request message carrying the type of the access request to a content access location server in the CDN, which enables the content access location server to control the content provision according to the type of the access request, and can implement different processing for different type of requests, thus improving the user experience and enhancing the user satisfaction.

Description

内容传送网络内容提供的控制方法、 装置和系统  Control method, device and system for content delivery network content providing
本申请要求于 2010年 12月 31 日提交中国专利局、 申请号为 201010619588.0、 发明名称为"内容传送网络内容提供的控制方法、装置和系统 "的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域 The present application claims priority to Chinese Patent Application No. 201010619588.0, entitled "Control Method, Apparatus and System for Providing Content Delivery Network Contents", filed on December 31, 2010, the entire contents of which are incorporated by reference. Combined in this application. Technical field
本发明涉及信息技术领域, 尤其涉及一种内容传送网络 CDN的内容提供的控制 方法、 装置和系统。 背景技术  The present invention relates to the field of information technology, and in particular, to a method, apparatus, and system for controlling content delivery of a content delivery network CDN. Background technique
未来的视频业务发展趋势是数字化, IP化, 高清化, 互动化, 个性化。在 NGOD Future video business trends are digital, IP, high-definition, interactive, and personalized. At NGOD
(Next Generation On Demand, 下一代点播系统) 中, 把媒体控制和媒体交付分离, CDN ( Content Delivery Network, 内容传送网络)和推流服务分离, 提供开放的标准 化接口。 In Next Generation On Demand (Second Generation On Demand), the separation of media control and media delivery, CDN (Content Delivery Network) and push streaming services are separated, providing an open standard interface.
在现有 NGOD架构中,面向终端的推流服务器 StreamingServer和面向存储和缓 存的 CDN解耦, 两者之间采用标准化的 C2接口, 推流服务器本地没有命中内容时 会通过 C2接口从 CDN获得内容。 对于 CDN来说, 当流量过载时, 会对 C2请求进 行过载流控。 但现有技术中, CDN在实施流控时, 不能对 C2请求区别对待, 例如不 会区分该 C2请求是新发起的会话请求还是已经存在的会话请求, 致使 CDN不会有 选择地进行流控, 有可能会导致部分在线用户观看视频中断, 影响到用户的体验。 发明内容 本发明实施例提供一种内容传送网络 CDN内容提供的控制方法、 装置和系统, 使得 CDN能够识别内容请求的类型, 并根据内容请求的类型进行流控。  In the existing NGOD architecture, the terminal-oriented streaming server StreamingServer and the CDN for storage and caching are decoupled, and a standardized C2 interface is used between them. When the streaming server does not hit the content locally, the content is obtained from the CDN through the C2 interface. . For CDN, when the traffic is overloaded, the C2 request is overloaded. However, in the prior art, when the CDN implements flow control, the C2 request cannot be treated differently. For example, the C2 request is not newly determined to be a newly initiated session request or an existing session request, so that the CDN does not selectively perform flow control. , may cause some online users to watch video interruption, affecting the user's experience. SUMMARY OF THE INVENTION Embodiments of the present invention provide a method, an apparatus, and a system for controlling content provisioning of a CDN content in a content delivery network, so that the CDN can identify the type of the content request and perform flow control according to the type of the content request.
本发明实施例提供了一种内容传送网络 CDN的内容提供的控制方法, 包括: CDN 中的内容访问定位服务器接收内容提供请求消息, 所述内容提供请求消息 携带有标识信息, 所述标识信息用于标识所述内容提供请求消息的类型;  An embodiment of the present invention provides a method for controlling content delivery of a content delivery network CDN, including: a content access location server in a CDN receives a content providing request message, where the content providing request message carries identification information, where the identifier information is used by Identifying the type of the content providing request message;
所述 CDN中的内容访问定位服务器根据所述内容提供请求消息的类型进行内容 提供的控制。 The content access location server in the CDN performs content according to the type of the content providing request message Control provided.
本发明实施例提供了内容传送网络 CDN提供内容的控制方法, 包括: 所述 CDN中的内容提供服务器接收访问请求, 判断所述访问请求的类型; 向所述 CDN中的内容访问定位服务器发送请求消息, 所述请求消息携带有标识 信息,所述标识信息用于标识所述访问请求的类型, 以使所述内容访问定位服务器根 据所述访问请求的类型进行内容提供的控制。  An embodiment of the present invention provides a method for controlling content provided by a content delivery network CDN, including: receiving, by a content providing server in the CDN, an access request, determining a type of the access request; and sending a request to a content access location server in the CDN The message carries the identifier information, and the identifier information is used to identify the type of the access request, so that the content access location server performs content control control according to the type of the access request.
本发明实施例还提供了内容访问定位服务器, 包括:  The embodiment of the invention further provides a content access location server, including:
接收单元,用于接收内容提供请求消息,所述内容提供请求消息携带有标识信息, 所述标识信息用于标识所述内容提供请求消息的类型;  a receiving unit, configured to receive a content providing request message, where the content providing request message carries identifier information, where the identifier information is used to identify a type of the content providing request message;
控制单元,用于根据接收单元接收到的请求消息中携带的类型进行内容提供的控 制。  And a control unit, configured to perform content providing control according to a type carried in the request message received by the receiving unit.
本发明实施例还提供了一种内容提供服务器, 包括:  An embodiment of the present invention further provides a content providing server, including:
接收判断单元: 用于接收访问请求, 并判断所述访问请求的类型;  a receiving determining unit: configured to receive an access request, and determine a type of the access request;
发送单元: 用于向 CDN中的内容访问定位服务器发送请求消息, 所述请求消息 携带有标识信息,所述标识信息用于标识所述访问请求的类型, 以使所述内容访问定 位服务器根据所述访问请求的类型进行内容提供的控制。  The sending unit is configured to send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier information is used to identify the type of the access request, so that the content access location server is configured according to the The type of access request controls the content provision.
本发明实施例还提供了一种内容提供系统,包括内容访问定位服务器和内容提供 服务器, 其中:  The embodiment of the invention further provides a content providing system, comprising a content access positioning server and a content providing server, wherein:
所述内容访问定位服务器, 用于接收所述内容提供服务器的内容提供请求消息, 并根据所述内容提供请求消息中携带的类型进行内容提供的控制;  The content access location server is configured to receive a content providing request message of the content providing server, and perform content providing control according to a type carried in the content providing request message;
所述内容提供服务器,用于接收所述访问请求并判断所述访问请求的类型, 向所 述内容访问定位服务器发送请求消息,所述请求消息携带有标识信息,所述标识信息 用于标识所述访问请求的类型。  The content providing server is configured to receive the access request and determine the type of the access request, and send a request message to the content access location server, where the request message carries identification information, where the identifier information is used to identify the location The type of access request.
本发明实施例提供的一种内容传送网络 CDN的内容提供的控制方法、 装置和系 统, 通过 CDN中的内容提供服务器在接收到访问请求后判断访问请求的类型, 并在 向 CDN中的内容访问定位服务器发送请求消息时携带该请求的类型, 使 CDN中的 内容访问定位服务器根据所述访问请求的类型进行内容提供的控制,能够实现对不同 类型的请求进行不同的处理, 提高用户体验, 并提升用户满意度。 附图说明  The method, device and system for controlling the content providing of the content delivery network CDN provided by the embodiment of the present invention determine the type of the access request after receiving the access request by the content providing server in the CDN, and access the content in the CDN When the location server sends the request message, the type of the request is carried, so that the content access location server in the CDN performs content control according to the type of the access request, so that different types of requests can be processed differently to improve the user experience, and Improve user satisfaction. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前 提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following embodiments will be BRIEF DESCRIPTION OF THE DRAWINGS The drawings, which are used in the technical description, are briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art will not be creatively labored. Further drawings can also be obtained from these figures.
图 1为现有技术中下一代点播系统 NGOD2.0的结构示意图;  1 is a schematic structural diagram of a next-generation on-demand system NGOD2.0 in the prior art;
图 2为本发明实施例一种内容传送网络 CDN的内容提供的控制方法流程示意图; 图 3为本发明实施例一种内容传送网络 CDN的提供内容的控制方法流程示意图; 图 4为本发明实施例一种内容访问定位服务器的第一结构示意图;  2 is a schematic flowchart of a method for controlling content providing content of a content delivery network CDN according to an embodiment of the present invention; FIG. 3 is a schematic flowchart of a method for controlling content providing content of a content delivery network CDN according to an embodiment of the present invention; An example of a first structure of a content access location server;
图 5为本发明实施例一种内容访问定位服务器的第二结构示意图;  FIG. 5 is a schematic diagram of a second structure of a content access location server according to an embodiment of the present invention; FIG.
图 6为本发明实施例一种内容提供服务器的第一结构示意图;  6 is a schematic diagram of a first structure of a content providing server according to an embodiment of the present invention;
图 7为本发明实施例一种内容提供服务器的第二结构示意图;  FIG. 7 is a schematic diagram of a second structure of a content providing server according to an embodiment of the present invention; FIG.
图 8为本发明实施例一种内容提供系统的结构示意图。 具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完 整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。  FIG. 8 is a schematic structural diagram of a content providing system according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为 NGOD2.0的架构图,其中,面向终端的推流服务器 Streaming Server和面 向存储和缓存的 CDN采用开放的接口, 方便第 3方的 Streaming Server对接。 所述 CDN包括内容库服务器 Content Library^内容缓存服务器 Cache Gateway和内容库定 位服务 (CLS, Content Library Service), 其中, Content Library是大容量的内容存储 仓库; Cache Gateway是缓存热点内容的网关; CLS是内容访问定位服务器, 在外 部 Streaming Server需要访问 CDN网络获取内容时, 首先发送 LocateRequest请求到 CLS, CLS会根据 Streaming Server的位置, Cache Gateway的负载以及要访问的内容 在网络内的存放情况选择最佳的 Cache Gateway给上述 Streaming Server提供内容交 付服务。  Figure 1 shows the architecture of NGOD2.0. The Streaming Server for the terminal and the CDN for storage and caching use an open interface to facilitate the docking of the third party's Streaming Server. The CDN includes a content library server Content Library, a content cache server Cache Gateway, and a content library service (CLS, Content Library Service), wherein the Content Library is a large-capacity content storage repository; the Cache Gateway is a gateway for caching hot content; The content access location server, when the external Streaming Server needs to access the CDN network to obtain content, first sends a LocateRequest request to the CLS, and the CLS selects the most according to the location of the Streaming Server, the load of the Cache Gateway, and the storage of the content to be accessed in the network. The good Cache Gateway provides content delivery services to the above Streaming Server.
CDN 与推流服务器 StreamingServer之间采用标准化的 C2 接口, 推流服务器 StreamingServer本地没有命中内容时, 即推流服务器 StreamingServer 自身未保存机 顶盒 (STB, Set Top Box) 请求的内容时, 会通过 C2接口, 通过发送 LocateRequest 消息或 ContentTransfer 消息并携带 byteRange (用于指示获取内容的一个片段, 如 1000〜1500byte ) 的方式从 CDN 获取内容。 这样对 CDN 来说, 感知不到某个 LocateRequest或 ContentTransfer请求对应的是一个终端新发起的会话, 还是已经在 会话中的终端在获取同一个节目的后续内容。 在 CDN发生过载进行流控时, 就不能 有针对性的拒绝新的 C2请求, 而是对所有新发起的 C2请求不加区别的进行过滤, 将会导致部分在线用户观看视频中断。 A standardized C2 interface is used between the CDN and the streaming server StreamingServer. When the streaming server StreamingServer does not hit the content locally, the streaming server StreamingServer itself does not save the content requested by the set top box (STB, Set Top Box), and then passes the C2 interface. The content is obtained from the CDN by sending a LocateRequest message or a ContentTransfer message and carrying a byteRange (used to indicate a fragment of the content, such as 1000 to 1500 bytes). So for the CDN, I don’t perceive a certain The LocateRequest or ContentTransfer request corresponds to a newly initiated session of the terminal, or the terminal already in the session is acquiring subsequent content of the same program. When the CDN is overloaded for flow control, it cannot be targeted to reject new C2 requests. Instead, all newly-initiated C2 requests are filtered indiscriminately, which will cause some online users to watch video interruption.
参考图 2, 图 2为本发明实施例提供一种内容传送网络 CDN的内容提供的控制 方法流程示意图, 包括:  Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for controlling content provision of a content delivery network CDN according to an embodiment of the present invention, including:
步骤 200: CDN中的内容访问定位服务器接收内容提供请求消息,所述内容提供 请求消息携带有标识信息, 所述标识信息用于标识所述内容提供请求消息的类型; 具体地, 所述 CDN中的内容访问定位服务器可以是 CLS, 所述内容提供请求消 息可以是 StreamingServer 发送的内容提供请求消息; 该 CLS 可以通过与 StreamingServer之间的 C2接口接收该内容提供请求消息。  Step 200: The content access location server in the CDN receives a content providing request message, where the content providing request message carries the identifier information, where the identifier information is used to identify the type of the content providing request message; specifically, the CDN The content access location server may be a CLS, and the content providing request message may be a content providing request message sent by the StreamingServer; the CLS may receive the content providing request message through a C2 interface with the StreamingServer.
所述内容提供请求消息中携带的标识可以通过扩展 LocateRequest消息来实现。 所述内容提供请求消息的类型可以包括会话类型、用户优先级或业务类型中的至 少一个。  The identifier carried in the content providing request message may be implemented by extending a LocateRequest message. The type of the content providing request message may include at least one of a session type, a user priority, or a service type.
步骤 202: 所述 CDN中的内容访问定位服务器根据所述内容提供请求消息的类 型进行内容提供的控制。  Step 202: The content access location server in the CDN performs content provision control according to the type of the content providing request message.
具体地, 如果所述容提供请求消息的类型为会话类型, 则在 CDN中出现过载需 要流控时,所述内容访问定位服务器可以根据所述内容提供请求消息的会话类型判断 是新发起的会话还是正在进行中的会话, 如果是新发起的会话, 则拒绝该内容访问请 求, 如果是正在进行的会话, 则继续提供服务。这样, 就能够避免现有技术中因 CDN 系统无法区分请求类型, 而在过载时不加区分地进行流控导致正在进行的会话被中 断, 影响用户感受的情况发生; 进而能够提高用户体验, 提升用户满意度。  Specifically, if the type of the request message is a session type, when the overload requires flow control in the CDN, the content access location server may determine that the session is newly initiated according to the session type of the content providing request message. Still in progress, if it is a newly initiated session, the content access request is rejected, and if it is an ongoing session, the service is continued. In this way, it can be avoided that the CDN system cannot distinguish the request type in the prior art, and the flow control is performed indiscriminately when overloading, causing the ongoing session to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
如果所述容提供请求消息的类型为业务类型,则在 CDN中出现过载需要流控时, 所述内容访问定位服务器可以根据所述内容提供请求消息的业务判断是付费用户发 起的会话还是免费用户发起的会话, 如果是免费用户发起的会话, 则拒绝该内容访问 请求, 如果是付费用户发起的会话, 则为其提供服务。 这样, 就能够避免现有技术中 因 CDN系统无法区分业务类型, 而在过载时不加区分地进行流控导致付费用户的会 话被中断, 影响用户感受的情况发生; 进而能够提高用户体验, 提升用户满意度。  If the type of the request message is a service type, when the overload requires flow control in the CDN, the content access location server may determine whether the service of the content providing request message is a session initiated by the paying user or a free user. The initiated session, if it is a free user initiated session, rejects the content access request, and if it is a session initiated by a paying user, provides a service. In this way, it is possible to avoid the fact that the CDN system cannot distinguish the service type in the prior art, and the flow control is performed indiscriminately when overloading, causing the session of the paying user to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
如果所述容提供请求消息的类型为业务类型,则在 CDN中出现过载需要流控时, 所述内容访问定位服务器可以根据所述内容提供请求消息的业务判断是高优先级用 户发起的会话还是普通用户发起的会话, 如果是普通用户发起的会话, 则拒绝该内容 访问请求, 如果是高优先级用户发起的会话, 则为其提供服务。 这样, 就能够避免现 有技术中因 CDN系统无法区分业务类型, 而在过载时不加区分地进行流控导致付费 用户的会话被中断, 影响用户感受的情况发生; 进而能够提高用户体验, 提升用户满 意度。 If the type of the request-providing request message is a service type, when the overload requires flow control in the CDN, the content access location server may determine whether the service of the content providing request message is a session initiated by a high-priority user or A session initiated by a normal user, if it is a session initiated by a normal user, the content is rejected. An access request, if it is a session initiated by a high-priority user, provides services. In this way, it is possible to avoid the fact that the CDN system cannot distinguish the service type in the prior art, and the flow control is performed indiscriminately when overloading, causing the session of the paying user to be interrupted, affecting the user's feelings; thereby improving the user experience and improving customer satisfaction.
本发明实施例提供的一种内容传送网络 CDN的内容提供的控制方法,通过 CDN 中的内容访问定位服务器接收内容提供请求消息,并根据所述内容提供请求消息中携 带的类型进行内容提供的控制, 能够实现对不同类型的请求进行不同的处理,提高用 户体验, 并提升用户满意度。  The content providing control method of the content delivery network CDN provided by the embodiment of the present invention receives the content providing request message through the content access positioning server in the CDN, and performs content providing control according to the type carried in the content providing request message. , can achieve different processing of different types of requests, improve user experience, and improve user satisfaction.
参考图 3, 图 3为本发明实施例还提供的一种内容传送网络 CDN提供内容的控 制方法的流程示意图, 包括:  Referring to FIG. 3, FIG. 3 is a schematic flowchart of a method for controlling content provided by a content delivery network CDN according to an embodiment of the present invention, including:
步骤 300: CDN中的内容提供服务器接收访问请求, 判断所述访问请求的类型; 具体地, 所述 CDN 中的内容提供服务器可以是 StreamingServer, 该 StreamingServer在接收到 STB等终端发送的访问请求时, 判断该访问请求的类型。  Step 300: The content providing server in the CDN receives the access request, and determines the type of the access request. Specifically, the content providing server in the CDN may be a StreamingServer, and when the StreamingServer receives an access request sent by a terminal such as an STB, Determine the type of the access request.
所述访问请求的类型可以包括会话类型、 用户优先级或业务类型中的至少一个。 步骤 302: 向 CDN中的内容访问定位服务器发送请求消息, 所述请求消息携带 有标识信息,所述标识信息用于标识所述访问请求的类型, 以使所述内容访问定位服 务器根据所述访问请求的类型进行内容提供的控制。  The type of the access request may include at least one of a session type, a user priority, or a service type. Step 302: Send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier information is used to identify the type of the access request, so that the content access location server is configured according to the access The type of request controls the content provided.
其中,所述内容访问定位服务器发送请求消息前先判断自身是否缓存该请求消息 请求的内容, 如果未缓存, 再向 CDN中的内容访问定位服务器发送请求消息。  The content access location server determines whether it caches the content of the request message request before sending the request message. If not, the content access location server sends a request message to the content access location server in the CDN.
具体地, 该 StreamingServer在发现自身未缓存所述访问请求所请求的内容时, 会向 CDN中的 CLS发送请求消息,并通过扩展该请求消息中的参数来携带所述访问 请求的类型, 例如, 可以通过扩展 C2接口中的 LocateRequest消息, 在其中增加参数 NewSessionFlag来表示会话类型, 可以将其取值为 Yes/No, 表示是一个新发起会话 还是一个正在进行中的会话; 也可以扩展 C2接口中的 LocateRequest消息,增加参数 ServicePriority来表示业务类型, 可以将该 ServicePriority参数取值为整数, 用来表示 是付费业务还是免费业务;还可以扩展 C2接口中的 LocateRequest消息,在其中增加 参数 SubscriberPriority, 并可以将该 SubscriberPriority参数取值为整数, 用来表示用 户是高优先级用户还是普通用户。  Specifically, the Streaming Server sends a request message to the CLS in the CDN when it finds that the content requested by the access request is not cached, and carries the type of the access request by expanding parameters in the request message, for example, You can extend the C2 interface by extending the LocateRequest message in the C2 interface and adding the parameter NewSessionFlag to indicate the session type. You can set it to Yes/No to indicate whether it is a new initiating session or an ongoing session. The LocateRequest message is added to the ServicePriority parameter to indicate the service type. The ServicePriority parameter can be used as an integer to indicate whether it is a paid service or a free service. The LocateRequest message in the C2 interface can also be extended, and the Parameter SubscriberPriority can be added thereto. The SubscriberPriority parameter is an integer that indicates whether the user is a high-priority user or a normal user.
该 StreamingServer扩展 LocateRequest消息后, 携带了访问请求的类型, 就可以 使得 CDN中的 CLS根据访问请求的类型进行内容提供的控制, 例如, 在 CDN出现 过载时, 拒绝新发起会话的请求, 而对于正在进行中的会话仍然为其提供服务, 就能 够避免正在进行中的会话因网络原因被中断, 提高用户体验, 提升用户满意度。 本发明实施例提供的一种内容传送网络 CDN的提供内容的控制方法,通过 CDN 中的内容提供服务器在接收到访问请求后判断访问请求的类型, 并在向 CDN中的内 容访问定位服务器发送请求消息时携带该请求的类型,使所述内容访问定位服务器根 据所述访问请求的类型进行内容提供的控制,能够实现对不同类型的请求进行不同的 处理, 提高用户体验, 并提升用户满意度。 After the StreamingServer extends the LocateRequest message, carrying the type of the access request, the CLS in the CDN can perform content provision control according to the type of the access request, for example, when the CDN is overloaded, rejecting the request for newly initiating the session, and The ongoing session is still serving it, you can It is enough to prevent the ongoing session from being interrupted due to network reasons, improve the user experience, and improve user satisfaction. A method for controlling content providing content of a content delivery network CDN provided by an embodiment of the present invention determines a type of an access request after receiving an access request by a content providing server in the CDN, and sends a request to a content access location server in the CDN. The message carries the type of the request, so that the content access location server performs content control according to the type of the access request, and can implement different processing on different types of requests, improve user experience, and improve user satisfaction.
下面以图 1所示网络架构为例, 针对三种不同场景对本发明实施例进行描述: 场景一: STB A有一个已经存在的会话, 例如正在观看节目, 而此时 CDN网络 发生过载, 而 STB C 发起一个新的节目点播请求到 StreamingServer , 并且 StreamingServer 上没有缓存 STB A 禾 P STB C 所请求的节目; 在这种情况下, StreamingServer在 C2接口 LocateRequest消息中扩展一个参数,由该参数代表请求的 类型。例如该参数可以是 NewSessionFlag, 当其取值为 Yes时表示是一个新发起的会 话, 当其取值为 No时表示是一个正在进行的会话; 即对于 STB C的请求消息中, 将 NewSessionFlag的值设为 Yes; 对于 STB A的请求消息, 将 NewSessionFlag的值设 为 No。 这样, CDN中的 CLS就能够识别 STB A和 STB C的请求类型, 对 STB A的 请求继续提供服务, 对 STB C的请求则拒绝。  The following uses the network architecture shown in Figure 1 as an example to describe the embodiments of the present invention in three different scenarios: Scenario 1: STB A has an existing session, such as watching a program, and the CDN network is overloaded, and the STB is in an STB. C initiates a new program-on-demand request to StreamingServer, and the program requested by STB A and P STB C is not cached on StreamingServer; in this case, StreamingServer extends a parameter in the C2 interface LocateRequest message, which represents the requested Types of. For example, the parameter may be NewSessionFlag. When the value is Yes, it indicates that it is a newly initiated session. When the value is No, it indicates that it is an ongoing session; that is, for the STB C request message, the value of NewSessionFlag is Set to Yes; For the STB A request message, set the value of NewSessionFlag to No. In this way, the CLS in the CDN can identify the request types of STB A and STB C, continue to provide services for STB A requests, and reject requests to STB C.
场景二: STB B有一个已经存在的会话, 例如正在观看节目, 而此时 CDN网络 发生过载, 而 STB C 发起一个新的节目点播请求到 StreamingServer , 并且 StreamingServer上没有缓存 STB B和 STB C所请求的节目, 且 STB B对应的用户是 高优先级用户 (即 VIP 用户), STB C 对应的用户是普通用户; 在这种情况下, StreamingServer在 C2接口 LocateRequest消息中扩展一个参数,由该参数代表请求的 类型。 例如该参数可以是 SubscriberPriority, 当其取值为 VIP时表示是一个新发起的 会话, 当其取值为 Normal时表示是普通用户的请求; 即对于 STB C的请求消息中, 将 SubscriberPriority的值设为 Normal; 对于 STB B的请求消息, 将 SubscriberPriority 的值设为 VIP。 这样, CDN中的 CLS就能够识别 STB A和 STB C的请求类型, 对 STB B的请求继续提供服务, 对 STB C的请求则拒绝。  Scenario 2: STB B has an existing session, such as watching a program, while the CDN network is overloaded, and STB C initiates a new program-on-demand request to StreamingServer, and there is no request for buffering STB B and STB C on StreamingServer. The program corresponding to the STB B is a high-priority user (ie, a VIP user), and the user corresponding to the STB C is a normal user; in this case, the StreamingServer expands a parameter in the LocateRequest message of the C2 interface, and the parameter represents The type of request. For example, the parameter may be SubscriberPriority. When the value is VIP, it indicates that it is a newly initiated session. When the value is Normal, it indicates that it is a request of a normal user; that is, for the request message of STB C, the value of SubscriberPriority is set. Normal; For the STB B request message, set the value of SubscriberPriority to VIP. Thus, the CLS in the CDN can identify the request types of STB A and STB C, continue to provide services for STB B requests, and reject requests to STB C.
场景三: STB B有一个已经存在的会话, 例如正在观看节目, 而此时 CDN网络 发生过载, 而 STB C 发起一个新的节目点播请求到 StreamingServer , 并且 StreamingServer上没有缓存 STB B和 STB C所请求的节目, 且 STB B对应的用户是 付费用户, STB C对应的用户是免费用户; 在这种情况下, StreamingServer在 C2接 口 LocateRequest消息中扩展一个参数, 由该参数代表请求的类型。 例如该参数可以 是 ServicePriority, 当其取值为 F 时表示是一个新发起的会话, 当其取值为 M 时表 示是普通用户的请求; 即对于 STB C的请求消息中, 将 ServicePriority的值设为 M; 对于 STB B的请求消息, 将 ServicePriority的值设为 F。 这样, CDN中的 CLS就能 够识别 STB A和 STB C的请求类型, 对 STB B的请求继续提供服务,对 STB C的请 求则拒绝。 Scenario 3: STB B has an existing session, such as watching a program, while the CDN network is overloaded, and STB C initiates a new program-on-demand request to StreamingServer, and there is no request for buffering STB B and STB C on StreamingServer. The program corresponding to the STB B is a paying user, and the user corresponding to the STB C is a free user; in this case, the StreamingServer extends a parameter in the LocateRequest message of the C2 interface, and the parameter represents the type of the request. For example, the parameter can Is the ServicePriority, when the value is F, it indicates that it is a newly initiated session. When the value is M, it indicates that it is a request of the ordinary user; that is, for the request message of STB C, the value of ServicePriority is set to M; STB B's request message, set the value of ServicePriority to F. Thus, the CLS in the CDN can identify the request type of STB A and STB C, continue to provide services for STB B requests, and reject requests to STB C.
上述三种场景中, 需要 CDN中的 CLS能够识别 StreamingServer发送的请求消 息的类型, 需要该 CLS预先配置以使其能够识别 StreamingServer发送的请求消息的 类型。  In the above three scenarios, the CLS in the CDN needs to identify the type of the request message sent by the StreamingServer, and the CLS needs to be pre-configured so that it can identify the type of the request message sent by the StreamingServer.
上述三种场景中的 CLS可以由图 2实施例描述的内容访问定位服务器的一种实 现方式, StreamingServer可以由图 3实施例描述的内容提供服务器的一种实现方式。  The CLS in the above three scenarios may be implemented by the content access location server described in the embodiment of FIG. 2, and the StreamingServer may be implemented by the content providing server described in the embodiment of FIG. 3.
上述方法也可以应用在 Http请求的场景中, 这种情况下, 需要在 Http Get请求 消息的头域或 URI中扩展参数, 其扩展方式可以参考上述方法实施例的描述来实现, 不再赘述。  The above method can also be applied to the Http request scenario. In this case, the parameter needs to be extended in the header field or the URI of the Http Get request message. The extension mode can be implemented by referring to the description of the foregoing method embodiment, and details are not described herein.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过 程序指令相关的硬件来完成, 前述的程序可以存储于计算机可读取存储介质中, 该程 序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
参考图 4, 图 4为本发明实施例提供的一种内容访问定位服务器 40结构示意图, 包括:  Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a content access location server 40 according to an embodiment of the present invention, including:
接收单元 400, 用于接收内容提供请求消息, 所述内容提供请求消息携带有标识 信息, 所述标识信息用于标识所述内容提供请求消息的类型;  The receiving unit 400 is configured to receive a content providing request message, where the content providing request message carries the identifier information, where the identifier information is used to identify a type of the content providing request message;
控制单元 402, 用于根据接收单元 400接收到的请求消息中携带的类型进行内容 提供的控制。  The control unit 402 is configured to perform content providing control according to the type carried in the request message received by the receiving unit 400.
其中, 参考图 5, 所述控制单元 402还可以包括:  The control unit 402 may further include:
判断单元 4021, 用于判断所述内容提供请求消息的类型;  The determining unit 4021 is configured to determine a type of the content providing request message;
处理单元 4022, 用于在 CDN网络过载时, 根据所述判断单元 4021判断后的类 型进行控制, 当该类型为新发起的会话时拒绝内容访问请求, 当该类型为正在进行的 会话时继续提供服务; 当该类型为免费用户发起的会话时拒绝该内容访问请求, 当该 类型为付费用户发起的会话时继续提供服务;当该类型为普通用户发起的会话时拒绝 该内容访问请求, 当该类型为高优先级用户发起的会话时继续为其提供服务。  The processing unit 4022 is configured to: when the CDN network is overloaded, perform control according to the type determined by the determining unit 4021, reject the content access request when the type is a newly initiated session, and continue to provide when the type is an ongoing session. Service; reject the content access request when the type is a free user initiated session, continue to provide the service when the type is a session initiated by the paying user; reject the content access request when the type is a session initiated by the ordinary user, when Services that are initiated by high-priority users continue to serve them.
本发明实施例提供的一种内容访问定位服务器,根据内容提供请求消息携带的类 型进行内容提供的控制,能够实现对不同类型的请求进行不同的处理,提高用户体验, 并提升用户满意度。 A content access location server provided by an embodiment of the present invention, which is provided according to a content providing request message Type-based content control enables different types of requests to be processed differently, improving user experience and improving user satisfaction.
参考图 6, 图 6为本发明实施例还提供的一种内容提供服务器 60结构示意图, 包括:  Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a content providing server 60 according to an embodiment of the present invention, including:
接收判断单元 600: 用于接收访问请求, 并判断所述访问请求的类型; 发送单元 602: 用于向 CDN中的内容访问定位服务器发送请求消息, 所述请求 消息携带有标识信息,所述标识信息用于标识所述访问请求的类型, 以使所述内容访 问定位服务器根据所述访问请求的类型进行内容提供的控制。  The receiving judging unit 600 is configured to receive the access request, and determine the type of the access request. The sending unit 602 is configured to send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier The information is used to identify the type of the access request, so that the content access location server performs control of content provision according to the type of the access request.
参考图 7, 图 7为本发明实施例一种内容提供服务器 60具体实现方式结构示意 图, 其中:  Referring to FIG. 7, FIG. 7 is a schematic structural diagram of a specific implementation manner of a content providing server 60 according to an embodiment of the present invention, where:
所述发送单元 602还可以包括发送判断单元 604, 用于判断自身是否缓存访问请 求消息所请求的内容, 如果未缓存, 则通知发送单元 602向 CDN中的内容访问定位 服务器发送请求消息。  The sending unit 602 may further include a sending determining unit 604, configured to determine whether it caches the content requested by the access request message, and if not, the notification sending unit 602 sends a request message to the content access positioning server in the CDN.
所述发送单元 602还可以包括: 扩展单元 6021, 用于扩展向 CDN中的内容访问 定位服务器发送请求消息, 使所述请求消息携带所述请求的类型信息,所述类型信息 用于内容访问定位服务器进行内容提供的控制; 请求单元 6022, 用于将所述扩展单 元 6021扩展后的请求消息发送给 CDN中的内容访问定位服务器。  The sending unit 602 may further include: an expanding unit 6021, configured to extend, to the content access location server in the CDN, a request message, where the request message carries type information of the request, and the type information is used for content access positioning. The server performs control of the content providing; the requesting unit 6022 is configured to send the extended request message of the extension unit 6021 to the content access location server in the CDN.
本发明实施例提供的内容提供服务器 60的具体实现方式可以参考上述方法实施 例中 StreamingServer的实现方式来实现, 不再赘述。  The specific implementation of the content providing server 60 provided by the embodiment of the present invention may be implemented by referring to the implementation manner of the StreamingServer in the foregoing method embodiment, and details are not described herein.
参考图 8, 图 8为本发明实施例一种内容提供系统的结构示意图, 包括: 内容访问定位服务器 800, 用于接收内容提供服务器 802的内容提供请求消息, 并根据所述内容提供请求消息中携带的类型进行内容提供的控制;  Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a content providing system according to an embodiment of the present invention, including: a content access positioning server 800, configured to receive a content providing request message of a content providing server 802, and provide a request message according to the content. Carrying the type to control the content provided;
内容提供服务器 802, 用于接收访问请求并判断所述访问请求的类型, 向所述内 容访问定位服务器 800发送请求消息,所述请求消息携带有标识信息,所述标识信息 用于标识所述访问请求的类型。  The content providing server 802 is configured to receive the access request and determine the type of the access request, and send a request message to the content access location server 800, where the request message carries identification information, where the identifier information is used to identify the access The type of request.
所述内容访问定位服务器 800可以参考上述图 4、 图 5所述的内容访问定位服务 器 40来实现, 所述内容提供服务器 802可以参考上述图 6、 图 7所述的内容提供服 务器 60来实现, 不再赘述。  The content access location server 800 can be implemented by referring to the content access location server 40 described in FIG. 4 and FIG. 5, and the content providing server 802 can be implemented by referring to the content providing server 60 described in FIG. 6 and FIG. No longer.
本发明实施例提供的一种内容传送网络 CDN的内容提供的控制方法、 装置和系 统, 通过 CDN中的内容提供服务器在接收到访问请求后判断访问请求的类型, 并在 向 CDN中的内容访问定位服务器发送请求消息时携带该请求的类型, 使 CDN中的 内容访问定位服务器根据所述访问请求的类型进行内容提供的控制,能够实现对不同 类型的请求进行不同的处理, 提高用户体验, 并提升用户满意度。 The method, device and system for controlling the content providing of the content delivery network CDN provided by the embodiment of the present invention determine the type of the access request after receiving the access request by the content providing server in the CDN, and access the content in the CDN The type of the request carried by the location server when sending the request message, so that the CDN The content access location server performs content provision control according to the type of the access request, and can implement different processing on different types of requests, improve user experience, and improve user satisfaction.

Claims

权 利 要 求 Rights request
1. 一种内容传送网络 CDN的内容提供的控制方法, 其特征在于, 包括: CDN 中的内容访问定位服务器接收内容提供请求消息, 所述内容提供请求 消息携带有标识信息, 所述标识信息用于标识所述内容提供请求消息的类型; 所述 CDN中的内容访问定位服务器根据所述内容提供请求消息的类型进行 内容提供的控制。 A content providing control method for a content delivery network CDN, comprising: a content access location server in a CDN receiving a content providing request message, wherein the content providing request message carries identification information, where the identification information is used The type of the content providing request message is identified; the content access location server in the CDN performs content providing control according to the type of the content providing request message.
2. 根据权利要求 1所述的内容传送网络 CDN的内容提供的控制方法, 其特 征在于:  2. The method of controlling content providing of a content delivery network CDN according to claim 1, wherein:
所述内容提供请求消息的类型包括会话类型、用户优先级或业务类型中的至 少一个。  The type of the content providing request message includes at least one of a session type, a user priority, or a service type.
3. 根据权利要求 2所述的内容传送网络 CDN的内容提供的控制方法, 其特 征在于, 所述 CDN中的内容访问定位服务器根据所述内容提供请求消息对应的 类型进行内容提供的控制包括下述方式中的至少一种:  The control method of content providing of the content delivery network CDN according to claim 2, wherein the content access location server in the CDN performs content provision control according to a type corresponding to the content providing request message, including At least one of the ways described:
方式一: 当所述内容提供请求消息的类型为会话类型, 则在所述 CDN过载 时, 拒绝新发起会话的请求, 或为正在进行中的会话提供服务;  Manner 1: When the type of the content providing request message is a session type, when the CDN is overloaded, the request for newly initiating a session is rejected, or a service is provided for an ongoing session;
方式二: 当所述内容提供请求消息的类型为用户优先级, 则在所述 CDN过 载时, 拒绝普通用户的请求, 或为高优先级用户提供服务; 或  Manner 2: When the type of the content providing request message is a user priority, when the CDN is overloaded, the request of the ordinary user is rejected, or the high priority user is served; or
方式三: 当所述内容提供请求消息的类型为业务类型, 则在所述 CDN过载 时, 拒绝免费用户的请求, 或为付费用户提供服务。  Manner 3: When the type of the content providing request message is a service type, when the CDN is overloaded, the request of the free user is rejected, or the service is provided for the paying user.
4. 根据权利要求 1-3中任一所述的内容传送网络 CDN的内容提供的控制方 法, 其特征在于:  4. A method of controlling content provisioning of a content delivery network CDN according to any of claims 1-3, characterized in that:
所述 CDN中的内容访问定位服务器是内容库定位服务 CLS, 所述内容提供 请求消息是推流服务器 StreamingServer发送的内容提供请求消息; 所述 CLS通 过与 StreamingServer之间的 C2接口接收所述内容提供请求消息;所述内容提供 请求消息中携带的标识是通过扩展 LocateRequest消息来实现。  The content access location server in the CDN is a content library location service CLS, and the content provision request message is a content provision request message sent by the push stream server StreamingServer; the CLS receives the content provider by using a C2 interface with the StreamingServer. A request message; the identifier carried in the content providing request message is implemented by extending a LocateRequest message.
5. 一种内容传送网络 CDN提供内容的控制方法, 其特征在于, 包括: 所述 CDN中的内容提供服务器接收访问请求, 判断所述访问请求的类型; 向所述 CDN中的内容访问定位服务器发送请求消息, 所述请求消息携带有 标识信息, 所述标识信息用于标识所述访问请求的类型, 以使所述内容访问定位 服务器根据所述访问请求的类型进行内容提供的控制。  A method for controlling content provided by a content delivery network CDN, comprising: receiving, by a content providing server in the CDN, an access request, determining a type of the access request; and accessing a location server to content in the CDN And sending the request message, where the request message carries the identifier information, where the identifier information is used to identify the type of the access request, so that the content access location server performs content control according to the type of the access request.
6. 根据权利要求 5所述的 CDN提供内容的控制方法, 其特征在于: 所述访问请求的类型包括会话类型、 用户优先级或业务类型中的至少一个。6. The method for controlling content provided by a CDN according to claim 5, wherein: The type of the access request includes at least one of a session type, a user priority, or a service type.
7. 根据权利要求 5所述的 CDN提供内容的控制方法, 其特征在于: 所述内容访问定位服务器发送请求消息前先判断自身是否缓存该请求消息 请求的内容, 如果未缓存, 再向 CDN中的内容访问定位服务器发送请求消息。 The method for controlling content provided by a CDN according to claim 5, wherein: the content access location server determines whether it caches the content requested by the request message before sending the request message, and if not cached, then goes to the CDN. The content access location server sends a request message.
8. 根据权利要求 5-6任一所述的 CDN提供内容的控制方法, 其特征在于: 所述 CDN中的内容提供服务器是 StreamingServer, 所述 Streaming Server在 接收到机顶盒 STB发送的访问请求时, 判断该访问请求的类型;  The method for controlling content provided by a CDN according to any one of claims 5-6, wherein: the content providing server in the CDN is a StreamingServer, and when the Streaming Server receives an access request sent by the set top box STB, Determine the type of the access request;
相应的, 所述 CDN中的内容提供服务器接收访问请求并判断所述访问请求 的类型后还包括:  Correspondingly, after the content providing server in the CDN receives the access request and determines the type of the access request, the method further includes:
所述 StreamingServer扩展 C2接口中的 LocateRequest消息, 通过增加参数 的方式携带所述访问请求的类型; 或  The StreamingServer extends the LocateRequest message in the C2 interface, and carries the type of the access request by adding a parameter; or
所述 StreamingServer通过扩展 Http Get请求消息的头域或 URI中的参数的 方式携带所述访问请求的类型。  The StreamingServer carries the type of the access request by extending a parameter in a header field or a URI of the Http Get request message.
9. 一种内容访问定位服务器, 其特征在于, 包括:  A content access location server, comprising:
接收单元, 用于接收内容提供请求消息, 所述内容提供请求消息携带有标识 信息, 所述标识信息用于标识所述内容提供请求消息的类型;  a receiving unit, configured to receive a content providing request message, where the content providing request message carries identifier information, where the identifier information is used to identify a type of the content providing request message;
控制单元,用于根据接收单元接收到的请求消息中携带的类型进行内容提供 的控制。  And a control unit, configured to perform content providing control according to a type carried in the request message received by the receiving unit.
10. 根据权利要求 9所述的内容访问定位服务器, 其特征在于, 所述控制单 元包括:  The content access location server according to claim 9, wherein the control unit comprises:
判断单元, 用于判断所述内容提供请求消息的类型;  a determining unit, configured to determine a type of the content providing request message;
处理单元, 用于在 CDN网络过载时, 根据所述判断单元判断后的类型进行 控制; 当所述类型为新发起的会话时拒绝内容访问请求, 当所述类型为正在进行 的会话时继续提供服务;当所述类型为免费用户发起的会话时拒绝该内容访问请 求, 当所述类型为付费用户发起的会话时继续提供服务; 当所述类型为普通用户 发起的会话时拒绝该内容访问请求,当所述类型为高优先级用户发起的会话时继 续为其提供服务。  a processing unit, configured to: when the CDN network is overloaded, perform control according to the type determined by the determining unit; reject the content access request when the type is a newly initiated session, and continue to provide when the type is an ongoing session Service; rejecting the content access request when the type is a free user initiated session, continuing to provide a service when the type is a session initiated by a paying user; rejecting the content access request when the type is a session initiated by a normal user When the type is a session initiated by a high priority user, it continues to serve.
11. 一种内容提供服务器, 其特征在于, 包括:  A content providing server, comprising:
接收判断单元: 用于接收访问请求, 并判断所述访问请求的类型; 发送单元: 用于向 CDN中的内容访问定位服务器发送请求消息, 所述请求 消息携带有标识信息, 所述标识信息用于标识所述访问请求的类型, 以使所述内 容访问定位服务器根据所述访问请求的类型进行内容提供的控制。 The receiving determining unit is configured to receive an access request, and determine the type of the access request. The sending unit is configured to send a request message to the content access location server in the CDN, where the request message carries the identifier information, where the identifier information is used by The type of the access request is identified to enable the content access location server to perform content provision control according to the type of the access request.
12. 根据权利要求 11所述的内容提供服务器, 其特征在于, 还包括: 发送判断单元, 用于判断自身是否缓存访问请求消息所请求的内容, 如果未 缓存, 则通知发送单元向 CDN中的内容访问定位服务器发送请求消息。 The content providing server according to claim 11, further comprising: a sending determining unit, configured to determine whether the content requested by the access request message is cached, and if not, notify the sending unit to the CDN The content access location server sends a request message.
13. 根据权利要求 11或 12所述的内容提供服务器, 其特征在于, 所述发送 单元包括:  The content providing server according to claim 11 or 12, wherein the sending unit comprises:
扩展单元, 用于扩展向 CDN中的内容访问定位服务器发送请求消息, 使所 述请求消息携带所述请求的类型信息,所述类型信息用于内容访问定位服务器进 行内容提供的控制;  And an extension unit, configured to send a request message to the content access location server in the CDN, so that the request message carries type information of the request, and the type information is used by the content access location server to perform content provision control;
请求单元, 用于将所述扩展单元扩展后的请求消息发送给 CDN中的内容访 问定位服务器。  And a requesting unit, configured to send the extended request message to the content access location server in the CDN.
14. 一种内容提供系统, 其特征在于, 包括内容访问定位服务器和内容提供 服务器, 其中:  A content providing system, comprising: a content access location server and a content providing server, wherein:
所述内容访问定位服务器,用于接收所述内容提供服务器的内容提供请求消 息, 并根据所述内容提供请求消息中携带的类型进行内容提供的控制;  The content access location server is configured to receive a content providing request message of the content providing server, and perform content providing control according to a type carried in the content providing request message;
所述内容提供服务器, 用于接收所述访问请求并判断所述访问请求的类型, 向所述内容访问定位服务器发送请求消息, 所述请求消息携带有标识信息, 所述 标识信息用于标识所述访问请求的类型。  The content providing server is configured to receive the access request and determine the type of the access request, and send a request message to the content access location server, where the request message carries identification information, where the identifier information is used to identify the location The type of access request.
15. 根据权利要求 14所述的内容传送网络 CDN的内容提供系统, 其特征在 于:  15. The content delivery system of a content delivery network CDN according to claim 14, characterized by:
所述内容提供请求消息的类型包括会话类型、用户优先级或业务类型中的至 少一个。  The type of the content providing request message includes at least one of a session type, a user priority, or a service type.
PCT/CN2011/075357 2010-12-31 2011-06-03 Method, apparatus and system for controlling content provision of content delivery network WO2011144176A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201010619588 CN102143380A (en) 2010-12-31 2010-12-31 Content provision control method, content provision control device and content provision control system for content transmission network
CN201010619588.0 2010-12-31

Publications (1)

Publication Number Publication Date
WO2011144176A1 true WO2011144176A1 (en) 2011-11-24

Family

ID=44410561

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075357 WO2011144176A1 (en) 2010-12-31 2011-06-03 Method, apparatus and system for controlling content provision of content delivery network

Country Status (2)

Country Link
CN (1) CN102143380A (en)
WO (1) WO2011144176A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297337A (en) * 2012-02-23 2013-09-11 中兴通讯股份有限公司 Method and system for achieving content distribution network interconnection routing
JPWO2014010445A1 (en) * 2012-07-10 2016-06-23 シャープ株式会社 Content transmission device, content reproduction device, content distribution system, content transmission device control method, content reproduction device control method, data structure, control program, and recording medium
CN102957624B (en) * 2012-12-12 2015-07-15 中国联合网络通信集团有限公司 Content routing method and device
CN104092619B (en) 2014-07-25 2017-07-21 华为技术有限公司 Flow control methods and device
CN110781244B (en) * 2014-12-03 2023-06-13 阿里巴巴集团控股有限公司 Method and device for controlling concurrent operation of database
CN105721394B (en) * 2014-12-03 2019-02-05 中国移动通信集团公司 A kind of service access equipment, the method and system of content oriented distribution network
CN108206957B (en) * 2017-11-29 2021-05-28 贵州省广播电视信息网络股份有限公司 Method for playing NGOD video file by HLS
CN113271359A (en) * 2021-05-19 2021-08-17 北京百度网讯科技有限公司 Method and device for refreshing cache data, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101406025A (en) * 2006-03-28 2009-04-08 汤姆森许可贸易公司 Centralization type scheduling device aiming at content transmission network
CN101500016A (en) * 2008-01-31 2009-08-05 华为技术有限公司 Service control method, system and equipment
CN101610494A (en) * 2008-06-16 2009-12-23 华为技术有限公司 Realize method, system and the equipment of overload control or differentiated service

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4838414B2 (en) * 2000-10-11 2011-12-14 富士通株式会社 Authentication method
CN101047664A (en) * 2006-06-09 2007-10-03 华为技术有限公司 Method and device for implementing multi-target service or operation
US8578450B2 (en) * 2008-06-20 2013-11-05 At&T Intellectual Property Ii, L.P. Methods for distributing information using secure peer-to-peer communications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101406025A (en) * 2006-03-28 2009-04-08 汤姆森许可贸易公司 Centralization type scheduling device aiming at content transmission network
CN101500016A (en) * 2008-01-31 2009-08-05 华为技术有限公司 Service control method, system and equipment
CN101610494A (en) * 2008-06-16 2009-12-23 华为技术有限公司 Realize method, system and the equipment of overload control or differentiated service

Also Published As

Publication number Publication date
CN102143380A (en) 2011-08-03

Similar Documents

Publication Publication Date Title
WO2011144176A1 (en) Method, apparatus and system for controlling content provision of content delivery network
US10609101B2 (en) Streaming of segmented content
US10225306B2 (en) Controlled streaming of segmented content
US9118738B2 (en) Systems and methods for controlling access to a media stream
US10171534B2 (en) Placeshifting of adaptive media streams
CN104137505B (en) The method and apparatus for realizing the control initiated the network of segmented content stream transmission
TWI516064B (en) Session control for media stream transmission
US9673996B1 (en) Redirection of a streaming media session in an anticipated failover scenario
WO2011032431A1 (en) Method and apparatus for transmitting hyper text transport protocol (http) media
WO2008101444A1 (en) A streaming media system, signaling transmitting device and sending method of streaming media
EP3059945A1 (en) Method and system for video surveillance content adaptation, and central server and device
US9544630B2 (en) Method and IPTV server for enabling playout of one or more media objects
US20090193438A1 (en) Method and apparatus for processing event in home network
JP2019537897A (en) Resource segmentation to improve delivery performance
WO2014067289A1 (en) Media content scheduling method, system and device
EP3170310B1 (en) System and method for streaming real-time video from mobile device to set-top-box connected with iptv server
CN106464738B (en) Method for operating a network device and corresponding network device
WO2008106890A1 (en) A method, system and apparatus for using the media buffer
US9882794B2 (en) Method, media type server and terminal device for identifying service request type
WO2010028591A1 (en) Method and system for realizing recording in client terminal, and recording control entity
KR20180024841A (en) Streaming service server and control method thereof
KR20160105803A (en) Method for providing a content part of a multimedia content to a client terminal, corresponding cache
WO2010022603A1 (en) A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents
KR101528268B1 (en) System and method for streaming content to remote locations
JP5044477B2 (en) Additional call type QoS control network system and method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11783093

Country of ref document: EP

Kind code of ref document: A1