WO2010124550A1 - Content delivery method and device and content delivery network system - Google Patents

Content delivery method and device and content delivery network system Download PDF

Info

Publication number
WO2010124550A1
WO2010124550A1 PCT/CN2010/071582 CN2010071582W WO2010124550A1 WO 2010124550 A1 WO2010124550 A1 WO 2010124550A1 CN 2010071582 W CN2010071582 W CN 2010071582W WO 2010124550 A1 WO2010124550 A1 WO 2010124550A1
Authority
WO
WIPO (PCT)
Prior art keywords
cdn
content
information
request
target
Prior art date
Application number
PCT/CN2010/071582
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 WO2010124550A1 publication Critical patent/WO2010124550A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast

Definitions

  • the present invention relates to communication technologies, and more particularly to a content distribution method, apparatus, and content distribution network system. Background technique
  • the Content Delivery Network (CNN) technology is a technology developed to improve the Quality of Service (QoS) of the Internet.
  • QoS Quality of Service
  • CDN technology The principle of CDN technology is: distributed media servers are distributed in the network, so that the media content provided by the content provider can be pushed from the backbone of the network to the "edge" of the network closest to the user according to the established distribution policy, for example. : Pushed to the "edge” media server, so that when users access the media content, they can get a quick response from the nearest "edge", the media server, thereby reducing the impact of media content transmission delay, network jitter and other factors on the access effect. Users provide an orderly and high-quality service that enables users to get the information they need from the network closest to the user as quickly as possible. CDN technology greatly eases Internet congestion and enables websites to provide more There are many media content services such as video programs, song-on-demand and other data traffic.
  • FIG. 1 is a schematic diagram of a network structure of a prior art CDN.
  • each CDN includes a CDN Controller (CDN Controller, hereinafter referred to as CDNC), with more than one logic.
  • the associated cluster for example: A geographically associated cluster.
  • Each cluster includes a cluster controller (Cluster Controller, hereinafter referred to as CC), and more than one logically associated content delivery function entity (CFD), for example: geographical location, storage capacity related Associated CDF.
  • the CDF is also a media server, which is mainly responsible for storing media content and distributing media content to users; CC is mainly responsible for managing resources in the cluster, including the distribution of decision media content within the cluster, monitoring the status of the CDF, and providing media content distribution for decision making.
  • the CDF of the service; CDNC is the control center within the CDN, which mainly controls the distribution of media content in each cluster within the CDN, and the clusters that decide to provide services to users.
  • the large-scale CDN is also called a total CDN.
  • each CDN serves as a sub-CDN, and its internal content distribution is controlled by the CDNC.
  • AS Internet Protocol TV
  • COD content on demand
  • a default subCDN For an application system (hereinafter referred to as AS) that requires a CDN, for example, Internet Protocol TV (hereinafter referred to as IPTV) AS, content on demand (hereinafter referred to as COD) AS, etc.
  • IPTV Internet Protocol TV
  • COD content on demand
  • the content distribution request is first sent to the CDNC in the default sub-CDN, and when the CDNC in the default CDN cannot provide the service, the content distribution request is forwarded to the other sub-CDN.
  • the CDNC's CDNC processing if the CDNC processing still fails to provide the service, continues to forward the content distribution request to the CDNC processing of the other sub-CDNs in the total CDN, and so on, and may occur in the total CDN for cyclic forwarding of the content distribution request.
  • the inventors have found that the existing CDN provides a content distribution service to a user with at least the following problems:
  • the multi-level forwarding or even the round-trip forwarding of the content distribution request may be caused, thereby increasing the processing user.
  • the time of the content distribution request even the infinite extension of the time for processing the user content distribution request, especially in the case where the total number of sub-CDNs included in the total CDN is large, the response message cannot be returned to the user within an acceptable time, and P is contending. CDN's quality of service. Summary of the invention
  • the technical problem to be solved by the embodiments of the present invention is to provide a content distribution method, a device, and a content distribution network system, so as to shorten the time for processing a user content distribution request and improve the service quality of the CDN.
  • the content distribution request includes content information requesting distribution; sending a query request to the top-level content distribution network control unit TOP-CDNC, where the query request includes the content information of the request distribution;
  • the target CDN is requested to process the content distribution request.
  • a first receiving module configured to receive a content distribution request, where the content distribution request includes content information for requesting distribution, and receiving target CDN related information returned by the TOP-CDNC; and a first sending module, configured to send to the TOP-CDNC Query request, the query request includes content information of the request distribution;
  • a request processing module configured to request the target CDN to process the content distribution request according to the target CDN related information.
  • a query request may be sent to the TOP-CDNC, and the target CDN related information for processing the content distribution request is acquired from the TOP-CDNC, and the target CDN is directly requested to process the content distribution request.
  • it avoids the multi-level forwarding or even the round-trip forwarding when the content distribution request cannot be processed, effectively saves the time for processing the user content distribution request, and can return a response message to the user in time, thereby improving the CDN. Quality of service.
  • a method for selecting a target content distribution network includes: receiving a query request sent by a source CDN, where the query request includes a user terminal requesting distribution Content information;
  • the target CDN information is transmitted to the source CDN.
  • a target content distribution network selecting apparatus includes: a third receiving module, configured to receive a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
  • a storage module configured to store CDN information for distributing each content
  • An acquiring module configured to obtain, from the storage module, CDN information that distributes the content
  • a second selecting module configured to select, according to CDN information that distributes the content, a target CDN that distributes the content to the user terminal;
  • a second sending module configured to send the target CDN information to the source CDN.
  • Another method for selecting a target content distribution network includes: receiving a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
  • the target CDN information distributing the content is transmitted to the source CDN such that the source CDN selects to distribute the target CDN of the content to the user terminal.
  • Another target content distribution network selecting apparatus includes: a third receiving module, configured to receive a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
  • a storage module configured to store CDN information for distributing each content
  • An acquiring module configured to acquire, from the storage module, CDN information that distributes the content
  • a third sending module configured to send, to the source CDN, target CDN information that distributes the content, so that the source CDN selects a location
  • the user terminal distributes the target CDN of the content.
  • a content distribution network system includes a TOP-CDNC and a plurality of CDNs, and a source CDN of the plurality of CDNs is configured to receive a content distribution request, where The content distribution request includes content information requesting distribution; sending a query request to the TOP-CDNC, the content distribution request including content information of the request distribution; and receiving target CDN information returned by the TOP-CDNC; Determining the target CDN, requesting the target CDN to process the content distribution request;
  • the TOP-CDNC is configured to store CDN information for distributing each content; receiving the query request to obtain CDN information that distributes the content; and the CDN information distributing the content is selected to distribute the content to the user terminal Target CDN; and transmitting the target CDN information to the source CDN.
  • Another content distribution network system includes a TOP-CDNC and a plurality of CDNs, wherein the source CDNs of the plurality of CDNs are used to receive a content distribution request, where the content distribution request includes content requested for distribution.
  • the TOP-CDNC is configured to store CDN information for distributing the content; receiving the query request, obtaining CDN information for distributing the content; and transmitting CDN information for distributing the content to the source CDN.
  • the TOP-CDNC can obtain the CDN related information for processing the content distribution request according to the CDN information of each content distribution, and send the information to the source.
  • the CDN in order to directly request the target CDN to process the content distribution request, avoids the multi-level forwarding or even the round-trip forwarding of the content distribution request when the source CDN cannot process the content distribution request, thereby effectively saving the processing of the user content.
  • the response message can be returned to the user in time, thereby improving the quality of service of the CDN.
  • a CDN corresponding to the geographical attribute of the user is selected from the CDN system as a source CDN for processing a content distribution request transmitted by the user terminal.
  • a second receiving module configured to receive a request message sent by the user terminal, where the request message includes user information
  • a determining module configured to determine a geographic attribute of the user according to the user information
  • a first selecting module configured to select, from the CDN system, a CDN corresponding to the geographic attribute of the user, to process the sending by the user terminal The source CDN of the content distribution request.
  • the source content distribution network selection and device may determine a source CDN as a content distribution request sent by the user terminal according to the geographic attribute of the user, so that the source CDN can be processed as the default CDN.
  • the content distribution request sent by the user terminal, TOP-CDNC only serves as the query center, instead of centrally processing the content distribution request by the TOP-CDNC, thereby greatly improving the performance of the CDN system and saving the round when the source CDN cannot process the content distribution request. Inquire about time and improve business processing efficiency.
  • FIG. 1 is a schematic diagram of a network structure of a prior art CDN
  • FIG. 2 is a flow chart of an embodiment of a content distribution method according to the present invention.
  • FIG. 3 is a schematic structural view of an embodiment of a CDN system according to the present invention.
  • FIG. 4 is a flowchart of another embodiment of a content distribution processing method according to the present invention.
  • FIG. 5 is a flowchart of an application embodiment of a content distribution method according to the present invention.
  • FIG. 6 is a flow chart of still another embodiment of a content distribution method according to the present invention.
  • FIG. 7 is a flow chart of an embodiment of a source CDN selection method according to the present invention.
  • FIG. 8 is a flowchart of an embodiment of a target CDN selection method according to the present invention
  • FIG. 9 is a flowchart of another embodiment of a method for selecting a target CDN according to the present invention
  • FIG. 10 is a flowchart of an embodiment of generating CDN information of distributed content according to the present invention
  • FIG. 11 is a schematic structural diagram of an embodiment of a content distribution apparatus according to the present invention
  • FIG. 12 is a schematic structural diagram of another embodiment of a content distribution apparatus according to the present invention.
  • FIG. 13 is a schematic structural diagram of still another embodiment of a content distribution apparatus according to the present invention.
  • FIG. 14 is a schematic structural view of an embodiment of a source CDN selection device according to the present invention
  • FIG. 15 is a schematic structural view of an embodiment of a target CDN selection device according to the present invention
  • 17 is a schematic structural diagram of still another embodiment of the target CDN selection device of the present invention
  • FIG. 18 is a schematic structural view of still another embodiment of the target CDN selection device of the present invention.
  • the embodiment of the present invention can directly select a target CDN that can process the content distribution request in the CDN system to process the content distribution request, thereby avoiding the situation that the source CDN cannot process the content distribution request, especially when the CDN is large. Multi-level forwarding or even round-robin forwarding of content distribution requests.
  • FIG. 2 is a flow chart of an embodiment of a content distribution method of the present invention. As shown in FIG. 2, the content distribution method of this embodiment includes the following steps:
  • Step 101 Receive a content distribution request, where the content distribution request includes content information for requesting distribution, and further includes address information of a user equipment (User Equipment, hereinafter referred to as UE) requesting to distribute the content.
  • UE User Equipment
  • Step 102 Send a query request to the top-level CDN control unit (TOP-CDN Controller, hereinafter referred to as TOP-CDNC), where the query request includes content information requested for distribution.
  • TOP-CDNC top-level CDN control unit
  • a total CDN may be constituted by a plurality of CDNs, and a CDN system is constituted by the total CDN and TOP-CDNC.
  • FIG. 3 is a schematic structural diagram of an embodiment of a CDN system according to the present invention.
  • TOP-CDNC can be accepted
  • the content information stored in each CDN and the status information of the CDN are collected, and CDN information of each content is generated.
  • the CDN that processes the content distribution request by default is called a source CDN or a default CDN, and may be preset according to a certain rule.
  • Step 103 Receive the target CDN related information returned by the TOP-CDNC.
  • the target CDN related information may be target CDN information for processing a content distribution request, wherein the target CDN is selected by the TOP-CDNC based on the CDN information distributing the content.
  • the target CDN related information may also be CDN information that distributes the content requested by the content distribution request.
  • the target CDN for processing the content distribution request can be selected based on the CDN information distributing the content.
  • the target CDN information may specifically be the IP address information of the target CDN, the Media Access Control (MAC) address information, the routing information, and the like, all of which can locate the target CDN.
  • MAC Media Access Control
  • Step 104 The target CDN is requested to process the content distribution request according to the target CDN related information.
  • the embodiment shown in the above FIG. 2 of the present invention can be specifically implemented by the source CDN of the UE that transmits the content distribution request.
  • the source CDN processes the content distribution request sent by the UE, sends a query request to the TOP-CDNC, acquires the target CDN related information for processing the content distribution request from the TOP-CDNC, and directly selects a target CDN that can process the content distribution request, and Requesting the target CDN to process the content distribution request, thereby avoiding multi-level forwarding or even round-robining of the content distribution request when the content distribution request is processed, especially when the CDN is large, effectively saving polling for processing the user content distribution request.
  • the response message can be returned to the user in time, thereby improving the service quality of the CDN and improving the user experience.
  • the CDN information of the distributed content may be the CDN storing the content and its status information.
  • the CDN information storing the content may be the CDN information of the content and the content, or the correspondence relationship between the CDN and the content information stored by the CDN.
  • Shape of CDN The status information includes the load and health status information of the CDN.
  • the CDF sends the requested content to the UE, which causes the CDF session request to increase, increasing the load of the cluster where the CDF is located. Thereby increasing the load of the CDN.
  • the health status identifies whether the CDN is working properly. When the load of a CDN reaches the upper limit, the new content distribution request can no longer be processed, and the health status may change to a CDF exception.
  • the default CDN may also send a query request to the TOP-CDNC only when the content distribution request sent by the UE cannot be processed, so that the content distribution sent by the UE can be reduced in the default CDN itself.
  • the time required for the target CDN to process the content distribution request is requested, thereby saving the polling time for processing the user content distribution request, and the response message can be returned to the user in time, thereby improving the service quality of the CDN and improving the user experience.
  • FIG. 4 is a flow chart of another embodiment of a content distribution processing method of the present invention. As shown in FIG. 4, the content distribution processing method of this embodiment includes the following steps:
  • Step 201 The source CDN receives a content distribution request, where the content distribution request includes content information for requesting distribution, and further includes UE address information for requesting distribution of the content.
  • Step 202 The source CDN sends a query request to the TOP-CDNC in the CDN system, where the query request includes content information requested by the content distribution request.
  • Step 203 Receive target CDN information selected and returned by the TOP-CDNC.
  • Step 204 The source CDN requests the corresponding target CDN to process the content distribution request according to the target CDN information.
  • the source CDN may forward the content distribution request to the target CDN.
  • the content distribution request may be redirected to the target CDN, or the content distribution request may be directly forwarded to the target.
  • the target CDN processes the content distribution request, and distributes the content to the UE according to the content distribution request.
  • the source CDN may acquire the content requested for distribution by the content distribution request from the target CDN according to the target CDN information, and distribute the content to the UE according to the content distribution request.
  • the centralization method processes the content distribution request from the UE, ie, the content distribution request is processed first by the source CDN as the default CDN, and the TOP-CDNC is only used as the query center. Rather than directly processing the content distribution request from the UE by TOP-CDNCC, the performance of the CDN system can be greatly improved, and the polling time when the source CDN cannot process the content distribution request can be further saved, and the business processing efficiency is improved.
  • FIG. 5 is a flowchart of an application embodiment of a content distribution processing method according to the present invention. This embodiment is a specific application of the embodiment shown in FIG. As shown in FIG. 5, the application embodiment includes the following steps:
  • Step 301 The COD AS receives a service request message sent by the user through the UE, and requests to acquire a certain content, where the service request message carries the UE address information.
  • Step 302 The COD AS acquires the home area corresponding to the user identifier, determines the source CDN that provides the service for the user, and returns the content acquisition address to the UE, that is, the IP address of the source CDNC, specifically, a uniform resource identifier.
  • URI Uniform Resource Indentifier
  • Step 303 The UE sends a content distribution request to the source CDN according to the address information of the source CDN, where the content that the user requests to distribute and the UE address information are carried.
  • Step 304 The source CDN receives the content distribution request, and determines whether the content distribution request can be processed, for example, whether the content requested by the user and the status of the source CDN are normal. If the content distribution request can be processed, step 305 is performed. Otherwise, if the content distribution request cannot be processed, step 306 is performed.
  • Step 305 The source CDN returns a response message to the UE, and distributes the requested content to the UE. After that, the subsequent process of this embodiment is not executed.
  • Step 306 The source CDN sends a query request to the TOP-CDNC in the CDN system in which it is located, where the query request includes content information requested for distribution.
  • Step 307 The TOP-CDNC selects a target CDN for processing the content distribution request according to the CDN information of the content requested to be distributed according to the distributed content distribution request, and transmits the address information of the target CDN to the source CDN.
  • Step 308 The source CDN sends a redirection request to the UE according to the address information of the target CDN, where the redirection request includes the address information of the target CDN, and requests the UE to redirect the content distribution request to the target CDN.
  • the target CDN information carried in the redirect request may be other information than the address information of the target CDN, as long as the source CDN can send a message to the target CDN accordingly.
  • Step 309 The UE sends the content distribution request to the target CDN according to the address information of the target CDN of the redirect request.
  • Step 310 After receiving the content distribution request, the target CDN selects one of the CDFs according to a preset policy, and distributes the requested content to the UE.
  • FIG. 6 is a flow chart of still another embodiment of a content distribution method of the present invention. As shown in FIG. 6, the content distribution processing method of this embodiment includes the following steps:
  • Step 401 The source CDN receives a content distribution request sent by the UE, where the content distribution request includes content information that is requested to be distributed and UE address information that requests the content to be distributed.
  • Step 402 The source CDN sends a query request to the TOP-CDNC in the CDN system, where the query request includes content information requested for distribution.
  • Step 403 The TOP-CDNC sends the CDN information of the content requested by the distributed content distribution request to the source CDN.
  • Step 404 The source CDN selects a target CDN for processing the content distribution request according to the CDN information of the content requested by the distributed content distribution request.
  • Step 405 The source CDN requests the target CDN to process the content distribution request.
  • the source CDN may forward the content distribution request to the target CDN.
  • the content distribution request may be redirected to the target CDN, or the content distribution request may be directly forwarded to the target.
  • the target CDN processes the content distribution request, and distributes the content to the UE according to the content distribution request.
  • the source CDN may acquire the content requested for distribution by the content distribution request from the target CDN according to the target CDN information, and distribute the content to the UE according to the content distribution request.
  • the content acquired by the source CDN may be cached and sent to the TOP-CDNC.
  • the first update request is sent, requesting the TOP-CDNC to update the CDN information distributing the content it has acquired.
  • the CDN information of the distributed content includes: a CDN storing the content and its status information.
  • the source CDN or the target CDN distributes its requested content to the UE, or after distributing its requested content to the UE, it may also send a second update request to the TOP-CDNC requesting the TOP-CDNC to update the source CDN or the target CDN.
  • the status information for subsequent processes, TOP-CDNC more precisely selects the target CDN for processing the content distribution request based on the CDN and its status information that distributes the content.
  • the default CDN may be selected using a principle consistent with the CDN division as a source CDN for processing a content distribution request sent by a certain UE by default.
  • CDN is usually divided according to geographical attributes, that is, some geographically adjacent clusters serving users in the same area are divided into one CDN.
  • IP internet protocol
  • the default CDN it can be based on user information, for example: the user's internet protocol (Internet protocol, The following is abbreviated as: IP) address or registration information to determine its home zone, thereby determining the CDN in the home zone or the CDN as the default CDN for providing services.
  • IP internet protocol
  • the registration server when the service registration service is provided to the user may be determined, or the application system that provides the service service to the user, for example, an IPTV AS, a COD AS, or the like.
  • FIG. 7 is a flowchart of an embodiment of a source CDN selection method according to the present invention. As shown in FIG. 7, the embodiment includes the following steps:
  • Step 501 Receive a request message sent by the UE, where the request message includes user information.
  • the request message may be a registration request message or a service request message, or may be other messages.
  • Step 502 Determine, according to the correspondence between the user information and the regional attribute, the geographic attribute of the user corresponding to the user information in the request message.
  • Step 503 Select a CDN corresponding to the determined geographical attribute of the user from the CDN system as a source CDN for processing the content distribution request sent by the UE UE.
  • the polling time when processing content distribution requests improves the efficiency of business processing.
  • FIG. 8 is a flow chart of an embodiment of a target CDN selection method of the present invention. As shown in FIG. 8, the target CDN selection method of this embodiment includes the following steps:
  • Step 601 Receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute.
  • Step 602 Select, according to the CDN information of the content that the distribution UE requests to distribute, the target CDN that distributes the content to the UE.
  • Step 603 Send the selected target CDN information to the source CDN.
  • Step 701 Receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute. In order for the source CDN to select a target CDN for distributing content to the UE based on the information.
  • the target CDN information of the distributed content may include: a CDN storing the content and its status information.
  • the CDN information of the stored content includes: CDN information for storing the content or correspondence relationship information between the CDN and the content information stored by the CDN; and the status information of the CDN includes load and health status information of the CDN.
  • the source CDN distributes the requested content of the CDF to the UE, and the session request of the CDF is increased, thereby increasing the load of the cluster where the CDF is located, thereby increasing the load of the CDN.
  • the health status identifies whether the CDN is working properly.
  • the CDN information of the distributed content is selected to be a target CDN that can distribute the content to which the request is distributed to the UE, and the source CDN can be prevented from being multi-level forwarded or even cyclically forwarded when the content distribution request cannot be processed, thereby effectively saving the processing of the user content distribution request.
  • the response message can be returned to the user in time, thereby improving the quality of service of the CDN.
  • the method further includes: receiving, by the source CDN, a first update request, where the first update request is performed by the source CDN after the content is cached. Sending, for requesting to update CDN information distributing a certain content; updating CDN information storing the content according to the first update request.
  • the method further includes: receiving a second update request sent by the source CDN or the target CDN, where the second update request is sent by the source CDN or The target CDN is transmitted after distributing the content to the UE or after distributing the content to the UE, for requesting to update the status information of the source CDN or the target CDN; updating the status information of the source CDN or the target CDN according to the second update request.
  • the step 601 or the step 701 may further include: generating content that the distributed UE requests to distribute. CDN information.
  • the CDN information of the content that the UE requests to distribute may be generated by: receiving the content information of the CDN stored by the CDN and the status information of the CDN, and the content information of the CDN and the status information of the CDN are reported based on the CC in the CDN.
  • the content information and the status information are generated, and the content information and the status information are content information and status information stored in the CDF of the cluster in which the CC is collected by the CC; and the content information and the CDN status information generated by each CDN in the CDN system are generated.
  • the CDN information that distributes the content may be generated by: receiving the content information of the CDN stored by the CDN and the status information of the CDN, and the content information of the CDN and the status information of the CDN are reported based on the CC in the CDN.
  • the content information and the status information are generated, and the content information and the status information are content information and status information stored in the CDF of the cluster in which the CC is collected by the CC; and the
  • Figure 10 is a flow diagram of one embodiment of generating CDN information for distributed content in accordance with the present invention. As shown
  • the embodiment includes the following steps:
  • Step 801 In each CDN, each CC separately collects the content information and status information of the CDF stored in the cluster, and reports the information to the CDNC in the CDN.
  • the CDNC may return a 800 OK response message to the CC.
  • the content can be obtained within the cluster, when a certain content is reduced from popularity or controlled by the AS from the clustered storage.
  • the space is deleted, its contents are no longer available in the cluster.
  • a change in the content information stored in the CDF can be expressed in the available state of the content.
  • Step 802 The CDNC generates the content information and status information reported by each CC.
  • the content information stored by the CDN and the status information of the CDN are reported to the TOP-CDNC.
  • the CDNC After receiving the content information and status information stored by the CDF, the CDNC analyzes the content information of the CDF, and only reflects whether the content is in an available state in the entire CDN, without paying attention to its specific distribution in the CDN. happening.
  • the CDNC can follow a preset period, periodically
  • TOP-CDNC reports the content information and status information stored in the CDN, and can also save only in the CDN.
  • the stored content information and status information are reported to the TOP-CDNC when there is a change compared to the corresponding information received last time.
  • the TOP-CDNC may return a 800 OK response message to the CDNC.
  • Step 803 the TOP-CDNC generates CDN information for distributing each content according to the content information and the status information stored in each CDN.
  • the CDN information of each content of the distribution may be stored, so that the target CDN of the content distribution request sent by the UE is selected and subsequently processed according to the CDN information of the distributed content.
  • FIG. 11 is a schematic structural diagram of an embodiment of a content distribution apparatus according to the present invention.
  • the content distribution apparatus of the embodiment can be used as a source CDN to implement the processes of the embodiments shown in FIG. 2, FIG. 4, FIG. 5 and FIG.
  • the content distribution processing apparatus of this embodiment includes a first receiving module 901, a first transmitting module 902, and a request processing module 903.
  • the first receiving module 901 is configured to receive a content distribution request sent by the UJE, where the content distribution request includes content information that is requested to be distributed, and receives target CDN related information returned by the TOP-CDNC.
  • the first sending module 902 is configured to send a query request to the TOP-CDNC, where the query request includes content information that the UE requests to distribute.
  • the first sending module 902 may send a query request to the TOP-CDNC only when the content distribution device cannot process the content distribution request received by the first receiving module 901.
  • the request processing module 903 is configured to request the target CDN to process the content distribution request according to the target CDN related information received by the first receiving module 901, and distribute the content of the request to the UE.
  • the target CDN related information may be target CDN information, for example: IP address information of the target CDN, MAC address information, routing information, and the like, all information that can locate the target CDN, or CDN information of the content that the UE requests to distribute.
  • the first receiving module 901 specifically receives the content distribution request sent by the UE, where the content distribution request includes the content information requested by the UE, and receives the distribution returned by the TOP-CDNC.
  • CDN letter requesting the content to be distributed Information, and based on the CDN information distributing the content, select a target CDN for processing the content distribution request.
  • FIG. 12 is a schematic structural diagram of another embodiment of a content distribution apparatus according to the present invention.
  • the target CDN related information is target CDN information.
  • the request processing module 903 includes a forwarding unit 9031 for forwarding a content distribution request to the target CDN according to the target CDN information received by the first receiving module 901. In order for the target CDN to distribute the corresponding content to the UE.
  • FIG. 13 is a schematic structural diagram of still another embodiment of a content distribution apparatus according to the present invention.
  • the target CDN related information is target CDN information.
  • the request processing module 903 includes an obtaining unit 9032 and a distributing unit 9033.
  • the obtaining unit 9032 is configured to acquire, according to the target CDN information received by the first receiving module 901, the content requested by the UE from the target CDN.
  • the distribution unit 9033 is configured to distribute the content acquired by the obtaining unit 9032 to the UE according to the content distribution request.
  • the request processing module 903 may further include a buffer unit 9034 for buffering the content acquired by the obtaining unit 9032, so as to facilitate subsequent receiving of the content distribution request.
  • the content can be distributed directly to the UE without re-acquiring the content from the target CDN, which can further save time in processing the content distribution request.
  • the first sending module 902 is further configured to send a first update request to the TOP-CDNC after the buffer unit 9034 caches the content acquired by the obtaining module 9032.
  • An update request is for requesting the TOP-CDNC to update the CDN information of the content acquired by the distribution acquisition module 9032.
  • the CDN information of the content acquired by the distribution obtaining module 9032 includes: a CDN storing the content and status information thereof.
  • the first sending module 902 is further configured to: when the distributing unit 9033 distributes the content to the UE or after distributing the content to the UE, send a second update request to the TOP-CDNC, where the second update request is used to request the TOP- CDNC update source CDN status information.
  • FIG. 14 is a schematic structural diagram of an embodiment of a source CDN selection apparatus according to the present invention.
  • the source CDN selection apparatus of this embodiment can be used to implement the flow of the embodiment shown in FIG. 7 of the present invention.
  • the source CDN selecting means of this embodiment includes a second receiving module 1001, a determining module 1002, and a first selecting module 1003.
  • the second receiving module 1001 is configured to receive a request message sent by the UE, where the request message includes user information.
  • the determining module 1002 is configured to determine a geographic attribute of the user based on the user information.
  • the first selection module 1003 is configured to select, according to the geographic attribute of the user, a CDN corresponding to the geographic attribute of the user from the CDN system as a source CDN for processing the content distribution request sent by the UE.
  • the source CDN selection device of the embodiment shown in FIG. 14 may be a registration server when a service registration service is provided to a user, or an application system that provides a service service to a user, or another communication device.
  • FIG. 15 is a block diagram showing the structure of an embodiment of the target CDN selection device of the present invention.
  • the target CDN selection device of the embodiment can be implemented as a TOP-CDNC to implement the flow of the embodiment shown in Figure 8 of the present invention.
  • the target CDN selection apparatus of this embodiment includes a third receiving module 1101, a storage module 1102, an obtaining module 1103, a second selecting module 1104, and a second transmitting module 1105.
  • the third receiving module 1101 is configured to receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute.
  • the storage module 1102 is configured to store CDN information for distributing each content.
  • the obtaining module 1103 is configured to distribute the CDN information of the content requested by the UE for distribution from the storage module 1102.
  • the second selection module 1104 is configured to select a target CDN for distributing content to the UE according to the CDN information acquired by the obtaining module 1103.
  • the second sending module 1105 is configured to send the target CDN information selected by the second selecting module 1104 to the source CDN.
  • FIG. 16 is a schematic structural diagram of another embodiment of the target CDN selection apparatus according to the present invention.
  • the target CDN selection apparatus of this embodiment can also be used to implement the flow of the embodiment shown in FIG. 8 of the present invention.
  • the target CDN information of the distributed content in this embodiment includes the CDN storing the content and its status information as compared with the embodiment shown in FIG.
  • the third receiving module 1101 is further configured to receive a first update request sent by the source CDN, the first update request is for requesting to update CDN information of the content of the distributed source CDN cache, and receiving a second update request sent by the source CDN or the target CDN, the second update request is for request Update status information of the source CDN or target CDN.
  • the target CDN selection device of the embodiment further includes an update module 1106, configured to update the CDN information of the corresponding content stored in the storage module 1102 according to the first update request received by the third receiving module 1101, and receive according to the third receiving module 1101.
  • the second update request is to update the status information of the source CDN or the target CDN stored in the storage module 1102.
  • the third receiving module 1101 is further configured to receive, by the CDN, the content information of the CDN and the status information of the CDN, where the content information of the CDN is stored.
  • the status information of the CDN is generated based on the content information and the status information reported by the CC in the CDN, and the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected, respectively.
  • the target CDN selection device of the embodiment further includes a generating module 1107, configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
  • a generating module 1107 configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
  • FIG. 17 is a schematic structural diagram of still another embodiment of the target CDN selection apparatus according to the present invention.
  • the target CDN selection apparatus of the embodiment can be used as the TOP-CDNC to implement the embodiment shown in FIG. 9 of the present invention.
  • the target CDN selection apparatus of this embodiment includes a third receiving module 1101, a storage module 1102, an obtaining module 1103, and a third transmitting module 1108.
  • the third receiving module 1101 is configured to receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute.
  • the storage module 1102 is configured to store CDN information that distributes each content.
  • the obtaining module 1103 is configured to distribute, from the storage module 1102, CDN information of the content requested by the UE for distribution.
  • the third sending module 1108 is configured to send, to the source CDN, the target CDN information of the distributed content acquired by the acquiring module 1103, so that the source CDN selects the target CDN that distributes the content to the UE.
  • FIG. 18 is a schematic structural diagram of still another embodiment of a target CDN selection apparatus according to the present invention.
  • the target CDN selection device of the embodiment can also be used to implement the flow of the embodiment of Figure 9 of the present invention.
  • the target CDN information of the distributed content in this embodiment includes the CDN storing the content and its status information.
  • the third receiving module 1101 is further configured to receive a first update request sent by the source CDN, where the first update request is used to request to update CDN information of the content of the distributed source CDN cache, and receive the first CDN or the target CDN to send the first And a second update request for requesting to update status information of the source CDN or the target CDN.
  • the target CDN selection device of the embodiment further includes an update module 1106, configured to update the CDN information of the corresponding content stored in the storage module 1102 according to the first update request received by the third receiving module 1101, and receive according to the third receiving module 1101.
  • the second update request is to update the status information of the source CDN or the target CDN stored in the storage module 1102.
  • the third receiving module 1101 is further configured to receive, by the CDN, the content information of the CDN and the status information of the CDN, where the content information of the CDN is stored.
  • the status information of the CDN is generated based on the content information and the status information reported by the CC in the CDN, and the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected, respectively.
  • the target CDN selection device of the embodiment further includes a generating module 1107, configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
  • a generating module 1107 configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
  • a content distribution network system provided by an embodiment of the present invention can be used to implement the processes of the embodiments shown in FIG. 2, FIG. 4 and FIG. 8 of the present invention. It includes a TOP-CDNC and multiple CDNs. See Figure 3 for a detailed network structure. Among them, one of the plurality of CDNs serves as a default CDN for processing a content distribution request sent by the UE, that is, a source CDN.
  • the source CDN is configured to receive a content distribution request sent by the UE, where the content distribution request includes content information requesting distribution; send a query request to the TOP-CDNC, where the content distribution request includes content information requested for distribution; and receiving the TOP-CDNC return Target CDN information; requesting the target CDN to process the content distribution request based on the target CDN information.
  • TOP-CDNC is used to store CDNs that distribute content Receiving a query request sent by the source CDN, acquiring CDN information of the distributed content; selecting a target CDN for distributing the content to the UE according to the CDN information of the distributed content, and transmitting the target CDN information to the source CDN.
  • the source CDN may send a query request to the TOP-CDNC only when the content distribution request cannot be processed.
  • the source CDN can be implemented by the content distribution apparatus of the embodiment shown in FIG. 11, FIG. 12 and FIG. 13, and the TOP-CDNC can pass the target CDN of the embodiment shown in FIG. 15 or FIG. Select device implementation.
  • FIG. 2 Another content distribution network system provided by an embodiment of the present invention can be used to implement the processes of the embodiments as shown in FIG. 2, FIG. 6 and FIG. It includes a TOP-CDNC and multiple CDNs. See Figure 3 for a detailed network structure. among them.
  • One of the plurality of CDNs serves as the default CDN for processing the content distribution request sent by the UE, that is, the source CDN.
  • the source CDN is configured to receive a content distribution request sent by the UE, where the content distribution request includes content information that the UE requests to be distributed, and send a query request to the TOP-CDNC, where the content distribution request includes content information that the UE requests to be distributed; and receiving the TOP- The CDN information of the distributed content returned by the CDNC; the target CDN for processing the content distribution request sent by the UE is selected according to the CDN information of the distributed content; and the target CDN is requested to process the content distribution request according to the target CDN information.
  • the TOP-CDNC is configured to store CDN information for distributing the content; receiving a query request sent by the source CDN, acquiring CDN information of the content requested by the distribution UE, and transmitting CDN information of the content requested by the distribution UE to the source CDN.
  • the source CDN may send a query request to the TOP-CDNC only when the content distribution request cannot be processed.
  • the source CDN can be realized by the content distribution apparatus of the embodiment shown in Fig. 11, and the TOP-CDNC can be realized by the target CDN selection means of the embodiment shown in Fig. 15 or Fig. 16.
  • 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.
  • the embodiment of the present invention may query the target CDN information that distributes the content from the TOP-CDNC, directly select a target CDN that processes the content distribution request according to the target CDN information, and request the target CDN to process the content distribution request to avoid processing unavoidable.
  • the content distribution request is multi-level forwarding or even cyclic forwarding, which effectively saves the time for processing the user content distribution request, and can return the response message to the user in time, thereby improving the service quality of the CDN.
  • the embodiment of the present invention adopts a decentralization method to process a content distribution request from the UE, that is, the content distribution request is first processed by the source CDN as the default CDN, and the TOP-CDNC is only used as the query center, instead of directly by the TOP-CDNCC.
  • the content distribution request from the UE is processed centrally, thereby greatly improving the performance of the CDN system, further saving the polling time when the source CDN cannot process the content distribution request, and improving the service processing efficiency.

Landscapes

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

Abstract

The embodiment of the invention discloses a content delivery method and device and a content delivery network system. Wherein, the content delivery method includes: receiving a content delivery request including the information of contents requested to be delivered; sending a query request including the information of contents requested to be delivered to a top content delivery network controller (TOP-CDNC); receiving target content delivery network (CDN) related information returned from the TOP-CDNC; and requesting the target CDN to process the content delivery request. The embodiments of the invention can avoid multilevel forwarding, and even cycle forwarding of content delivery requests which can not be processed, thus effectively saving processing time of user content delivery requests and enabling timely return of response messages to users, thereby improving the quality of service of the CDN.

Description

内容分发方法、 装置与内容分发网络系统 本申请要求于 2009年 4月 30日提交中国专利局、 申请号为  Content distribution method, device and content distribution network system The application is submitted to the Chinese Patent Office on April 30, 2009, and the application number is
200910138527.X, 发明名称为 "内容分发方法、 装置与内容分发网络系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术, 尤其是一种内容分发方法、 装置与内容分发网络 系统。 背景技术 200910138527.X, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in its entirety in the the the the the the the the the TECHNICAL FIELD The present invention relates to communication technologies, and more particularly to a content distribution method, apparatus, and content distribution network system. Background technique
内容分发网络 ( Content Delivery Network, 以下简称: CDN )技术是为 了改善因特网 (Internet ) 的服务质量( Quality of Service, 以下简称: QoS ) 而发展起来的一种技术。 其通过内容的优化部署, 实现用户对内容的就近访 问及网络流量的智能分流, 全面解决了由于网络带宽小、 用户访问量大、 网 点分布不均等因素对用户访问效果的影响, 大大提高了网络的响应速度。  The Content Delivery Network (CNN) technology is a technology developed to improve the Quality of Service (QoS) of the Internet. Through the optimal deployment of content, the user's near access to content and intelligent traffic distribution of network traffic are realized, which comprehensively solves the influence of factors such as small network bandwidth, large user access, and uneven distribution of network points on user access effects, and greatly improves the network. The speed of response.
CDN技术的原理是: 将媒体服务器分布式部署在网络中, 使得内容提供 端提供的媒体内容, 能够按照既定的分发策略, 预先从网络的骨干部分推送 到最接近用户的网络 "边缘" , 例如: 推送到 "边缘" 媒体服务器上, 使得 用户访问媒体内容时, 可以从就近的 "边缘,, 媒体服务器上得到快速响应, 从而减少媒体内容传输延迟、 网络抖动等因素对访问效果的影响, 为用户提 供有序且高质量的服务, 使用户能以最快的速度, 从网络中最接近用户的地 方获得所需的信息。 CDN技术极大地缓解了互联网的拥塞情况, 使网站有能 力提供更多类似视频节目、 歌曲点播等数据流量巨大的媒体内容服务。  The principle of CDN technology is: distributed media servers are distributed in the network, so that the media content provided by the content provider can be pushed from the backbone of the network to the "edge" of the network closest to the user according to the established distribution policy, for example. : Pushed to the "edge" media server, so that when users access the media content, they can get a quick response from the nearest "edge", the media server, thereby reducing the impact of media content transmission delay, network jitter and other factors on the access effect. Users provide an orderly and high-quality service that enables users to get the information they need from the network closest to the user as quickly as possible. CDN technology greatly eases Internet congestion and enables websites to provide more There are many media content services such as video programs, song-on-demand and other data traffic.
图 1为现有技术 CDN的一个网络结构示意图。 如图 1所示, 每个 CDN包括 一个 CDN控制单元(CDN Controller, 以下简称: CDNC ) , 与一个以上逻辑 上相关联的集群, 例如: 地理位置上相关联的集群。 每一个集群包括一个集 群控制单元(Cluster Controller, 以下简称: CC ), 与一个以上逻辑上相关联 的内容分发功能实体( Content Delivery Function, 以下简称: CDF ) , 例如: 地理位置、 存储容量上相关联的 CDF。 其中, CDF也即媒体服务器, 主要负 责存储媒体内容并向用户分发媒体内容; CC主要负责管理所在集群内的资 源, 包括决策媒体内容在集群内的分布、 监控 CDF的状态以及决策提供媒体 内容分发服务的 CDF; CDNC是所在 CDN内的控制中心, 主要控制媒体内容 在 CDN内各集群中的分布, 以及决策向用户提供服务的集群等。 FIG. 1 is a schematic diagram of a network structure of a prior art CDN. As shown in Figure 1, each CDN includes a CDN Controller (CDN Controller, hereinafter referred to as CDNC), with more than one logic. The associated cluster, for example: A geographically associated cluster. Each cluster includes a cluster controller (Cluster Controller, hereinafter referred to as CC), and more than one logically associated content delivery function entity (CFD), for example: geographical location, storage capacity related Associated CDF. The CDF is also a media server, which is mainly responsible for storing media content and distributing media content to users; CC is mainly responsible for managing resources in the cluster, including the distribution of decision media content within the cluster, monitoring the status of the CDF, and providing media content distribution for decision making. The CDF of the service; CDNC is the control center within the CDN, which mainly controls the distribution of media content in each cluster within the CDN, and the clusters that decide to provide services to users.
在媒体内容较为复杂时, 往往需要由多个 CDN联合形成一个大规模的 CDN来向用户提供服务, 该大规模的 CDN也称为总 CDN。 在该大规模的内容 分发网络中, 各 CDN分别作为子 CDN, 由 CDNC控制其内部的内容分发。 对 于需要使用 CDN的应用系统(Application System, 以下简称: AS ) , 例如: 互联协议电视 ( Internet Protocol TV,以下简称: IPTV ) AS、 内容点播( content on demand, 以下简称: COD ) AS等, 设置一个缺省的子 CDN。 当 AS发送内 容分发请求时, 首先将该内容分发请求发送到该缺省的子 CDN中的 CDNC, 在缺省 CDN中的 CDNC无法提供服务时, 再将内容分发请求转发给总 CDN中 其它子 CDN的 CDNC处理,若该 CDNC处理仍然无法提供服务,则继续将该内 容分发请求转发给总 CDN中其它子 CDN的 CDNC处理, 依次类推, 并可能在 总 CDN中出现内容分发请求的循环转发。  When the media content is more complicated, it is often necessary to form a large-scale CDN by a plurality of CDNs to provide services to users. The large-scale CDN is also called a total CDN. In this large-scale content distribution network, each CDN serves as a sub-CDN, and its internal content distribution is controlled by the CDNC. For an application system (hereinafter referred to as AS) that requires a CDN, for example, Internet Protocol TV (hereinafter referred to as IPTV) AS, content on demand (hereinafter referred to as COD) AS, etc. A default subCDN. When the AS sends a content distribution request, the content distribution request is first sent to the CDNC in the default sub-CDN, and when the CDNC in the default CDN cannot provide the service, the content distribution request is forwarded to the other sub-CDN. The CDNC's CDNC processing, if the CDNC processing still fails to provide the service, continues to forward the content distribution request to the CDNC processing of the other sub-CDNs in the total CDN, and so on, and may occur in the total CDN for cyclic forwarding of the content distribution request.
在实现本发明的过程中, 发明人发现现有 CDN向用户提供内容分发服务 的技术至少存在以下问题:  In the process of implementing the present invention, the inventors have found that the existing CDN provides a content distribution service to a user with at least the following problems:
若由于接收到内容分发请求的子 CDN没有存储用户请求的媒体内容, 或 负载较高无法处理该内容分发请求, 将造成该内容分发请求的多级转发甚至 循环转发, 这样, 就增加了处理用户内容分发请求的时间, 甚至无限延长了 处理用户内容分发请求的时间, 尤其在总 CDN中包括的子 CDN数目较多的情 况下,无法在可接受的时间内向用户返回响应消息, P争低了 CDN的服务质量。 发明内容 If the sub-CDN that receives the content distribution request does not store the media content requested by the user, or the load is too high to process the content distribution request, the multi-level forwarding or even the round-trip forwarding of the content distribution request may be caused, thereby increasing the processing user. The time of the content distribution request, even the infinite extension of the time for processing the user content distribution request, especially in the case where the total number of sub-CDNs included in the total CDN is large, the response message cannot be returned to the user within an acceptable time, and P is contending. CDN's quality of service. Summary of the invention
本发明实施例所要解决的技术问题是: 提供一种内容分发方法、 装置与 内容分发网络系统, 以缩短处理用户内容分发请求的时间, 提高 CDN的服务 质量。  The technical problem to be solved by the embodiments of the present invention is to provide a content distribution method, a device, and a content distribution network system, so as to shorten the time for processing a user content distribution request and improve the service quality of the CDN.
本发明实施例提供的一种内容分发处理方法, 包括:  A content distribution processing method provided by an embodiment of the present invention includes:
接收内容分发请求, 该内容分发请求中包括请求分发的内容信息; 向顶级内容分发网络控制单元 TOP-CDNC发送查询请求, 该查询请 求中包括所述请求分发的内容信息;  Receiving a content distribution request, the content distribution request includes content information requesting distribution; sending a query request to the top-level content distribution network control unit TOP-CDNC, where the query request includes the content information of the request distribution;
接收所述 TOP-CDNC返回的目标 CDN相关信息;  Receiving information related to the target CDN returned by the TOP-CDNC;
请求所述目标 CDN处理所述内容分发请求。  The target CDN is requested to process the content distribution request.
本发明实施例提供的一种内容分发装置, 包括:  A content distribution apparatus provided by an embodiment of the present invention includes:
第一接收模块, 用于接收内容分发请求, 该内容分发请求中包括请求 分发的内容信息, 以及接收 TOP-CDNC返回的目标 CDN相关信息; 第一发送模块, 用于向所述 TOP-CDNC发送查询请求, 该查询请求 中包括所述请求分发的内容信息;  a first receiving module, configured to receive a content distribution request, where the content distribution request includes content information for requesting distribution, and receiving target CDN related information returned by the TOP-CDNC; and a first sending module, configured to send to the TOP-CDNC Query request, the query request includes content information of the request distribution;
请求处理模块,用于根据所述目标 CDN相关信息,请求所述目标 CDN 处理所述内容分发请求。  And a request processing module, configured to request the target CDN to process the content distribution request according to the target CDN related information.
基于本发明上述实施例提供的内容分发方法与装置, 可以向 TOP-CDNC发送查询请求, 从 TOP-CDNC获取处理该内容分发请求的目 标 CDN相关信息, 据此直接请求目标 CDN处理该内容分发请求, 与现有 技术相比, 避免了无法处理该内容分发请求时对其进行多级转发甚至循环 转发, 有效节省了处理用户内容分发请求的时间, 可以及时向用户返回响 应消息, 从而提高了 CDN的服务质量。  According to the content distribution method and apparatus provided by the above embodiment of the present invention, a query request may be sent to the TOP-CDNC, and the target CDN related information for processing the content distribution request is acquired from the TOP-CDNC, and the target CDN is directly requested to process the content distribution request. Compared with the prior art, it avoids the multi-level forwarding or even the round-trip forwarding when the content distribution request cannot be processed, effectively saves the time for processing the user content distribution request, and can return a response message to the user in time, thereby improving the CDN. Quality of service.
本发明实施例提供的一种目标内容分发网络选择方法, 包括: 接收源 CDN发送的查询请求, 该查询请求中包括用户终端请求分发 的内容信息; A method for selecting a target content distribution network according to an embodiment of the present invention includes: receiving a query request sent by a source CDN, where the query request includes a user terminal requesting distribution Content information;
根据分布所述内容的 CDN信息, 选择向所述用户终端分发所述内容 的目标 CDN;  Selecting a target CDN for distributing the content to the user terminal according to CDN information distributing the content;
向所述源 CDN发送所述目标 CDN信息。  The target CDN information is transmitted to the source CDN.
本发明实施例提供的一种目标内容分发网络选择装置, 包括: 第三接收模块, 用于接收源 CDN发送的查询请求, 该查询请求中包 括用户终端请求分发的内容信息;  A target content distribution network selecting apparatus according to an embodiment of the present invention includes: a third receiving module, configured to receive a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
存储模块, 用于存储分布各内容的 CDN信息;  a storage module, configured to store CDN information for distributing each content;
获取模块, 用于从所述存储模块中获取分布所述内容的 CDN信息; 第二选择模块, 用于根据分布所述内容的 CDN信息, 选择向所述用 户终端分发所述内容的目标 CDN;  An acquiring module, configured to obtain, from the storage module, CDN information that distributes the content; a second selecting module, configured to select, according to CDN information that distributes the content, a target CDN that distributes the content to the user terminal;
第二发送模块, 用于向所述源 CDN发送所述目标 CDN信息。  And a second sending module, configured to send the target CDN information to the source CDN.
本发明实施例提供的另一种目标内容分发网络选择方法, 包括: 接收源 CDN发送的查询请求, 该查询请求中包括用户终端请求分发 的内容信息;  Another method for selecting a target content distribution network according to an embodiment of the present invention includes: receiving a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
向所述源 CDN发送分布所述内容的目标 CDN信息,以便所述源 CDN 选择向所述用户终端分发所述内容的目标 CDN。  The target CDN information distributing the content is transmitted to the source CDN such that the source CDN selects to distribute the target CDN of the content to the user terminal.
本发明实施例提供的另一种目标内容分发网络选择装置, 包括: 第三接收模块, 用于接收源 CDN发送的查询请求, 该查询请求中包 括用户终端请求分发的内容信息;  Another target content distribution network selecting apparatus provided by the embodiment of the present invention includes: a third receiving module, configured to receive a query request sent by a source CDN, where the query request includes content information that the user terminal requests to distribute;
存储模块, 用于存储分布各内容的 CDN信息;  a storage module, configured to store CDN information for distributing each content;
获取模块, 用于从所述存储模块中获取分布所述内容的 CDN信息; 第三发送模块,用于向所述源 CDN发送分布所述内容的目标 CDN信 息, 以便所述源 CDN选择向所述用户终端分发所述内容的目标 CDN。  An acquiring module, configured to acquire, from the storage module, CDN information that distributes the content; and a third sending module, configured to send, to the source CDN, target CDN information that distributes the content, so that the source CDN selects a location The user terminal distributes the target CDN of the content.
本发明实施例提供的一种内容分发网络系统, 包括一个 TOP-CDNC 与多个 CDN, 所述多个 CDN中的源 CDN用于接收内容分发请求, 该内 容分发请求中包括请求分发的内容信息; 向所述 TOP-CDNC发送查询请 求, 该内容分发请求中包括所述请求分发的内容信息; 以及接收所述 TOP-CDNC返回的目标 CDN信息; 根据所述目标 CDN信息, 请求所述 目标 CDN处理所述内容分发请求; A content distribution network system provided by an embodiment of the present invention includes a TOP-CDNC and a plurality of CDNs, and a source CDN of the plurality of CDNs is configured to receive a content distribution request, where The content distribution request includes content information requesting distribution; sending a query request to the TOP-CDNC, the content distribution request including content information of the request distribution; and receiving target CDN information returned by the TOP-CDNC; Determining the target CDN, requesting the target CDN to process the content distribution request;
所述 TOP-CDNC用于存储分布各内容的 CDN信息; 接收所述查询请 求, 获取分布所述内容的 CDN信息; 居该分布所述内容的 CDN信息选 择向所述用户终端分发所述内容的目标 CDN; 并向所述源 CDN发送所述 目标 CDN信息。  The TOP-CDNC is configured to store CDN information for distributing each content; receiving the query request to obtain CDN information that distributes the content; and the CDN information distributing the content is selected to distribute the content to the user terminal Target CDN; and transmitting the target CDN information to the source CDN.
本发明实施例提供的另一种内容分发网络系统, 包括一个 TOP-CDNC 与多个 CDN, 所述多个 CDN中的源 CDN用于接收内容分发请求, 该内 容分发请求中包括请求分发的内容信息; 向所述 TOP-CDNC发送查询请 求, 该内容分发请求中包括所述请求分发的内容信息; 以及接收所述 TOP-CDNC返回的分布所述内容的 CDN信息;根据分布所述内容的 CDN 信息,选择用于处理所述内容分发请求的目标 CDN;并根据所述目标 CDN 信息, 请求所述目标 CDN处理所述内容分发请求;  Another content distribution network system provided by an embodiment of the present invention includes a TOP-CDNC and a plurality of CDNs, wherein the source CDNs of the plurality of CDNs are used to receive a content distribution request, where the content distribution request includes content requested for distribution. Sending a query request to the TOP-CDNC, the content distribution request including the content information of the request distribution; and receiving CDN information of the content distributed by the TOP-CDNC; according to the CDN distributing the content Information, selecting a target CDN for processing the content distribution request; and requesting the target CDN to process the content distribution request according to the target CDN information;
所述 TOP-CDNC用于存储分布各内容的 CDN信息; 接收所述查询请 求, 获取分布所述内容的 CDN信息; 并向所述源 CDN发送分布所述内容 的 CDN信息。  The TOP-CDNC is configured to store CDN information for distributing the content; receiving the query request, obtaining CDN information for distributing the content; and transmitting CDN information for distributing the content to the source CDN.
基于本发明上述实施例提供的目标内容分发网络选择方法与装置、 内 容分发网络系统, TOP-CDNC可以根据的分布各内容的 CDN信息, 获取 处理该内容分发请求的目标 CDN相关信息并发送给源 CDN, 以便于源 CDN直接请求目标 CDN处理该内容分发请求, 与现有技术相比, 避免了 源 CDN无法处理该内容分发请求时对其进行多级转发甚至循环转发, 有 效节省了处理用户内容分发请求的时间, 可以及时向用户返回响应消息, 从而提高了 CDN的服务质量。  The target content distribution network selection method and apparatus and the content distribution network system provided by the above-mentioned embodiments of the present invention, the TOP-CDNC can obtain the CDN related information for processing the content distribution request according to the CDN information of each content distribution, and send the information to the source. The CDN, in order to directly request the target CDN to process the content distribution request, avoids the multi-level forwarding or even the round-trip forwarding of the content distribution request when the source CDN cannot process the content distribution request, thereby effectively saving the processing of the user content. When the request is distributed, the response message can be returned to the user in time, thereby improving the quality of service of the CDN.
本发明实施例提供的一种源内容分发网络选择方法, 包括:  A method for selecting a source content distribution network according to an embodiment of the present invention includes:
接收用户终端发送的请求消息, 该请求消息中包括用户信息; 根据所述用户信息确定所述用户的地域属性; Receiving a request message sent by the user terminal, where the request message includes user information; Determining a geographic attribute of the user according to the user information;
从 CDN系统中选择一个与所述用户的地域属性对应的 CDN, 作为处 理所述用户终端发送的内容分发请求的源 CDN。  A CDN corresponding to the geographical attribute of the user is selected from the CDN system as a source CDN for processing a content distribution request transmitted by the user terminal.
本发明实施例提供的一种源内容分发网络选择装置, 包括:  A source content distribution network selecting apparatus provided by an embodiment of the present invention includes:
第二接收模块, 用于接收用户终端发送的请求消息, 该请求消息中包 括用户信息;  a second receiving module, configured to receive a request message sent by the user terminal, where the request message includes user information;
确定模块, 用于根据所述用户信息确定所述用户的地域属性; 第一选择模块, 用于从 CDN 系统中选择一个与所述用户的地域属性 对应的 CDN, 作为处理所述用户终端发送的内容分发请求的源 CDN。  a determining module, configured to determine a geographic attribute of the user according to the user information; a first selecting module, configured to select, from the CDN system, a CDN corresponding to the geographic attribute of the user, to process the sending by the user terminal The source CDN of the content distribution request.
基于本发明上述实施例提供的源内容分发网络选择与装置, 可以根据 用户的地域属性确定作为处理其用户终端发送的内容分发请求的源 CDN, 这样,可以由该源 CDN作为缺省 CDN处理其用户终端发送的内容分发请 求, TOP-CDNC只作为查询中心, 而不用由 TOP-CDNC集中处理内容分 发请求, 从而可以大大提高 CDN系统的性能, 节省在源子 CDN无法处理 内容分发请求时的轮询时间, 提高业务处理效率。 下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明  The source content distribution network selection and device provided by the foregoing embodiment of the present invention may determine a source CDN as a content distribution request sent by the user terminal according to the geographic attribute of the user, so that the source CDN can be processed as the default CDN. The content distribution request sent by the user terminal, TOP-CDNC only serves as the query center, instead of centrally processing the content distribution request by the TOP-CDNC, thereby greatly improving the performance of the CDN system and saving the round when the source CDN cannot process the content distribution request. Inquire about time and improve business processing efficiency. The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments. DRAWINGS
图 1为现有技术 CDN的一个网络结构示意图;  1 is a schematic diagram of a network structure of a prior art CDN;
图 2为本发明内容分发方法一个实施例的流程图;  2 is a flow chart of an embodiment of a content distribution method according to the present invention;
图 3为本发明 CDN系统一个实施例的结构示意图;  3 is a schematic structural view of an embodiment of a CDN system according to the present invention;
图 4为本发明内容分发处理方法另一个实施例的流程图;  4 is a flowchart of another embodiment of a content distribution processing method according to the present invention;
图 5为本发明内容分发方法一个应用实施例的流程图;  FIG. 5 is a flowchart of an application embodiment of a content distribution method according to the present invention; FIG.
图 6为本发明内容分发方法又一个实施例的流程图;  6 is a flow chart of still another embodiment of a content distribution method according to the present invention;
图 7为本发明源 CDN选择方法一个实施例的流程图;  7 is a flow chart of an embodiment of a source CDN selection method according to the present invention;
图 8为本发明目标 CDN选择方法一个实施例的流程图; 图 9为本发明目标 CDN选择方法另一个实施例的流程图; 图 10为本发明生成分布内容的 CDN信息一个实施例的流程图; 图 11为本发明内容分发装置一个实施例的结构示意图; FIG. 8 is a flowchart of an embodiment of a target CDN selection method according to the present invention; FIG. 9 is a flowchart of another embodiment of a method for selecting a target CDN according to the present invention; FIG. 10 is a flowchart of an embodiment of generating CDN information of distributed content according to the present invention; FIG. 11 is a schematic structural diagram of an embodiment of a content distribution apparatus according to the present invention;
图 12为本发明内容分发装置另一个实施例的结构示意图;  12 is a schematic structural diagram of another embodiment of a content distribution apparatus according to the present invention;
图 13为本发明内容分发装置又一个实施例的结构示意图;  FIG. 13 is a schematic structural diagram of still another embodiment of a content distribution apparatus according to the present invention; FIG.
图 14为本发明源 CDN选择装置一个实施例的结构示意图; 图 15为本发明目标 CDN选择装置一个实施例的结构示意图; 图 16为本发明目标 CDN选择装置另一个实施例的结构示意图; 图 17为本发明目标 CDN选择装置又一个实施例的结构示意图; 图 18为本发明目标 CDN选择装置再一个实施例的结构示意图。 具体实施方式  14 is a schematic structural view of an embodiment of a source CDN selection device according to the present invention; FIG. 15 is a schematic structural view of an embodiment of a target CDN selection device according to the present invention; 17 is a schematic structural diagram of still another embodiment of the target CDN selection device of the present invention; FIG. 18 is a schematic structural view of still another embodiment of the target CDN selection device of the present invention. detailed description
本发明实施例可以在 CDN系统中直接选择一个可以处理该内容分发 请求的目标 CDN, 来处理该内容分发请求, 从而避免了源 CDN无法处理 该内容分发请求时, 尤其是 CDN规模较大时, 对内容分发请求的多级转 发甚至循环转发。  The embodiment of the present invention can directly select a target CDN that can process the content distribution request in the CDN system to process the content distribution request, thereby avoiding the situation that the source CDN cannot process the content distribution request, especially when the CDN is large. Multi-level forwarding or even round-robin forwarding of content distribution requests.
图 2为本发明内容分发方法一个实施例的流程图。 如图 2所示, 该实 施例的内容分发方法包括以下步骤:  2 is a flow chart of an embodiment of a content distribution method of the present invention. As shown in FIG. 2, the content distribution method of this embodiment includes the following steps:
步骤 101, 接收内容分发请求, 该内容分发请求中包括请求分发的内 容信息, 另外, 还包括请求分发内容的用户终端 (User Equipment, 以下 简称: UE )地址信息。  Step 101: Receive a content distribution request, where the content distribution request includes content information for requesting distribution, and further includes address information of a user equipment (User Equipment, hereinafter referred to as UE) requesting to distribute the content.
步骤 102, 向顶级 CDN控制单元 (TOP-CDN Controller, 以下简称: TOP-CDNC )发送查询请求, 该查询请求中包括请求分发的内容信息。  Step 102: Send a query request to the top-level CDN control unit (TOP-CDN Controller, hereinafter referred to as TOP-CDNC), where the query request includes content information requested for distribution.
作为本发明的一个实施例, 可以由多个 CDN构成一个总 CDN, 并由 该总 CDN与 TOP-CDNC构成一个 CDN系统。如图 3所示,为本发明 CDN 系统一个实施例的结构示意图。 在该 CDN系统中, TOP-CDNC中可以收 集各 CDN 中存储的内容信息与 CDN的状态信息, 并生成分别各内容的 CDN信息。 在多个 CDN中, 缺省处理内容分发请求的 CDN称为源 CDN 或缺省 CDN, 具体可以是按照某种规则预先设置。 As an embodiment of the present invention, a total CDN may be constituted by a plurality of CDNs, and a CDN system is constituted by the total CDN and TOP-CDNC. FIG. 3 is a schematic structural diagram of an embodiment of a CDN system according to the present invention. In the CDN system, TOP-CDNC can be accepted The content information stored in each CDN and the status information of the CDN are collected, and CDN information of each content is generated. In a plurality of CDNs, the CDN that processes the content distribution request by default is called a source CDN or a default CDN, and may be preset according to a certain rule.
步骤 103, 接收 TOP-CDNC返回的目标 CDN相关信息。  Step 103: Receive the target CDN related information returned by the TOP-CDNC.
具体地, 该目标 CDN相关信息可以是处理内容分发请求的目标 CDN 信息, 其中的目标 CDN由 TOP-CDNC根据分布该内容的 CDN信息选择 得到。  Specifically, the target CDN related information may be target CDN information for processing a content distribution request, wherein the target CDN is selected by the TOP-CDNC based on the CDN information distributing the content.
另外, 该目标 CDN相关信息也可以是分布该内容分发请求所请求分 发的内容的 CDN信息。 此时, 可以根据分布该内容的 CDN信息, 选择用 于处理该内容分发请求的目标 CDN。  In addition, the target CDN related information may also be CDN information that distributes the content requested by the content distribution request. At this time, the target CDN for processing the content distribution request can be selected based on the CDN information distributing the content.
其中, 目标 CDN信息具体可以是目标 CDN的 IP地址信息、 媒体访问控制 ( Media Access Control, 以下简称: MAC )地址信息、 路由信息等所有可以 定位该目标 CDN的信息。  The target CDN information may specifically be the IP address information of the target CDN, the Media Access Control (MAC) address information, the routing information, and the like, all of which can locate the target CDN.
步骤 104, 根据该目标 CDN相关信息, 请求目标 CDN处理该内容分 发请求。  Step 104: The target CDN is requested to process the content distribution request according to the target CDN related information.
本发明上述图 2所示的该实施例具体可以由发送内容分发请求的 UE的源 CDN实现。在源 CDN处理 UE发送的内容分发请求时, 向 TOP-CDNC发送查询 请求, 从 TOP-CDNC获取处理该内容分发请求的目标 CDN相关信息, 直接选 择一个可以处理该内容分发请求的目标 CDN, 并请求该目标 CDN处理内容分 发请求, 从而避免了处理该内容分发请求时, 尤其是 CDN规模较大时, 对内 容分发请求的多级转发甚至循环转发, 有效节省了处理用户内容分发请求的 轮询时间, 可以及时向用户返回响应消息, 从而提高了 CDN的服务质量, 改 善了用户体验。  The embodiment shown in the above FIG. 2 of the present invention can be specifically implemented by the source CDN of the UE that transmits the content distribution request. When the source CDN processes the content distribution request sent by the UE, sends a query request to the TOP-CDNC, acquires the target CDN related information for processing the content distribution request from the TOP-CDNC, and directly selects a target CDN that can process the content distribution request, and Requesting the target CDN to process the content distribution request, thereby avoiding multi-level forwarding or even round-robining of the content distribution request when the content distribution request is processed, especially when the CDN is large, effectively saving polling for processing the user content distribution request. Time, the response message can be returned to the user in time, thereby improving the service quality of the CDN and improving the user experience.
在本发明的各实施例中, 分布内容的 CDN信息可以是存储该内容的 CDN 及其状态信息。 其中, 存储该内容的 CDN信息可以是该内容与存储该内容的 CDN信息, 或者各 CDN与其存储的内容信息之间的对应关系信息。 CDN的状 态信息包括 CDN的负载与健康状态信息, 其中, 源 CDN接收到内容分发请求 后, 由于其中的 CDF向 UE分发其请求的内容, 导致 CDF的会话请求增加, 增 加了该 CDF所在集群的负载,从而增加了该 CDN的负载。健康状态标识该 CDN 是否能够正常工作, 当一个 CDN的负载达到上限时, 就不能再处理新的内 容分发请求, 健康状态可能变化为 CDF异常。 In various embodiments of the invention, the CDN information of the distributed content may be the CDN storing the content and its status information. The CDN information storing the content may be the CDN information of the content and the content, or the correspondence relationship between the CDN and the content information stored by the CDN. Shape of CDN The status information includes the load and health status information of the CDN. After the source CDN receives the content distribution request, the CDF sends the requested content to the UE, which causes the CDF session request to increase, increasing the load of the cluster where the CDF is located. Thereby increasing the load of the CDN. The health status identifies whether the CDN is working properly. When the load of a CDN reaches the upper limit, the new content distribution request can no longer be processed, and the health status may change to a CDF exception.
在本发明的各实施例中,缺省 CDN也可以仅在无法处理 UE发送的内容分 发请求时, 向 TOP-CDNC发送查询请求, 这样就可以减少在缺省 CDN本身可 以处理 UE发送的内容分发请求时, 而请求目标 CDN处理该内容分发请求所需 要的时间, 从而节省处理用户内容分发请求的轮询时间, 可以及时向用户返 回响应消息, 从而提高了 CDN的服务质量, 改善了用户体验。  In various embodiments of the present invention, the default CDN may also send a query request to the TOP-CDNC only when the content distribution request sent by the UE cannot be processed, so that the content distribution sent by the UE can be reduced in the default CDN itself. At the request time, the time required for the target CDN to process the content distribution request is requested, thereby saving the polling time for processing the user content distribution request, and the response message can be returned to the user in time, thereby improving the service quality of the CDN and improving the user experience.
图 4为本发明内容分发处理方法另一个实施例的流程图。如图 4所示, 该实施例的内容分发处理方法包括以下步骤:  4 is a flow chart of another embodiment of a content distribution processing method of the present invention. As shown in FIG. 4, the content distribution processing method of this embodiment includes the following steps:
步骤 201, 源 CDN接收内容分发请求,该内容分发请求中包括请求分 发的内容信息, 另外, 还包括请求分发内容的 UE地址信息。  Step 201: The source CDN receives a content distribution request, where the content distribution request includes content information for requesting distribution, and further includes UE address information for requesting distribution of the content.
步骤 202, 源 CDN向 CDN系统中的 TOP-CDNC发送查询请求, 该 查询请求中包括内容分发请求所请求分发的内容信息。  Step 202: The source CDN sends a query request to the TOP-CDNC in the CDN system, where the query request includes content information requested by the content distribution request.
步骤 203, 接收 TOP-CDNC选择并返回的目标 CDN信息。  Step 203: Receive target CDN information selected and returned by the TOP-CDNC.
步骤 204, 源 CDN根据目标 CDN信息, 请求相应的目标 CDN处理 该内容分发请求。  Step 204: The source CDN requests the corresponding target CDN to process the content distribution request according to the target CDN information.
作为一个具体的实施例, 步骤 204中, 源 CDN可以将该内容分发请 求转发给目标 CDN, 具体地, 可以将该内容分发请求重定向至目标 CDN, 也可以将该内容分发请求直接转发给目标 CDN; 目标 CDN处理该内容分 发请求, 根据该内容分发请求, 向 UE分发内容。  As a specific embodiment, in step 204, the source CDN may forward the content distribution request to the target CDN. Specifically, the content distribution request may be redirected to the target CDN, or the content distribution request may be directly forwarded to the target. CDN; The target CDN processes the content distribution request, and distributes the content to the UE according to the content distribution request.
作为另一个具体的实施例, 步骤 204中, 源 CDN可以根据目标 CDN 信息, 从目标 CDN获取内容分发请求所请求分发的内容, 并根据内容分 发请求, 向 UE分发内容。 基于大容量 CDN 中用户内容分发请求并发度高的特点, 为了减少 TOP-CDNC处理的会话数量,避免 TOP-CDNC成为整个 CDN系统的性能 瓶颈, 在该图 4所示的实施例中, 采取去中心化方法处理来自 UE的内容 分发请求, 即: 先由作为缺省 CDN 的源 CDN 处理内容分发请求, TOP-CDNC只作为查询中心。 而不是直接由 TOP-CDNCC 集中处理来自 UE 的内容分发请求, 可以大大提高 CDN 系统的性能, 进一步节省在源 CDN无法处理内容分发请求时的轮询时间, 提高业务处理效率。 As another specific embodiment, in step 204, the source CDN may acquire the content requested for distribution by the content distribution request from the target CDN according to the target CDN information, and distribute the content to the UE according to the content distribution request. Based on the high degree of concurrency of user content distribution requests in large-capacity CDNs, in order to reduce the number of sessions processed by TOP-CDNC and avoid TOP-CDNC becoming a performance bottleneck of the entire CDN system, in the embodiment shown in FIG. 4, The centralization method processes the content distribution request from the UE, ie, the content distribution request is processed first by the source CDN as the default CDN, and the TOP-CDNC is only used as the query center. Rather than directly processing the content distribution request from the UE by TOP-CDNCC, the performance of the CDN system can be greatly improved, and the polling time when the source CDN cannot process the content distribution request can be further saved, and the business processing efficiency is improved.
图 5为本发明内容分发处理方法一个应用实施例的流程图, 该实施例 为图 4所示实施例的一个具体应用。 如图 5所示, 该应用实施例包括以下 步骤:  FIG. 5 is a flowchart of an application embodiment of a content distribution processing method according to the present invention. This embodiment is a specific application of the embodiment shown in FIG. As shown in FIG. 5, the application embodiment includes the following steps:
步骤 301, COD AS接收用户通过其 UE发送的业务请求消息, 请求 获取某一内容, 该业务请求消息中携带有 UE地址信息。  Step 301: The COD AS receives a service request message sent by the user through the UE, and requests to acquire a certain content, where the service request message carries the UE address information.
步骤 302, COD AS获取用户标识对应的归属区域, 确定为该用户提供 服务的源 CDN, 并向 UE返回内容的获取地址, 即: 源 CDNC的 IP地址, 具 体地, 可以通过一个统一资源标识符(Uniform Resource Indentifier, 以下 简称: URI ) 向 UE返回内容的获取地址。  Step 302: The COD AS acquires the home area corresponding to the user identifier, determines the source CDN that provides the service for the user, and returns the content acquisition address to the UE, that is, the IP address of the source CDNC, specifically, a uniform resource identifier. (Uniform Resource Indentifier, hereinafter referred to as: URI) Returns the acquisition address of the content to the UE.
步骤 303, UE根据源 CDN的地址信息, 向源 CDN发送内容分发请 求, 其中携带有用户请求分发的内容与 UE地址信息。  Step 303: The UE sends a content distribution request to the source CDN according to the address information of the source CDN, where the content that the user requests to distribute and the UE address information are carried.
步骤 304, 源 CDN接收到内容分发请求,判断是否可以处理该内容分 发请求, 例如: 是否存储有用户请求的内容以及该源 CDN的状态是否正 常。 若可以处理该内容分发请求, 执行步骤 305。 否则, 若无法处理该内 容分发请求, 执行步骤 306。  Step 304: The source CDN receives the content distribution request, and determines whether the content distribution request can be processed, for example, whether the content requested by the user and the status of the source CDN are normal. If the content distribution request can be processed, step 305 is performed. Otherwise, if the content distribution request cannot be processed, step 306 is performed.
步骤 305, 源 CDN向 UE返回响应消息, 向 UE分发其请求的内容。 之后, 不再执行本实施例的后续流程。  Step 305: The source CDN returns a response message to the UE, and distributes the requested content to the UE. After that, the subsequent process of this embodiment is not executed.
步骤 306, 源 CDN向其所在 CDN系统中的 TOP-CDNC发送查询请 求, 该查询请求中包括请求分发的内容信息。 步骤 307, TOP-CDNC 根据分布内容分发请求所请求分发的内容的 CDN信息, 选择用于处理该内容分发请求的目标 CDN, 并将该目标 CDN 的地址信息发送给源 CDN。 Step 306: The source CDN sends a query request to the TOP-CDNC in the CDN system in which it is located, where the query request includes content information requested for distribution. Step 307: The TOP-CDNC selects a target CDN for processing the content distribution request according to the CDN information of the content requested to be distributed according to the distributed content distribution request, and transmits the address information of the target CDN to the source CDN.
步骤 308, 源 CDN根据目标 CDN的地址信息, 向 UE发送重定向请 求, 该重定向请求中包括目标 CDN的地址信息, 请求 UE将内容分发请 求重定向至目标 CDN。 另外, 该重定向请求中携带的目标 CDN信息也可 以是除目标 CDN的地址信息以外的其它信息,只要源 CDN据此可以向目 标 CDN发送消息即可。  Step 308: The source CDN sends a redirection request to the UE according to the address information of the target CDN, where the redirection request includes the address information of the target CDN, and requests the UE to redirect the content distribution request to the target CDN. In addition, the target CDN information carried in the redirect request may be other information than the address information of the target CDN, as long as the source CDN can send a message to the target CDN accordingly.
步骤 309, UE根据重定向请求的目标 CDN的地址信息, 将该内容分 发请求发送给目标 CDN。  Step 309: The UE sends the content distribution request to the target CDN according to the address information of the target CDN of the redirect request.
步骤 310, 目标 CDN接收到内容分发请求后,根据预先设置的策略选 择其中的一个 CDF, 向 UE分发其请求的内容。  Step 310: After receiving the content distribution request, the target CDN selects one of the CDFs according to a preset policy, and distributes the requested content to the UE.
图 6为本发明内容分发方法又一个实施例的流程图。 如图 6所示, 该 实施例的内容分发处理方法包括以下步骤:  6 is a flow chart of still another embodiment of a content distribution method of the present invention. As shown in FIG. 6, the content distribution processing method of this embodiment includes the following steps:
步骤 401, 源 CDN接收 UE发送的内容分发请求, 该内容分发请求中 包括请求分发的内容信息与请求分发内容的 UE地址信息。  Step 401: The source CDN receives a content distribution request sent by the UE, where the content distribution request includes content information that is requested to be distributed and UE address information that requests the content to be distributed.
步骤 402, 源 CDN向所在 CDN系统中的 TOP-CDNC发送查询请求, 该查询请求中包括请求分发的内容信息。  Step 402: The source CDN sends a query request to the TOP-CDNC in the CDN system, where the query request includes content information requested for distribution.
步骤 403, TOP-CDNC将分布内容分发请求所请求分发的内容的 CDN 信息发送给源 CDN。  Step 403: The TOP-CDNC sends the CDN information of the content requested by the distributed content distribution request to the source CDN.
步骤 404, 源 CDN根据分布内容分发请求所请求分发的内容的 CDN 信息, 选择一个用于处理该内容分发请求的目标 CDN。  Step 404: The source CDN selects a target CDN for processing the content distribution request according to the CDN information of the content requested by the distributed content distribution request.
步骤 405, 源 CDN请求目标 CDN处理该内容分发请求。  Step 405: The source CDN requests the target CDN to process the content distribution request.
基于大容量 CDN 中用户内容分发请求并发度高的特点, 为了减少 TOP-CDNC处理的会话数量,避免 TOP-CDNC成为整个 CDN系统的性能 瓶颈, 在该图 6所示的实施例中, 采取去中心化方法处理来自 UE的内容 分发请求, 即: 先由缺省 CDN处理内容分发请求, TOP-CDNC只作为查 询中心。 而不是直接由 TOP-CDNC集中处理来自 UE的内容分发请求,进 一步大大提高了 CDN系统的性能,节省在源 CDN无法处理内容分发请求 时的轮询时间, 提高业务处理效率。 Based on the high degree of concurrency of user content distribution requests in large-capacity CDNs, in order to reduce the number of sessions processed by TOP-CDNC and avoid TOP-CDNC becoming a performance bottleneck of the entire CDN system, in the embodiment shown in FIG. 6, take Centralization method to process content from UE The distribution request, ie: the content distribution request is processed by the default CDN, and TOP-CDNC is only used as the query center. Rather than directly processing the content distribution request from the UE directly by the TOP-CDNC, the performance of the CDN system is further greatly improved, the polling time when the source CDN cannot process the content distribution request is saved, and the business processing efficiency is improved.
作为一个具体的实施例, 步骤 405中, 源 CDN可以将该内容分发请 求转发给目标 CDN, 具体地, 可以将该内容分发请求重定向至目标 CDN, 也可以将该内容分发请求直接转发给目标 CDN; 目标 CDN处理该内容分 发请求, 根据该内容分发请求, 向 UE分发内容。  As a specific embodiment, in step 405, the source CDN may forward the content distribution request to the target CDN. Specifically, the content distribution request may be redirected to the target CDN, or the content distribution request may be directly forwarded to the target. CDN; The target CDN processes the content distribution request, and distributes the content to the UE according to the content distribution request.
作为另一个具体的实施例, 步骤 405中, 源 CDN可以根据目标 CDN 信息, 从目标 CDN获取内容分发请求所请求分发的内容, 并根据内容分 发请求, 向 UE分发内容。  As another specific embodiment, in step 405, the source CDN may acquire the content requested for distribution by the content distribution request from the target CDN according to the target CDN information, and distribute the content to the UE according to the content distribution request.
进一步地, 作为本发明的实施例, 步骤 204与步骤 405 中, 源 CDN 从目标 CDN获取内容分发请求所请求分发的内容之后, 可以在该源 CDN 中缓存其获取的内容, 并向 TOP-CDNC 发送第一更新请求, 请求 TOP-CDNC更新分布其获取的内容的 CDN信息。 居本发明的一个实施 例,分布内容的 CDN信息包括:存储该内容的 CDN及其状态信息。 同样, 源 CDN或目标 CDN在向 UE分发其请求的内容时, 或者在向 UE分发其 请求的内容之后, 还可以向 TOP-CDNC 发送第二更新请求, 请求 TOP-CDNC 更新源 CDN 或目标 CDN 的状态信息以便后续流程中, TOP-CDNC更精确的根据分布该内容的 CDN及其状态信息, 选择用于处 理内容分发请求的目标 CDN。  Further, as an embodiment of the present invention, in step 204 and step 405, after the source CDN obtains the content requested by the content distribution request from the target CDN, the content acquired by the source CDN may be cached and sent to the TOP-CDNC. The first update request is sent, requesting the TOP-CDNC to update the CDN information distributing the content it has acquired. In one embodiment of the present invention, the CDN information of the distributed content includes: a CDN storing the content and its status information. Similarly, when the source CDN or the target CDN distributes its requested content to the UE, or after distributing its requested content to the UE, it may also send a second update request to the TOP-CDNC requesting the TOP-CDNC to update the source CDN or the target CDN. The status information for subsequent processes, TOP-CDNC more precisely selects the target CDN for processing the content distribution request based on the CDN and its status information that distributes the content.
作为本发明的一个实施例, 可以采用与 CDN划分一致的原则, 来选 择缺省 CDN, 以作为缺省处理某一 UE发送的内容分发请求的源 CDN。 例如: CDN通常是按照地域属性划分的, 即把一些在地域上临近的、 为相 同一片区域用户服务的集群划分为一个 CDN。 这样, 选择缺省 CDN时, 具体可以 据用户信息, 例如: 用户的互联网协议 ( internet protocol, 以 下简称: IP )地址或注册信息, 来确定其归属区域, 从而确定在该归属区 域内的 CDN或临近该 CDN作为提供服务的缺省 CDN。具体确定缺省 CDN 时, 可以对用户提供业务注册服务时的注册服务器来确定, 也可以由对用 户提供业务服务的应用系统, 例如: IPTV AS、 COD AS等。 As an embodiment of the present invention, the default CDN may be selected using a principle consistent with the CDN division as a source CDN for processing a content distribution request sent by a certain UE by default. For example: CDN is usually divided according to geographical attributes, that is, some geographically adjacent clusters serving users in the same area are divided into one CDN. In this way, when the default CDN is selected, it can be based on user information, for example: the user's internet protocol (Internet protocol, The following is abbreviated as: IP) address or registration information to determine its home zone, thereby determining the CDN in the home zone or the CDN as the default CDN for providing services. When the default CDN is specifically determined, the registration server when the service registration service is provided to the user may be determined, or the application system that provides the service service to the user, for example, an IPTV AS, a COD AS, or the like.
图 7为本发明源 CDN选择方法一个实施例的流程图, 如图 7所示, 该实施例包括以下步骤:  FIG. 7 is a flowchart of an embodiment of a source CDN selection method according to the present invention. As shown in FIG. 7, the embodiment includes the following steps:
步骤 501, 接收 UE发送的请求消息, 该请求消息中包括用户信息。 具体地, 该请求消息可以是注册请求消息或业务请求消息, 也可以是 其它消息。  Step 501: Receive a request message sent by the UE, where the request message includes user information. Specifically, the request message may be a registration request message or a service request message, or may be other messages.
步骤 502, 根据用户信息与地域属性之间的对应关系, 确定与请求消 息中用户信息对应的用户的地域属性。  Step 502: Determine, according to the correspondence between the user information and the regional attribute, the geographic attribute of the user corresponding to the user information in the request message.
步骤 503, 从 CDN 系统中选择一个与确定的用户的地域属性对应的 CDN, 作为处理 UEUE发送的内容分发请求的源 CDN。  Step 503: Select a CDN corresponding to the determined geographical attribute of the user from the CDN system as a source CDN for processing the content distribution request sent by the UE UE.
根据用户信息确定用户的地域属性, 并据此选择一个与该地域属性对 应的 CDN, 作为处理 UE发送的内容分发请求的源 CDN, 这样可以实现 内容分发请求的就近处理, 进一步节省在源 CDN无法处理内容分发请求 时的轮询时间, 提高业务处理效率。  Determining the geographic attribute of the user according to the user information, and selecting a CDN corresponding to the regional attribute as the source CDN for processing the content distribution request sent by the UE, so that the near processing of the content distribution request can be implemented, and the source CDN cannot be saved. The polling time when processing content distribution requests improves the efficiency of business processing.
图 8为本发明目标 CDN选择方法一个实施例的流程图。如图 8所示, 该实施例的目标 CDN选择方法包括以下步骤:  Figure 8 is a flow chart of an embodiment of a target CDN selection method of the present invention. As shown in FIG. 8, the target CDN selection method of this embodiment includes the following steps:
步骤 601, 接收源 CDN发送的查询请求, 该查询请求中包括 UE请求 分发的内容信息。  Step 601: Receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute.
步骤 602, 根据分布 UE请求分发的内容的 CDN信息, 选择向 UE分 发该内容的目标 CDN。  Step 602: Select, according to the CDN information of the content that the distribution UE requests to distribute, the target CDN that distributes the content to the UE.
步骤 603, 向源 CDN发送选择的目标 CDN信息。  Step 603: Send the selected target CDN information to the source CDN.
图 9为本发明目标 CDN选择方法另一个实施例的流程图。 如图 9所 示, 该实施例的目标 CDN选择方法包括以下步骤: 步骤 701, 接收源 CDN发送的查询请求, 该查询请求中包括 UE请求 分发的内容信息。 以便源 CDN根据该信息选择向 UE分发内容的目标 CDN。 9 is a flow chart of another embodiment of a target CDN selection method of the present invention. As shown in FIG. 9, the target CDN selection method of this embodiment includes the following steps: Step 701: Receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute. In order for the source CDN to select a target CDN for distributing content to the UE based on the information.
在本发明图 8与图 9所示的实施例中, 分布内容的目标 CDN信息可 以包括: 存储内容的 CDN及其状态信息。 具体地, 存储内容的 CDN信息 包括:各内容与存储该内容的 CDN信息或者各 CDN与其存储的内容信息 之间的对应关系信息; CDN的状态信息包括该 CDN的负载与健康状态信 息。 其中, 源 CDN接收到内容分发请求后, 由于其中的 CDF向 UE分发 其请求的内容, 导致 CDF的会话请求增加, 增加了该 CDF所在集群的负 载,从而增加了该 CDN的负载。健康状态标识该 CDN是否能够正常工作, 当一个 CDN的负载达到上限时, 就不能再处理新的内容分发请求, 健康 状态可能变化为 CDF异常。 居分布内容的 CDN信息来选择一个可以向 UE分发其请求分发内容的目标 CDN, 可以避免源 CDN无法处理该内容 分发请求时对其进行多级转发甚至循环转发, 有效节省了处理用户内容分 发请求的时间, 可以及时向用户返回响应消息, 从而提高了 CDN的服务 质量。  In the embodiment shown in Figs. 8 and 9, the target CDN information of the distributed content may include: a CDN storing the content and its status information. Specifically, the CDN information of the stored content includes: CDN information for storing the content or correspondence relationship information between the CDN and the content information stored by the CDN; and the status information of the CDN includes load and health status information of the CDN. After receiving the content distribution request, the source CDN distributes the requested content of the CDF to the UE, and the session request of the CDF is increased, thereby increasing the load of the cluster where the CDF is located, thereby increasing the load of the CDN. The health status identifies whether the CDN is working properly. When the load of a CDN reaches the upper limit, the new content distribution request can no longer be processed, and the health status may change to a CDF exception. The CDN information of the distributed content is selected to be a target CDN that can distribute the content to which the request is distributed to the UE, and the source CDN can be prevented from being multi-level forwarded or even cyclically forwarded when the content distribution request cannot be processed, thereby effectively saving the processing of the user content distribution request. At the time, the response message can be returned to the user in time, thereby improving the quality of service of the CDN.
另外,作为本发明的一个具体实施例,在图 8与图 9所示的实施例中, 还可以包括:接收源 CDN发送的第一更新请求,该第一更新请求由源 CDN 在缓存内容后发送, 用于请求更新分布某一内容的 CDN信息; 根据该第 一更新请求更新存储该内容的 CDN信息。  In addition, as an embodiment of the present invention, in the embodiment shown in FIG. 8 and FIG. 9, the method further includes: receiving, by the source CDN, a first update request, where the first update request is performed by the source CDN after the content is cached. Sending, for requesting to update CDN information distributing a certain content; updating CDN information storing the content according to the first update request.
进一步地, 作为本发明的一个具体实施例, 在图 8与图 9所示的实施 例中, 还可以包括: 接收源 CDN或目标 CDN发送的第二更新请求, 第二 更新请求由源 CDN或目标 CDN在向 UE分发内容时或者在向 UE分发内 容之后发送, 用于请求更新源 CDN或目标 CDN的状态信息; 根据第二更 新请求更新源 CDN或目标 CDN的状态信息。 另外, 作为本发明的另一个具体实施例, 在图 8与图 9所示的实施例 中, 步骤 601或步骤 701接收源 CDN发送的查询请求之前, 还可以包括: 生成分布 UE请求分发的内容的 CDN信息。 具体地, 可以通过如下方式 生成分布 UE请求分发的内容的 CDN信息: 接收 CDN上报的 CDN存储 的内容信息与 CDN的状态信息, 该 CDN存储的内容信息与 CDN的状态 信息基于 CDN内 CC上报的内容信息与状态信息生成, 该内容信息与状 态信息为 CC分别收集的该 CC所在集群中 CDF存储的内容信息与状态信 息; 根据 CDN系统中各 CDN存储的该内容信息与 CDN的状态信息, 生 成分布该内容的 CDN信息。 Further, as a specific embodiment of the present invention, in the embodiment shown in FIG. 8 and FIG. 9, the method further includes: receiving a second update request sent by the source CDN or the target CDN, where the second update request is sent by the source CDN or The target CDN is transmitted after distributing the content to the UE or after distributing the content to the UE, for requesting to update the status information of the source CDN or the target CDN; updating the status information of the source CDN or the target CDN according to the second update request. In addition, as another embodiment of the present invention, in the embodiment shown in FIG. 8 and FIG. 9, before receiving the query request sent by the source CDN, the step 601 or the step 701 may further include: generating content that the distributed UE requests to distribute. CDN information. Specifically, the CDN information of the content that the UE requests to distribute may be generated by: receiving the content information of the CDN stored by the CDN and the status information of the CDN, and the content information of the CDN and the status information of the CDN are reported based on the CC in the CDN. The content information and the status information are generated, and the content information and the status information are content information and status information stored in the CDF of the cluster in which the CC is collected by the CC; and the content information and the CDN status information generated by each CDN in the CDN system are generated. The CDN information that distributes the content.
图 10为本发明生成分布内容的 CDN信息一个实施例的流程图。 如图 Figure 10 is a flow diagram of one embodiment of generating CDN information for distributed content in accordance with the present invention. As shown
10所示, 该实施例包括以下步骤: 10, the embodiment includes the following steps:
步骤 801, 在各 CDN中, 各 CC分别收集所在集群中 CDF存储的内 容信息与状态信息, 并上报给所在 CDN中的 CDNC。  Step 801: In each CDN, each CC separately collects the content information and status information of the CDF stored in the cluster, and reports the information to the CDNC in the CDN.
CDNC接收到该 CDF存储的内容信息与状态信息后,可以向 CC返回 800OK响应消息。  After receiving the content information and status information stored in the CDF, the CDNC may return a 800 OK response message to the CC.
当某一个内容由于受欢迎程度高或者受 AS 的控制被分发到集群内 时, 在该集群内便可获得该内容, 当某一个内容由于受欢迎程度下降或者 受 AS的控制从被集群的存储空间删除时,在集群内便无法再获得其内容。 可以以内容的可获得状态表示一个 CDF存储的内容信息的变化。  When a certain content is distributed to the cluster due to its high popularity or under the control of the AS, the content can be obtained within the cluster, when a certain content is reduced from popularity or controlled by the AS from the clustered storage. When the space is deleted, its contents are no longer available in the cluster. A change in the content information stored in the CDF can be expressed in the available state of the content.
步骤 802, CDNC根据各 CC上报的内容信息与状态信息, 生成所在 Step 802: The CDNC generates the content information and status information reported by each CC.
CDN存储的内容信息与该 CDN的状态信息, 并上报给 TOP-CDNC。 The content information stored by the CDN and the status information of the CDN are reported to the TOP-CDNC.
CDNC接收到 CDF存储的内容信息与状态信息后, 对其进行分析, 对于 CDN存储的内容信息,只是反映该内容在整个 CDN内是否处于可获 得的状态, 而不用关注其在 CDN内的具体分布情况。  After receiving the content information and status information stored by the CDF, the CDNC analyzes the content information of the CDF, and only reflects whether the content is in an available state in the entire CDN, without paying attention to its specific distribution in the CDN. Happening.
作为本发明的具体实施例, CDNC 可以按照预设周期, 周期性的向 As a specific embodiment of the present invention, the CDNC can follow a preset period, periodically
TOP-CDNC上报 CDN存储的内容信息与状态信息, 也可以仅在 CDN存 储的内容信息与状态信息之一与上次接收到的相应信息相比发生变化时 向 TOP-CDNC上报。 TOP-CDNC reports the content information and status information stored in the CDN, and can also save only in the CDN. The stored content information and status information are reported to the TOP-CDNC when there is a change compared to the corresponding information received last time.
TOP-CDNC收到该 CDNC上报的 CDN存储的内容信息与状态信息 后, 可以向 CDNC返回 800OK响应消息。  After receiving the content information and status information stored in the CDN reported by the CDNC, the TOP-CDNC may return a 800 OK response message to the CDNC.
步骤 803, TOP-CDNC根据各 CDN中存储的内容信息与状态信息, 生成分布各内容的 CDN信息。  Step 803, the TOP-CDNC generates CDN information for distributing each content according to the content information and the status information stored in each CDN.
TOP-CDNC生成分布各内容的 CDN信息后, 可以存储该分布各内容 的 CDN信息, 以便后续根据该分布各内容的 CDN信息, 选择处理 UE发 送的内容分发请求的目标 CDN。  After the TOP-CDNC generates the CDN information for distributing each content, the CDN information of each content of the distribution may be stored, so that the target CDN of the content distribution request sent by the UE is selected and subsequently processed according to the CDN information of the distributed content.
图 11 为本发明内容分发装置一个实施例的结构示意图, 该实施例的 内容分发装置可作为源 CDN, 实现如本发明图 2、 图 4、 图 5与图 6所示 实施例的流程。 如图 11 所示, 该实施例的内容分发处理装置包括第一接 收模块 901、 第一发送模块 902与请求处理模块 903。 其中, 第一接收模 块 901用于接收 UJE发送的内容分发请求,该内容分发请求中包括请求分 发的内容信息, 以及接收 TOP-CDNC返回的目标 CDN相关信息。 第一发 送模块 902用于向 TOP-CDNC发送查询请求,该查询请求中包括 UE请求 分发的内容信息。 另外, 作为可选实施例, 第一发送模块 902可以仅仅在 内容分发装置无法处理第一接收模块 901 接收到的内容分发请求时, 向 TOP-CDNC发送查询请求。 请求处理模块 903用于根据第一接收模块 901 接收到的目标 CDN相关信息, 请求目标 CDN处理内容分发请求, 向 UE 分发其请求的内容。 其中的目标 CDN相关信息可以是目标 CDN信息, 例 如: 目标 CDN的 IP地址信息、 MAC地址信息、 路由信息等所有可以定 位目标 CDN的信息, 也可是分布 UE请求分发的内容的 CDN信息。 目标 CDN信息是分布 UE请求分发的内容的 CDN信息时, 第一接收模块 901 具体接收 UE发送的内容分发请求, 该内容分发请求中包括 UE请求分发 的内容信息, 以及接收 TOP-CDNC返回的分布请求分发的内容的 CDN信 息, 并根据分布该内容的 CDN信息, 选择用于处理内容分发请求的目标 CDN。 FIG. 11 is a schematic structural diagram of an embodiment of a content distribution apparatus according to the present invention. The content distribution apparatus of the embodiment can be used as a source CDN to implement the processes of the embodiments shown in FIG. 2, FIG. 4, FIG. 5 and FIG. As shown in FIG. 11, the content distribution processing apparatus of this embodiment includes a first receiving module 901, a first transmitting module 902, and a request processing module 903. The first receiving module 901 is configured to receive a content distribution request sent by the UJE, where the content distribution request includes content information that is requested to be distributed, and receives target CDN related information returned by the TOP-CDNC. The first sending module 902 is configured to send a query request to the TOP-CDNC, where the query request includes content information that the UE requests to distribute. In addition, as an optional embodiment, the first sending module 902 may send a query request to the TOP-CDNC only when the content distribution device cannot process the content distribution request received by the first receiving module 901. The request processing module 903 is configured to request the target CDN to process the content distribution request according to the target CDN related information received by the first receiving module 901, and distribute the content of the request to the UE. The target CDN related information may be target CDN information, for example: IP address information of the target CDN, MAC address information, routing information, and the like, all information that can locate the target CDN, or CDN information of the content that the UE requests to distribute. When the target CDN information is the CDN information of the content that the UE requests to distribute, the first receiving module 901 specifically receives the content distribution request sent by the UE, where the content distribution request includes the content information requested by the UE, and receives the distribution returned by the TOP-CDNC. CDN letter requesting the content to be distributed Information, and based on the CDN information distributing the content, select a target CDN for processing the content distribution request.
图 12为本发明内容分发装置另一个实施例的结构示意图, 该实施例 中, 目标 CDN相关信息是目标 CDN信息。 与图 11所示的实施例相比, 该实施例中,请求处理模块 903包括转发单元 9031, 用于根据第一接收模 块 901接收到的目标 CDN信息, 将内容分发请求转发给该目标 CDN, 以 便于目标 CDN为向 UE分发相应的内容。  FIG. 12 is a schematic structural diagram of another embodiment of a content distribution apparatus according to the present invention. In this embodiment, the target CDN related information is target CDN information. Compared with the embodiment shown in FIG. 11 , the request processing module 903 includes a forwarding unit 9031 for forwarding a content distribution request to the target CDN according to the target CDN information received by the first receiving module 901. In order for the target CDN to distribute the corresponding content to the UE.
图 13 为本发明内容分发装置又一个实施例的结构示意图, 该实施例 中, 目标 CDN相关信息是目标 CDN信息。 与图 11所示的实施例相比, 该实施例中, 请求处理模块 903包括获取单元 9032与分发单元 9033。 其 中, 获取单元 9032用于根据第一接收模块 901接收到的目标 CDN信息, 从目标 CDN获取 UE请求分发的内容。 分发单元 9033用于根据内容分发 请求, 向 UE分发获取单元 9032获取到的内容。  FIG. 13 is a schematic structural diagram of still another embodiment of a content distribution apparatus according to the present invention. In this embodiment, the target CDN related information is target CDN information. Compared with the embodiment shown in Fig. 11, in this embodiment, the request processing module 903 includes an obtaining unit 9032 and a distributing unit 9033. The obtaining unit 9032 is configured to acquire, according to the target CDN information received by the first receiving module 901, the content requested by the UE from the target CDN. The distribution unit 9033 is configured to distribute the content acquired by the obtaining unit 9032 to the UE according to the content distribution request.
再参见图 13, 作为本发明内容分发装置另一个可选实施例,请求处理 模块 903中还可以包括缓存单元 9034, 用于缓存获取单元 9032获取的内 容, 以便于后续接收到内容分发请求时, 可以直接向 UE分发该内容, 而 不需要重新从目标 CDN获取该内容, 可以进一步节省处理内容分发请求 的时间。  Referring to FIG. 13, as another optional embodiment of the content distribution apparatus of the present invention, the request processing module 903 may further include a buffer unit 9034 for buffering the content acquired by the obtaining unit 9032, so as to facilitate subsequent receiving of the content distribution request. The content can be distributed directly to the UE without re-acquiring the content from the target CDN, which can further save time in processing the content distribution request.
另外, 在本发明图 13 所示实施例的内容分发装置中, 第一发送模块 902还可用于在缓存单元 9034缓存获取模块 9032 获取的内容之后, 向 TOP-CDNC发送第一更新请求, 该第一更新请求用于请求 TOP-CDNC更 新分布获取模块 9032获取的内容的 CDN信息。  In addition, in the content distribution apparatus of the embodiment shown in FIG. 13 of the present invention, the first sending module 902 is further configured to send a first update request to the TOP-CDNC after the buffer unit 9034 caches the content acquired by the obtaining module 9032. An update request is for requesting the TOP-CDNC to update the CDN information of the content acquired by the distribution acquisition module 9032.
具体地, 分布获取模块 9032获取的内容的 CDN信息包括: 存储该内 容的 CDN及其状态信息。 相应的, 第一发送模块 902还用于在分发单元 9033向 UE分发该内容时或者在向 UE分发该内容之后, 向 TOP-CDNC 发送第二更新请求, 该第二更新请求用于请求 TOP-CDNC更新源 CDN的 状态信息。 Specifically, the CDN information of the content acquired by the distribution obtaining module 9032 includes: a CDN storing the content and status information thereof. Correspondingly, the first sending module 902 is further configured to: when the distributing unit 9033 distributes the content to the UE or after distributing the content to the UE, send a second update request to the TOP-CDNC, where the second update request is used to request the TOP- CDNC update source CDN status information.
图 14为本发明源 CDN选择装置一个实施例的结构示意图,该实施例 的源 CDN选择装置可用于实现如本发明图 7所示实施例的流程。 如图 14 所示,该实施例的源 CDN选择装置包括第二接收模块 1001、确定模块 1002 与第一选择模块 1003。 其中, 第二接收模块 1001用于接收 UE发送的请 求消息, 该请求消息中包括用户信息。 确定模块 1002用于根据该用户信 息确定用户的地域属性。 第一选择模块 1003用于根据该用户的地域属性, 从 CDN 系统中选择一个与该用户的地域属性对应的 CDN, 作为处理该 UE发送的内容分发请求的源 CDN。  FIG. 14 is a schematic structural diagram of an embodiment of a source CDN selection apparatus according to the present invention. The source CDN selection apparatus of this embodiment can be used to implement the flow of the embodiment shown in FIG. 7 of the present invention. As shown in FIG. 14, the source CDN selecting means of this embodiment includes a second receiving module 1001, a determining module 1002, and a first selecting module 1003. The second receiving module 1001 is configured to receive a request message sent by the UE, where the request message includes user information. The determining module 1002 is configured to determine a geographic attribute of the user based on the user information. The first selection module 1003 is configured to select, according to the geographic attribute of the user, a CDN corresponding to the geographic attribute of the user from the CDN system as a source CDN for processing the content distribution request sent by the UE.
具体地, 图 14所示实施例的源 CDN选择装置可以是对用户提供业务 注册服务时的注册服务器, 也可以是对用户提供业务服务的应用系统, 或 者其它的通信设备。  Specifically, the source CDN selection device of the embodiment shown in FIG. 14 may be a registration server when a service registration service is provided to a user, or an application system that provides a service service to a user, or another communication device.
图 15为本发明目标 CDN选择装置一个实施例的结构示意图,该实施 例的目标 CDN选择装置可作为 TOP-CDNC, 实现如本发明图 8所示实施 例的流程。 如图 15所示, 该实施例的目标 CDN选择装置包括第三接收模 块 1101、存储模块 1102、 获取模块 1103、 第二选择模块 1104与第二发送 模块 1105。 其中, 第三接收模块 1101用于接收源 CDN发送的查询请求, 该查询请求中包括 UE请求分发的内容信息。存储模块 1102用于存储分布 各内容的 CDN信息。获取模块 1103用于从存储模块 1102中分布获取 UE 请求分发的内容的 CDN信息。第二选择模块 1104用于根据获取模块 1103 获取到的 CDN信息,选择向 UE分发内容的目标 CDN。第二发送模块 1105 用于向源 CDN发送第二选择模块 1104选择的目标 CDN信息。  Figure 15 is a block diagram showing the structure of an embodiment of the target CDN selection device of the present invention. The target CDN selection device of the embodiment can be implemented as a TOP-CDNC to implement the flow of the embodiment shown in Figure 8 of the present invention. As shown in FIG. 15, the target CDN selection apparatus of this embodiment includes a third receiving module 1101, a storage module 1102, an obtaining module 1103, a second selecting module 1104, and a second transmitting module 1105. The third receiving module 1101 is configured to receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute. The storage module 1102 is configured to store CDN information for distributing each content. The obtaining module 1103 is configured to distribute the CDN information of the content requested by the UE for distribution from the storage module 1102. The second selection module 1104 is configured to select a target CDN for distributing content to the UE according to the CDN information acquired by the obtaining module 1103. The second sending module 1105 is configured to send the target CDN information selected by the second selecting module 1104 to the source CDN.
图 16为本发明目标 CDN选择装置另一个实施例的结构示意图,该实 施例的目标 CDN选择装置也可用于实现如本发明图 8所示实施例的流程。 与图 15所示的实施例相比,该实施例中的分布内容的目标 CDN信息包括 存储内容的 CDN及其状态信息。 相应的, 第三接收模块 1101还用于接收 源 CDN发送的第一更新请求, 该第一更新请求用于请求更新分布源 CDN 缓存的内容的 CDN信息, 以及接收源 CDN或目标 CDN发送的第二更新 请求, 该第二更新请求用于请求更新源 CDN或目标 CDN的状态信息。 该 实施例的目标 CDN选择装置还包括更新模块 1106, 用于根据第三接收模 块 1101 接收到的第一更新请求, 更新存储模块 1102 中存储相应内容的 CDN信息, 以及根据第三接收模块 1101接收到的第二更新请求更新存储 模块 1102中存储的源 CDN或目标 CDN的状态信息。 FIG. 16 is a schematic structural diagram of another embodiment of the target CDN selection apparatus according to the present invention. The target CDN selection apparatus of this embodiment can also be used to implement the flow of the embodiment shown in FIG. 8 of the present invention. The target CDN information of the distributed content in this embodiment includes the CDN storing the content and its status information as compared with the embodiment shown in FIG. Correspondingly, the third receiving module 1101 is further configured to receive a first update request sent by the source CDN, the first update request is for requesting to update CDN information of the content of the distributed source CDN cache, and receiving a second update request sent by the source CDN or the target CDN, the second update request is for request Update status information of the source CDN or target CDN. The target CDN selection device of the embodiment further includes an update module 1106, configured to update the CDN information of the corresponding content stored in the storage module 1102 according to the first update request received by the third receiving module 1101, and receive according to the third receiving module 1101. The second update request is to update the status information of the source CDN or the target CDN stored in the storage module 1102.
再参见图 16, 本发明实施例的目标 CDN选择装置中, 第三接收模块 1101还用于接收 CDN上报的、 该 CDN存储的内容信息与该 CDN的状态 信息, 其中, 该 CDN存储的内容信息与该 CDN的状态信息基于 CDN内 CC上报的内容信息与状态信息生成, 该内容信息与状态信息为 CC分别 收集的该 CC所在集群中 CDF存储的内容信息与状态信息。相应的, 该实 施例的目标 CDN选择装置还包括生成模块 1107, 用于根据第三接收模块 1101接收到的 CDN系统中各 CDN存储的内容信息与 CDN的状态信息, 生成分布内容的 CDN信息, 并存储在存储模块 1102中。  Referring to FIG. 16, in the target CDN selection apparatus of the embodiment of the present invention, the third receiving module 1101 is further configured to receive, by the CDN, the content information of the CDN and the status information of the CDN, where the content information of the CDN is stored. The status information of the CDN is generated based on the content information and the status information reported by the CC in the CDN, and the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected, respectively. Correspondingly, the target CDN selection device of the embodiment further includes a generating module 1107, configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
图 17为本发明目标 CDN选择装置又一个实施例的结构示意图,该实 施例的目标 CDN 选择装置可该实施例的目标 CDN 选择装置可作为 TOP-CDNC, 实现如本发明图 9所示实施例的流程。 如图 17所示, 该实 施例的目标 CDN选择装置包括第三接收模块 1101、 存储模块 1102、 获取 模块 1103与第三发送模块 1108。 其中, 第三接收模块 1101 用于接收源 CDN发送的查询请求, 该查询请求中包括 UE请求分发的内容信息。 存储 模块 1102用于存储分布各内容的 CDN信息。 获取模块 1103用于从存储 模块 1102中分布获取 UE请求分发的内容的 CDN信息。第三发送模块 1108 用于向源 CDN发送获取模块 1103获取的、 分布内容的目标 CDN信息, 以便源 CDN选择向 UE分发内容的目标 CDN。  FIG. 17 is a schematic structural diagram of still another embodiment of the target CDN selection apparatus according to the present invention. The target CDN selection apparatus of the embodiment can be used as the TOP-CDNC to implement the embodiment shown in FIG. 9 of the present invention. Process. As shown in FIG. 17, the target CDN selection apparatus of this embodiment includes a third receiving module 1101, a storage module 1102, an obtaining module 1103, and a third transmitting module 1108. The third receiving module 1101 is configured to receive a query request sent by the source CDN, where the query request includes content information that the UE requests to distribute. The storage module 1102 is configured to store CDN information that distributes each content. The obtaining module 1103 is configured to distribute, from the storage module 1102, CDN information of the content requested by the UE for distribution. The third sending module 1108 is configured to send, to the source CDN, the target CDN information of the distributed content acquired by the acquiring module 1103, so that the source CDN selects the target CDN that distributes the content to the UE.
图 18为本发明目标 CDN选择装置再一个实施例的结构示意图,该实 施例的目标 CDN选择装置也可用于实现如本发明图 9所示实施例的流程。 与图 17所示的实施例相比,该实施例中的分布内容的目标 CDN信息包括 存储内容的 CDN及其状态信息。 相应的, 第三接收模块 1101还用于接收 源 CDN发送的第一更新请求, 该第一更新请求用于请求更新分布源 CDN 缓存的内容的 CDN信息, 以及接收源 CDN或目标 CDN发送的第二更新 请求, 该第二更新请求用于请求更新源 CDN或目标 CDN的状态信息。 该 实施例的目标 CDN选择装置还包括更新模块 1106, 用于根据第三接收模 块 1101 接收到的第一更新请求, 更新存储模块 1102 中存储相应内容的 CDN信息, 以及根据第三接收模块 1101接收到的第二更新请求更新存储 模块 1102中存储的源 CDN或目标 CDN的状态信息。 FIG. 18 is a schematic structural diagram of still another embodiment of a target CDN selection apparatus according to the present invention; The target CDN selection device of the embodiment can also be used to implement the flow of the embodiment of Figure 9 of the present invention. Compared with the embodiment shown in Fig. 17, the target CDN information of the distributed content in this embodiment includes the CDN storing the content and its status information. Correspondingly, the third receiving module 1101 is further configured to receive a first update request sent by the source CDN, where the first update request is used to request to update CDN information of the content of the distributed source CDN cache, and receive the first CDN or the target CDN to send the first And a second update request for requesting to update status information of the source CDN or the target CDN. The target CDN selection device of the embodiment further includes an update module 1106, configured to update the CDN information of the corresponding content stored in the storage module 1102 according to the first update request received by the third receiving module 1101, and receive according to the third receiving module 1101. The second update request is to update the status information of the source CDN or the target CDN stored in the storage module 1102.
再参见图 17, 本发明实施例的目标 CDN选择装置中, 第三接收模块 1101还用于接收 CDN上报的、 该 CDN存储的内容信息与该 CDN的状态 信息, 其中, 该 CDN存储的内容信息与该 CDN的状态信息基于 CDN内 CC上报的内容信息与状态信息生成, 该内容信息与状态信息为 CC分别 收集的该 CC所在集群中 CDF存储的内容信息与状态信息。相应的, 该实 施例的目标 CDN选择装置还包括生成模块 1107, 用于根据第三接收模块 1101接收到的 CDN系统中各 CDN存储的内容信息与 CDN的状态信息, 生成分布内容的 CDN信息, 并存储在存储模块 1102中。  Referring to FIG. 17, in the target CDN selection apparatus of the embodiment of the present invention, the third receiving module 1101 is further configured to receive, by the CDN, the content information of the CDN and the status information of the CDN, where the content information of the CDN is stored. The status information of the CDN is generated based on the content information and the status information reported by the CC in the CDN, and the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected, respectively. Correspondingly, the target CDN selection device of the embodiment further includes a generating module 1107, configured to generate CDN information of the distributed content according to the content information stored in each CDN and the state information of the CDN in the CDN system received by the third receiving module 1101, And stored in the storage module 1102.
本发明实施例提供的一种内容分发网络系统, 可用于实现如本发明图 2、 图 4与图 8所示实施例的流程。 其包括一个 TOP-CDNC与多个 CDN, 具体的网络结构示意图可以参见 3。 其中, 多个 CDN 中有一个作为处理 UE发送的内容分发请求的缺省 CDN,也即源 CDN。源 CDN用于接收 UE 发送的内容分发请求, 该内容分发请求中包括请求分发的内容信息; 向 TOP-CDNC发送查询请求, 该内容分发请求中包括请求分发的内容信息; 以及接收 TOP-CDNC返回的目标 CDN信息; 根据目标 CDN信息, 请求 目标 CDN处理内容分发请求。 TOP-CDNC用于存储分布各内容的 CDN 信息; 接收源 CDN发送的查询请求, 获取分布内容的 CDN信息; 根据该 分布内容的 CDN信息选择向 UE分发内容的目标 CDN,并向源 CDN发送 目标 CDN信息。 作为本发明的另一个实施例, 源 CDN可以仅在在无法处 理该内容分发请求时, 向 TOP-CDNC发送查询请求。 具体地, 该实施例 的 CDN系统中, 源 CDN可以通过图 11、 图 12与图 13所示实施例的内 容分发装置实现, TOP-CDNC可以通过图 15或图 16所示实施例的目标 CDN选择装置实现。 A content distribution network system provided by an embodiment of the present invention can be used to implement the processes of the embodiments shown in FIG. 2, FIG. 4 and FIG. 8 of the present invention. It includes a TOP-CDNC and multiple CDNs. See Figure 3 for a detailed network structure. Among them, one of the plurality of CDNs serves as a default CDN for processing a content distribution request sent by the UE, that is, a source CDN. The source CDN is configured to receive a content distribution request sent by the UE, where the content distribution request includes content information requesting distribution; send a query request to the TOP-CDNC, where the content distribution request includes content information requested for distribution; and receiving the TOP-CDNC return Target CDN information; requesting the target CDN to process the content distribution request based on the target CDN information. TOP-CDNC is used to store CDNs that distribute content Receiving a query request sent by the source CDN, acquiring CDN information of the distributed content; selecting a target CDN for distributing the content to the UE according to the CDN information of the distributed content, and transmitting the target CDN information to the source CDN. As another embodiment of the present invention, the source CDN may send a query request to the TOP-CDNC only when the content distribution request cannot be processed. Specifically, in the CDN system of this embodiment, the source CDN can be implemented by the content distribution apparatus of the embodiment shown in FIG. 11, FIG. 12 and FIG. 13, and the TOP-CDNC can pass the target CDN of the embodiment shown in FIG. 15 or FIG. Select device implementation.
本发明实施例提供的另一种内容分发网络系统, 可用于实现如本发明 图 2、图 6与图 8所述实施例的流程。其包括一个 TOP-CDNC与多个 CDN, 具体的网络结构示意图可以参见 3。 其中。 多个 CDN 中有一个作为处理 UE发送的内容分发请求的缺省 CDN,也即源 CDN。源 CDN用于接收 UE 发送的内容分发请求, 该内容分发请求中包括 UE请求分发的内容信息; 向 TOP-CDNC发送查询请求,该内容分发请求中包括 UE请求分发的内容 信息; 以及接收 TOP-CDNC返回的分布内容的 CDN信息; 根据该分布内 容的 CDN信息, 选择用于处理 UE发送的内容分发请求的目标 CDN; 并 根据该目标 CDN信息, 请求目标 CDN处理内容分发请求。 TOP-CDNC 用于存储分布各内容的 CDN信息; 接收源 CDN发送的查询请求, 获取分 布 UE请求分发的内容的 CDN信息; 并向该源 CDN发送该分布 UE请求 分发的内容的 CDN信息。 作为本发明的另一个实施例, 源 CDN可以仅在 在无法处理该内容分发请求时, 向 TOP-CDNC发送查询请求。 具体地, 该实施例的 CDN系统中, 源 CDN可以通过图 11所示实施例的内容分发 装置实现, TOP-CDNC可以通过图 15或图 16所示实施例的目标 CDN选 择装置实现。  Another content distribution network system provided by an embodiment of the present invention can be used to implement the processes of the embodiments as shown in FIG. 2, FIG. 6 and FIG. It includes a TOP-CDNC and multiple CDNs. See Figure 3 for a detailed network structure. among them. One of the plurality of CDNs serves as the default CDN for processing the content distribution request sent by the UE, that is, the source CDN. The source CDN is configured to receive a content distribution request sent by the UE, where the content distribution request includes content information that the UE requests to be distributed, and send a query request to the TOP-CDNC, where the content distribution request includes content information that the UE requests to be distributed; and receiving the TOP- The CDN information of the distributed content returned by the CDNC; the target CDN for processing the content distribution request sent by the UE is selected according to the CDN information of the distributed content; and the target CDN is requested to process the content distribution request according to the target CDN information. The TOP-CDNC is configured to store CDN information for distributing the content; receiving a query request sent by the source CDN, acquiring CDN information of the content requested by the distribution UE, and transmitting CDN information of the content requested by the distribution UE to the source CDN. As another embodiment of the present invention, the source CDN may send a query request to the TOP-CDNC only when the content distribution request cannot be processed. Specifically, in the CDN system of this embodiment, the source CDN can be realized by the content distribution apparatus of the embodiment shown in Fig. 11, and the TOP-CDNC can be realized by the target CDN selection means of the embodiment shown in Fig. 15 or Fig. 16.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: 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 the program is executed when executed. Including the steps of the above method embodiments; 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.
本发明实施例可以从 TOP-CDNC查询分布该内容的目标 CDN信息, 根据该目标 CDN信息, 直接选择一个处理该内容分发请求的目标 CDN, 并请求该目标 CDN处理该内容分发请求避免了无法处理该内容分发请求 时对其进行多级转发甚至循环转发, 有效节省了处理用户内容分发请求的 时间, 可以及时向用户返回响应消息, 从而提高了 CDN的服务质量。  The embodiment of the present invention may query the target CDN information that distributes the content from the TOP-CDNC, directly select a target CDN that processes the content distribution request according to the target CDN information, and request the target CDN to process the content distribution request to avoid processing unavoidable. The content distribution request is multi-level forwarding or even cyclic forwarding, which effectively saves the time for processing the user content distribution request, and can return the response message to the user in time, thereby improving the service quality of the CDN.
另外,本发明实施例采取去中心化方法处理来自 UE的内容分发请求, 即: 先由作为缺省 CDN的源 CDN处理内容分发请求, TOP-CDNC只作 为查询中心, 而不是直接由 TOP-CDNCC集中处理来自 UE的内容分发请 求, 从而大大提高了 CDN系统的性能, 进一步节省了在源 CDN无法处理 内容分发请求时的轮询时间, 提高业务处理效率。  In addition, the embodiment of the present invention adopts a decentralization method to process a content distribution request from the UE, that is, the content distribution request is first processed by the source CDN as the default CDN, and the TOP-CDNC is only used as the query center, instead of directly by the TOP-CDNCC. The content distribution request from the UE is processed centrally, thereby greatly improving the performance of the CDN system, further saving the polling time when the source CDN cannot process the content distribution request, and improving the service processing efficiency.
最后所应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 本发明作限制性理解。 尽管参照上述较佳实施例对本发明进行了详细说明, 本领域的普通技术人员应当理解: 其依然可以对本发明的技术方案进行修改 或者等同替换, 而这种修改或者等同替换并不脱离本发明技术方案的精神和 范围。  It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and are not to be construed as limiting. Although the present invention has been described in detail with reference to the preferred embodiments thereof, those skilled in the art will understand that the invention may be modified or equivalently substituted without departing from the teachings of the present invention. The spirit and scope of the programme.

Claims

权 利 要 求 书 Claim
1、 一种内容分发方法, 其特征在于, 包括:  A content distribution method, comprising:
接收内容分发请求, 该内容分发请求中包括请求分发的内容信息; 向顶级内容分发网络控制单元 TOP-CDNC发送查询请求, 该查询请 求中包括所述请求分发的内容信息;  Receiving a content distribution request, the content distribution request includes content information requesting distribution; sending a query request to the top-level content distribution network control unit TOP-CDNC, where the query request includes the content information of the request distribution;
接收所述 TOP-CDNC返回的目标 CDN相关信息;  Receiving information related to the target CDN returned by the TOP-CDNC;
请求所述目标 CDN处理所述内容分发请求。  The target CDN is requested to process the content distribution request.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述接收内容分发请 求具体为: 内容分发网络 CDN系统中的源 CDN接收所述内容分发请求; 向 TOP-CDNC发送查询请求具体为:所述源 CDN向所述 TOP-CDNC 发送查询请求;  The method according to claim 1, wherein the receiving content distribution request is specifically: the source CDN in the content distribution network CDN system receives the content distribution request; and the query request sent to the TOP-CDNC is specifically: The source CDN sends a query request to the TOP-CDNC;
接收所述 TOP-CDNC返回的目标 CDN相关信息包括:  Receiving the target CDN related information returned by the TOP-CDNC includes:
所述源 CDN接收所述 TOP-CDNC返回的目标 CDN信息, 所述目标 CDN由所述 TOP-CDNC根据分布所述内容的 CDN信息选择; 或者  The source CDN receives target CDN information returned by the TOP-CDNC, and the target CDN is selected by the TOP-CDNC according to CDN information distributing the content; or
所述源 CDN接收所述 TOP-CDNC返回的分布所述内容的 CDN信息; 所述源 CDN根据分布所述内容的 CDN信息,选择用于处理所述内容分发 请求的目标 CDN。  The source CDN receives CDN information of the content distributed by the TOP-CDNC; the source CDN selects a target CDN for processing the content distribution request based on CDN information distributing the content.
3、 根据权利要求 2所述的方法, 其特征在于, 请求所述目标 CDN处 理所述内容分发请求包括:  3. The method according to claim 2, wherein requesting the target CDN to process the content distribution request comprises:
所述源 CDN根据所述目标 CDN信息,将所述内容分发请求转发给所 述目标 CDN, 以便所述目标 CDN根据所述内容分发请求, 向用户终端分 发所述内容; 或者  The source CDN forwards the content distribution request to the target CDN according to the target CDN information, so that the target CDN distributes the content to the user terminal according to the content distribution request; or
所述源 CDN根据所述目标 CDN信息, 从所述目标 CDN获取所述内 容, 并根据所述内容分发请求, 向用户终端分发所述内容。 The source CDN acquires the content from the target CDN according to the target CDN information, and distributes the content to the user terminal according to the content distribution request.
4、 根据权利要求 3 所述的方法, 其特征在于, 将所述内容分发请求 转发给所述目标 CDN包括: 4. The method according to claim 3, wherein the forwarding the content distribution request to the target CDN comprises:
所述源 CDN向所述用户终端发送重定向请求, 该重定向请求中包括 所述目标 CDN信息, 用于请求所述用户终端将所述内容分发请求重定向 至所述目标 CDN。  The source CDN sends a redirect request to the user terminal, where the redirect request includes the target CDN information, and is used to request the user terminal to redirect the content distribution request to the target CDN.
5、 根据权利要求 3所述的方法, 其特征在于, 从所述目标 CDN获取 所述内容之后, 还包括: 在所述源 CDN 中缓存所述内容, 并向所述 TOP-CDNC 发送第一更新请求, 所述第一更新请求用于请求所述 TOP-CDNC更新分布所述内容的 CDN信息。  5. The method according to claim 3, after acquiring the content from the target CDN, further comprising: buffering the content in the source CDN, and sending the first to the TOP-CDNC An update request, the first update request is used to request the TOP-CDNC to update CDN information that distributes the content.
6、 根据权利要求 5所述的方法, 其特征在于, 分布所述内容的 CDN 信息包括: 存储所述内容的 CDN及其状态信息。  6. The method according to claim 5, wherein distributing CDN information of the content comprises: storing a CDN of the content and status information thereof.
7、 根据权利要求 6所述的方法, 其特征在于, 所述源 CDN向用户终 端分发所述内容时或者在向用户终端分发所述内容之后, 还包括:  The method according to claim 6, wherein, after the source CDN distributes the content to the user terminal or after distributing the content to the user terminal, the method further includes:
所述源 CDN向所述 TOP-CDNC发送第二更新请求, 所述第二更新请 求用于请求所述 TOP-CDNC更新所述源 CDN的状态信息。  The source CDN sends a second update request to the TOP-CDNC, the second update request for requesting the TOP-CDNC to update status information of the source CDN.
8、 根据权利要求 1 至 7 任意一项所述的方法, 其特征在于, 向 TOP-CDNC发送查询请求具体为: 在无法处理所述内容分发请求时, 向所 述 TOP-CDNC发送查询请求。  The method according to any one of claims 1 to 7, characterized in that the sending of the query request to the TOP-CDNC is specifically: sending a query request to the TOP-CDNC when the content distribution request cannot be processed.
9、 一种源内容分发网络选择方法, 其特征在于, 包括:  9. A source content distribution network selection method, comprising:
接收用户终端发送的请求消息, 该请求消息中包括用户信息; 根据所述用户信息确定所述用户的地域属性;  Receiving a request message sent by the user terminal, where the request message includes user information; determining a geographical attribute of the user according to the user information;
从 CDN系统中选择一个与所述用户的地域属性对应的 CDN, 作为处 理所述用户终端发送的内容分发请求的源 CDN。  A CDN corresponding to the geographical attribute of the user is selected from the CDN system as a source CDN for processing a content distribution request transmitted by the user terminal.
10、 根据权利要求 9所述的方法, 其特征在于, 所述请求消息包括注 册请求消息或业务请求消息。  10. The method according to claim 9, wherein the request message comprises a registration request message or a service request message.
11、 一种目标内容分发网络选择方法, 其特征在于, 包括: 接收源 CDN发送的查询请求, 该查询请求中包括用户终端请求分发 的内容信息; A method for selecting a target content distribution network, which is characterized by comprising: Receiving a query request sent by the source CDN, where the query request includes content information requested by the user terminal for distribution;
根据分布所述内容的 CDN信息, 选择向所述用户终端分发所述内容 的目标 CDN;  Selecting a target CDN for distributing the content to the user terminal according to CDN information distributing the content;
向所述源 CDN发送所述目标 CDN信息。  The target CDN information is transmitted to the source CDN.
12、 根据权利要求 11 所述的方法, 其特征在于, 分布所述内容的目 标 CDN信息包括: 存储所述内容的 CDN及其状态信息。  12. The method according to claim 11, wherein the distributing the target CDN information of the content comprises: storing the CDN of the content and status information thereof.
13、根据权利要求 12所述的方法,其特征在于,存储所述内容的 CDN 信息包括:所述内容与存储该内容的 CDN信息或者各 CDN与其存储的内 容信息之间的对应关系信息; CDN的状态信息包括该 CDN的负载与健康 状态信息。  The method according to claim 12, wherein the storing CDN information of the content comprises: correspondence between the content and CDN information storing the content or content information of each CDN and content information stored therein; CDN The status information includes the load and health status information of the CDN.
14、 根据权利要求 12所述的方法, 其特征在于, 还包括:  14. The method according to claim 12, further comprising:
接收所述源 CDN发送的第一更新请求, 所述第一更新请求由所述源 CDN在缓存所述内容后发送, 用于请求更新分布所述内容的 CDN信息; 根据所述第一更新请求更新存储所述内容的 CDN信息。  Receiving a first update request sent by the source CDN, where the first update request is sent by the source CDN after buffering the content, for requesting to update CDN information that distributes the content; according to the first update request Update the CDN information that stores the content.
15、 根据权利要求 14所述的方法, 其特征在于, 还包括:  The method according to claim 14, further comprising:
接收所述源 CDN或所述目标 CDN发送的第二更新请求,所述第二更 新请求由所述源 CDN或所述目标 CDN在向用户终端分发所述内容时或者 在向用户终端分发所述内容之后发送, 用于请求更新所述源 CDN或所述 目标 CDN的状态信息;  Receiving a second update request sent by the source CDN or the target CDN, the second update request being distributed by the source CDN or the target CDN to the user terminal or distributed to the user terminal The content is sent after, and is used to request to update status information of the source CDN or the target CDN;
根据所述第二更新请求更新所述源 CDN或所述目标 CDN的状态信 。  Updating the status CD of the source CDN or the target CDN according to the second update request.
16、 根据权利要求 11至 15任意一项所述的方法, 其特征在于, 所述 接收源 CDN发送的查询请求之前, 还包括:  The method according to any one of claims 11 to 15, wherein before receiving the query request sent by the source CDN, the method further includes:
生成分布所述内容的 CDN信息。  Generate CDN information that distributes the content.
17、 根据权利要求 16 所述的方法, 其特征在于, 所述生成分布所述 内容的 CDN信息包括: 17. The method according to claim 16, wherein said generating a distribution The CDN information of the content includes:
接收 CDN上报的 CDN存储的内容信息与 CDN的状态信息,所述 CDN 存储的内容信息与 CDN的状态信息基于所述 CDN内集群控制单元 CC上 报的内容信息与状态信息生成, 该内容信息与状态信息为所述 CC分别收 集的该 CC所在集群中内容分发功能实体 CDF存储的内容信息与状态信 根据 CDN系统中各 CDN存储的内容信息与 CDN的状态信息, 生成 分布所述内容的 CDN信息。  Receiving the content information of the CDN and the status information of the CDN, and the status information of the CDN and the status information of the CDN are generated based on the content information and status information reported by the cluster control unit CC in the CDN, the content information and status. The information is the content information and the status information stored by the content distribution function entity CDF in the cluster in which the CC is collected by the CC, and the CDN information for distributing the content is generated according to the content information stored in each CDN of the CDN system and the status information of the CDN.
18、 一种目标内容分发网络选择方法, 其特征在于, 包括:  18. A method for selecting a target content distribution network, comprising:
接收源 CDN发送的查询请求, 该查询请求中包括用户终端请求分发 的内容信息;  Receiving a query request sent by the source CDN, where the query request includes content information requested by the user terminal for distribution;
向所述源 CDN发送分布所述内容的目标 CDN信息,以便所述源 CDN 选择向所述用户终端分发所述内容的目标 CDN。  The target CDN information distributing the content is transmitted to the source CDN such that the source CDN selects to distribute the target CDN of the content to the user terminal.
19、 根据权利要求 18 所述的方法, 其特征在于, 分布所述内容的目 标 CDN信息包括: 存储所述内容的 CDN及其状态信息。  19. The method of claim 18, wherein distributing the target CDN information of the content comprises: storing the CDN of the content and its status information.
20、根据权利要求 19所述的方法,其特征在于,存储所述内容的 CDN 信息包括:所述内容与存储该内容的 CDN信息或者各 CDN与其存储的内 容信息之间的对应关系信息; CDN的状态信息包括该 CDN的负载与健康 状态信息。  The method according to claim 19, wherein the storing CDN information of the content comprises: CDN information storing the content or correspondence relationship information between each CDN and content information stored therein; CDN The status information includes the load and health status information of the CDN.
21、 根据权利要求 18述的方法, 其特征在于, 还包括:  21. The method of claim 18, further comprising:
接收所述源 CDN发送的第一更新请求, 所述第一更新请求由所述源 CDN在缓存所述内容后发送, 用于请求更新分布所述内容的 CDN信息; 根据所述第一更新请求更新存储所述内容的 CDN信息。  Receiving a first update request sent by the source CDN, where the first update request is sent by the source CDN after buffering the content, for requesting to update CDN information that distributes the content; according to the first update request Update the CDN information that stores the content.
22、 根据权利要求 21所述的方法, 其特征在于, 还包括:  The method according to claim 21, further comprising:
接收所述源 CDN或所述目标 CDN发送的第二更新请求,所述第二更 新请求由所述源 CDN或所述目标 CDN在向用户终端分发所述内容时或者 在向用户终端分发所述内容之后发送, 用于请求更新所述源 CDN或所述 目标 CDN的状态信息; Receiving a second update request sent by the source CDN or the target CDN, the second update request being distributed by the source CDN or the target CDN to the user terminal or Transmitting, after distributing the content to the user terminal, for requesting to update status information of the source CDN or the target CDN;
根据所述第二更新请求更新所述源 CDN或所述目标 CDN的状态信 。  Updating the status CD of the source CDN or the target CDN according to the second update request.
23、 根据权利要求 18至 22任意一项所述的方法, 其特征在于, 所述 接收源 CDN发送的查询请求之前, 还包括:  The method according to any one of claims 18 to 22, further comprising: before receiving the query request sent by the source CDN, further comprising:
生成分布所述内容的 CDN信息。  Generate CDN information that distributes the content.
24、 根据权利要求 23 所述的方法, 其特征在于, 所述生成分布所述 内容的 CDN信息包括:  The method according to claim 23, wherein the generating CDN information for distributing the content comprises:
接收 CDN上报的 CDN存储的内容信息与 CDN的状态信息,所述 CDN 存储的内容信息与 CDN的状态信息基于所述 CDN内群控制单元 CC上报 的内容信息与状态信息生成, 该内容信息与状态信息为所述 CC分别收集 的该 CC所在集群中内容分发功能实体 CDF存储的内容信息与状态信息; 根据 CDN系统中各 CDN存储的内容信息与 CDN的状态信息, 生成分布 所述内容的 CDN信息。  Receiving the content information of the CDN and the status information of the CDN, and the status information of the CDN and the status information of the CDN are generated based on the content information and status information reported by the CDN internal group control unit CC, the content information and status. The information is content information and state information stored by the content distribution function entity CDF in the cluster where the CC is collected by the CC; and the CDN information for distributing the content is generated according to content information stored in each CDN of the CDN system and status information of the CDN. .
25、 一种内容分发装置, 其特征在于, 包括:  25. A content distribution apparatus, comprising:
第一接收模块, 用于接收内容分发请求, 该内容分发请求中包括请求 分发的内容信息, 以及接收 TOP-CDNC返回的目标 CDN相关信息;  a first receiving module, configured to receive a content distribution request, where the content distribution request includes content information that is requested to be distributed, and receive target CDN related information returned by the TOP-CDNC;
第一发送模块, 用于向所述 TOP-CDNC发送查询请求, 该查询请求 中包括所述请求分发的内容信息;  a first sending module, configured to send a query request to the TOP-CDNC, where the query request includes the content information of the request distribution;
请求处理模块,用于根据所述目标 CDN相关信息,请求所述目标 CDN 处理所述内容分发请求。  And a request processing module, configured to request the target CDN to process the content distribution request according to the target CDN related information.
26、 根据权利要求 25所述的装置, 其特征在于, 所述目标 CDN相关 信息具体为目标 CDN信息; 或者  The device according to claim 25, wherein the target CDN related information is specifically target CDN information; or
所述目标 CDN相关信息具体为分布所述内容的 CDN信息; 相应的, 所述第一接收模块具体接收内容分发请求, 该内容分发请求中包括请求分 发的内容信息, 以及接收所述 TOP-CDNC返回的分布所述内容的 CDN信 息, 并根据分布所述内容的 CDN信息, 选择用于处理所述内容分发请求 的目标 CDN。 The target CDN related information is specifically CDN information that distributes the content; correspondingly, the first receiving module specifically receives a content distribution request, where the content distribution request includes a request score And transmitting the content information, and receiving the CDN information of the content distributed by the TOP-CDNC, and selecting a target CDN for processing the content distribution request according to the CDN information distributing the content.
27、 根据权利要求 26 所述的装置, 其特征在于, 所述请求处理模块 包括转发单元, 用于根据所述目标 CDN信息, 将所述内容分发请求转发 给所述目标 CDN。  The device according to claim 26, wherein the request processing module comprises a forwarding unit, configured to forward the content distribution request to the target CDN according to the target CDN information.
28、 根据权利要求 26 所述的装置, 其特征在于, 所述请求处理模块 包括:  The device according to claim 26, wherein the request processing module comprises:
获取单元, 用于根据所述目标 CDN信息, 从所述目标 CDN获取所述 内容;  An obtaining unit, configured to acquire the content from the target CDN according to the target CDN information;
分发单元, 用于根据所述内容分发请求, 向用户终端分发获取的所述 内容。  And a distribution unit, configured to distribute the obtained content to the user terminal according to the content distribution request.
29、 根据权利要求 28所述的装置, 其特征在于, 还包括:  The device according to claim 28, further comprising:
缓存单元, 用于缓存获取的所述内容。  a cache unit, configured to cache the obtained content.
30、 根据权利要求 29 所述的装置, 其特征在于, 所述第一发送模块 还用于在所述缓存单元缓存获取的所述内容之后, 向所述 TOP-CDNC发 送第一更新请求, 所述第一更新请求用于请求所述 TOP-CDNC 更新分布 所述内容的 CDN信息。  The device according to claim 29, wherein the first sending module is further configured to: after the cache unit caches the acquired content, send a first update request to the TOP-CDNC, where The first update request is for requesting the TOP-CDNC to update CDN information that distributes the content.
31、根据权利要求 30所述的装置,其特征在于,分布所述内容的 CDN 信息包括: 存储所述内容的 CDN及其状态信息;  31. The apparatus of claim 30, wherein distributing CDN information of the content comprises: storing a CDN of the content and status information thereof;
所述第一发送模块还用于在所述分发单元向用户终端分发所述内容 时或者在向用户终端分发所述内容之后, 向所述 TOP-CDNC发送第二更 新请求, 所述第二更新请求用于请求所述 TOP-CDNC更新所述源 CDN的 状态信息。  The first sending module is further configured to send a second update request to the TOP-CDNC when the distribution unit distributes the content to the user terminal or after distributing the content to the user terminal, the second update The request is for requesting the TOP-CDNC to update status information of the source CDN.
32、 一种源内容分发网络选择装置, 其特征在于, 包括:  32. A source content distribution network selection device, comprising:
第二接收模块, 用于接收用户终端发送的请求消息, 该请求消息中包 括用户信息; a second receiving module, configured to receive a request message sent by the user terminal, where the request message is included in the packet User information;
确定模块, 用于根据所述用户信息确定所述用户的地域属性; 第一选择模块, 用于从 CDN 系统中选择一个与所述用户的地域属性 对应的 CDN, 作为处理所述用户终端发送的内容分发请求的源 CDN。  a determining module, configured to determine a geographic attribute of the user according to the user information; a first selecting module, configured to select, from the CDN system, a CDN corresponding to the geographic attribute of the user, to process the sending by the user terminal The source CDN of the content distribution request.
33、 一种目标内容分发网络选择装置, 其特征在于, 包括:  33. A target content distribution network selection device, comprising:
第三接收模块, 用于接收源 CDN发送的查询请求, 该查询请求中包 括用户终端请求分发的内容信息;  a third receiving module, configured to receive a query request sent by the source CDN, where the query request includes content information requested by the user terminal to be distributed;
存储模块, 用于存储分布各内容的 CDN信息;  a storage module, configured to store CDN information for distributing each content;
获取模块, 用于从所述存储模块中获取分布所述内容的 CDN信息; 第二选择模块, 用于根据分布所述内容的 CDN信息, 选择向所述用 户终端分发所述内容的目标 CDN;  An acquiring module, configured to obtain, from the storage module, CDN information that distributes the content; a second selecting module, configured to select, according to CDN information that distributes the content, a target CDN that distributes the content to the user terminal;
第二发送模块, 用于向所述源 CDN发送所述目标 CDN信息。  And a second sending module, configured to send the target CDN information to the source CDN.
34、 根据权利要求 33 所述的装置, 其特征在于, 分布所述内容的目 标 CDN信息包括存储所述内容的 CDN及其状态信息;  34. The apparatus according to claim 33, wherein the target CDN information for distributing the content comprises a CDN storing the content and status information thereof;
所述第三接收模块还用于接收所述源 CDN发送的第一更新请求, 所 述第一更新请求用于请求更新分布所述内容的 CDN信息, 以及接收所述 源 CDN或所述目标 CDN发送的第二更新请求,所述第二更新请求用于请 求更新所述源 CDN或所述目标 CDN的状态信息;  The third receiving module is further configured to receive a first update request sent by the source CDN, where the first update request is used to request to update CDN information that distributes the content, and receive the source CDN or the target CDN. Sending a second update request, the second update request for requesting to update status information of the source CDN or the target CDN;
所述装置还包括更新模块, 用于根据所述第一更新请求更新存储所述 内容的 CDN信息,以及根据所述第二更新请求更新所述源 CDN或所述目 标 CDN的状态信息。  The apparatus further includes an update module, configured to update CDN information storing the content according to the first update request, and update status information of the source CDN or the target CDN according to the second update request.
35、 根据权利要求 34所述的装置, 其特征在于, 所述第三接收模块 还用于接收 CDN上报的 CDN存储的内容信息与 CDN的状态信息, 所述 CDN存储的内容信息与 CDN的状态信息基于所述 CDN内 CC上报的内容 信息与状态信息生成,该内容信息与状态信息为所述 CC分别收集的该 CC 所在集群中 CDF存储的内容信息与状态信息; 所述装置还包括生成模块,用于根据 CDN系统中各 CDN存储的内容 信息与 CDN的状态信息, 生成分布所述内容的 CDN信息, 并存储在所述 存储模块中。 The apparatus according to claim 34, wherein the third receiving module is further configured to receive content information of the CDN stored by the CDN and status information of the CDN, and the content information of the CDN and the status of the CDN. The information is generated based on the content information and the status information reported by the CC in the CDN, where the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected by the CC; The device further includes a generating module, configured to generate CDN information for distributing the content according to content information stored by each CDN in the CDN system and status information of the CDN, and stored in the storage module.
36、 一种目标内容分发网络选择装置, 其特征在于, 包括:  36. A target content distribution network selection device, comprising:
第三接收模块, 用于接收源 CDN发送的查询请求, 该查询请求中包 括用户终端请求分发的内容信息;  a third receiving module, configured to receive a query request sent by the source CDN, where the query request includes content information requested by the user terminal to be distributed;
存储模块, 用于存储分布各内容的 CDN信息;  a storage module, configured to store CDN information for distributing each content;
获取模块, 用于从所述存储模块中获取分布所述内容的 CDN信息; 第三发送模块,用于向所述源 CDN发送分布所述内容的目标 CDN信 息, 以便所述源 CDN选择向所述用户终端分发所述内容的目标 CDN。  An acquiring module, configured to acquire, from the storage module, CDN information that distributes the content; and a third sending module, configured to send, to the source CDN, target CDN information that distributes the content, so that the source CDN selects a location The user terminal distributes the target CDN of the content.
37、 根据权利要求 36 所述的装置, 其特征在于, 分布所述内容的目 标 CDN信息包括存储所述内容的 CDN及其状态信息;  37. The apparatus according to claim 36, wherein the target CDN information for distributing the content comprises a CDN storing the content and status information thereof;
所述第三接收模块还用于接收所述源 CDN发送的第一更新请求, 所 述第一更新请求用于请求更新分布所述内容的 CDN信息, 以及接收所述 源 CDN或所述目标 CDN发送的第二更新请求,所述第二更新请求用于请 求更新所述源 CDN或所述目标 CDN的状态信息;  The third receiving module is further configured to receive a first update request sent by the source CDN, where the first update request is used to request to update CDN information that distributes the content, and receive the source CDN or the target CDN. Sending a second update request, the second update request for requesting to update status information of the source CDN or the target CDN;
所述装置还包括更新模块, 用于根据所述第一更新请求更新存储所述 内容的 CDN信息,以及根据所述第二更新请求更新所述源 CDN或所述目 标 CDN的状态信息。  The apparatus further includes an update module, configured to update CDN information storing the content according to the first update request, and update status information of the source CDN or the target CDN according to the second update request.
38、 根据权利要求 37 所述的装置, 其特征在于, 述第三接收模块还 用于接收 CDN上报的 CDN存储的内容信息与 CDN的状态信息,所述 CDN 存储的内容信息与 CDN的状态信息基于所述 CDN内 CC上报的内容信息 与状态信息生成, 该内容信息与状态信息为所述 CC分别收集的该 CC所 在集群中 CDF存储的内容信息与状态信息;  The apparatus according to claim 37, wherein the third receiving module is further configured to receive the content information of the CDN stored by the CDN and the status information of the CDN, and the content information of the CDN and the status information of the CDN. And generating, according to the content information and the status information reported by the CC in the CDN, the content information and the status information are content information and status information stored by the CDF in the cluster where the CC is collected by the CC;
所述装置还包括生成模块,用于根据 CDN系统中各 CDN存储的内容 信息与 CDN的状态信息, 生成分布所述内容的 CDN信息, 并存储在所述 存储模块中。 The device further includes a generating module, configured to generate CDN information for distributing the content according to content information stored by each CDN in the CDN system and status information of the CDN, and store the In the storage module.
39、 一种内容分发网络系统, 其特征在于, 包括一个 TOP-CDNC 与 多个 CDN, 其特征在于, 所述多个 CDN中的源 CDN用于接收内容分发 请求, 该内容分发请求中包括请求分发的内容信息; 向所述 TOP-CDNC 发送查询请求, 该内容分发请求中包括所述请求分发的内容信息; 以及接 收所述 TOP-CDNC返回的目标 CDN信息; 根据所述目标 CDN信息, 请 求所述目标 CDN处理所述内容分发请求;  39. A content distribution network system, comprising: a TOP-CDNC and a plurality of CDNs, wherein a source CDN of the plurality of CDNs is configured to receive a content distribution request, wherein the content distribution request includes a request Content information distributed; sending a query request to the TOP-CDNC, the content distribution request including content information of the request distribution; and receiving target CDN information returned by the TOP-CDNC; requesting according to the target CDN information The target CDN processes the content distribution request;
所述 TOP-CDNC用于存储分布各内容的 CDN信息; 接收所述查询请 求, 获取分布所述内容的 CDN信息; 居该分布所述内容的 CDN信息选 择向所述用户终端分发所述内容的目标 CDN; 并向所述源 CDN发送所述 目标 CDN信息。  The TOP-CDNC is configured to store CDN information for distributing each content; receiving the query request to obtain CDN information that distributes the content; and the CDN information distributing the content is selected to distribute the content to the user terminal Target CDN; and transmitting the target CDN information to the source CDN.
40、 一种内容分发网络系统, 其特征在于, 包括一个 TOP-CDNC 与 多个 CDN, 其特征在于, 所述多个 CDN中的源 CDN用于接收内容分发 请求, 该内容分发请求中包括请求分发的内容信息; 向所述 TOP-CDNC 发送查询请求, 该内容分发请求中包括所述请求分发的内容信息; 以及接 收所述 TOP-CDNC返回的分布所述内容的 CDN信息; 才艮据分布所述内容 的 CDN信息, 选择用于处理所述内容分发请求的目标 CDN; 并根据所述 目标 CDN信息, 请求所述目标 CDN处理所述内容分发请求;  40. A content distribution network system, comprising: a TOP-CDNC and a plurality of CDNs, wherein a source CDN of the plurality of CDNs is configured to receive a content distribution request, where the content distribution request includes a request Content information distributed; sending a query request to the TOP-CDNC, the content distribution request including content information of the request distribution; and receiving CDN information of the content distributed by the TOP-CDNC; The CDN information of the content, selecting a target CDN for processing the content distribution request; and requesting the target CDN to process the content distribution request according to the target CDN information;
所述 TOP-CDNC用于存储分布各内容的 CDN信息; 接收所述查询请 求, 获取分布所述内容的 CDN信息; 并向所述源 CDN发送分布所述内容 的 CDN信息。  The TOP-CDNC is configured to store CDN information for distributing the content; receiving the query request, obtaining CDN information for distributing the content; and transmitting CDN information for distributing the content to the source CDN.
PCT/CN2010/071582 2009-04-30 2010-04-07 Content delivery method and device and content delivery network system WO2010124550A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910138527.XA CN101540775B (en) 2009-04-30 2009-04-30 Method and device for distributing contents and network system for distributing contents
CN200910138527.X 2009-04-30

Publications (1)

Publication Number Publication Date
WO2010124550A1 true WO2010124550A1 (en) 2010-11-04

Family

ID=41123761

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/071582 WO2010124550A1 (en) 2009-04-30 2010-04-07 Content delivery method and device and content delivery network system

Country Status (2)

Country Link
CN (1) CN101540775B (en)
WO (1) WO2010124550A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160323365A1 (en) * 2014-01-08 2016-11-03 Huawei Technologies Co., Ltd. Content delivery method, apparatus, and system
CN111131515A (en) * 2019-12-31 2020-05-08 武汉市烽视威科技有限公司 CDN edge injection distribution method and system

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540775B (en) * 2009-04-30 2012-05-23 华为技术有限公司 Method and device for distributing contents and network system for distributing contents
CN101795222B (en) * 2009-11-13 2012-05-23 深圳市科陆电子科技股份有限公司 Multi-stage forward service system and method
CN102065107A (en) * 2009-11-18 2011-05-18 中兴通讯股份有限公司 Peer-to-peer universal content delivery network and content caching method
EP2514166B1 (en) * 2009-12-18 2020-02-12 Orange Access to a network for distributing digital content
CN102118323B (en) * 2010-01-04 2016-01-20 中兴通讯股份有限公司 Content delivery network service device and content download method
CN102118376B (en) * 2010-01-06 2016-03-02 中兴通讯股份有限公司 Content delivery network service device and content download method
CN102143199A (en) * 2010-10-19 2011-08-03 华为技术有限公司 Content acquisition method, node and content network
CN102143212B (en) * 2010-12-31 2014-02-26 华为技术有限公司 Cache sharing method and device for content delivery network
CN102769819A (en) * 2011-05-03 2012-11-07 中国移动通信集团公司 Content distribution method in wireless communication system as well as corresponding system and server
CN103078880A (en) * 2011-10-25 2013-05-01 中国移动通信集团公司 Content information processing method, system and equipment based on multiple content delivery networks
EP2786262A4 (en) * 2011-12-01 2014-12-03 Huawei Tech Co Ltd Systems and methods for connection pooling for video streaming in content delivery networks
CN102497402B (en) * 2011-12-01 2014-11-26 深圳市同洲电子股份有限公司 Content injection method and system thereof, and content delivery method and system thereof
CN103188278B (en) * 2011-12-27 2017-02-15 中国电信股份有限公司 Method and system for content data distribution
CN103297337A (en) * 2012-02-23 2013-09-11 中兴通讯股份有限公司 Method and system for achieving content distribution network interconnection routing
CN102571614B (en) * 2012-03-12 2014-09-24 前卫视讯(北京)科技发展有限公司 Method and device for dynamically regulating routing of multistage-forwarding-based network video
CN103516607B (en) * 2012-06-25 2017-05-03 中兴通讯股份有限公司 CDN multi-path routing method and system
CN103516606B (en) * 2012-06-25 2017-08-11 中兴通讯股份有限公司 A kind of CDN route implementation methods and system
CN103874157B (en) * 2012-12-12 2017-07-07 华为技术有限公司 Routing forwarding, the method and its device of setting up routing table and acquisition content
CN103546559B (en) * 2013-10-24 2018-02-02 网宿科技股份有限公司 Data distributing method and device
CN105050133B (en) * 2015-07-31 2019-01-29 腾讯科技(深圳)有限公司 Detect the method and device of the network speed under Wi-Fi Hotspot
CN106487607A (en) * 2015-08-28 2017-03-08 中国电信股份有限公司 A kind of reorientation method based on cache server status and Redirectional system
CN109561355B (en) * 2017-09-27 2020-07-17 中国科学院声学研究所 System and method for CCN/NDN content registration, content location analysis and content routing
CN107948248A (en) * 2017-11-01 2018-04-20 平安科技(深圳)有限公司 Distributed storage method, control server and computer-readable recording medium
CN108200132B (en) * 2017-12-21 2021-06-04 中国平安人寿保险股份有限公司 Resource acquisition method, device, equipment and computer readable storage medium
CN108737532A (en) * 2018-05-11 2018-11-02 北京大米科技有限公司 A kind of resource acquiring method, client, computer equipment and readable medium
CN109089163B (en) * 2018-07-27 2021-05-28 武汉斗鱼网络科技有限公司 Bullet screen message distribution method, device, equipment and storage medium
CN109246224A (en) * 2018-09-25 2019-01-18 麒麟合盛网络技术股份有限公司 The containerization dispositions method and device of CDN system
CN109831335B (en) * 2019-02-25 2022-04-12 网宿科技股份有限公司 Data monitoring method, monitoring terminal, storage medium and data monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005369A (en) * 2006-01-19 2007-07-25 深圳市瑞福特信息技术有限公司 Distritive content sending net and distributive content sending and up transfering method
CN101026741A (en) * 2006-02-21 2007-08-29 上海贝尔阿尔卡特股份有限公司 VOD frequency treating method and device
CN101150421A (en) * 2006-09-22 2008-03-26 华为技术有限公司 A distributed content distribution method, edge server and content distribution network
CN101291425A (en) * 2008-06-17 2008-10-22 中兴通讯股份有限公司 Method and system realizing content dynamically publishing based on hotness of user's demand
CN101540775A (en) * 2009-04-30 2009-09-23 华为技术有限公司 Method and device for distributing contents and network system for distributing contents

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005369A (en) * 2006-01-19 2007-07-25 深圳市瑞福特信息技术有限公司 Distritive content sending net and distributive content sending and up transfering method
CN101026741A (en) * 2006-02-21 2007-08-29 上海贝尔阿尔卡特股份有限公司 VOD frequency treating method and device
CN101150421A (en) * 2006-09-22 2008-03-26 华为技术有限公司 A distributed content distribution method, edge server and content distribution network
CN101291425A (en) * 2008-06-17 2008-10-22 中兴通讯股份有限公司 Method and system realizing content dynamically publishing based on hotness of user's demand
CN101540775A (en) * 2009-04-30 2009-09-23 华为技术有限公司 Method and device for distributing contents and network system for distributing contents

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160323365A1 (en) * 2014-01-08 2016-11-03 Huawei Technologies Co., Ltd. Content delivery method, apparatus, and system
CN111131515A (en) * 2019-12-31 2020-05-08 武汉市烽视威科技有限公司 CDN edge injection distribution method and system
CN111131515B (en) * 2019-12-31 2022-07-15 武汉市烽视威科技有限公司 CDN edge injection distribution method and system

Also Published As

Publication number Publication date
CN101540775B (en) 2012-05-23
CN101540775A (en) 2009-09-23

Similar Documents

Publication Publication Date Title
WO2010124550A1 (en) Content delivery method and device and content delivery network system
EP3595268B1 (en) Streaming media resource distribution method, system, edge node and central dispatching system
US8612621B2 (en) Method for constructing network topology, and streaming delivery system
US7818402B1 (en) Method and system for expediting peer-to-peer content delivery with improved network utilization
CN101534204B (en) Streaming media information distribution system and method thereof and user end
US8918535B2 (en) Method and apparatus for carrier controlled dynamic rate adaptation and client playout rate reduction
US8756296B2 (en) Method, device and system for distributing file data
CN101959054B (en) Integrated P2P (Peer-To-Peer) VOD (Video-On-Demand) system and partner node selecting method
US9497035B2 (en) Method, device, and system for playing media based on P2P
WO2007039576A1 (en) A content distribution system and a user request redirection method thereof
WO2014059828A1 (en) Method and system for adjusting control policy
WO2008119267A1 (en) Media delivery system, apparatus and stream media playing method
KR101301004B1 (en) System and Method for Multimedia Streaming of Distributed Contents
WO2017125017A1 (en) Method for adjusting cache content, device, and system
JP6663082B2 (en) Data Streaming Support Control Based on Node Type
WO2009152754A1 (en) Method, system and device for providing contents based on peer to peer network
WO2017161757A1 (en) Method and system for distributing streaming media file
CN109450923A (en) A kind of Video transmission system and method
WO2012022216A1 (en) Content delivery network and method for content delivery
WO2018080726A1 (en) Systems and methods for adjusting a congestion window value of a content delivery network
WO2020135562A1 (en) Multicast method, device, apparatus, and computer storage medium
CN101854287B (en) Method and device for optimizing P2P traffic
WO2019100912A1 (en) Data distribution method and distribution server
US10348597B2 (en) Monitoring server, resolution server, request device, and node selection method
KR101469310B1 (en) Method and system for end-to-end QoS guaranteed content delivery on service overlay network

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

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

Country of ref document: EP

Kind code of ref document: A1