WO2012163055A1 - Method and related apparatus for transmitting media content - Google Patents

Method and related apparatus for transmitting media content Download PDF

Info

Publication number
WO2012163055A1
WO2012163055A1 PCT/CN2011/082398 CN2011082398W WO2012163055A1 WO 2012163055 A1 WO2012163055 A1 WO 2012163055A1 CN 2011082398 W CN2011082398 W CN 2011082398W WO 2012163055 A1 WO2012163055 A1 WO 2012163055A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
distribution network
domain name
content distribution
request
Prior art date
Application number
PCT/CN2011/082398
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 华为技术有限公司
Priority to PCT/CN2011/082398 priority Critical patent/WO2012163055A1/en
Priority to CN2011800026896A priority patent/CN103222312A/en
Publication of WO2012163055A1 publication Critical patent/WO2012163055A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method for transmitting media content and related devices.
  • CDN content delivery network
  • CDN service providers and telecom operators choose to deploy CDN systems in different regions according to their business development plans.
  • the coverage of CDN systems varies from manufacturer to manufacturer, and there may be overlaps in coverage areas.
  • the CDN system has not yet been standardized.
  • the CDN systems of various manufacturers are self-contained and operate independently of each other without cooperation.
  • the capabilities of the various CDN systems are not complementary.
  • CDN1 covers Beijing and Shanghai; CDN2 covers Xi'an and Shenzhen.
  • a content provider wants its content to be accessible to users in Beijing, Shanghai, Xi'an, and Shenzhen. No matter whether CDN1 or CDN2 can meet the requirements of the content provider separately.
  • the interoperability of the CDN system can realize the mutual capability between the CDN systems.
  • CDN1 selects the acceleration service of the media content provided by the CDN2 for the user terminal according to the local service policy, and the CDN1 returns the address of the Internet Protocol (IP) of the CDN2;
  • IP Internet Protocol
  • the above solution implements the interworking between the CDN systems, when the user terminal sends a content request to the CDN2, the content request often includes the play domain name of the content provider, and the play domain name relates to the content provider.
  • the information causes a commercial relationship leak between the CDN1 and the content provider, that is, the CDN1, which CDN1 often does not want to communicate with, obtains relevant information of the content provider by itself.
  • Embodiments of the present invention provide a method for transmitting media content and related devices for transmitting media content through interworking of a content distribution network, but not sharing content provider information.
  • the method for transmitting media content provided by the present invention includes: receiving, by a first content distribution network, a first content request sent by a user terminal, where the first content request carries a play domain name of a content provider; Playing the virtual domain name corresponding to the domain name; the first content distribution network returns a first content request response to the user terminal, the first content request response carrying the virtual domain name, and the first content request response is used for Instructing the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
  • the method for transmitting media content provided by the present invention includes: the user terminal sends a first content request to the first content distribution network, the first content request carries a play domain name of the content provider; and the user terminal receives the first content request response And requesting the media content provided by the content provider to the second content distribution network by using the virtual domain name carried in the first content request response.
  • the method for transmitting media content includes: configuring, by a first content distribution network, a virtual domain name for a play domain name of a content provider; the first content distribution network transmitting the virtual domain name to the content provider, so that The content provider replaces the play domain name with the virtual domain name, and causes the user terminal to send a content request to the second content distribution network according to the virtual domain name to obtain the media content.
  • the content distribution network includes: a first receiving unit, configured to receive a first content request sent by a user terminal, where the first content request carries a play domain name of a content provider; and a first acquiring unit, configured to acquire a virtual domain name corresponding to the play domain name in the first content request, a first returning unit, configured to return a first content request response to the user terminal, where the first content request response carries the virtual domain name,
  • the first content request response is used to instruct the user terminal to request the media content provided by the content provider to the intercommunicating content distribution network using the virtual domain name.
  • the user terminal includes: a first request sending unit, configured to send a first content request to a first content distribution network, where the first content request carries a play domain name of a content provider; and a response receiving unit, configured to Receiving a first content request response, the first content request response carrying a virtual domain name; and a content requesting unit, configured to request, by using the virtual domain name, the media content provided by the content provider to the second content distribution network.
  • the content distribution network includes: a configuration unit, configured to configure a virtual domain name for a play domain name of a content provider; a domain name sending unit, configured to send the virtual domain name to the content provider, so that the content provider Replacing the play domain name with the virtual domain name, and causing the user terminal to send a content request to the intercommunication content distribution network according to the virtual domain name to obtain the media content.
  • the embodiment of the present invention has the following advantages:
  • the first content distribution network after obtaining the first content request sent by the user terminal, the first content distribution network returns a first content request to the user terminal.
  • the playing of the domain name of the merchant realizes the transmission of the media content through the intercommunication of the content distribution network, but does not share the content provider information, thereby preventing the leakage of the commercial relationship between the first content distribution network and the content provider.
  • FIG. 1 is a schematic diagram of an embodiment of a method for transmitting media content according to the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention.
  • 7 is a schematic structural diagram of a content distribution network according to the present invention.
  • FIG. 8 is a schematic structural diagram of a user terminal according to the present invention.
  • FIG. 9 is a schematic structural diagram of a content distribution network according to the present invention.
  • Embodiments of the present invention provide a method for transmitting media content and related devices for transmitting media content through interworking of a content distribution network, but not sharing content provider information.
  • an embodiment of a method for transmitting media content of the present invention includes:
  • the first content distribution network receives a first content request sent by the user terminal.
  • the first content request may be acquired by a hypertext transfer protocol in an actual application (HTTP Get, The HyperText Transfer Protocol (Get) message is used to request the content content provided by the content provider from the first content distribution network;
  • the play domain name may be a domain name of the content provider, or a domain name specified by the content provider.
  • the content provider signs a service agreement with the first content distribution network, and the first content distribution network provides the content provider with an acceleration service of the media content; therefore, when the user terminal plays the domain name, the user terminal And querying, by the play domain name, an IP address for providing the content provider with the first content distribution network, and sending a first content request to the first content distribution network according to the IP address, where the IP of the first content distribution network
  • the address may be an IP address of a routing node in the first content distribution network (hereinafter referred to as a routing address of the first content distribution network), or may be an IP address of the serving node in the first content distribution network (hereinafter referred to as a first content distribution) Network service address).
  • the first content distribution network obtains a virtual domain name corresponding to the playing domain name.
  • the first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may also store the mapping relationship between the play domain name and the virtual domain name.
  • the first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may be: the first content distribution network locally configures the virtual domain name for the play domain name, and the first content distribution network directly saves the play domain name and Mapping the virtual domain name; or, the first content distribution network assigns a domain name identifier to the play domain name, and then sends the domain name identifier to the second content distribution network, where the second content distribution network configures the virtual domain name for the domain name identifier, and Return the virtual domain name to The first content distribution network, and the first content distribution network stores the playback domain name and the domain name identifier, and the mapping relationship between the domain name identifier and the virtual domain name, and the mapping relationship between the play domain name and the virtual domain name can be obtained according to the two sets of mapping relationships.
  • the first content distribution network returns a first content request response to the user terminal.
  • the first content distribution network returns a first content request response to the user terminal, the first content request response being used to instruct the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
  • the user terminal after receiving the first content request response, the user terminal replaces the original play domain name with the virtual domain name carried in the first content request response, and sends the second domain distribution network to the second content distribution network by using the virtual domain name.
  • the content request message requests media content provided by the content provider.
  • the first content request response may be a redirect message, and may be another message having a domain name replacement function.
  • the message type of the first content request response may be determined according to actual conditions, and is not limited herein.
  • the first content distribution network after obtaining the first content request sent by the user terminal, the first content distribution network returns a first content request response to the user terminal, indicating that the user terminal replaces the play domain name of the content provider by using the virtual domain name. And requesting, by the virtual domain name, the media content provided by the content provider to the second content distribution network; thereby hiding the play domain name of the content provider from the second content distribution network, preventing the first content distribution network and the content provider The leak of business relationships between.
  • a domain name service (DNS, Domain Name Service) request initiated by a user terminal may be processed by the first content distribution network, or may be processed by a DNS proxy.
  • DNS Domain Name Service
  • FIG. 2 another embodiment of the method for transmitting media content of the present invention includes:
  • the first content distribution network receives the first domain name service request sent by the user terminal.
  • the user terminal obtains the media content after clicking the corresponding media content on the content provider's portal website.
  • the playing domain name corresponding to the content the user terminal further queries the IP address of the first content distribution network serving the content provider by using the playing domain name, and the user terminal needs to determine by using a DNS query in order to query the IP address of the first content distribution network.
  • the first content distribution network receives the first DNS request sent by the user terminal, where the first DNS request carries the play domain name of the content provider, and the first DNS request is used to query the corresponding IP address of the play domain name.
  • the user terminal clicks the corresponding media content on the content provider's portal website, and the play domain name corresponding to the media content is obtained, and the user terminal sends the first DNS request according to the play domain name query. Query the IP address corresponding to the play domain name.
  • the first content distribution network determines whether the playing domain name needs to be hidden.
  • the first content distribution network determines whether the play domain name needs to be hidden. If yes, step 203 is performed to return the IP address of the first content distribution network to the user terminal, so as to prevent the user terminal from directly using the play domain name to distribute to the second content.
  • the network requests the media content corresponding to the play domain name; if not, step 210 is performed to directly return the IP address of the second content distribution network to the user terminal.
  • the first content distribution network does not necessarily need to hide the play domain name for all content providers. Therefore, the first content distribution network may determine whether the play domain name needs to be hidden according to preset conditions. For example, the first content distribution network may determine whether the content distribution network needs to be intercommunicated according to a preset policy (such as the coverage capability or load condition of the first content distribution network). If not, the domain name hiding is not necessary. If necessary, it is determined whether the commercial relationship between the content provider corresponding to the play domain name and the first content distribution network is confidential (specifically, a list of content providers that need to be kept secret may be preset in the first content distribution network), If not required, it is not necessary to hide the playing domain name, and if necessary, trigger the process of hiding the playing domain name.
  • a preset policy such as the coverage capability or load condition of the first content distribution network.
  • the first content distribution network returns a service address or a routing address to the user terminal.
  • the first content distribution network When it is confirmed that the play domain name needs to be hidden, the first content distribution network returns a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal sends the service address or routing address according to the service address or routing address of the first content distribution network.
  • a content request When it is confirmed that the play domain name needs to be hidden, the first content distribution network returns a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal sends the service address or routing address according to the service address or routing address of the first content distribution network.
  • a content request A content request.
  • the service address or routing address returned in step 203 is an IP address.
  • the first content distribution network may return a service address or a routing address (the routing node has a redirection function), and the service address is actually returned.
  • the routing address may be determined according to the requirements of the first content distribution network or the user terminal, and is not limited herein.
  • the first content distribution network receives a first content request sent by the user terminal.
  • the user terminal after the user terminal receives the service address of the first content distribution network or the routing address of the first content distribution network returned by the first content distribution network, if the user terminal receives the service address, the user terminal directly according to the The service address sends a first content request to the corresponding service node in the first content distribution network; if the user terminal receives the routing address, the corresponding routing node in the first content distribution network receives the first content request, first The content distribution network returns a redirect message to the terminal (the redirect message carries the service address of the first content distribution network), so that the user terminal sends the first content request to the service address carried in the redirect message again.
  • the first content distribution network obtains a virtual domain name corresponding to the playing domain name.
  • the first content distribution network acquires a virtual domain name corresponding to the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
  • the first content distribution network may configure a corresponding virtual domain name for the play domain name.
  • the configured virtual domain name may include The information about the content distribution network, or the identifier information that is allocated by the first content distribution network to the corresponding content provider, the related information of the first content distribution network may include: the identifier of the first content distribution network (specifically, the first The name of the content distribution network), or the identifier assigned by the first content distribution network to the content provider's play domain name; for example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234 .cdn.akamai.com, where "1234" can be the identification information assigned to the content provider by the first content distribution network.
  • the specific format of the virtual domain name can be determined by akamai itself.
  • the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider.
  • the number of a play domain name (for example, the content provider and the first content distribution network have signed up for multiple accelerated domain names).
  • the second content distribution network may also be configured with the virtual domain name for the domain name identifier.
  • the first content distribution network allocates the domain name identifier for the play domain name, and then sends the domain name identifier to the second content distribution network.
  • Configuring a virtual domain name for the domain name identifier by the second content distribution network, and returning the virtual domain name to the first content distribution network, and the first content distribution network stores the play domain name and the domain name identifier, and the domain name identifier and the virtual domain name Mapping relationship, according to the two sets of mapping relationships Play the mapping relationship between the domain name and the virtual domain name.
  • step 205 and the steps 203 and 204 have no strict order relationship, that is, the virtual domain name corresponding to the play domain name of the content provider may be obtained first, and then returned to the service address or routing address of the first content distribution network, or The first content request sent by the user terminal is received, and the execution order of step 205 is not specifically limited herein.
  • the first content distribution network returns a first content request response to the user terminal.
  • the first content distribution network returns a first content request response to the user terminal, the first content request response being used to instruct the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
  • the first content distribution network receives a second DNS request sent by the user terminal.
  • the first content distribution network receives the second DNS request sent by the user terminal, where the second DNS request is used to query the IP address corresponding to the virtual domain name. Specifically, the first content distribution network indicates that the user terminal is in the second content. When the distribution network requests the media content, the play domain name is hidden. Therefore, the IP address corresponding to the virtual domain name acquires the IP address of the media content.
  • the user terminal After receiving the first content request response, the user terminal should use the virtual domain name to request the media content provided by the content provider from the second content distribution network, but the user terminal cannot directly find the second content according to the virtual domain name.
  • the distribution network therefore, needs to send a second DNS request to the first content distribution network.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network according to the second DNS request.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network according to the second DNS request. Specifically, when the first content distribution network determines that the second content distribution network needs to provide services for the content provider, the first content distribution network selects according to a preset policy (eg, coverage capability or load condition of the content distribution network). The second content distribution network provides a service for the user terminal, so the mapping relationship between the play domain name and the second content distribution network is established, and the step 205 further stores the mapping relationship between the play domain name and the virtual domain name.
  • the virtual domain name has an indirect mapping relationship with the second content distribution network.
  • the first content distribution network acquires the service of the second content distribution network according to the virtual domain name in the second DNS request. Address or routing address.
  • the first content distribution network may send an address request message to the second content distribution network (in the actual application, the address request message may be a DNS message), where the address request message may carry the virtual domain name; After receiving the address request message, the content distribution network returns a service address or a routing address of the second content distribution network to the first content distribution network.
  • the address request message may be a DNS message
  • the content distribution network After receiving the address request message, the content distribution network returns a service address or a routing address of the second content distribution network to the first content distribution network.
  • the virtual domain name carried by the first content request may be extracted, so as to be confirmed by the virtual domain name when the second content request sent by the user terminal is subsequently received. Whether an acceleration service for media content needs to be provided for the user terminal.
  • the second content distribution network may also negotiate the service identifier when signing the contract with the first content distribution network.
  • the service identifier may be carried in the virtual domain name, so that the user is subsequently received.
  • the second content request is sent by the terminal, the virtual domain name carried in the second content request may be identified.
  • the first content distribution network may separately distribute the network to the second content after completing the configuration of the virtual domain name.
  • the virtual domain name is sent, so that when the second content request sent by the user terminal is received subsequently, it is confirmed by the virtual domain name whether the acceleration service of the media content needs to be provided for the user terminal. (In the embodiment of the present invention, if the virtual domain name is configured by the second content distribution network, the optional steps described in this paragraph need not be performed.)
  • the first content distribution network sends a service address or a routing address of the second content distribution network to the user terminal.
  • the first content distribution network sends a service address or a routing address of the second content distribution network to the user terminal, so that the user terminal can send a second content request to the service address or the routing address of the second content distribution network to obtain the content provider.
  • Media content the process ends.
  • the second DNS request is sent to the second content distribution network, that is, the process of returning the IP address corresponding to the virtual domain name (steps 207 to 209) ) is processed by the second content distribution network.
  • the user terminal After the user terminal acquires the service address or routing address of the second content distribution network, the user terminal can request the media content from the second content distribution network.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network.
  • the first content distribution network determines that the play domain name does not need to be hidden, the first content distribution network according to the preset policy. (eg, coverage capability or load situation of the content distribution network)
  • the second content distribution network is selected to provide services for the user terminal.
  • the first content distribution network may send an address request message to the second content distribution network, and the second content distribution network returns a service address or a routing address of the second content distribution network to the first content distribution network, where the service address or routing address All are IP addresses (since the first content distribution network needs to return a response to the DNS request to the user terminal).
  • the first content distribution network returns a service address or a routing address of the second content distribution network to the user terminal.
  • the first content distribution network returns a response message of the DNS request to the user terminal, where the response message of the DNS request carries the service address or routing address of the second content distribution network obtained in step 210 above, so that the user terminal can
  • the service address or routing address of the second content distribution network sends a second content request to obtain media content provided by the content provider.
  • the address returned by each network element may be a service address or a routing address according to the requirements of each network element. If the service address is used, the service node corresponding to the service address may directly receive the received message. If the routing address is used, the routing node corresponding to the routing address returns a redirect message to the sending NE of the message (the redirecting message carries the service address), so that the sending NE of the message carries the redirect message. The service address is sent again by the service address; for details, refer to the description of step 204, and the steps are described here.
  • the service address and the routing address may be expressed as a domain name or an IP address, and the domain name or the IP address may be determined according to the requirements of the returned message, and is not limited herein.
  • the embodiment of the present invention adds a judgment mechanism of "whether domain name hiding is required", so that when the media content is transmitted, the first content distribution network only performs the step of hiding the domain name for the content provider that needs to hide the domain name, thereby saving Unnecessary overhead.
  • FIG. 3 another embodiment of the method for transmitting media content of the present invention includes:
  • the first content distribution network receives a first content request sent by a user terminal.
  • the first content distribution network receives a first content request sent by the user terminal, and the first content request carries a play domain name of the content provider.
  • the DNS request initiated by the user terminal is processed by the DNS proxy, and the DNS proxy process returns the routing address of the first content distribution network to the user terminal, and the user terminal according to the The routing address initiates a first content request to the first content distribution network.
  • the first content distribution network determines whether the playing domain name needs to be hidden.
  • the first content distribution network determines whether the play domain name needs to be hidden. If yes, step 303 is performed, and if no, step 308 is performed.
  • the first content distribution network does not necessarily need to hide the play domain name for all content providers. Therefore, the first content distribution network may determine whether the play domain name needs to be hidden according to preset conditions. For example, the first content distribution network may determine whether the content distribution network needs to be intercommunicated according to a preset policy (such as the coverage capability or load condition of the first content distribution network). If not, the domain name hiding is not necessary. If necessary, it is determined whether the commercial relationship between the content provider corresponding to the play domain name and the first content distribution network is confidential (specifically, a list of content providers that need to be kept secret may be preset in the first content distribution network), If not required, it is not necessary to hide the playing domain name, and if necessary, trigger the process of hiding the playing domain name.
  • a preset policy such as the coverage capability or load condition of the first content distribution network.
  • the first content distribution network obtains a virtual domain name corresponding to the playing domain name.
  • the first content distribution network determines whether the play domain name needs to be hidden, the first content distribution network acquires the virtual domain name corresponding to the play domain name of the content provider, and stores the mapping relationship between the play domain name and the virtual domain name.
  • the first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may be: the first content distribution network locally configures the virtual domain name for the play domain name, and the first content distribution network directly saves the play domain name and Mapping the virtual domain name; or, the first content distribution network assigns a domain name identifier to the play domain name, and then sends the domain name identifier to the second content distribution network, where the second content distribution network configures the virtual domain name for the domain name identifier, and The virtual domain name is returned to the first content distribution network, and the first content distribution network stores the playback domain name and the domain name identifier, and the mapping relationship between the domain name identifier and the virtual domain name. According to the two sets of mapping relationships, the domain name and the virtual domain name can be obtained. The mapping relationship of domain names.
  • the first content distribution network replaces the play domain name in the first content request by using the virtual domain name.
  • the first content distribution network replaces the play domain name in the first content request by using the obtained virtual domain name.
  • the first content distribution network may delete the play domain name in the first content request, and replace it by using the obtained virtual domain name; and the first content distribution network may also modify the requested content, for example, Add information such as the IP address of the user terminal.
  • the first content distribution network sends a first content request after the domain name replacement is played to the second content distribution network.
  • the first content distribution network sends a first content request after the domain name replacement is played to the second content distribution network, so that the second content distribution network returns the service address returned by the second content distribution network.
  • the first content distribution network determines that the second content distribution network needs to provide services for the content provider
  • the first content distribution network selects according to a preset policy (eg, coverage capability or load condition of the content distribution network).
  • the second content distribution network provides a service for the user terminal, so that the mapping relationship between the play domain name and the second content distribution network is established, and the step 303 further stores the mapping relationship between the play domain name and the virtual domain name.
  • the virtual domain name has an indirect mapping relationship with the second content distribution network, and the first content distribution network may find the second content distribution network corresponding to the virtual domain name according to the indirect mapping relationship.
  • the first content distribution network acts as a proxy for the service address query by the user terminal, and directly corrects the content of the first content request after receiving the first content request (replaces the original play with the virtual domain name) Domain name), and then forwarding the first content request after the domain name replacement to the second content distribution network, so that the second content distribution network directly returns the service address returned by the second content distribution network, thereby preventing the user terminal from querying the service address of the virtual domain name. , saving the overhead between networks.
  • the virtual domain name carried by the first content request may be extracted, so as to confirm whether the virtual domain name needs to be confirmed by the virtual domain name when the second content request sent by the user terminal is subsequently received.
  • the user terminal provides an accelerated service of media content.
  • the first content distribution network receives a service address returned by the second content distribution network.
  • the first content distribution network receives a service address of the second content distribution network returned by the second content distribution network.
  • the first content distribution network returns a first content request response to the user terminal.
  • the first content distribution network returns a first content request response to the user terminal, and the process ends; the first content request response message carries the service address of the second content distribution network, so that the user terminal provides the service to the second content distribution network.
  • the address sends a second content request to obtain media content provided by the content provider.
  • the first content distribution network acquires a service address of the second content distribution network.
  • the first content distribution network selects the second content distribution network according to a preset policy (eg, coverage capability or load condition of the content distribution network).
  • the user terminal provides the service.
  • the first content distribution network may send an address request message to the second content distribution network, and the second content distribution network returns a service address of the second content distribution network to the first content distribution network, where the service address is an IP address (due to the first A content distribution network needs to return a response to the DNS request to the user terminal).
  • the first content distribution network returns a service address of the second content distribution network to the user terminal.
  • the first content distribution network returns a response message of the DNS request to the user terminal, where the response message of the DNS request carries the service address of the two content distribution network acquired in the above step 308, so that the user terminal uses the play domain name to the second content.
  • the service address of the distribution network sends a second content request for requesting the media content to the second content distribution network.
  • the second content distribution network may have an interoperable relationship with the third content distribution network. Therefore, after receiving the content request sent by the user terminal, the second content distribution network may also entrust the third content distribution network to The user terminal provides the acceleration service of the media content.
  • the interaction process between the second content distribution network and the third content distribution network reference may be made to the foregoing embodiment in which the first content distribution network interacts with the second content distribution network, and details are not described herein.
  • the media content of the media content transmission method of the present invention includes:
  • the first content distribution network receives a third content request sent by the second content distribution network.
  • the first content distribution network receives a third content request sent by the second content distribution network, where the third content request is used for
  • a content distribution network requests the media content provided by the content provider, and the virtual content domain corresponding to the media content carried in the third content request.
  • the embodiment of the present invention may occur after the foregoing any one of the embodiments of FIG. 1 to FIG. 3, when the second content distribution network receives the second content request sent by the user terminal, according to the virtual content carried in the second content request.
  • the domain name does not find the corresponding media content (the buffer may not be cached)
  • the second content distribution network sends a third content request to the first content distribution network.
  • the foregoing third content request may be sent to a service address of the first content distribution network, or may be sent to a routing address of the first content distribution network; if sent to a service address of the first content distribution network Step 402 may be directly triggered; if it is sent to the routing address of the first content distribution network, the first content distribution network returns the service address of the first content distribution network to the second content distribution network (ie, initiates a redirect message) And causing the second content distribution network to resend the third content request to the service address of the first content distribution network.
  • the first content distribution network determines whether the corresponding media content exists locally.
  • the first content distribution network determines whether the media content requested by the third content request exists locally, and if yes, step 403 is performed; if not, step 404 is performed.
  • the first content distribution network returns corresponding media content to the second content distribution network. After determining that the media content requested by the third content request is locally stored, the first content distribution network may distribute the second content by using a 200 OK message. The network returns the corresponding media content.
  • the first content distribution network searches for a uniform resource locator of the content provider according to the virtual domain name. After determining that the media content requested by the third content request is not stored locally, the first content distribution network is configured according to the third content request. Carrying the virtual domain name to find a content resource Provider (URL, Universal Resource Locator), and requesting corresponding media content from the content provider according to the URL, and receiving the media content returned by the content provider Thereafter, the media content is returned to the second content distribution network.
  • a content resource Provider URL, Universal Resource Locator
  • the play domain name can find the corresponding content provider by using the play domain name, and thus, the first content distribution network can also search for the content provider. URL.
  • the method is described. The following describes the method for transmitting the media content in the embodiment of the present invention from the perspective of the user terminal. Referring to FIG. 5, another embodiment of the method for transmitting media content in the embodiment of the present invention includes:
  • the user terminal sends a first domain name service request.
  • the user terminal sends a first DNS request for querying an IP address corresponding to the play domain name, and the first DNS request carries the play domain name of the content provider.
  • the user terminal clicks on the corresponding media content on the content provider's portal website, and the play domain name corresponding to the media content is obtained, and the user terminal further queries the content provider by using the play domain name query.
  • the IP address of the content distribution network the user terminal needs to query the IP address of the content distribution network through DNS query.
  • the user terminal receives a service address or a routing address of the first content distribution network.
  • the user terminal receives a service address or a routing address of the first content distribution network returned by the first content distribution network or the DNS proxy.
  • the first content distribution network or the DNS proxy determines whether the playback domain name needs to be hidden. If yes, the service address or the routing address of the first content distribution network is returned to the user terminal, and the user terminal is prevented from directly using the play domain name.
  • the content distribution network requests the media content corresponding to the play domain name.
  • the DNS request sent by the user terminal may be returned by the first content distribution network (that is, the service address or the routing address of the first content distribution network is returned), and the response may be returned by the DNS proxy, which is not limited herein.
  • the service address and the routing address may be expressed as a domain name or an IP address.
  • the returned service address or routing address is an IP address.
  • the user terminal sends a first content request to the first content distribution network.
  • the user terminal sends a first content request to the first content distribution network according to the received service address or routing address, and the first content request carries the play domain name of the content provider.
  • the user terminal receives a first content request response.
  • the user terminal receives the first content request response, where the first content request response carries the virtual domain name corresponding to the play domain name; after the user terminal obtains the virtual domain name, the virtual domain name may be used to replace the corresponding play domain name, and then the domain name is used.
  • the virtual domain name requests the media content provided by the content provider to the second content distribution network.
  • the first content request response may be sent by the second content distribution network, and if the virtual domain name is configured by the first content distribution network, The first content request response is sent by the first content distribution network.
  • the user terminal sends a second DNS request according to the virtual domain name.
  • the user terminal sends a second DNS request according to the virtual domain name, where the second DNS request is used to query an IP address corresponding to the virtual domain name.
  • the first content distribution network indicates that the user terminal hides the play domain name when requesting the media content from the second content distribution network, so that the IP address corresponding to the virtual domain name acquires the The IP address of the media content.
  • the user terminal After receiving the first content request response, the user terminal should use the virtual domain name to request the media content provided by the content provider from the second content distribution network, but the user terminal cannot directly find the second content according to the virtual domain name.
  • the distribution network therefore, needs to send a second DNS request to the first content distribution network.
  • the user terminal may send a second DNS request to the second content distribution network; if the virtual domain name is configured by the first content distribution network, the user The terminal may send a second DNS request to the first content distribution network.
  • the user terminal receives a service address or a routing address of the returned second content distribution network.
  • the user terminal receives a service address or a routing address of the second content distribution network returned by the first content distribution network or the second content distribution network.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network from the second content distribution network, and obtains the second The service address or routing address of the content distribution network is returned to the user terminal; if the second content distribution network receives the second DNS request, the service address or routing address of the second content distribution network may be directly returned to the user terminal.
  • the user terminal sends a second content request to a service address or a routing address of the second content distribution network according to the virtual domain name.
  • the user terminal sends a second content request to the service address or the routing address of the second content distribution network according to the virtual domain name, so that the second content distribution network returns the media content required by the user terminal.
  • Another embodiment of the method for transmitting media content of the present invention includes:
  • the first content distribution network configures a virtual domain name for the play domain name of the content provider.
  • the first content distribution network configures a virtual domain name for the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
  • the configured virtual domain name may include related information of the first content distribution network, or the first content distribution network provides corresponding content.
  • the first content distribution network is the operator akamai
  • the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234,” may be the first content.
  • the distribution network assigns identification information to the content provider.
  • the specific format of the virtual domain name can be determined by akamai itself.
  • the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the number of a playlist for the content provider (eg, the content provider has signed up for multiple accelerated domain names with the first content distribution network).
  • the first content distribution network sends a virtual domain name to the content provider.
  • the first content distribution network sends the virtual domain name corresponding to the corresponding play domain name to the content provider, so that the content provider replaces the play domain name with the virtual domain name, and causes the user terminal to use the virtual domain name provided by the content provider.
  • the second content distribution network sends a content request.
  • the content provider modifies the domain name linked by each media content on the content provider's portal website (ie, replaces the corresponding play domain name by using the virtual domain name), so that the user clicks
  • the virtual domain name corresponding to the media content is obtained, and the user terminal sends a content request to the second content distribution network according to the virtual domain name, and requests the corresponding media content.
  • the first content distribution network sends configuration information of the content provider to the second content distribution network.
  • the first content distribution network sends configuration information of the content provider to the second content distribution network, so that the second content distribution network may be configured according to the The configuration information operates on the content request.
  • the second content distribution network when receiving the content request initiated by the user terminal, the second content distribution network needs to confirm whether the media content requested by the content request is an accelerated media content required by the first content distribution network (due to the first content)
  • the distribution network has a contractual relationship with the second content distribution network, and only the media content specified by the first content distribution network is confirmed to provide the service, and then the content request is corresponding.
  • the foregoing configuration information may be a virtual domain name, or identifier information allocated by the first content distribution network for the content provider (the identifier information corresponds to the virtual domain name), or
  • the control information configured by the virtual domain name or the identification information; the control message may include: an area and/or time range information that is allowed to be distributed, and a distribution protocol that is allowed to be adopted.
  • the first content distribution network receives a DNS request sent by the user terminal.
  • the first content distribution network receives a DNS request sent by the user terminal, and the DNS request is used to query an IP address corresponding to the virtual domain name.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network according to the DNS request.
  • the first content distribution network acquires a service address or a routing address of the second content distribution network according to the above DNS request.
  • the first content distribution network may send an address request message to the second content distribution network, where the address request message may carry the virtual domain name; after receiving the address request message, the second content distribution network may first The content distribution network returns a service address or routing address of the second content distribution network.
  • the first content distribution network sends the service address or the routing address to the user terminal.
  • the first content distribution network sends the service address or the routing address of the second content distribution network to the user terminal, so that the user terminal uses the virtual domain name to the second content.
  • the service address or routing address of the distribution network sends a second content request for requesting the media content to the second content distribution network.
  • An embodiment of the content distribution network in the embodiment of the present invention includes:
  • the first receiving unit 701 is configured to receive a first content request sent by the user terminal, where the first content request carries a play domain name of the content provider;
  • the first obtaining unit 702 is configured to acquire a virtual domain name corresponding to the play domain name in the first content request.
  • a first returning unit 703 configured to return a first content request response to the user terminal, where the first content request response carries the virtual domain name, and the first content request response is used to indicate that the user terminal uses the The virtual domain name is requested by the content provider to the intercommunication content distribution network Media content.
  • the second obtaining unit 704 is configured to obtain a first domain name service DNS request sent by the user terminal, where the first DNS request carries a play domain name of the content provider;
  • the first determining unit 705 is configured to determine whether the play domain name needs to be hidden, and if yes, return a local service address or a routing address to the user terminal, so that the user terminal sends the local service address or routing address to the local service address or routing address.
  • the first content request is described.
  • the second receiving unit 706 is configured to receive a second DNS request sent by the user terminal, where the second DNS request carries a service address or a routing address of the virtual domain name;
  • a first sending unit 708, configured to send, to the user terminal, a service address or a routing address of the interworking content distribution network, so that the user terminal uses the virtual domain name to distribute the service address of the network to the intercommunicated content or The routing address requests the media content provided by the content provider.
  • a replacement unit 709 configured to replace, by using the virtual domain name, a play domain name in the first content request
  • a second sending unit 710 configured to send, to the intercommunicating content distribution network, a first content request after playing the domain name replacement
  • the second returning unit 711 is configured to receive a service address or a routing address of the intercommunicating content distribution network returned by the intercommunicating content distribution network.
  • the third receiving unit 712 is configured to receive, by the interworking content distribution network, a third content request that carries the virtual domain name, where the third content request is used to locally request the media content provided by the content provider;
  • a second determining unit 713 configured to: if the third content request is sent to the local service address, determine whether the media content exists locally, and if yes, return the content to the intercommunicating content distribution network Media content; if not, searching for a uniform resource locator URL of the content provider according to the virtual domain name, and requesting the media content from the content provider according to the URL, and receiving the content sent by the content provider After the media content, the media content is returned to the intercommunicating content distribution network.
  • the content distribution network that is contracted with the content provider is the first content distribution network
  • the content distribution network that communicates with the first content distribution network is the second content distribution network.
  • the second obtaining unit 704 of the first content distribution network acquires the first DNS request sent by the user terminal, where the first DNS request carries the content provider The playing domain name, the first DNS request is used to query the IP address corresponding to the playing domain name.
  • the first determining unit 705 determines whether the playing domain name needs to be hidden, and if yes, returns a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal sends the local service address to the local service address. Or the routing address sends the first content request; if not, operates according to the prior art process.
  • the first receiving unit 701 receives the first sent by the user terminal according to the service address of the first content distribution network or the routing address of the first content distribution network.
  • the content request, the first content request carries a play domain name of the content provider.
  • the first obtaining unit 702 After receiving the first content request, acquires a virtual domain name corresponding to the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
  • the first content distribution network may configure a corresponding virtual domain name for the play domain name.
  • the configured virtual domain name may include The related information of the first content distribution network, or the identifier information of the first content distribution network, and the related information of the first content distribution network may include: an identifier of the first content distribution network (specifically, The name of a content distribution network), or the identifier of the first content distribution network assigned to the content provider's play domain name; for example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234" can be the identification information assigned to the content provider by the first content distribution network.
  • the specific format of the virtual domain name can be determined by akamai itself.
  • the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider.
  • the number of a play domain name (for example, the content provider and the first content distribution network have signed up for multiple accelerated domain names).
  • the first content distribution network may first return, by the first returning unit 703, a first content request response to the user terminal, where the first content request response is used to indicate that the user terminal uses the virtual domain name to request the second content distribution network.
  • the media content provided by the content provider after receiving the first content request response, the user terminal requests the media content provided by the content provider to the second content distribution network by using the virtual domain name, but the user terminal cannot directly
  • the virtual domain name finds the second content distribution network, and therefore, the second DNS request needs to be sent to the first content distribution network;
  • the second receiving unit 706 receives the second DNS request sent by the user terminal, and is processed by the third obtaining unit 707 according to the foregoing
  • the second DNS request acquires the service address or the routing address of the second content distribution network, and finally the first sending unit 708 sends the service address or routing address of the second content distribution network to the user terminal, so that the user terminal can distribute the network to the second content distribution network.
  • Service address or routing address sends a second content request to obtain Take the media content provided by the content provider.
  • the first content distribution network may also replace the play domain name in the first content request by the replacing unit 709 using the obtained virtual domain name.
  • the replacing unit 709 may delete the play domain name in the first content request, and replace it by using the obtained virtual domain name; and the first content distribution network may further modify the request content, for example, increase the IP address of the user terminal, etc.;
  • the second sending unit 710 sends a first content request after the domain name replacement is played to the second content distribution network, so that the second content distribution network returns the service address returned by the second content distribution network; preferably, the second return unit 711 is directed to the user terminal.
  • the first content request response message carries a service address of the second content distribution network, so that the user terminal can send a second content request to a service address or a routing address of the second content distribution network, To get the media content provided by the content provider.
  • the user terminal After the user terminal acquires the service address of the second content distribution network, the user terminal sends a second content request to the service address of the second content distribution network, but in the actual application, the second content distribution network may not have a corresponding local content.
  • the media content therefore, the media content cannot be returned to the user terminal;
  • the third receiving unit 712 of the first content distribution network receives the third content request sent by the second content distribution network, and the third content request Requesting media content provided by the content provider to the first content distribution network.
  • the second determining unit 713 determines whether the media content exists locally, and if so, to the first Returning, by the second content distribution network, the media content; if not, searching within the virtual domain name And a uniform resource locator URL of the provider, and requesting the media content from the content provider according to the URL, and after receiving the media content sent by the content provider, distributing the content to the second content
  • the network returns the media content.
  • One embodiment of the user terminal in the embodiment of the present invention includes: a first request sending unit 801 And sending, to the first content distribution network, a first content request, where the first content request carries a play domain name of the content provider;
  • the response receiving unit 802 is configured to receive a first content request response, where the first content request response carries a virtual domain name;
  • the content requesting unit 803 is configured to request, by using the virtual domain name carried in the first content request response, the media content provided by the content provider to the second content distribution network.
  • the second request sending unit 804 is configured to send a first DNS request, where the first DNS request carries a play domain name of the content provider;
  • the address receiving unit 805 is configured to receive a service address or a routing address of the first content distribution network returned by the first content distribution network or the DNS proxy, so that the first request sending unit 801 is configured according to the first content distribution network.
  • the service address or routing address sends the first content request.
  • the content requesting unit 803 in the embodiment of the present invention includes:
  • An address obtaining submodule 8031 configured to acquire a service address or a routing address of the second content distribution network according to the virtual domain name
  • the content requesting sub-module 8032 is configured to request, according to the virtual domain name, the media content provided by the content provider to a service address or a routing address of the second content distribution network.
  • the first content request response received by the response receiving unit 802 further carries a service address or a routing address of the second content distribution network;
  • the content requesting unit 803 is specifically configured to request, by using a virtual domain name carried in the first content request response, the media content provided by the content provider to a service address or a routing address of the second content distribution network.
  • the user terminal clicks on the corresponding media content on the content provider's portal and gets it.
  • the second domain request sending unit 804 of the user terminal sends a first DNS request for querying the IP address corresponding to the playing domain name, and the first DNS request carries the playing domain name of the content provider.
  • the address receiving unit 805 receives the service address or routing address of the first content distribution network returned by the first content distribution network or the DNS proxy.
  • the DNS request sent by the user terminal may be returned by the first content distribution network (that is, the service address or the routing address of the first content distribution network is returned), and the response may be returned by the DNS proxy, which is not limited herein.
  • the first request sending unit 801 sends a first content request to the first content distribution network according to the received service address or routing address, the first content request carrying the play domain name of the content provider.
  • the response receiving unit 802 receives the first content request response, where the first content request response carries the virtual domain name corresponding to the play domain name.
  • the virtual domain name may be used to replace the corresponding play domain name, and then the virtual domain name is used to request the media content provided by the content provider to the second content distribution network.
  • the content requesting unit 803 requests the media content provided by the content provider to the second content distribution network using the virtual domain name carried in the first content request response.
  • the address obtaining submodule 8031 receives the returned service address or routing address of the second content distribution network; preferably, the content requesting submodule 8032 sends the service address of the second content distribution network according to the virtual domain name. Or routing address sends a second content request, causing the second content distribution network to return the media content.
  • FIG. 9 Another embodiment of the content distribution network in the embodiment of the present invention includes:
  • the configuration unit 901 is configured to configure a virtual domain name for the play domain name of the content provider.
  • the domain name sending unit 902 is configured to send the virtual domain name to the content provider, so that the content provider replaces the play domain name by using the virtual domain name, and causes the user terminal to distribute the content to the intercommunicated content according to the virtual domain name.
  • the network sends a content request to get the media content.
  • a request receiving unit 903 configured to receive a DNS request sent by the user terminal, where the DNS The request carries the virtual domain name provided by the content provider to the user terminal; and the sending unit 905 is configured to send a service address sending content request of the intercommunicating content distribution network to the user terminal.
  • the configuration unit 901 of the first content distribution network configures a virtual domain name for the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
  • the configured virtual domain name may include related information of the first content distribution network, or the first content distribution network provides corresponding content.
  • the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234" may be the first content distribution.
  • the specific format of the virtual domain name can be determined by akamai itself.
  • the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider.
  • the number of a play domain name is the operator akamai.
  • the domain name sending unit 902 sends the virtual domain name corresponding to the corresponding playing domain name to the content provider, so that the content provider replaces the playing domain name with the virtual domain name, and causes the user terminal to follow the virtual domain name provided by the content provider.
  • the content distribution network sends a content request. Specifically, after receiving the virtual domain name corresponding to the corresponding play domain name, the content provider modifies the domain name linked by each media content on the content provider's portal website (ie, replaces the corresponding play domain name by using the virtual domain name), so that the user clicks When the corresponding media content is obtained, the virtual domain name corresponding to the media content is obtained, and the user terminal sends a content request to the second content distribution network according to the virtual domain name, and requests the corresponding media content.
  • the second content distribution network when receiving the content request initiated by the user terminal, the second content distribution network needs to determine whether the media content requested by the content request is accelerated media content required by the first content distribution network (due to the first content)
  • the distribution network has a contractual relationship with the second content distribution network, and only the media content specified by the first content distribution network is confirmed to provide the service, and then the content request is corresponding.
  • the foregoing configuration information may be a virtual domain name, or a first content distribution network.
  • the identification information assigned to the content provider (the identification information corresponds to the virtual domain name), or the control information configured for the virtual domain name or the identification information; the control message may include: area and/or time range information that is allowed to be distributed , the distribution agreement allowed.
  • the request receiving unit 903 receives a DNS request sent by the user terminal, where the DNS request is used to query the corresponding virtual domain name. IP address.
  • the obtaining unit 904 acquires the service address or the routing address of the second content distribution network according to the foregoing DNS request.
  • the sending unit 905 sends the service address or the routing address of the second content distribution network to the user terminal, so that the user terminal can distribute the content to the second content.
  • the service address or routing address of the network sends a second content request to obtain the media content provided by the content provider.
  • the disclosed apparatus and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and related apparatus for transmitting media content. The method comprises: a first content distribution network receiving a first content request sent by a user terminal, the first content request carrying a play domain name of a content provider; the first content distribution network acquiring a virtual domain name corresponding to the play domain name; the first content distribution network returning a first content request response to the user terminal, the first content request response carrying the virtual domain name, and the first content request response being used to instruct the user terminal to use the virtual domain name to request the media content provided by the content provider from a second content distribution network.

Description

一种媒体内容的传输方法以及相关装置 技术领域  Method for transmitting media content and related device
本发明实施例涉及通信领域,尤其涉及一种媒体内容的传输方法以及相关 装置。  The embodiments of the present invention relate to the field of communications, and in particular, to a method for transmitting media content and related devices.
背景技术 Background technique
在旧有互联网的应用中, 内容提供商为了扩展自己的数据业务(如上网业 务, 视频业务等), 往往部署大量的服务器, 供用户访问。 随着业务访问的增 多, 这种大量部署服务器的模式暴露出一些问题: 首先, 这些服务器往往部署 在网络的较高位置(如骨干层, 汇聚层等), 以达到较大的覆盖范围, 但当海 量用户访问时,造成骨干层和汇聚层的带宽被大量的占用,对网络带宽造成很 大压力; 其次, 由于服务器位置于较高层次, 用户请求有较大时延, 造成用户 体验不理想。  In the old Internet applications, content providers often deploy a large number of servers for users to expand their own data services (such as Internet services, video services, etc.). With the increase in business access, this mode of deploying a large number of servers exposes some problems: First, these servers are often deployed at higher locations (such as backbone layers, aggregation layers, etc.) to achieve greater coverage, but When a large number of users access the network, the bandwidth of the backbone layer and the aggregation layer is occupied by a large amount of bandwidth, which causes great pressure on the network bandwidth. Secondly, because the server is at a higher level, the user request has a large delay, resulting in an unsatisfactory user experience. .
针对上述问题, 现有技术中出现了独立的内容分发网络(CDN, Content Delivery Network ) 系统。 CDN服务提供商通过在网络边缘部署大量边缘緩存 节点组成的 CDN系统, 就近为用户提供服务, 从而达到节省网络带宽, 提升 用户业务体验的目的。 同时, 电信运营商也开始自己部署 CDN系统, 一方面 为自己的业务加速, 同时可以提供给其他内容提供商使用。 CDN系统的出现, 使得内容提供商可以仅仅部署少量的源服务器, 就可以完成业务提供。 同时, 当用户数量的增长时, 内容提供商无需进行网络扩容, 而交由 CDN系统负责 处理业务流量。  In response to the above problems, an independent content delivery network (CDN) system has appeared in the prior art. By deploying a large number of edge-cache nodes on the edge of the network, the CDN service provider provides services to users in the near future, thereby saving network bandwidth and improving user service experience. At the same time, telecom operators have begun to deploy CDN systems themselves, on the one hand to accelerate their own business, and at the same time can be provided to other content providers. The emergence of the CDN system allows content providers to deploy a small number of source servers to complete service provisioning. At the same time, when the number of users grows, the content provider does not need to perform network expansion, and the CDN system handles the traffic.
CDN服务提供商、 电信运营商根据自己的业务发展规划, 选择在不同的 地区部署 CDN系统。 各厂家的 CDN系统之间覆盖范围不同, 同时可能存在 覆盖区域的重叠。 但目前 CDN系统还没有标准化, 各个厂家的 CDN系统自 成体系, 相互之间独立运作, 没有合作。 此时造成各个 CDN系统之间能力无 法互补。 比如, CDN1覆盖了北京、 上海; CDN2覆盖了西安、 深圳。 此时如 果某个内容提供商希望其内容在北京、 上海、 西安、 深圳四地的用户都可以访 问。 则无论 CDN1还是 CDN2都无法单独满足该内容提供商的要求。  CDN service providers and telecom operators choose to deploy CDN systems in different regions according to their business development plans. The coverage of CDN systems varies from manufacturer to manufacturer, and there may be overlaps in coverage areas. However, the CDN system has not yet been standardized. The CDN systems of various manufacturers are self-contained and operate independently of each other without cooperation. At this point, the capabilities of the various CDN systems are not complementary. For example, CDN1 covers Beijing and Shanghai; CDN2 covers Xi'an and Shenzhen. At this point, if a content provider wants its content to be accessible to users in Beijing, Shanghai, Xi'an, and Shenzhen. No matter whether CDN1 or CDN2 can meet the requirements of the content provider separately.
在现有技术中, 通过 CDN系统的互通可以实现 CDN系统之间的能力互 补, 覆盖能力的扩展, 以及 CDN系统流量增大时的负荷分担等功能; 例如, CDN1 为直接和内容提供商签约的主 CDN, CDN2 为与 CDN1 签约的互通 CDN;在用户终端向 CDN1请求内容提供商提供的媒体内容时, CDN1根据本 地的服务策略选择 CDN2为用户终端提供的所述媒体内容的加速服务, CDN1 就会返回 CDN2的英特网协议( IP, Internet Protocol )地址; 然后, 用户终端 就会根据该 IP地址直接向 CDN2请求所述媒体内容。 In the prior art, the interoperability of the CDN system can realize the mutual capability between the CDN systems. Complement, coverage capability extension, and load sharing when CDN system traffic increases; for example, CDN1 is the primary CDN directly contracted with the content provider, CDN2 is the interworking CDN contracted with CDN1; content is requested from the user terminal to CDN1 When the media content provided by the provider is selected, the CDN1 selects the acceleration service of the media content provided by the CDN2 for the user terminal according to the local service policy, and the CDN1 returns the address of the Internet Protocol (IP) of the CDN2; The terminal will directly request the media content from the CDN 2 according to the IP address.
上述方案虽然实现了 CDN系统之间的互通, 但是, 在用户终端向 CDN2 发送内容请求时, 该内容请求中往往包含有内容提供商的播放域名, 而该播放 域名会涉及到内容提供商的相关信息,造成 CDN1与内容提供商之间的商业关 系泄露, 即 CDN1往往不希望互通的 CDN2通过自身获得内容提供商的相关 信息。  Although the above solution implements the interworking between the CDN systems, when the user terminal sends a content request to the CDN2, the content request often includes the play domain name of the content provider, and the play domain name relates to the content provider. The information causes a commercial relationship leak between the CDN1 and the content provider, that is, the CDN1, which CDN1 often does not want to communicate with, obtains relevant information of the content provider by itself.
发明内容 Summary of the invention
本发明实施例提供了一种媒体内容的传输方法以及相关装置,用于通过内 容分发网络的互通进行媒体内容的传输, 但却不进行内容提供商信息的共享。  Embodiments of the present invention provide a method for transmitting media content and related devices for transmitting media content through interworking of a content distribution network, but not sharing content provider information.
本发明提供的媒体内容的传输方法, 包括: 第一内容分发网络接收用户终 端发送的第一内容请求, 所述第一内容请求携带有内容提供商的播放域名; 所 述第一内容分发网络获取所述播放域名对应的虚拟域名;所述第一内容分发网 络向所述用户终端返回第一内容请求响应,所述第一内容请求响应携带所述虚 拟域名,所述第一内容请求响应用于指示所述用户终端使用所述虚拟域名向第 二内容分发网络请求所述内容提供商提供的媒体内容。  The method for transmitting media content provided by the present invention includes: receiving, by a first content distribution network, a first content request sent by a user terminal, where the first content request carries a play domain name of a content provider; Playing the virtual domain name corresponding to the domain name; the first content distribution network returns a first content request response to the user terminal, the first content request response carrying the virtual domain name, and the first content request response is used for Instructing the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
本发明提供的媒体内容的传输方法, 包括: 用户终端向第一内容分发网络 发送第一内容请求, 所述第一内容请求携带内容提供商的播放域名; 所述用户 终端接收第一内容请求响应,并使用所述第一内容请求响应中携带的虚拟域名 向第二内容分发网络请求所述内容提供商提供的媒体内容。  The method for transmitting media content provided by the present invention includes: the user terminal sends a first content request to the first content distribution network, the first content request carries a play domain name of the content provider; and the user terminal receives the first content request response And requesting the media content provided by the content provider to the second content distribution network by using the virtual domain name carried in the first content request response.
本发明提供的媒体内容的传输方法, 包括: 第一内容分发网络为内容提供 商的播放域名配置虚拟域名;所述第一内容分发网络向所述内容提供商发送所 述虚拟域名,使得所述内容提供商使用所述虚拟域名替换所述播放域名, 并使 得用户终端根据所述虚拟域名向第二内容分发网络发送内容请求以获取媒体 内容。 本发明提供的内容分发网络, 包括: 第一接收单元, 用于接收用户终端发 送的第一内容请求, 所述第一内容请求携带有内容提供商的播放域名; 第一获 取单元, 用于获取所述第一内容请求中的播放域名对应的虚拟域名; 第一返回 单元, 用于向所述用户终端返回第一内容请求响应, 所述第一内容请求响应携 带有所述虚拟域名,所述第一内容请求响应用于指示所述用户终端使用所述虚 拟域名向互通的内容分发网络请求所述内容提供商提供的媒体内容。 The method for transmitting media content provided by the present invention includes: configuring, by a first content distribution network, a virtual domain name for a play domain name of a content provider; the first content distribution network transmitting the virtual domain name to the content provider, so that The content provider replaces the play domain name with the virtual domain name, and causes the user terminal to send a content request to the second content distribution network according to the virtual domain name to obtain the media content. The content distribution network provided by the present invention includes: a first receiving unit, configured to receive a first content request sent by a user terminal, where the first content request carries a play domain name of a content provider; and a first acquiring unit, configured to acquire a virtual domain name corresponding to the play domain name in the first content request, a first returning unit, configured to return a first content request response to the user terminal, where the first content request response carries the virtual domain name, The first content request response is used to instruct the user terminal to request the media content provided by the content provider to the intercommunicating content distribution network using the virtual domain name.
本发明提供的用户终端, 包括: 第一请求发送单元, 用于向第一内容分发 网络发送第一内容请求, 所述第一内容请求携带有内容提供商的播放域名; 响 应接收单元, 用于接收第一内容请求响应, 所述第一内容请求响应中携带虚拟 域名; 内容请求单元, 用于使用所述虚拟域名向第二内容分发网络请求所述内 容提供商提供的媒体内容。  The user terminal provided by the present invention includes: a first request sending unit, configured to send a first content request to a first content distribution network, where the first content request carries a play domain name of a content provider; and a response receiving unit, configured to Receiving a first content request response, the first content request response carrying a virtual domain name; and a content requesting unit, configured to request, by using the virtual domain name, the media content provided by the content provider to the second content distribution network.
本发明提供的内容分发网络, 包括: 配置单元, 用于为内容提供商的播放 域名配置虚拟域名;域名发送单元,用于向所述内容提供商发送所述虚拟域名, 使得所述内容提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根 据所述虚拟域名向互通的内容分发网络发送内容请求以获取媒体内容。  The content distribution network provided by the present invention includes: a configuration unit, configured to configure a virtual domain name for a play domain name of a content provider; a domain name sending unit, configured to send the virtual domain name to the content provider, so that the content provider Replacing the play domain name with the virtual domain name, and causing the user terminal to send a content request to the intercommunication content distribution network according to the virtual domain name to obtain the media content.
从以上技术方案可以看出, 本发明实施例具有以下优点: 在本发明实施例 中, 第一内容分发网络在获得用户终端发送的第一内容请求之后, 向所述用户 终端返回第一内容请求响应,指示该用户终端使用虚拟域名替换内容提供商的 播放域名,并使用该虚拟域名向第二内容分发网络请求所述内容提供商提供的 媒体内容; 从而向第二内容分发网络隐藏了内容提供商的播放域名, 实现了通 过内容分发网络的互通进行媒体内容的传输,但却不进行内容提供商信息的共 享, 防止了第一内容分发网络与内容提供商之间商业关系的泄露。  It can be seen from the above technical solution that the embodiment of the present invention has the following advantages: In the embodiment of the present invention, after obtaining the first content request sent by the user terminal, the first content distribution network returns a first content request to the user terminal. Responding to instruct the user terminal to replace the play domain name of the content provider with the virtual domain name, and use the virtual domain name to request the media content provided by the content provider to the second content distribution network; thereby hiding the content offer from the second content distribution network The playing of the domain name of the merchant realizes the transmission of the media content through the intercommunication of the content distribution network, but does not share the content provider information, thereby preventing the leakage of the commercial relationship between the first content distribution network and the content provider.
附图说明 DRAWINGS
图 1为本发明媒体内容的传输方法的一个实施例示意图;  1 is a schematic diagram of an embodiment of a method for transmitting media content according to the present invention;
图 2为本发明媒体内容的传输方法的另一个实施例示意图;  2 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention;
图 3为本发明媒体内容的传输方法的另一个实施例示意图;  3 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention;
图 4为本发明媒体内容的传输方法的另一个实施例示意图;  4 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention;
图 5为本发明媒体内容的传输方法的另一个实施例示意图;  FIG. 5 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention; FIG.
图 6为本发明媒体内容的传输方法的另一个实施例示意图; 图 7为本发明内容分发网络的一个结构示意图; 6 is a schematic diagram of another embodiment of a method for transmitting media content according to the present invention; 7 is a schematic structural diagram of a content distribution network according to the present invention;
图 8为本发明用户终端的一个结构示意图;  8 is a schematic structural diagram of a user terminal according to the present invention;
图 9为本发明内容分发网络的一个结构示意图。  FIG. 9 is a schematic structural diagram of a content distribution network according to the present invention.
具体实施方式 detailed description
本发明实施例提供了一种媒体内容的传输方法以及相关装置,用于通过内 容分发网络的互通进行媒体内容的传输, 但却不进行内容提供商信息的共享。  Embodiments of the present invention provide a method for transmitting media content and related devices for transmitting media content through interworking of a content distribution network, but not sharing content provider information.
请参阅图 1 , 本发明媒体内容的传输方法的一个实施例包括:  Referring to FIG. 1, an embodiment of a method for transmitting media content of the present invention includes:
101、 第一内容分发网络接收用户终端发送的第一内容请求;  101. The first content distribution network receives a first content request sent by the user terminal.
第一内容分发网络接收用户终端发送的第一内容请求,所述第一内容请求 携带有内容提供商的播放域名;该第一内容请求在实际应用中可以为超文本传 输协议获取 ( HTTP Get , HyperText Transfer Protocol Get)消息, 用于向第一内 容分发网络请求内容提供商提供的媒体内容;该播放域名可以为内容提供商的 域名, 或者内容提供商所指定的某个域名。  Receiving, by the first content distribution network, a first content request sent by the user terminal, where the first content request carries a play domain name of the content provider; the first content request may be acquired by a hypertext transfer protocol in an actual application (HTTP Get, The HyperText Transfer Protocol (Get) message is used to request the content content provided by the content provider from the first content distribution network; the play domain name may be a domain name of the content provider, or a domain name specified by the content provider.
在实际应用中, 内容提供商与第一内容分发网络签订了服务协议, 由第一 内容分发网络为该内容提供商提供媒体内容的加速服务; 因此, 当用户终端在 应的播放域名,用户终端再通过该播放域名查询到为该内容提供商提供服务第 一内容分发网络的 IP地址, 并根据该 IP地址向第一内容分发网络发送第一内 容请求, 其中, 该第一内容分发网络的 IP地址可以为第一内容分发网络内路 由节点的 IP地址(后续称为第一内容分发网络的路由地址), 也可以为第一内 容分发网络内服务节点的 IP地址(后续称为第一内容分发网络的服务地址)。  In an actual application, the content provider signs a service agreement with the first content distribution network, and the first content distribution network provides the content provider with an acceleration service of the media content; therefore, when the user terminal plays the domain name, the user terminal And querying, by the play domain name, an IP address for providing the content provider with the first content distribution network, and sending a first content request to the first content distribution network according to the IP address, where the IP of the first content distribution network The address may be an IP address of a routing node in the first content distribution network (hereinafter referred to as a routing address of the first content distribution network), or may be an IP address of the serving node in the first content distribution network (hereinafter referred to as a first content distribution) Network service address).
102、 第一内容分发网络获取播放域名对应的虚拟域名;  102. The first content distribution network obtains a virtual domain name corresponding to the playing domain name.
第一内容分发网络获取内容提供商的播放域名对应的虚拟域名,还可以存 储所述播放域名和所述虚拟域名的映射关系。  The first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may also store the mapping relationship between the play domain name and the virtual domain name.
在实际应用中,第一内容分发网络获取内容提供商的播放域名对应的虚拟 域名具体可以为: 由第一内容分发网络本地为该播放域名配置虚拟域名, 第一 内容分发网络直接保存播放域名与虚拟域名的映射关系; 或者, 由第一内容分 发网络为该播放域名分配域名标识, 再将该域名标识发送至第二内容分发网 络, 由第二内容分发网络为该域名标识配置虚拟域名, 并将该虚拟域名返回给 第一内容分发网络, 而第一内容分发网络则保存有播放域名与域名标识, 以及 域名标识与虚拟域名两组映射关系,根据这两组映射关系可以得到播放域名和 虚拟域名的映射关系。 In a practical application, the first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may be: the first content distribution network locally configures the virtual domain name for the play domain name, and the first content distribution network directly saves the play domain name and Mapping the virtual domain name; or, the first content distribution network assigns a domain name identifier to the play domain name, and then sends the domain name identifier to the second content distribution network, where the second content distribution network configures the virtual domain name for the domain name identifier, and Return the virtual domain name to The first content distribution network, and the first content distribution network stores the playback domain name and the domain name identifier, and the mapping relationship between the domain name identifier and the virtual domain name, and the mapping relationship between the play domain name and the virtual domain name can be obtained according to the two sets of mapping relationships.
103、 第一内容分发网络向用户终端返回第一内容请求响应。  103. The first content distribution network returns a first content request response to the user terminal.
第一内容分发网络向用户终端返回第一内容请求响应,所述第一内容请求 响应用于指示用户终端使用上述虚拟域名向第二内容分发网络请求内容提供 商提供的媒体内容。  The first content distribution network returns a first content request response to the user terminal, the first content request response being used to instruct the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
在实际应用中, 用户终端在收到上述第一内容请求响应之后,使用第一内 容请求响应中携带的虚拟域名替换原有的播放域名,并使用该虚拟域名向第二 内容分发网络发送第二内容请求消息请求内容提供商提供的媒体内容。上述第 一内容请求响应具体可以为重定向消息,还可以为其它具有域名替换功能的消 息, 第一内容请求响应具体实现的消息类型可以根据实际情况而定, 此处不作 限定。  In an actual application, after receiving the first content request response, the user terminal replaces the original play domain name with the virtual domain name carried in the first content request response, and sends the second domain distribution network to the second content distribution network by using the virtual domain name. The content request message requests media content provided by the content provider. The first content request response may be a redirect message, and may be another message having a domain name replacement function. The message type of the first content request response may be determined according to actual conditions, and is not limited herein.
在本发明实施例中,第一内容分发网络在获得用户终端发送的第一内容请 求之后, 向所述用户终端返回第一内容请求响应,指示该用户终端使用虚拟域 名替换内容提供商的播放域名,并使用该虚拟域名向第二内容分发网络请求所 述内容提供商提供的媒体内容;从而向第二内容分发网络隐藏了内容提供商的 播放域名, 防止了第一内容分发网络与内容提供商之间商业关系的泄露。  In the embodiment of the present invention, after obtaining the first content request sent by the user terminal, the first content distribution network returns a first content request response to the user terminal, indicating that the user terminal replaces the play domain name of the content provider by using the virtual domain name. And requesting, by the virtual domain name, the media content provided by the content provider to the second content distribution network; thereby hiding the play domain name of the content provider from the second content distribution network, preventing the first content distribution network and the content provider The leak of business relationships between.
在实际应用中, 用户终端发起的域名服务( DNS , Domain Name Service ) 请求可能由第一内容分发网络进行处理, 也可能有 DNS代理进行处理, 下面 以第一内容分发网络进行处理的场景进行描述, 请参阅图 2, 本发明媒体内容 的传输方法的另一个实施例包括:  In a practical application, a domain name service (DNS, Domain Name Service) request initiated by a user terminal may be processed by the first content distribution network, or may be processed by a DNS proxy. The following describes the scenario in which the first content distribution network processes the network. Referring to FIG. 2, another embodiment of the method for transmitting media content of the present invention includes:
201、 第一内容分发网络接收用户终端发送的第一域名服务请求; 当用户决定获取媒体内容时,用户终端在内容提供商的门户网站上点击了 相应的媒体内容后, 就会获取到该媒体内容对应的播放域名, 用户终端再通过 该播放域名查询到为该内容提供商提供服务的第一内容分发网络的 IP地址, 用户终端为了查询第一内容分发网络的 IP地址, 需要通过 DNS查询确定; 第 一内容分发网络接收用户终端发送的第一 DNS请求,该第一 DNS请求中携带 有内容提供商的播放域名,该第一 DNS请求用于查询该播放域名对应 IP地址。 具体的,在实际应用中, 用户终端在内容提供商的门户网站上点击了相应 的媒体内容, 就会获取到该媒体内容对应的播放域名, 用户终端根据该播放域 名查询发送第一 DNS请求, 查询所述播放域名对应的 IP地址。 201. The first content distribution network receives the first domain name service request sent by the user terminal. When the user decides to obtain the media content, the user terminal obtains the media content after clicking the corresponding media content on the content provider's portal website. The playing domain name corresponding to the content, the user terminal further queries the IP address of the first content distribution network serving the content provider by using the playing domain name, and the user terminal needs to determine by using a DNS query in order to query the IP address of the first content distribution network. The first content distribution network receives the first DNS request sent by the user terminal, where the first DNS request carries the play domain name of the content provider, and the first DNS request is used to query the corresponding IP address of the play domain name. Specifically, in a practical application, the user terminal clicks the corresponding media content on the content provider's portal website, and the play domain name corresponding to the media content is obtained, and the user terminal sends the first DNS request according to the play domain name query. Query the IP address corresponding to the play domain name.
202、 第一内容分发网络判断播放域名是否需要进行隐藏;  202. The first content distribution network determines whether the playing domain name needs to be hidden.
第一内容分发网络判断上述播放域名是否需要进行隐藏, 若是, 则执行步 骤 203, 向用户终端返回第一内容分发网络的 IP地址, 避免所述用户终端直 接使用所述播放域名向第二内容分发网络请求所述播放域名对应的媒体内容; 若否, 则执行步骤 210, 直接向用户终端返回第二内容分发网络的 IP地址。  The first content distribution network determines whether the play domain name needs to be hidden. If yes, step 203 is performed to return the IP address of the first content distribution network to the user terminal, so as to prevent the user terminal from directly using the play domain name to distribute to the second content. The network requests the media content corresponding to the play domain name; if not, step 210 is performed to directly return the IP address of the second content distribution network to the user terminal.
在实际应用中,第一内容分发网络不一定需要对所有的内容提供商进行播 放域名的隐藏, 因此, 第一内容分发网络可以根据预置的条件对上述播放域名 是否需要进行隐藏进行判断。例如,第一内容分发网络可以根据预置的策略(如 第一内容分发网络的覆盖能力或负荷情况)判断是否需要进行内容分发网络的 互通, 若不需要, 则不必进行播放域名的隐藏, 若需要, 则继续判断该播放域 名对应的内容提供商与第一内容分发网络的商业关系是否属于需要保密(具体 的, 可以在第一内容分发网络中预置需要保密的内容提供商的名单), 若不需 要, 则不必进行播放域名的隐藏, 若需要, 则触发隐藏该播放域名的流程。  In an actual application, the first content distribution network does not necessarily need to hide the play domain name for all content providers. Therefore, the first content distribution network may determine whether the play domain name needs to be hidden according to preset conditions. For example, the first content distribution network may determine whether the content distribution network needs to be intercommunicated according to a preset policy (such as the coverage capability or load condition of the first content distribution network). If not, the domain name hiding is not necessary. If necessary, it is determined whether the commercial relationship between the content provider corresponding to the play domain name and the first content distribution network is confidential (specifically, a list of content providers that need to be kept secret may be preset in the first content distribution network), If not required, it is not necessary to hide the playing domain name, and if necessary, trigger the process of hiding the playing domain name.
203、 第一内容分发网络向用户终端返回服务地址或路由地址;  203. The first content distribution network returns a service address or a routing address to the user terminal.
当确认需要对所述播放域名进行隐藏时,第一内容分发网络向用户终端返 回第一内容分发网络的服务地址或路由地址,使得用户终端根据第一内容分发 网络的服务地址或路由地址发送第一内容请求。  When it is confirmed that the play domain name needs to be hidden, the first content distribution network returns a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal sends the service address or routing address according to the service address or routing address of the first content distribution network. A content request.
在本发明实施例中, 由于第一内容分发网络需要返回的是 DNS请求(用 于查询 IP地址) 的响应, 因此, 步骤 203中返回的服务地址或路由地址为 IP 地址。  In the embodiment of the present invention, since the first content distribution network needs to return a response of the DNS request (for querying the IP address), the service address or routing address returned in step 203 is an IP address.
具体的, 若第一内容分发网络的服务节点具有重定向功能, 则第一内容分 发网络返回的可以是服务地址或路由地址(路由节点是具有重定向功能的), 而实际返回的是服务地址还是路由地址可以根据第一内容分发网络或用户终 端的需求决定, 此处不作限定。  Specifically, if the service node of the first content distribution network has a redirection function, the first content distribution network may return a service address or a routing address (the routing node has a redirection function), and the service address is actually returned. The routing address may be determined according to the requirements of the first content distribution network or the user terminal, and is not limited herein.
204、 第一内容分发网络接收用户终端发送的第一内容请求;  204. The first content distribution network receives a first content request sent by the user terminal.
第一内容分发网络接收用户终端根据所述第一内容分发网络的服务地址 或第一内容分发网络的路由地址发送的第一内容请求 ,所述第一内容请求携带 有内容提供商的播放域名。 Receiving, by the first content distribution network, a service address of the user terminal according to the first content distribution network Or a first content request sent by a routing address of the first content distribution network, the first content request carrying a play domain name of the content provider.
在实际应用中,用户终端接收到第一内容分发网络返回的第一内容分发网 络的服务地址或第一内容分发网络的路由地址之后,若用户终端接收到是服务 地址,则用户终端直接根据该服务地址向第一内容分发网络中相应的服务节点 发送第一内容请求; 若用户终端接收到是路由地址, 则第一内容分发网络中相 应的路由节点接收到该第一内容请求之后,第一内容分发网络向终端返回重定 向消息 (该重定向消息中携带有第一内容分发网络的服务地址), 使得用户终 端向该重定向消息中携带的服务地址再次发送第一内容请求。  In an actual application, after the user terminal receives the service address of the first content distribution network or the routing address of the first content distribution network returned by the first content distribution network, if the user terminal receives the service address, the user terminal directly according to the The service address sends a first content request to the corresponding service node in the first content distribution network; if the user terminal receives the routing address, the corresponding routing node in the first content distribution network receives the first content request, first The content distribution network returns a redirect message to the terminal (the redirect message carries the service address of the first content distribution network), so that the user terminal sends the first content request to the service address carried in the redirect message again.
205、 第一内容分发网络获取播放域名对应的虚拟域名;  205. The first content distribution network obtains a virtual domain name corresponding to the playing domain name.
第一内容分发网络获取内容提供商的播放域名对应的虚拟域名,并存储所 述播放域名和所述虚拟域名的映射关系。  The first content distribution network acquires a virtual domain name corresponding to the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
可选的, 可以由第一内容分发网络为播放域名配置相应的虚拟域名; 具体 的, 为了便于第二内容分发网络识別, 以及便于对播放域名进行映射, 所配置 的虚拟域名可以包含有第一内容分发网络的相关信息,或第一内容分发网络为 相应的内容提供商分配的标识信息, 该第一内容分发网络的相关信息可以包 括: 第一内容分发网络的标识(具体可以是第一内容分发网络的名称), 或第 一内容分发网络为内容提供商的播放域名分配的标识; 例如,假设第一内容分 发网络为运营商 akamai , 则为某个播放域名生成的虚拟域名可以为 1234.cdn.akamai.com, 其中, "1234"可以为第一内容分发网络为内容提供商分 配的标识信息, 虚拟域名的具体格式可以由 akamai 自己决定。 为了方便内容 提供商的播放域名 video.cp.com和虚拟域名 1234.cdn.akamai .com之间的映射 , 虚拟域名还可以为 10.1234.cdn.akamai.com,其中" 10"代表内容提供商的某个播 放域名的编号(如, 该内容提供商和第一内容分发网络签约了多个加速域名)。  Optionally, the first content distribution network may configure a corresponding virtual domain name for the play domain name. Specifically, in order to facilitate the second content distribution network identification and facilitate mapping of the play domain name, the configured virtual domain name may include The information about the content distribution network, or the identifier information that is allocated by the first content distribution network to the corresponding content provider, the related information of the first content distribution network may include: the identifier of the first content distribution network (specifically, the first The name of the content distribution network), or the identifier assigned by the first content distribution network to the content provider's play domain name; for example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234 .cdn.akamai.com, where "1234" can be the identification information assigned to the content provider by the first content distribution network. The specific format of the virtual domain name can be determined by akamai itself. In order to facilitate the mapping between the content provider video.cp.com and the virtual domain name 1234.cdn.akamai.com, the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider. The number of a play domain name (for example, the content provider and the first content distribution network have signed up for multiple accelerated domain names).
可选的,也可以由第二内容分发网络为该域名标识配置虚拟域名;具体的, 由第一内容分发网络为该播放域名分配域名标识,再将该域名标识发送至第二 内容分发网络, 由第二内容分发网络为该域名标识配置虚拟域名, 并将该虚拟 域名返回给第一内容分发网络,而第一内容分发网络则保存有播放域名与域名 标识, 以及域名标识与虚拟域名两组映射关系,根据这两组映射关系可以得到 播放域名和虚拟域名的映射关系。 Optionally, the second content distribution network may also be configured with the virtual domain name for the domain name identifier. Specifically, the first content distribution network allocates the domain name identifier for the play domain name, and then sends the domain name identifier to the second content distribution network. Configuring a virtual domain name for the domain name identifier by the second content distribution network, and returning the virtual domain name to the first content distribution network, and the first content distribution network stores the play domain name and the domain name identifier, and the domain name identifier and the virtual domain name Mapping relationship, according to the two sets of mapping relationships Play the mapping relationship between the domain name and the virtual domain name.
在实际应用中, 上述步骤 205和步骤 203、 204没有严格的次序关系, 即 可以先获取内容提供商的播放域名对应的虚拟域名,再返回第一内容分发网络 的服务地址或路由地址, 或者再接收用户终端发送的第一内容请求, 此处具体 不对步骤 205的执行次序进行限定。  In an actual application, the foregoing step 205 and the steps 203 and 204 have no strict order relationship, that is, the virtual domain name corresponding to the play domain name of the content provider may be obtained first, and then returned to the service address or routing address of the first content distribution network, or The first content request sent by the user terminal is received, and the execution order of step 205 is not specifically limited herein.
206、 第一内容分发网络向用户终端返回第一内容请求响应;  206. The first content distribution network returns a first content request response to the user terminal.
第一内容分发网络向用户终端返回第一内容请求响应,所述第一内容请求 响应用于指示用户终端使用上述虚拟域名向第二内容分发网络请求内容提供 商提供的媒体内容。  The first content distribution network returns a first content request response to the user terminal, the first content request response being used to instruct the user terminal to request the media content provided by the content provider to the second content distribution network using the virtual domain name.
207、 第一内容分发网络接收用户终端发送的第二 DNS请求;  207. The first content distribution network receives a second DNS request sent by the user terminal.
第一内容分发网络接收用户终端发送的第二 DNS请求,该第二 DNS请求 用于查询上述虚拟域名所对应的 IP地址; 具体的, 由于第一内容分发网络指 示了用户终端在向第二内容分发网络请求所述媒体内容时,对所述播放域名进 行隐藏,因此,所述虚拟域名所对应的 IP地址即获取所述媒体内容的 IP地址。  The first content distribution network receives the second DNS request sent by the user terminal, where the second DNS request is used to query the IP address corresponding to the virtual domain name. Specifically, the first content distribution network indicates that the user terminal is in the second content. When the distribution network requests the media content, the play domain name is hidden. Therefore, the IP address corresponding to the virtual domain name acquires the IP address of the media content.
在用户终端接收到所述第一内容请求响应之后,应该使用上述虚拟域名向 第二内容分发网络请求内容提供商提供的媒体内容,但是, 由于用户终端无法 直接根据所述虚拟域名找到第二内容分发网络, 因此, 需要向第一内容分发网 络发送第二 DNS请求。  After receiving the first content request response, the user terminal should use the virtual domain name to request the media content provided by the content provider from the second content distribution network, but the user terminal cannot directly find the second content according to the virtual domain name. The distribution network, therefore, needs to send a second DNS request to the first content distribution network.
208、第一内容分发网络根据第二 DNS请求获取第二内容分发网络的服务 地址或路由地址;  208. The first content distribution network acquires a service address or a routing address of the second content distribution network according to the second DNS request.
第一内容分发网络根据上述第二 DNS请求获取第二内容分发网络的服务 地址或路由地址。具体的,在第一内容分发网络确定需要由第二内容分发网络 为内容提供商提供服务时, 第一内容分发网络会根据预置的策略(如, 内容分 发网络的覆盖能力或负荷情况 )选择第二内容分发网络为用户终端提供服务, 所以建立了上述播放域名与第二内容分发网络的映射关系, 而上述步骤 205 又存储了所述播放域名与所述虚拟域名的映射关系, 因此, 所述虚拟域名与所 述第二内容分发网络有着间接的映射关系,当第一内容分发网络接收到上述第 二 DNS请求之后,会根据第二 DNS请求中的虚拟域名获取第二内容分发网络 的服务地址或路由地址。 具体的, 第一内容分发网络可以向第二内容分发网络发送地址请求消息 (在实际应用中, 该地址请求消息可以为 DNS消息), 所述地址请求消息中可 以携带有上述虚拟域名; 第二内容分发网络在接收到该地址请求消息之后, 向 第一内容分发网络返回第二内容分发网络的服务地址或路由地址。 The first content distribution network acquires a service address or a routing address of the second content distribution network according to the second DNS request. Specifically, when the first content distribution network determines that the second content distribution network needs to provide services for the content provider, the first content distribution network selects according to a preset policy (eg, coverage capability or load condition of the content distribution network). The second content distribution network provides a service for the user terminal, so the mapping relationship between the play domain name and the second content distribution network is established, and the step 205 further stores the mapping relationship between the play domain name and the virtual domain name. The virtual domain name has an indirect mapping relationship with the second content distribution network. After receiving the second DNS request, the first content distribution network acquires the service of the second content distribution network according to the virtual domain name in the second DNS request. Address or routing address. Specifically, the first content distribution network may send an address request message to the second content distribution network (in the actual application, the address request message may be a DNS message), where the address request message may carry the virtual domain name; After receiving the address request message, the content distribution network returns a service address or a routing address of the second content distribution network to the first content distribution network.
可选的,在第二内容分发网络接收到该地址请求消息之后, 可以提取该第 一内容请求携带的虚拟域名,以便于后续接收到用户终端发送的第二内容请求 时,通过该虚拟域名确认是否需要为该用户终端提供媒体内容的加速服务。 可 选的, 第二内容分发网络也可以在与第一内容分发网络进行签约时,协商好服 务标识, 在配置上述虚拟域名时, 可在该虚拟域名中携带该服务标识, 使得后 续接收到用户终端发送的第二内容请求时,可以识別该第二内容请求中携带的 虚拟域名; 可选的, 第一内容分发网络还可以在完成该虚拟域名的配置后, 单 独向第二内容分发网络发送该虚拟域名,以便于后续接收到用户终端发送的第 二内容请求时,通过该虚拟域名确认是否需要为该用户终端提供媒体内容的加 速服务。(在本发明实施例中, 若是由第二内容分发网络进行虚拟域名的配置, 则无需执行本段所描述的可选步骤。 )  Optionally, after the second content distribution network receives the address request message, the virtual domain name carried by the first content request may be extracted, so as to be confirmed by the virtual domain name when the second content request sent by the user terminal is subsequently received. Whether an acceleration service for media content needs to be provided for the user terminal. Optionally, the second content distribution network may also negotiate the service identifier when signing the contract with the first content distribution network. When the virtual domain name is configured, the service identifier may be carried in the virtual domain name, so that the user is subsequently received. When the second content request is sent by the terminal, the virtual domain name carried in the second content request may be identified. Optionally, the first content distribution network may separately distribute the network to the second content after completing the configuration of the virtual domain name. The virtual domain name is sent, so that when the second content request sent by the user terminal is received subsequently, it is confirmed by the virtual domain name whether the acceleration service of the media content needs to be provided for the user terminal. (In the embodiment of the present invention, if the virtual domain name is configured by the second content distribution network, the optional steps described in this paragraph need not be performed.)
209、 第一内容分发网络向用户终端发送第二内容分发网络的服务地址或 路由地址;  209. The first content distribution network sends a service address or a routing address of the second content distribution network to the user terminal.
第一内容分发网络向用户终端发送第二内容分发网络的服务地址或路由 地址,使得用户终端可以向第二内容分发网络的服务地址或路由地址发送第二 内容请求, 以获取内容提供商提供的媒体内容, 流程结束。  The first content distribution network sends a service address or a routing address of the second content distribution network to the user terminal, so that the user terminal can send a second content request to the service address or the routing address of the second content distribution network to obtain the content provider. Media content, the process ends.
可选的, 若虚拟域名是由第二内容分发网络配置的, 则上述第二 DNS请 求则是发送给第二内容分发网络的, 即返回虚拟域名所对应的 IP地址的流程 (步骤 207至 209 ) 由第二内容分发网络端进行处理。  Optionally, if the virtual domain name is configured by the second content distribution network, the second DNS request is sent to the second content distribution network, that is, the process of returning the IP address corresponding to the virtual domain name (steps 207 to 209) ) is processed by the second content distribution network.
在用户终端获取到第二内容分发网络的服务地址或路由地址之后,用户终 端就可以向第二内容分发网络请求媒体内容。  After the user terminal acquires the service address or routing address of the second content distribution network, the user terminal can request the media content from the second content distribution network.
210、 第一内容分发网络获取第二内容分发网络的服务地址或路由地址; 当第一内容分发网络确定不需要对上述播放域名是否需要进行隐藏时,则 第一内容分发网络根据预置的策略(如,内容分发网络的覆盖能力或负荷情况 ) 选择第二内容分发网络为用户终端提供服务。 具体的, 第一内容分发网络可以向第二内容分发网络发送地址请求消息, 第二内容分发网络向第一内容分发网络返回第二内容分发网络的服务地址或 路由地址, 该服务地址或路由地址皆为 IP地址(由于第一内容分发网络向用 户终端需要返回的是 DNS请求的响应)。 210. The first content distribution network acquires a service address or a routing address of the second content distribution network. When the first content distribution network determines that the play domain name does not need to be hidden, the first content distribution network according to the preset policy. (eg, coverage capability or load situation of the content distribution network) The second content distribution network is selected to provide services for the user terminal. Specifically, the first content distribution network may send an address request message to the second content distribution network, and the second content distribution network returns a service address or a routing address of the second content distribution network to the first content distribution network, where the service address or routing address All are IP addresses (since the first content distribution network needs to return a response to the DNS request to the user terminal).
211、 第一内容分发网络向用户终端返回第二内容分发网络的服务地址或 路由地址。  211. The first content distribution network returns a service address or a routing address of the second content distribution network to the user terminal.
第一内容分发网络向用户终端返回 DNS请求的响应消息,所述 DNS请求 的响应消息中携带有上述步骤 210 中获取到的第二内容分发网络的服务地址 或路由地址,, 使得用户终端可以向第二内容分发网络的服务地址或路由地址 发送第二内容请求, 以获取内容提供商提供的媒体内容。  The first content distribution network returns a response message of the DNS request to the user terminal, where the response message of the DNS request carries the service address or routing address of the second content distribution network obtained in step 210 above, so that the user terminal can The service address or routing address of the second content distribution network sends a second content request to obtain media content provided by the content provider.
在本发明的实施例中,根据各个网元的需求,各个网元所返回的地址都可 以为服务地址或路由地址, 若是服务地址, 则服务地址对应的服务节点可以直 接根据所接收到的消息进行相应的操作; 若是路由地址, 则路由地址对应的路 由节点会给消息的发送网元返回重定向消息(重定向消息中携带有服务地址), 使得消息的发送网元向重定向消息中携带的服务地址再次发送所述消息;具体 可以参阅步骤 204的描述, 此处步骤赘述。 并且, 服务地址和路由地址可以表 现为域名或 IP地址, 而具体是域名还是 IP地址可以根据所返回消息的需求而 定, 此处也不作限定。  In the embodiment of the present invention, the address returned by each network element may be a service address or a routing address according to the requirements of each network element. If the service address is used, the service node corresponding to the service address may directly receive the received message. If the routing address is used, the routing node corresponding to the routing address returns a redirect message to the sending NE of the message (the redirecting message carries the service address), so that the sending NE of the message carries the redirect message. The service address is sent again by the service address; for details, refer to the description of step 204, and the steps are described here. In addition, the service address and the routing address may be expressed as a domain name or an IP address, and the domain name or the IP address may be determined according to the requirements of the returned message, and is not limited herein.
本发明实施例增加了 "是否需要进行域名隐藏"的判断机制,使得在进行媒 体内容的传输时,第一内容分发网络只对有需要进行域名隐藏的内容提供商执 行域名隐藏的步骤, 从而节省了不必要的开销。  The embodiment of the present invention adds a judgment mechanism of "whether domain name hiding is required", so that when the media content is transmitted, the first content distribution network only performs the step of hiding the domain name for the content provider that needs to hide the domain name, thereby saving Unnecessary overhead.
下面第一内容分发网络通过代理的方式在路由的过程中动态实现域名隐 藏的场景进行描述, 请参阅图 3 , 本发明媒体内容的传输方法的另一个实施例 包括:  The following is a description of the scenario in which the first content distribution network dynamically implements the domain name hiding in the process of routing by means of a proxy. Referring to FIG. 3, another embodiment of the method for transmitting media content of the present invention includes:
301、 第一内容分发网络接收用户终端发送的第一内容请求;  301. The first content distribution network receives a first content request sent by a user terminal.
第一内容分发网络接收用户终端发送的第一内容请求,所述第一内容请求 携带有内容提供商的播放域名。  The first content distribution network receives a first content request sent by the user terminal, and the first content request carries a play domain name of the content provider.
在本发明实施例中, 用户终端发起的 DNS请求由 DNS代理处理, DNS 代理处理向用户终端返回第一内容分发网络的路由地址,而用户终端则根据该 路由地址向第一内容分发网络发起第一内容请求。 In the embodiment of the present invention, the DNS request initiated by the user terminal is processed by the DNS proxy, and the DNS proxy process returns the routing address of the first content distribution network to the user terminal, and the user terminal according to the The routing address initiates a first content request to the first content distribution network.
302、 第一内容分发网络判断播放域名是否需要进行隐藏;  302. The first content distribution network determines whether the playing domain name needs to be hidden.
第一内容分发网络判断上述播放域名是否需要进行隐藏, 若是, 则执行步 骤 303 , 若否, 则执行步骤 308。  The first content distribution network determines whether the play domain name needs to be hidden. If yes, step 303 is performed, and if no, step 308 is performed.
在实际应用中,第一内容分发网络不一定需要对所有的内容提供商进行播 放域名的隐藏, 因此, 第一内容分发网络可以根据预置的条件对上述播放域名 是否需要进行隐藏进行判断。例如,第一内容分发网络可以根据预置的策略(如 第一内容分发网络的覆盖能力或负荷情况)判断是否需要进行内容分发网络的 互通, 若不需要, 则不必进行播放域名的隐藏, 若需要, 则继续判断该播放域 名对应的内容提供商与第一内容分发网络的商业关系是否属于需要保密(具体 的, 可以在第一内容分发网络中预置需要保密的内容提供商的名单), 若不需 要, 则不必进行播放域名的隐藏, 若需要, 则触发隐藏该播放域名的流程。  In an actual application, the first content distribution network does not necessarily need to hide the play domain name for all content providers. Therefore, the first content distribution network may determine whether the play domain name needs to be hidden according to preset conditions. For example, the first content distribution network may determine whether the content distribution network needs to be intercommunicated according to a preset policy (such as the coverage capability or load condition of the first content distribution network). If not, the domain name hiding is not necessary. If necessary, it is determined whether the commercial relationship between the content provider corresponding to the play domain name and the first content distribution network is confidential (specifically, a list of content providers that need to be kept secret may be preset in the first content distribution network), If not required, it is not necessary to hide the playing domain name, and if necessary, trigger the process of hiding the playing domain name.
303、 第一内容分发网络获取播放域名对应的虚拟域名;  303. The first content distribution network obtains a virtual domain name corresponding to the playing domain name.
当第一内容分发网络确定需要对上述播放域名是否需要进行隐藏时,第一 内容分发网络获取内容提供商的播放域名对应的虚拟域名,并存储所述播放域 名和所述虚拟域名的映射关系。  When the first content distribution network determines whether the play domain name needs to be hidden, the first content distribution network acquires the virtual domain name corresponding to the play domain name of the content provider, and stores the mapping relationship between the play domain name and the virtual domain name.
在实际应用中,第一内容分发网络获取内容提供商的播放域名对应的虚拟 域名具体可以为: 由第一内容分发网络本地为该播放域名配置虚拟域名, 第一 内容分发网络直接保存播放域名与虚拟域名的映射关系; 或者, 由第一内容分 发网络为该播放域名分配域名标识, 再将该域名标识发送至第二内容分发网 络, 由第二内容分发网络为该域名标识配置虚拟域名, 并将该虚拟域名返回给 第一内容分发网络, 而第一内容分发网络则保存有播放域名与域名标识, 以及 域名标识与虚拟域名两组映射关系,根据这两组映射关系可以得到播放域名和 虚拟域名的映射关系。  In a practical application, the first content distribution network obtains the virtual domain name corresponding to the play domain name of the content provider, and may be: the first content distribution network locally configures the virtual domain name for the play domain name, and the first content distribution network directly saves the play domain name and Mapping the virtual domain name; or, the first content distribution network assigns a domain name identifier to the play domain name, and then sends the domain name identifier to the second content distribution network, where the second content distribution network configures the virtual domain name for the domain name identifier, and The virtual domain name is returned to the first content distribution network, and the first content distribution network stores the playback domain name and the domain name identifier, and the mapping relationship between the domain name identifier and the virtual domain name. According to the two sets of mapping relationships, the domain name and the virtual domain name can be obtained. The mapping relationship of domain names.
304、 第一内容分发网络使用虚拟域名替换第一内容请求中的播放域名; 第一内容分发网络使用上述获取到的虚拟域名替换第一内容请求中的播 放域名。  304. The first content distribution network replaces the play domain name in the first content request by using the virtual domain name. The first content distribution network replaces the play domain name in the first content request by using the obtained virtual domain name.
具体的, 第一内容分发网络可以删除第一内容请求中的播放域名,使用上 述获取到的虚拟域名替换; 并且第一内容分发网络还可以修改请求内容, 如, 增加用户终端的 IP地址等信息。 Specifically, the first content distribution network may delete the play domain name in the first content request, and replace it by using the obtained virtual domain name; and the first content distribution network may also modify the requested content, for example, Add information such as the IP address of the user terminal.
305、 第一内容分发网络向第二内容分发网络发送播放域名替换后的第一 内容请求;  305. The first content distribution network sends a first content request after the domain name replacement is played to the second content distribution network.
第一内容分发网络向第二内容分发网络发送播放域名替换后的第一内容 请求,使得第二内容分发网络返回第二内容分发网络返回的服务地址。具体的, 在第一内容分发网络确定需要由第二内容分发网络为内容提供商提供服务时, 第一内容分发网络会根据预置的策略(如, 内容分发网络的覆盖能力或负荷情 况)选择第二内容分发网络为用户终端提供服务, 所以建立了上述播放域名与 第二内容分发网络的映射关系,而上述步骤 303又存储了所述播放域名与所述 虚拟域名的映射关系, 因此, 所述虚拟域名与所述第二内容分发网络有着间接 的映射关系,第一内容分发网络可以根据所述间接的映射关系查找到所述虚拟 域名对应的第二内容分发网络。  The first content distribution network sends a first content request after the domain name replacement is played to the second content distribution network, so that the second content distribution network returns the service address returned by the second content distribution network. Specifically, when the first content distribution network determines that the second content distribution network needs to provide services for the content provider, the first content distribution network selects according to a preset policy (eg, coverage capability or load condition of the content distribution network). The second content distribution network provides a service for the user terminal, so that the mapping relationship between the play domain name and the second content distribution network is established, and the step 303 further stores the mapping relationship between the play domain name and the virtual domain name. The virtual domain name has an indirect mapping relationship with the second content distribution network, and the first content distribution network may find the second content distribution network corresponding to the virtual domain name according to the indirect mapping relationship.
在本发明实施例中,第一内容分发网络代理了用户终端进行服务地址查询 的功能, 直接在接收到第一内容请求之后, 修改第一内容请求的内容(用虚拟 域名替换了原有的播放域名), 然后向第二内容分发网络转发域名替换后的第 一内容请求,使得第二内容分发网络直接返回第二内容分发网络返回的服务地 址, 避免了用户终端对虚拟域名进行服务地址的查询, 节省了网络间的开销。  In the embodiment of the present invention, the first content distribution network acts as a proxy for the service address query by the user terminal, and directly corrects the content of the first content request after receiving the first content request (replaces the original play with the virtual domain name) Domain name), and then forwarding the first content request after the domain name replacement to the second content distribution network, so that the second content distribution network directly returns the service address returned by the second content distribution network, thereby preventing the user terminal from querying the service address of the virtual domain name. , saving the overhead between networks.
在第二内容分发网络接收到上述第一内容请求之后,可以提取该第一内容 请求携带的虚拟域名, 以便于后续接收到用户终端发送的第二内容请求时, 通 过该虚拟域名确认是否需要为该用户终端提供媒体内容的加速服务。  After the second content distribution network receives the first content request, the virtual domain name carried by the first content request may be extracted, so as to confirm whether the virtual domain name needs to be confirmed by the virtual domain name when the second content request sent by the user terminal is subsequently received. The user terminal provides an accelerated service of media content.
306、 第一内容分发网络接收第二内容分发网络返回的服务地址; 第一内容分发网络接收第二内容分发网络返回的第二内容分发网络的服 务地址。  306. The first content distribution network receives a service address returned by the second content distribution network. The first content distribution network receives a service address of the second content distribution network returned by the second content distribution network.
307、 第一内容分发网络向用户终端返回第一内容请求响应;  307. The first content distribution network returns a first content request response to the user terminal.
第一内容分发网络向用户终端返回第一内容请求响应, 流程结束; 所述第一内容请求响应消息中携带所述第二内容分发网络的服务地址,使 得用户终端向第二内容分发网络的服务地址发送第二内容请求,以获取内容提 供商提供的媒体内容。  The first content distribution network returns a first content request response to the user terminal, and the process ends; the first content request response message carries the service address of the second content distribution network, so that the user terminal provides the service to the second content distribution network. The address sends a second content request to obtain media content provided by the content provider.
308、 第一内容分发网络获取第二内容分发网络的服务地址; 当第一内容分发网络确定不需要对上述播放域名是否需要进行隐藏时,则 第一内容分发网络根据预置的策略(如,内容分发网络的覆盖能力或负荷情况 ) 选择第二内容分发网络为用户终端提供服务。 308. The first content distribution network acquires a service address of the second content distribution network. When the first content distribution network determines that it is not necessary to hide the play domain name, the first content distribution network selects the second content distribution network according to a preset policy (eg, coverage capability or load condition of the content distribution network). The user terminal provides the service.
具体的, 第一内容分发网络可以向第二内容分发网络发送地址请求消息, 第二内容分发网络向第一内容分发网络返回第二内容分发网络的服务地址,该 服务地址为 IP地址(由于第一内容分发网络向用户终端需要返回的是 DNS请 求的响应)。  Specifically, the first content distribution network may send an address request message to the second content distribution network, and the second content distribution network returns a service address of the second content distribution network to the first content distribution network, where the service address is an IP address (due to the first A content distribution network needs to return a response to the DNS request to the user terminal).
309、 第一内容分发网络向用户终端返回第二内容分发网络的服务地址。 第一内容分发网络向用户终端返回 DNS请求的响应消息,所述 DNS请求 的响应消息中携带有上述步骤 308中获取到的二内容分发网络的服务地址,使 得用户终端使用播放域名向第二内容分发网络的服务地址发送第二内容请求, 该第二内容请求用于向第二内容分发网络请求上述媒体内容。  309. The first content distribution network returns a service address of the second content distribution network to the user terminal. The first content distribution network returns a response message of the DNS request to the user terminal, where the response message of the DNS request carries the service address of the two content distribution network acquired in the above step 308, so that the user terminal uses the play domain name to the second content. The service address of the distribution network sends a second content request for requesting the media content to the second content distribution network.
在实际应用中,第二内容分发网络可能与第三内容分发网络签约了互通的 关系, 因此, 第二内容分发网络在收到用户终端发送的内容请求之后, 也可以 委托第三内容分发网络为用户终端提供媒体内容的加速服务,具体第二内容分 发网络与第三内容分发网络的交互过程可以参阅前述第一内容分发网络与第 二内容分发网络交互的实施例, 此处不再赘述。  In a practical application, the second content distribution network may have an interoperable relationship with the third content distribution network. Therefore, after receiving the content request sent by the user terminal, the second content distribution network may also entrust the third content distribution network to The user terminal provides the acceleration service of the media content. For the interaction process between the second content distribution network and the third content distribution network, reference may be made to the foregoing embodiment in which the first content distribution network interacts with the second content distribution network, and details are not described herein.
在用户终端获取到第二内容分发网络的服务地址之后,用户终端向第二内 容分发网络的服务地址发送第二内容请求,但是,在实际应用中第二内容分发 网络可能在本地没有存有相应的媒体内容, 因此, 无法给用户终端返回媒体内 容; 本发明实施例提供了相应的解决机制, 请参阅图 4, 本发明媒体内容的传 输方法的另一个实施例包括:  After the user terminal acquires the service address of the second content distribution network, the user terminal sends a second content request to the service address of the second content distribution network, but in the actual application, the second content distribution network may not have a corresponding local content. The media content of the media content transmission method of the present invention includes:
401、 第一内容分发网络接收第二内容分发网络发送的第三内容请求; 第一内容分发网络接收所述第二内容分发网络发送的第三内容请求,所述 第三内容请求用于向第一内容分发网络请求内容提供商提供的媒体内容,第三 内容请求中携带有的所述媒体内容对应的虚拟域名。  401. The first content distribution network receives a third content request sent by the second content distribution network. The first content distribution network receives a third content request sent by the second content distribution network, where the third content request is used for A content distribution network requests the media content provided by the content provider, and the virtual content domain corresponding to the media content carried in the third content request.
具体的, 本发明实施例可以发生在上述图 1至图 3任一实施例之后, 当第 二内容分发网络接收到用户终端发送的第二内容请求时,根据第二内容请求中 所携带的虚拟域名查找不到相应的媒体内容时 (可能出现了緩沖未中 Cache Miss现象), 则第二内容分发网络会向第一内容分发网络发送第三内容请求。 在实际应用中,上述第三内容请求可以是向第一内容分发网络的服务地址 发送的,也可以是向第一内容分发网络的路由地址发送的; 若是向第一内容分 发网络的服务地址发送的, 则可以直接触发步骤 402; 若是向第一内容分发网 络的路由地址发送的,则第一内容分发网络向第二内容分发网络返回第一内容 分发网络的服务地址(即发起重定向消息), 使得第二内容分发网络向第一内 容分发网络的服务地址再次发送第三内容请求。 Specifically, the embodiment of the present invention may occur after the foregoing any one of the embodiments of FIG. 1 to FIG. 3, when the second content distribution network receives the second content request sent by the user terminal, according to the virtual content carried in the second content request. When the domain name does not find the corresponding media content (the buffer may not be cached) The Miss phenomenon, the second content distribution network sends a third content request to the first content distribution network. In an actual application, the foregoing third content request may be sent to a service address of the first content distribution network, or may be sent to a routing address of the first content distribution network; if sent to a service address of the first content distribution network Step 402 may be directly triggered; if it is sent to the routing address of the first content distribution network, the first content distribution network returns the service address of the first content distribution network to the second content distribution network (ie, initiates a redirect message) And causing the second content distribution network to resend the third content request to the service address of the first content distribution network.
402、 第一内容分发网络判断本地是否存有相应的媒体内容;  402. The first content distribution network determines whether the corresponding media content exists locally.
第一内容分发网络判断本地是否存有上述第三内容请求所请求的媒体内 容, 若有, 则执行步骤 403; 若没有, 则执行步骤 404。  The first content distribution network determines whether the media content requested by the third content request exists locally, and if yes, step 403 is performed; if not, step 404 is performed.
403、 第一内容分发网向第二内容分发网络返回相应的媒体内容; 在确定本地存有上述第三内容请求所请求的媒体内容之后,第一内容分发 网可以通过 200OK消息向第二内容分发网络返回相应的媒体内容。  403. The first content distribution network returns corresponding media content to the second content distribution network. After determining that the media content requested by the third content request is locally stored, the first content distribution network may distribute the second content by using a 200 OK message. The network returns the corresponding media content.
404、第一内容分发网络根据虚拟域名查找内容提供商的统一资源定位符; 在确定本地没有存有上述第三内容请求所请求的媒体内容之后,第一内容 分发网根据第三内容请求中所携带的虚拟域名查找内容提供商的统一资源定 位符 (URL, Universal Resource Locator ), 并根据所述 URL向所述内容提供 商请求相应的媒体内容,在接收到所述内容提供商返回的媒体内容之后, 向所 述第二内容分发网络返回所述媒体内容。  404. The first content distribution network searches for a uniform resource locator of the content provider according to the virtual domain name. After determining that the media content requested by the third content request is not stored locally, the first content distribution network is configured according to the third content request. Carrying the virtual domain name to find a content resource Provider (URL, Universal Resource Locator), and requesting corresponding media content from the content provider according to the URL, and receiving the media content returned by the content provider Thereafter, the media content is returned to the second content distribution network.
具体的, 由于第一内容分发网络存有播放域名与虚拟域名的映射关系,播 放域名则可以通过该播放域名查找到相应的内容提供商, 因而, 第一内容分发 网络也可以查找内容提供商的 URL。 方法进行描述,下面从用户终端的角度对本发明实施例中的媒体内容的传输方 法进行描述, 请参阅图 5, 本发明实施例中媒体内容的传输方法的另一实施例 包括:  Specifically, since the first content distribution network has a mapping relationship between the play domain name and the virtual domain name, the play domain name can find the corresponding content provider by using the play domain name, and thus, the first content distribution network can also search for the content provider. URL. The method is described. The following describes the method for transmitting the media content in the embodiment of the present invention from the perspective of the user terminal. Referring to FIG. 5, another embodiment of the method for transmitting media content in the embodiment of the present invention includes:
501、 用户终端发送第一域名服务请求;  501. The user terminal sends a first domain name service request.
用户终端发送第一 DNS请求, 用于查询播放域名对应的 IP地址, 该第一 DNS请求携带有内容提供商的播放域名。 在实际应用中,用户终端在内容提供商的门户网站上点击了相应的媒体内 容, 就会获取到该媒体内容对应的播放域名, 用户终端再通过该播放域名查询 到为该内容提供商提供服务的内容分发网络的 IP地址, 用户终端为了查询内 容分发网络的 IP地址, 需要通过 DNS查询确定。 The user terminal sends a first DNS request for querying an IP address corresponding to the play domain name, and the first DNS request carries the play domain name of the content provider. In an actual application, the user terminal clicks on the corresponding media content on the content provider's portal website, and the play domain name corresponding to the media content is obtained, and the user terminal further queries the content provider by using the play domain name query. The IP address of the content distribution network, the user terminal needs to query the IP address of the content distribution network through DNS query.
502、 用户终端接收所述第一内容分发网络的服务地址或路由地址; 用户终端接收第一内容分发网络或 DNS代理返回的第一内容分发网络的 服务地址或路由地址。  502. The user terminal receives a service address or a routing address of the first content distribution network. The user terminal receives a service address or a routing address of the first content distribution network returned by the first content distribution network or the DNS proxy.
其中, 第一内容分发网络或 DNS代理判断播放域名是否需要进行隐藏, 若是,会向用户终端返回第一内容分发网络的服务地址或路由地址,避免所述 用户终端直接使用所述播放域名向第二内容分发网络请求所述播放域名对应 的媒体内容。  The first content distribution network or the DNS proxy determines whether the playback domain name needs to be hidden. If yes, the service address or the routing address of the first content distribution network is returned to the user terminal, and the user terminal is prevented from directly using the play domain name. The content distribution network requests the media content corresponding to the play domain name.
在实际应用中, 用户终端发送的 DNS请求可以由第一内容分发网络返回 响应(即返回第一内容分发网络的服务地址或路由地址 ),也可以由 DNS代理 返回响应, 此处具体不作限定。  In a practical application, the DNS request sent by the user terminal may be returned by the first content distribution network (that is, the service address or the routing address of the first content distribution network is returned), and the response may be returned by the DNS proxy, which is not limited herein.
服务地址和路由地址具体可以表现为域名或 IP地址, 但是, 在本发明实 施例中, 由于第一内容分发网络需要返回的是 DNS请求(用于查询 IP地址) 的响应, 因此, 步骤 502中返回的服务地址或路由地址为 IP地址。  The service address and the routing address may be expressed as a domain name or an IP address. However, in the embodiment of the present invention, since the first content distribution network needs to return a response of the DNS request (for querying the IP address), in step 502, The returned service address or routing address is an IP address.
503、 用户终端向第一内容分发网络发送第一内容请求;  503. The user terminal sends a first content request to the first content distribution network.
用户终端根据上述接收到的服务地址或路由地址向第一内容分发网络发 送第一内容请求, 该第一内容请求携带有内容提供商的播放域名。  The user terminal sends a first content request to the first content distribution network according to the received service address or routing address, and the first content request carries the play domain name of the content provider.
504、 用户终端接收第一内容请求响应;  504. The user terminal receives a first content request response.
用户终端接收第一内容请求响应,该第一内容请求响应中携带有上述播放 域名对应的虚拟域名; 在用户终端获取到该虚拟域名后, 可以使用该虚拟域名 替换相应的播放域名,再使用该虚拟域名向第二内容分发网络请求内容提供商 提供的媒体内容。  The user terminal receives the first content request response, where the first content request response carries the virtual domain name corresponding to the play domain name; after the user terminal obtains the virtual domain name, the virtual domain name may be used to replace the corresponding play domain name, and then the domain name is used. The virtual domain name requests the media content provided by the content provider to the second content distribution network.
具体的, 若上述虚拟域名是由第二内容分发网络配置的, 则上述第一内容 请求响应可以是由第二内容分发网络发送的,若上述虚拟域名是由第一内容分 发网络配置的, 上述第一内容请求响应则是由第一内容分发网络发送的。  Specifically, if the virtual domain name is configured by the second content distribution network, the first content request response may be sent by the second content distribution network, and if the virtual domain name is configured by the first content distribution network, The first content request response is sent by the first content distribution network.
505、 用户终端根据上述虚拟域名发送第二 DNS请求; 用户终端根据上述虚拟域名发送第二 DNS请求,该第二 DNS请求用于查 询上述虚拟域名所对应的 IP地址。 505. The user terminal sends a second DNS request according to the virtual domain name. The user terminal sends a second DNS request according to the virtual domain name, where the second DNS request is used to query an IP address corresponding to the virtual domain name.
具体的,由于第一内容分发网络指示了用户终端在向第二内容分发网络请 求所述媒体内容时, 对所述播放域名进行隐藏, 因此, 所述虚拟域名所对应的 IP地址即获取所述媒体内容的 IP地址。  Specifically, the first content distribution network indicates that the user terminal hides the play domain name when requesting the media content from the second content distribution network, so that the IP address corresponding to the virtual domain name acquires the The IP address of the media content.
在用户终端接收到所述第一内容请求响应之后,应该使用上述虚拟域名向 第二内容分发网络请求内容提供商提供的媒体内容,但是, 由于用户终端无法 直接根据所述虚拟域名找到第二内容分发网络, 因此, 需要向第一内容分发网 络发送第二 DNS请求。  After receiving the first content request response, the user terminal should use the virtual domain name to request the media content provided by the content provider from the second content distribution network, but the user terminal cannot directly find the second content according to the virtual domain name. The distribution network, therefore, needs to send a second DNS request to the first content distribution network.
可选的, 若上述虚拟域名是由第二内容分发网络配置的, 则用户终端可以 向第二内容分发网络发送第二 DNS请求; 若上述虚拟域名是由第一内容分发 网络配置的, 则用户终端可以向第一内容分发网络发送第二 DNS请求。  Optionally, if the virtual domain name is configured by the second content distribution network, the user terminal may send a second DNS request to the second content distribution network; if the virtual domain name is configured by the first content distribution network, the user The terminal may send a second DNS request to the first content distribution network.
506、 用户终端接收返回的第二内容分发网络的服务地址或路由地址; 用户终端接收第一内容分发网络或第二内容分发网络返回的第二内容分 发网络的服务地址或路由地址。  506. The user terminal receives a service address or a routing address of the returned second content distribution network. The user terminal receives a service address or a routing address of the second content distribution network returned by the first content distribution network or the second content distribution network.
可选的, 若是在第一内容分发网络接收到第二 DNS请求之后, 第一内容 分发网络向第二内容分发网络获取第二内容分发网络的服务地址或路由地址, 并将获取到的第二内容分发网络的服务地址或路由地址返回给用户终端;若是 在第二内容分发网络接收到第二 DNS请求之后, 则可以直接向用户终端返回 第二内容分发网络的服务地址或路由地址。  Optionally, after the first content distribution network receives the second DNS request, the first content distribution network acquires a service address or a routing address of the second content distribution network from the second content distribution network, and obtains the second The service address or routing address of the content distribution network is returned to the user terminal; if the second content distribution network receives the second DNS request, the service address or routing address of the second content distribution network may be directly returned to the user terminal.
507、 用户终端根据上述虚拟域名向第二内容分发网络的服务地址或路由 地址发送第二内容请求。  507. The user terminal sends a second content request to a service address or a routing address of the second content distribution network according to the virtual domain name.
用户终端根据所述虚拟域名向所述第二内容分发网络的服务地址或路由 地址发送第二内容请求,使得所述第二内容分发网络返回用户终端所需要的媒 体内容。  The user terminal sends a second content request to the service address or the routing address of the second content distribution network according to the virtual domain name, so that the second content distribution network returns the media content required by the user terminal.
上面的实施例描述了如何在路由的过程中动态实现域名隐藏,下面的实施 例, 描述如何实现虚拟域名的静态配置, 请参阅图 6, 本发明媒体内容的传输 方法的另一个实施例包括:  The above embodiment describes how to dynamically implement domain name hiding in the process of routing. The following embodiment describes how to implement static configuration of a virtual domain name. Referring to FIG. 6, another embodiment of the method for transmitting media content of the present invention includes:
601、 第一内容分发网络为内容提供商的播放域名配置虚拟域名; 第一内容分发网络为内容提供商的播放域名配置虚拟域名,并存储该播放 域名与虚拟域名的映射关系。 601. The first content distribution network configures a virtual domain name for the play domain name of the content provider. The first content distribution network configures a virtual domain name for the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
具体的,为了便于第二内容分发网络识別,以及便于对播放域名进行映射, 所配置的虚拟域名可以会包含有第一内容分发网络的相关信息,或第一内容分 发网络为相应的内容提供商分配的标识信息; 例如, 殳第一内容分发网络为 运营商 akamai , 则 为 某个播放域名 生成的虚拟域名 可以 为 1234.cdn.akamai.com, 其中, "1234,,可以为第一内容分发网络为内容提供商分 配的标识信息, 虚拟域名的具体格式可以由 akamai 自己决定。 为了方便内容 提供商的播放域名 video.cp.com和虚拟域名 1234.cdn.akamai .com之间的映射 , 虚拟域名还可以为 10.1234.cdn.akamai.com,其中" 10"代表内容提供商的某个播 放域名的编号(如, 该内容提供商和第一内容分发网络签约了多个加速域名)。  Specifically, in order to facilitate the second content distribution network identification and facilitate mapping of the play domain name, the configured virtual domain name may include related information of the first content distribution network, or the first content distribution network provides corresponding content. For example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234," may be the first content. The distribution network assigns identification information to the content provider. The specific format of the virtual domain name can be determined by akamai itself. In order to facilitate the content provider to play the mapping between the domain name video.cp.com and the virtual domain name 1234.cdn.akamai.com, The virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the number of a playlist for the content provider (eg, the content provider has signed up for multiple accelerated domain names with the first content distribution network).
602、 第一内容分发网络向所述内容提供商发送虚拟域名;  602. The first content distribution network sends a virtual domain name to the content provider.
第一内容分发网络向内容提供商发送相应播放域名对应的虚拟域名,使得 内容提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根据所述内 容提供商提供的所述虚拟域名向第二内容分发网络发送内容请求。  The first content distribution network sends the virtual domain name corresponding to the corresponding play domain name to the content provider, so that the content provider replaces the play domain name with the virtual domain name, and causes the user terminal to use the virtual domain name provided by the content provider. The second content distribution network sends a content request.
具体的, 内容提供商在收到相应播放域名对应的虚拟域名之后,在内容提 供商的门户网站上修改各个媒体内容所链接的域名(即使用虚拟域名替换相应 的播放域名), 使得用户在点击相应的媒体内容时, 获取到的是该媒体内容对 应的虚拟域名,而用户终端则根据该虚拟域名向第二内容分发网络发送内容请 求, 请求相应的媒体内容。  Specifically, after receiving the virtual domain name corresponding to the corresponding play domain name, the content provider modifies the domain name linked by each media content on the content provider's portal website (ie, replaces the corresponding play domain name by using the virtual domain name), so that the user clicks When the corresponding media content is obtained, the virtual domain name corresponding to the media content is obtained, and the user terminal sends a content request to the second content distribution network according to the virtual domain name, and requests the corresponding media content.
603、第一内容分发网络向第二内容分发网络发送内容提供商的配置信息; 第一内容分发网络向第二内容分发网络发送内容提供商的配置信息,使得 第二内容分发网络可以根据所述配置信息对所述内容请求进行操作。  603. The first content distribution network sends configuration information of the content provider to the second content distribution network. The first content distribution network sends configuration information of the content provider to the second content distribution network, so that the second content distribution network may be configured according to the The configuration information operates on the content request.
在实际应用中, 第二内容分发网络在接收到用户终端发起的内容请求时, 需要确认该内容请求所请求的媒体内容是否为第一内容分发网络所需要提供 加速的媒体内容(由于第一内容分发网络与第二内容分发网络之间有签约关 系, 只有确认是第一内容分发网络所指定的媒体内容才会提供服务), 然后再 相应该内容请求。 具体的, 上述配置信息可以为虚拟域名, 或第一内容分发网 络为内容提供商分配的标识信息 (该标识信息与虚拟域名相对应), 或针对所 述虚拟域名或标识信息配置的控制信息; 该控制消息可以包括: 允许分发的区 域和 /或时间范围信息, 允许采用的分发协议。 In an actual application, when receiving the content request initiated by the user terminal, the second content distribution network needs to confirm whether the media content requested by the content request is an accelerated media content required by the first content distribution network (due to the first content) The distribution network has a contractual relationship with the second content distribution network, and only the media content specified by the first content distribution network is confirmed to provide the service, and then the content request is corresponding. Specifically, the foregoing configuration information may be a virtual domain name, or identifier information allocated by the first content distribution network for the content provider (the identifier information corresponds to the virtual domain name), or The control information configured by the virtual domain name or the identification information; the control message may include: an area and/or time range information that is allowed to be distributed, and a distribution protocol that is allowed to be adopted.
步骤 602与步骤 603之间没有严格的时序关系, 可以是同时进行的。 604、 第一内容分发网络接收用户终端发送的 DNS请求;  There is no strict timing relationship between step 602 and step 603, which can be performed simultaneously. 604. The first content distribution network receives a DNS request sent by the user terminal.
第一内容分发网络接收用户终端发送的 DNS请求,该 DNS请求用于查询 上述虚拟域名所对应的 IP地址。  The first content distribution network receives a DNS request sent by the user terminal, and the DNS request is used to query an IP address corresponding to the virtual domain name.
605、第一内容分发网络根据 DNS请求获取第二内容分发网络的服务地址 或路由地址;  605. The first content distribution network acquires a service address or a routing address of the second content distribution network according to the DNS request.
第一内容分发网络根据上述 DNS请求获取第二内容分发网络的服务地址 或路由地址。  The first content distribution network acquires a service address or a routing address of the second content distribution network according to the above DNS request.
具体的, 第一内容分发网络可以向第二内容分发网络发送地址请求消息, 所述地址请求消息中可以携带有上述虚拟域名;第二内容分发网络在接收到该 地址请求消息之后,向第一内容分发网络返回第二内容分发网络的服务地址或 路由地址。  Specifically, the first content distribution network may send an address request message to the second content distribution network, where the address request message may carry the virtual domain name; after receiving the address request message, the second content distribution network may first The content distribution network returns a service address or routing address of the second content distribution network.
606、 第一内容分发网络向用户终端发送上述服务地址或路由地址; 第一内容分发网络向用户终端发送第二内容分发网络的服务地址或路由 地址,使得用户终端使用上述虚拟域名向第二内容分发网络的服务地址或路由 地址发送第二内容请求,该第二内容请求用于向第二内容分发网络请求上述媒 体内容。  606. The first content distribution network sends the service address or the routing address to the user terminal. The first content distribution network sends the service address or the routing address of the second content distribution network to the user terminal, so that the user terminal uses the virtual domain name to the second content. The service address or routing address of the distribution network sends a second content request for requesting the media content to the second content distribution network.
下面对用于执行上述媒体内容的传输方法的本发明内容分发网络的实施 例进行说明, 其逻辑结构请参考图 7, 本发明实施例中内容分发网络的一个实 施例包括:  The following describes an embodiment of the content distribution network of the present invention for performing the above-described method for transmitting media content. For the logical structure, please refer to FIG. 7. An embodiment of the content distribution network in the embodiment of the present invention includes:
第一接收单元 701 , 用于接收用户终端发送的第一内容请求, 所述第一内 容请求携带有内容提供商的播放域名;  The first receiving unit 701 is configured to receive a first content request sent by the user terminal, where the first content request carries a play domain name of the content provider;
第一获取单元 702, 用于获取所述第一内容请求中的播放域名对应的虚拟 域名;  The first obtaining unit 702 is configured to acquire a virtual domain name corresponding to the play domain name in the first content request.
第一返回单元 703, 用于向所述用户终端返回第一内容请求响应, 所述第 一内容请求响应携带有所述虚拟域名 ,所述第一内容请求响应用于指示所述用 户终端使用所述虚拟域名向互通的内容分发网络请求所述内容提供商提供的 媒体内容。 a first returning unit 703, configured to return a first content request response to the user terminal, where the first content request response carries the virtual domain name, and the first content request response is used to indicate that the user terminal uses the The virtual domain name is requested by the content provider to the intercommunication content distribution network Media content.
本发明实施例中的内容分发网络还可以进一步包括:  The content distribution network in the embodiment of the present invention may further include:
第二获取单元 704, 用于获取所述用户终端发送的第一域名服务 DNS请 求, 所述第一 DNS请求携带有内容提供商的播放域名;  The second obtaining unit 704 is configured to obtain a first domain name service DNS request sent by the user terminal, where the first DNS request carries a play domain name of the content provider;
第一判断单元 705, 用于判断所述播放域名是否需要进行隐藏, 若是, 则 向所述用户终端返回本地的服务地址或路由地址,使得所述用户终端向本地的 服务地址或路由地址发送所述第一内容请求。  The first determining unit 705 is configured to determine whether the play domain name needs to be hidden, and if yes, return a local service address or a routing address to the user terminal, so that the user terminal sends the local service address or routing address to the local service address or routing address. The first content request is described.
第二接收单元 706, 用于接收用户终端发送的第二 DNS请求, 所述第二 DNS请求中携带有所述虚拟域名; 的服务地址或路由地址;  The second receiving unit 706 is configured to receive a second DNS request sent by the user terminal, where the second DNS request carries a service address or a routing address of the virtual domain name;
第一发送单元 708 , 用于向所述用户终端发送所述互通的内容分发网络的 服务地址或路由地址,使得所述用户终端使用所述虚拟域名向所述互通的内容 分发网络的服务地址或路由地址请求所述内容提供商提供的媒体内容。  a first sending unit 708, configured to send, to the user terminal, a service address or a routing address of the interworking content distribution network, so that the user terminal uses the virtual domain name to distribute the service address of the network to the intercommunicated content or The routing address requests the media content provided by the content provider.
替换单元 709, 用于使用所述虚拟域名替换所述第一内容请求中的播放域 名;  a replacement unit 709, configured to replace, by using the virtual domain name, a play domain name in the first content request;
第二发送单元 710, 用于向所述互通的内容分发网络发送播放域名替换后 的第一内容请求;  a second sending unit 710, configured to send, to the intercommunicating content distribution network, a first content request after playing the domain name replacement;
第二返回单元 711 , 用于接收所述互通的内容分发网络返回的所述互通的 内容分发网络的服务地址或路由地址。  The second returning unit 711 is configured to receive a service address or a routing address of the intercommunicating content distribution network returned by the intercommunicating content distribution network.
第三接收单元 712, 用于接收所述互通的内容分发网络发送的携带所述虚 拟域名的第三内容请求,所述第三内容请求用于向本地请求所述内容提供商提 供的媒体内容;  The third receiving unit 712 is configured to receive, by the interworking content distribution network, a third content request that carries the virtual domain name, where the third content request is used to locally request the media content provided by the content provider;
第二判断单元 713 , 用于若第三内容请求是向所述本地的服务地址发送 的, 则判断本地是否存有所述媒体内容, 若有, 则向所述互通的内容分发网络 返回所述媒体内容; 若没有, 则根据所述虚拟域名查找内容提供商的统一资源 定位符 URL, 并根据所述 URL向所述内容提供商请求所述媒体内容, 在接收 到所述内容提供商发送的所述媒体内容之后,向所述互通的内容分发网络返回 所述媒体内容。 为了方便描述下面实施例称与内容提供商签约的内容分发网络为第一内 容分发网络, 与第一内容分发网络互通的内容分发网络为第二内容分发网络。 a second determining unit 713, configured to: if the third content request is sent to the local service address, determine whether the media content exists locally, and if yes, return the content to the intercommunicating content distribution network Media content; if not, searching for a uniform resource locator URL of the content provider according to the virtual domain name, and requesting the media content from the content provider according to the URL, and receiving the content sent by the content provider After the media content, the media content is returned to the intercommunicating content distribution network. For convenience of description, the content distribution network that is contracted with the content provider is the first content distribution network, and the content distribution network that communicates with the first content distribution network is the second content distribution network.
在用户终端在内容提供商的门户网站点击了相应的媒体内容后,第一内容 分发网络的第二获取单元 704 获取用户终端发送的第一 DNS 请求, 该第一 DNS请求中携带有内容提供商的播放域名, 该第一 DNS请求用于查询该播放 域名对应的 IP地址。  After the user terminal clicks the corresponding media content on the portal of the content provider, the second obtaining unit 704 of the first content distribution network acquires the first DNS request sent by the user terminal, where the first DNS request carries the content provider The playing domain name, the first DNS request is used to query the IP address corresponding to the playing domain name.
然后,第一判断单元 705第一内容分发网络判断上述播放域名是否需要进 行隐藏, 若是, 则向用户终端返回第一内容分发网络的服务地址或路由地址, 使得所述用户终端向本地的服务地址或路由地址发送所述第一内容请求; 若 否, 则按现有技术的流程操作。  Then, the first determining unit 705 determines whether the playing domain name needs to be hidden, and if yes, returns a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal sends the local service address to the local service address. Or the routing address sends the first content request; if not, operates according to the prior art process.
在用户终端收到第一内容分发网络的服务地址或路由地址之后,第一接收 单元 701 接收用户终端根据所述第一内容分发网络的服务地址或第一内容分 发网络的路由地址发送的第一内容请求,所述第一内容请求携带有内容提供商 的播放域名。  After the user terminal receives the service address or the routing address of the first content distribution network, the first receiving unit 701 receives the first sent by the user terminal according to the service address of the first content distribution network or the routing address of the first content distribution network. The content request, the first content request carries a play domain name of the content provider.
在收到上述第一内容请求之后,第一获取单元 702获取内容提供商的播放 域名对应的虚拟域名, 并存储所述播放域名和所述虚拟域名的映射关系。  After receiving the first content request, the first obtaining unit 702 acquires a virtual domain name corresponding to the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name.
可选的, 可以由第一内容分发网络为播放域名配置相应的虚拟域名; 具体 的, 为了便于第二内容分发网络识別, 以及便于对播放域名进行映射, 所配置 的虚拟域名可以会包含有第一内容分发网络的相关信息,或第一内容分发网络 为相应的内容提供商分配的标识信息,该第一内容分发网络的相关信息可以包 括: 第一内容分发网络的标识(具体可以是第一内容分发网络的名称), 或第 一内容分发网络为内容提供商的播放域名分配的标识; 例如,假设第一内容分 发网络为运营商 akamai , 则为某个播放域名生成的虚拟域名可以为 1234.cdn.akamai.com, 其中, "1234"可以为第一内容分发网络为内容提供商分 配的标识信息, 虚拟域名的具体格式可以由 akamai 自己决定。 为了方便内容 提供商的播放域名 video.cp.com和虚拟域名 1234.cdn.akamai .com之间的映射 , 虚拟域名还可以为 10.1234.cdn.akamai.com,其中" 10"代表内容提供商的某个播 放域名的编号(如, 该内容提供商和第一内容分发网络签约了多个加速域名)。 可选的,第一内容分发网络可以先由第一返回单元 703向用户终端返回第 一内容请求响应,所述第一内容请求响应用于指示用户终端使用上述虚拟域名 向第二内容分发网络请求内容提供商提供的媒体内容;在用户终端接收到所述 第一内容请求响应之后,使用上述虚拟域名向第二内容分发网络请求内容提供 商提供的媒体内容,但是, 由于用户终端无法直接根据所述虚拟域名找到第二 内容分发网络, 因此, 需要向第一内容分发网络发送第二 DNS请求; 第二接 收单元 706接收用户终端发送的第二 DNS请求, 并由第三获取单元 707根据 上述第二 DNS请求获取第二内容分发网络的服务地址或路由地址, 最后由第 一发送单元 708向用户终端发送第二内容分发网络的服务地址或路由地址,使 得用户终端可以向第二内容分发网络的服务地址或路由地址发送第二内容请 求, 以获取内容提供商提供的媒体内容。 Optionally, the first content distribution network may configure a corresponding virtual domain name for the play domain name. Specifically, in order to facilitate the second content distribution network identification and facilitate mapping of the play domain name, the configured virtual domain name may include The related information of the first content distribution network, or the identifier information of the first content distribution network, and the related information of the first content distribution network may include: an identifier of the first content distribution network (specifically, The name of a content distribution network), or the identifier of the first content distribution network assigned to the content provider's play domain name; for example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234" can be the identification information assigned to the content provider by the first content distribution network. The specific format of the virtual domain name can be determined by akamai itself. In order to facilitate the mapping between the content provider video.cp.com and the virtual domain name 1234.cdn.akamai.com, the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider. The number of a play domain name (for example, the content provider and the first content distribution network have signed up for multiple accelerated domain names). Optionally, the first content distribution network may first return, by the first returning unit 703, a first content request response to the user terminal, where the first content request response is used to indicate that the user terminal uses the virtual domain name to request the second content distribution network. The media content provided by the content provider; after receiving the first content request response, the user terminal requests the media content provided by the content provider to the second content distribution network by using the virtual domain name, but the user terminal cannot directly The virtual domain name finds the second content distribution network, and therefore, the second DNS request needs to be sent to the first content distribution network; the second receiving unit 706 receives the second DNS request sent by the user terminal, and is processed by the third obtaining unit 707 according to the foregoing The second DNS request acquires the service address or the routing address of the second content distribution network, and finally the first sending unit 708 sends the service address or routing address of the second content distribution network to the user terminal, so that the user terminal can distribute the network to the second content distribution network. Service address or routing address sends a second content request to obtain Take the media content provided by the content provider.
可选的,第一内容分发网络也可以由替换单元 709使用上述获取到的虚拟 域名替换第一内容请求中的播放域名。 具体的,替换单元 709可以删除第一内 容请求中的播放域名,使用上述获取到的虚拟域名替换; 并且第一内容分发网 络还可以修改请求内容, 如, 增加用户终端的 IP地址等信息; 由第二发送单 元 710向第二内容分发网络发送播放域名替换后的第一内容请求,使得第二内 容分发网络返回第二内容分发网络返回的服务地址; 最好由第二返回单元 711 向用户终端返回第一内容请求响应,所述第一内容请求响应消息中携带所述第 二内容分发网络的服务地址,使得用户终端可以向第二内容分发网络的服务地 址或路由地址发送第二内容请求, 以获取内容提供商提供的媒体内容。  Optionally, the first content distribution network may also replace the play domain name in the first content request by the replacing unit 709 using the obtained virtual domain name. Specifically, the replacing unit 709 may delete the play domain name in the first content request, and replace it by using the obtained virtual domain name; and the first content distribution network may further modify the request content, for example, increase the IP address of the user terminal, etc.; The second sending unit 710 sends a first content request after the domain name replacement is played to the second content distribution network, so that the second content distribution network returns the service address returned by the second content distribution network; preferably, the second return unit 711 is directed to the user terminal. Returning a first content request response, where the first content request response message carries a service address of the second content distribution network, so that the user terminal can send a second content request to a service address or a routing address of the second content distribution network, To get the media content provided by the content provider.
在用户终端获取到第二内容分发网络的服务地址之后,用户终端向第二内 容分发网络的服务地址发送第二内容请求,但是,在实际应用中第二内容分发 网络可能在本地没有存有相应的媒体内容, 因此, 无法给用户终端返回媒体内 容;则第一内容分发网络的第三接收单元 712会接收到所述第二内容分发网络 发送的第三内容请求,所述第三内容请求用于向第一内容分发网络请求内容提 供商提供的媒体内容。  After the user terminal acquires the service address of the second content distribution network, the user terminal sends a second content request to the service address of the second content distribution network, but in the actual application, the second content distribution network may not have a corresponding local content. The media content, therefore, the media content cannot be returned to the user terminal; the third receiving unit 712 of the first content distribution network receives the third content request sent by the second content distribution network, and the third content request Requesting media content provided by the content provider to the first content distribution network.
在接收到第三内容请求之后,若第三内容请求是向所述本地的服务地址发 送的, 则第二判断单元 713会判断本地是否存有所述媒体内容, 若有, 则向所 述第二内容分发网络返回所述媒体内容; 若没有, 则根据所述虚拟域名查找内 容提供商的统一资源定位符 URL, 并根据所述 URL向所述内容提供商请求所 述媒体内容,在接收到所述内容提供商发送的所述媒体内容之后, 向所述第二 内容分发网络返回所述媒体内容。 After receiving the third content request, if the third content request is sent to the local service address, the second determining unit 713 determines whether the media content exists locally, and if so, to the first Returning, by the second content distribution network, the media content; if not, searching within the virtual domain name And a uniform resource locator URL of the provider, and requesting the media content from the content provider according to the URL, and after receiving the media content sent by the content provider, distributing the content to the second content The network returns the media content.
下面对用于执行上述媒体内容的传输方法的本发明用户终端的实施例进 行说明,其逻辑结构请参考图 8,本发明实施例中用户终端的一个实施例包括: 第一请求发送单元 801 , 用于向第一内容分发网络发送第一内容请求, 所 述第一内容请求携带有内容提供商的播放域名;  The following describes an embodiment of the user terminal of the present invention for performing the foregoing method for transmitting media content. For the logical structure, please refer to FIG. 8. One embodiment of the user terminal in the embodiment of the present invention includes: a first request sending unit 801 And sending, to the first content distribution network, a first content request, where the first content request carries a play domain name of the content provider;
响应接收单元 802, 用于接收第一内容请求响应, 所述第一内容请求响应 中携带虚拟域名;  The response receiving unit 802 is configured to receive a first content request response, where the first content request response carries a virtual domain name;
内容请求单元 803 , 用于使用所述第一内容请求响应中携带的虚拟域名向 第二内容分发网络请求所述内容提供商提供的媒体内容。  The content requesting unit 803 is configured to request, by using the virtual domain name carried in the first content request response, the media content provided by the content provider to the second content distribution network.
本发明实施例中的用户终端还可以进一步包括:  The user terminal in the embodiment of the present invention may further include:
第二请求发送单元 804, 用于发送第一 DNS请求, 所述第一 DNS请求携 带有内容提供商的播放域名;  The second request sending unit 804 is configured to send a first DNS request, where the first DNS request carries a play domain name of the content provider;
地址接收单元 805 , 用于接收第一内容分发网络或 DNS代理返回的所述 第一内容分发网络的服务地址或路由地址, 以使得所述第一请求发送单元 801 根据所述第一内容分发网络的服务地址或路由地址发送第一内容请求。  The address receiving unit 805 is configured to receive a service address or a routing address of the first content distribution network returned by the first content distribution network or the DNS proxy, so that the first request sending unit 801 is configured according to the first content distribution network. The service address or routing address sends the first content request.
本发明实施例中的内容请求单元 803包括:  The content requesting unit 803 in the embodiment of the present invention includes:
地址获取子模块 8031 , 用于根据所述虚拟域名获取所述第二内容分发网 络的服务地址或路由地址;;  An address obtaining submodule 8031, configured to acquire a service address or a routing address of the second content distribution network according to the virtual domain name;
内容请求子模块 8032, 用于根据所述虚拟域名向所述第二内容分发网络 的服务地址或路由地址请求所述内容提供商提供的媒体内容。  The content requesting sub-module 8032 is configured to request, according to the virtual domain name, the media content provided by the content provider to a service address or a routing address of the second content distribution network.
所述响应接收单元 802接收到的所述第一内容请求响应还携带所述第二 内容分发网络的服务地址或路由地址;  The first content request response received by the response receiving unit 802 further carries a service address or a routing address of the second content distribution network;
所述内容请求单元 803 具体用于使用所述第一内容请求响应中携带的虚 拟域名,向所述第二内容分发网络的服务地址或路由地址请求所述内容提供商 提供的媒体内容。  The content requesting unit 803 is specifically configured to request, by using a virtual domain name carried in the first content request response, the media content provided by the content provider to a service address or a routing address of the second content distribution network.
本发明实施例用户终端中各个单元具体的执行过程如下:  The specific execution process of each unit in the user terminal in the embodiment of the present invention is as follows:
用户终端在内容提供商的门户网站上点击了相应的媒体内容,就会获取到 该媒体内容对应的播放域名,用户终端的第二请求发送单元 804发送第一 DNS 请求, 用于查询播放域名对应的 IP地址, 该第一 DNS请求携带有内容提供商 的播放域名。 The user terminal clicks on the corresponding media content on the content provider's portal and gets it. The second domain request sending unit 804 of the user terminal sends a first DNS request for querying the IP address corresponding to the playing domain name, and the first DNS request carries the playing domain name of the content provider.
之后, 地址接收单元 805就会接收到第一内容分发网络或 DNS代理返回 的第一内容分发网络的服务地址或路由地址。在实际应用中, 用户终端发送的 DNS 请求可以由第一内容分发网络返回响应 (即返回第一内容分发网络的服 务地址或路由地址), 也可以由 DNS代理返回响应, 此处具体不作限定。  Thereafter, the address receiving unit 805 receives the service address or routing address of the first content distribution network returned by the first content distribution network or the DNS proxy. In a practical application, the DNS request sent by the user terminal may be returned by the first content distribution network (that is, the service address or the routing address of the first content distribution network is returned), and the response may be returned by the DNS proxy, which is not limited herein.
之后,第一请求发送单元 801根据上述接收到的服务地址或路由地址向第 一内容分发网络发送第一内容请求,该第一内容请求携带有内容提供商的播放 域名。  Thereafter, the first request sending unit 801 sends a first content request to the first content distribution network according to the received service address or routing address, the first content request carrying the play domain name of the content provider.
之后, 响应接收单元 802接收第一内容请求响应, 该第一内容请求响应中 携带有上述播放域名对应的虚拟域名。在用户终端获取到该虚拟域名后, 可以 使用该虚拟域名替换相应的播放域名,再使用该虚拟域名向第二内容分发网络 请求内容提供商提供的媒体内容。  Then, the response receiving unit 802 receives the first content request response, where the first content request response carries the virtual domain name corresponding to the play domain name. After the virtual domain name is obtained by the user terminal, the virtual domain name may be used to replace the corresponding play domain name, and then the virtual domain name is used to request the media content provided by the content provider to the second content distribution network.
之后,内容请求单元 803使用所述第一内容请求响应中携带的虚拟域名向 第二内容分发网络请求所述内容提供商提供的媒体内容。具体的, 由地址获取 子模块 8031接收返回的所述第二内容分发网络的服务地址或路由地址;最好, 内容请求子模块 8032根据所述虚拟域名向所述第二内容分发网络的服务地址 或路由地址发送第二内容请求, 使得所述第二内容分发网络返回所述媒体内 容。  Thereafter, the content requesting unit 803 requests the media content provided by the content provider to the second content distribution network using the virtual domain name carried in the first content request response. Specifically, the address obtaining submodule 8031 receives the returned service address or routing address of the second content distribution network; preferably, the content requesting submodule 8032 sends the service address of the second content distribution network according to the virtual domain name. Or routing address sends a second content request, causing the second content distribution network to return the media content.
下面对用于执行上述静态配置虚拟域名的方法的本发明内容分发网络的 实施例进行说明, 其逻辑结构请参考图 9, 本发明实施例中内容分发网络的另 一个实施例包括:  The following describes an embodiment of the content distribution network of the present invention for performing the above method for statically configuring a virtual domain name. For the logical structure, refer to FIG. 9. Another embodiment of the content distribution network in the embodiment of the present invention includes:
配置单元 901 , 用于为内容提供商的播放域名配置虚拟域名;  The configuration unit 901 is configured to configure a virtual domain name for the play domain name of the content provider.
域名发送单元 902, 用于向所述内容提供商发送所述虚拟域名, 使得所述 内容提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根据所述虚 拟域名向互通的内容分发网络发送内容请求以获取媒体内容。  The domain name sending unit 902 is configured to send the virtual domain name to the content provider, so that the content provider replaces the play domain name by using the virtual domain name, and causes the user terminal to distribute the content to the intercommunicated content according to the virtual domain name. The network sends a content request to get the media content.
本发明实施例中的内容分发网络还可以进一步包括:  The content distribution network in the embodiment of the present invention may further include:
请求接收单元 903 , 用于接收所述用户终端发送的 DNS请求, 所述 DNS 请求携带有所述内容提供商提供给所述用户终端的所述虚拟域名; 发送单元 905 , 用于向所述用户终端发送所述互通的内容分发网络的服务 地址发送内容请求。 第一内容分发网络的配置单元 901 为内容提供商的播放域名配置虚拟域 名, 并存储该播放域名与虚拟域名的映射关系。 具体的, 为了便于第二内容分 发网络识別, 以及便于对播放域名进行映射, 所配置的虚拟域名可以会包含有 第一内容分发网络的相关信息,或第一内容分发网络为相应的内容提供商分配 的标识信息; 例如, 假设第一内容分发网络为运营商 akamai, 则为某个播放 域名生成的虚拟域名可以为 1234.cdn.akamai.com, 其中, "1234"可以为第一内 容分发网络为内容提供商分配的标识信息,虚拟域名的具体格式可以由 akamai 自己决定。 为了方便内容提供商的播放域名 video.cp.com 和虚拟域名 1234.cdn.akamai.com之间的映射, 虚拟域名还可以为 10.1234.cdn.akamai.com, 其中" 10"代表内容提供商的某个播放域名的编号。 a request receiving unit 903, configured to receive a DNS request sent by the user terminal, where the DNS The request carries the virtual domain name provided by the content provider to the user terminal; and the sending unit 905 is configured to send a service address sending content request of the intercommunicating content distribution network to the user terminal. The configuration unit 901 of the first content distribution network configures a virtual domain name for the play domain name of the content provider, and stores a mapping relationship between the play domain name and the virtual domain name. Specifically, in order to facilitate the second content distribution network identification and facilitate mapping of the play domain name, the configured virtual domain name may include related information of the first content distribution network, or the first content distribution network provides corresponding content. For example, if the first content distribution network is the operator akamai, the virtual domain name generated for a certain play domain name may be 1234.cdn.akamai.com, where "1234" may be the first content distribution. The identification information assigned by the network to the content provider. The specific format of the virtual domain name can be determined by akamai itself. In order to facilitate the mapping between the content provider video.cp.com and the virtual domain name 1234.cdn.akamai.com, the virtual domain name can also be 10.1234.cdn.akamai.com, where "10" represents the content provider. The number of a play domain name.
域名发送单元 902向内容提供商发送相应播放域名对应的虚拟域名,使得 内容提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根据所述内 容提供商提供的所述虚拟域名向第二内容分发网络发送内容请求。 具体的, 内 容提供商在收到相应播放域名对应的虚拟域名之后,在内容提供商的门户网站 上修改各个媒体内容所链接的域名 (即使用虚拟域名替换相应的播放域名), 使得用户在点击相应的媒体内容时, 获取到的是该媒体内容对应的虚拟域名, 而用户终端则根据该虚拟域名向第二内容分发网络发送内容请求,请求相应的 媒体内容。  The domain name sending unit 902 sends the virtual domain name corresponding to the corresponding playing domain name to the content provider, so that the content provider replaces the playing domain name with the virtual domain name, and causes the user terminal to follow the virtual domain name provided by the content provider. The content distribution network sends a content request. Specifically, after receiving the virtual domain name corresponding to the corresponding play domain name, the content provider modifies the domain name linked by each media content on the content provider's portal website (ie, replaces the corresponding play domain name by using the virtual domain name), so that the user clicks When the corresponding media content is obtained, the virtual domain name corresponding to the media content is obtained, and the user terminal sends a content request to the second content distribution network according to the virtual domain name, and requests the corresponding media content.
在实际应用中, 第二内容分发网络在接收到用户终端发起的内容请求时, 需要确实该内容请求所请求的媒体内容是否为第一内容分发网络所需要提供 加速的媒体内容(由于第一内容分发网络与第二内容分发网络之间有签约关 系, 只有确认是第一内容分发网络所指定的媒体内容才会提供服务), 然后再 相应该内容请求。 具体的, 上述配置信息可以为虚拟域名, 或第一内容分发网 络为内容提供商分配的标识信息 (该标识信息与虚拟域名相对应), 或针对所 述虚拟域名或标识信息配置的控制信息; 该控制消息可以包括: 允许分发的区 域和 /或时间范围信息, 允许采用的分发协议。 In an actual application, when receiving the content request initiated by the user terminal, the second content distribution network needs to determine whether the media content requested by the content request is accelerated media content required by the first content distribution network (due to the first content) The distribution network has a contractual relationship with the second content distribution network, and only the media content specified by the first content distribution network is confirmed to provide the service, and then the content request is corresponding. Specifically, the foregoing configuration information may be a virtual domain name, or a first content distribution network. The identification information assigned to the content provider (the identification information corresponds to the virtual domain name), or the control information configured for the virtual domain name or the identification information; the control message may include: area and/or time range information that is allowed to be distributed , the distribution agreement allowed.
在向内容提供商发送了虚拟域名,以及向第二内容分发网络发送了内容提 供商的配置信息之后, 请求接收单元 903接收用户终端发送的 DNS请求, 该 DNS请求用于查询上述虚拟域名所对应的的 IP地址。 获取单元 904根据上述 DNS请求获取第二内容分发网络的服务地址或路由地址; 最后,发送单元 905 向用户终端发送第二内容分发网络的服务地址或路由地址,使得用户终端可以 向第二内容分发网络的服务地址或路由地址发送第二内容请求,以获取内容提 供商提供的媒体内容。  After the virtual domain name is sent to the content provider, and the configuration information of the content provider is sent to the second content distribution network, the request receiving unit 903 receives a DNS request sent by the user terminal, where the DNS request is used to query the corresponding virtual domain name. IP address. The obtaining unit 904 acquires the service address or the routing address of the second content distribution network according to the foregoing DNS request. Finally, the sending unit 905 sends the service address or the routing address of the second content distribution network to the user terminal, so that the user terminal can distribute the content to the second content. The service address or routing address of the network sends a second content request to obtain the media content provided by the content provider.
在本申请所提供的几个实施例中,应该理解到, 所揭露的装置和方法可以 通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如, 所述单元的划分,仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方 式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可 以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性, 机才戒或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为 单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者 也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部 单元来实现本实施例方案的目的。  The units described as separate components may or may not be physically separate, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的 形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解, 本发 明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全 部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前述 的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ), 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以 存储程序代码的介质。 The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage. The medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 所述以权利要求的保护范围为准。  The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种媒体内容的传输方法, 其特征在于, 包括:  A method for transmitting media content, characterized in that it comprises:
第一内容分发网络接收用户终端发送的第一内容请求,所述第一内容请求 携带有内容提供商的播放域名;  Receiving, by the first content distribution network, a first content request sent by the user terminal, where the first content request carries a play domain name of the content provider;
所述第一内容分发网络获取所述播放域名对应的虚拟域名;  Obtaining, by the first content distribution network, a virtual domain name corresponding to the play domain name;
所述第一内容分发网络向所述用户终端返回第一内容请求响应,所述第一 内容请求响应携带所述虚拟域名,所述第一内容请求响应用于指示所述用户终 端使用所述虚拟域名向第二内容分发网络请求所述内容提供商提供的媒体内 谷。  Returning, by the first content distribution network, a first content request response to the user terminal, where the first content request response carries the virtual domain name, and the first content request response is used to indicate that the user terminal uses the virtual The domain name requests the media distribution network provided by the content provider to the second content distribution network.
2、 根据权利要求 1所述的方法, 其特征在于, 所述接收用户终端发送的 第一内容请求之前, 还包括:  The method according to claim 1, wherein before receiving the first content request sent by the user terminal, the method further includes:
所述第一内容分发网络获取所述用户终端发送的第一域名服务请求,所述 第一域名服务请求携带内容提供商的播放域名;  The first content distribution network acquires a first domain name service request sent by the user terminal, and the first domain name service request carries a play domain name of the content provider;
所述第一内容分发网络判断所述播放域名是否需要进行隐藏, 若是, 则向 所述用户终端返回所述第一内容分发网络的服务地址或路由地址,使得所述用 户终端向所述第一内容分发网络的服务地址或路由地址发送所述第一内容请 求。  Determining, by the first content distribution network, whether the play domain name needs to be hidden, and if yes, returning a service address or a routing address of the first content distribution network to the user terminal, so that the user terminal is to the first The first content request is sent by a service address or a routing address of the content distribution network.
3、 根据权利要求 1所述的方法, 其特征在于, 所述接收用户终端发送的 第一内容请求之后, 还包括:  The method according to claim 1, wherein after receiving the first content request sent by the user terminal, the method further includes:
所述第一内容分发网络判断所述播放域名是否需要进行隐藏, 若是, 则触 发所述获取所述播放域名对应的虚拟域名的步骤。  The first content distribution network determines whether the play domain name needs to be hidden, and if so, triggers the step of acquiring the virtual domain name corresponding to the play domain name.
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述向用户终端返回 第一内容请求响应之后, 还包括:  The method according to claim 2 or 3, wherein after the returning the first content request response to the user terminal, the method further includes:
所述第一内容分发网络接收用户终端发送的第二域名服务请求,所述第二 域名服务请求中携带有所述虚拟域名;  Receiving, by the first content distribution network, a second domain name service request sent by the user terminal, where the second domain name service request carries the virtual domain name;
所述第一内容分发网络根据所述虚拟域名获取所述第二内容分发网络的 服务地址或路由地址;  Obtaining, by the first content distribution network, a service address or a routing address of the second content distribution network according to the virtual domain name;
所述第一内容分发网络向所述用户终端发送所述第二内容分发网络的服 务地址或路由地址,使得所述用户终端使用所述虚拟域名向所述第二内容分发 网络的服务地址或路由地址请求所述内容提供商提供的媒体内容。 Transmitting, by the first content distribution network, a service address or a routing address of the second content distribution network to the user terminal, so that the user terminal uses the virtual domain name to distribute the second content The service address or routing address of the network requests the media content provided by the content provider.
5、 根据权利要求 4所述的方法, 其特征在于, 所述第一内容分发网络根 据所述虚拟域名获取第二内容分发网络的服务地址或路由地址, 包括:  The method according to claim 4, wherein the first content distribution network acquires a service address or a routing address of the second content distribution network according to the virtual domain name, and the method includes:
所述第一内容分发网络根据所述虚拟域名向所述第二内容分发网络发送 地址请求消息, 所述地址请求消息中携带有所述虚拟域名;  The first content distribution network sends an address request message to the second content distribution network according to the virtual domain name, where the address request message carries the virtual domain name;
所述第一内容分发网络接收所述第二内容分发网络返回的第二内容分发 网络的服务地址或路由地址。  The first content distribution network receives a service address or a routing address of a second content distribution network returned by the second content distribution network.
6、 根据权利要求 2或 3所述的方法, 其特征在于, 所述向用户终端返回 第一内容请求响应之前, 包括:  The method according to claim 2 or 3, wherein before the returning the first content request response to the user terminal, the method includes:
所述第一内容分发网络使用所述虚拟域名替换所述第一内容请求中的播 放域名;  The first content distribution network replaces the play domain name in the first content request with the virtual domain name;
所述第一内容分发网络向所述第二内容分发网络发送所述播放域名替换 后的第一内容请求;  Transmitting, by the first content distribution network, the first content request after the play domain name replacement to the second content distribution network;
所述第一内容分发网络接收所述第二内容分发网络返回的所述第二内容 分发网络的服务地址;  Receiving, by the first content distribution network, a service address of the second content distribution network returned by the second content distribution network;
所述向用户终端返回第一内容请求响应, 包括:  The returning the first content request response to the user terminal includes:
向所述用户终端返回第一内容请求响应消息,所述第一内容请求响应消息 中携带所述第二内容分发网络的服务地址或路由地址。  And returning, to the user terminal, a first content request response message, where the first content request response message carries a service address or a routing address of the second content distribution network.
7、 根据权利要求 4所述的方法, 其特征在于, 所述向用户终端发送所述 第二内容分发网络的服务地址或路由地址之后, 包括:  The method according to claim 4, after the sending the service address or the routing address of the second content distribution network to the user terminal, the method includes:
所述第一内容分发网络接收所述第二内容分发网络发送的携带所述虚拟 域名的第三内容请求,所述第三内容请求用于向所述第一内容分发网络请求所 述内容提供商提供的媒体内容;  Receiving, by the first content distribution network, a third content request that is sent by the second content distribution network and carrying the virtual domain name, where the third content request is used to request the content provider from the first content distribution network. Provided media content;
若第三内容请求是向所述第一内容分发网络的服务地址发送的,则所述第 一内容分发网络判断本地是否存有所述内容提供商提供的媒体内容, 若有, 则 向所述第二内容分发网络返回所述媒体内容; 若没有, 则根据所述虚拟域名查 找内容提供商的统一资源定位符 URL, 并根据所述 URL向所述内容提供商请 求所述媒体内容,在接收到所述内容提供商发送的所述媒体内容之后, 向所述 第二内容分发网络返回所述媒体内容。 If the third content request is sent to the service address of the first content distribution network, the first content distribution network determines whether the media content provided by the content provider exists locally, and if so, to the Returning, by the second content distribution network, the media content; if not, searching for a uniform resource locator URL of the content provider according to the virtual domain name, and requesting the media content from the content provider according to the URL, and receiving After the media content sent by the content provider, the media content is returned to the second content distribution network.
8、 一种媒体内容的传输方法, 其特征在于, 包括: 8. A method for transmitting media content, characterized by comprising:
用户终端向第一内容分发网络发送第一内容请求,所述第一内容请求携带 内容提供商的播放域名;  The user terminal sends a first content request to the first content distribution network, where the first content request carries a play domain name of the content provider;
所述用户终端接收第一内容请求响应,并使用所述第一内容请求响应中携 带的虚拟域名向第二内容分发网络请求所述内容提供商提供的媒体内容。  The user terminal receives the first content request response and requests the media content provided by the content provider to the second content distribution network using the virtual domain name carried in the first content request response.
9、 根据权利要求 8所述的方法, 其特征在于, 所述向第一内容分发网络 发送第一内容请求之前, 包括:  The method according to claim 8, wherein before the sending the first content request to the first content distribution network, the method includes:
所述用户终端发送第一域名服务请求,所述第一域名服务请求携带内容提 供商的播放域名;  The user terminal sends a first domain name service request, and the first domain name service request carries a play domain name of the content provider;
所述用户终端接收所述第一内容分发网络或域名服务代理返回的所述第 一内容分发网络的服务地址或路由地址,并根据所述第一内容分发网络的服务 地址或路由地址触发所述向第一内容分发网络发送第一内容请求。  Receiving, by the user terminal, a service address or a routing address of the first content distribution network returned by the first content distribution network or a domain name service proxy, and triggering according to the service address or routing address of the first content distribution network A first content request is sent to the first content distribution network.
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述使用所述虚拟域 名向第二内容分发网络请求所述内容提供商提供的媒体内容, 包括:  The method according to claim 8 or 9, wherein the requesting, by the virtual domain name, the media content provided by the content provider to the second content distribution network comprises:
所述用户终端根据所述虚拟域名发送第二域名服务请求;  Sending, by the user terminal, a second domain name service request according to the virtual domain name;
所述用户终端接收返回的所述第二内容分发网络的服务地址或路由地址; 所述用户终端根据所述虚拟域名,向所述第二内容分发网络的服务地址或 路由地址请求所述内容提供商提供的媒体内容。  Receiving, by the user terminal, a service address or a routing address of the returned second content distribution network; the user terminal requesting the content providing to a service address or a routing address of the second content distribution network according to the virtual domain name Media content provided by the business.
11、 根据权利要求 8所述的方法, 其特征在于, 若所述第一内容请求响应 还携带所述第二内容分发网络的服务地址或路由地址,则所述使用所述虚拟域 名向第二内容分发网络请求所述内容提供商提供的媒体内容, 还包括:  The method according to claim 8, wherein if the first content request response further carries a service address or a routing address of the second content distribution network, the using the virtual domain name to the second The content distribution network requests the media content provided by the content provider, and further includes:
所述用户终端使用所述第一内容请求响应中携带的虚拟域名,向所述第二 内容分发网络的服务地址或路由地址请求所述内容提供商提供的媒体内容。  The user terminal requests the media content provided by the content provider to the service address or routing address of the second content distribution network by using the virtual domain name carried in the first content request response.
12、 一种媒体内容的传输方法, 其特征在于, 包括:  12. A method for transmitting media content, comprising:
第一内容分发网络为内容提供商的播放域名配置虚拟域名; 容提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根据所述虚拟 域名向第二内容分发网络发送内容请求以获取媒体内容。  The first content distribution network configures a virtual domain name for the play domain name of the content provider; the content provider replaces the play domain name with the virtual domain name, and causes the user terminal to send a content request to the second content distribution network according to the virtual domain name to obtain Media content.
13、 根据权利要求 14所述的方法, 其特征在于, 所述使得用户终端根据 所述虚拟域名向第二内容分发网络发送内容请求以获取媒体内容, 包括: 所述第一内容分发网络接收所述用户终端发送的域名服务请求,所述域名 服务请求携带有所述内容提供商提供给所述用户终端的所述虚拟域名; 13. The method according to claim 14, wherein the user terminal is caused to be based on Sending the content request to the second content distribution network to obtain the media content, the method includes: the first content distribution network receiving a domain name service request sent by the user terminal, where the domain name service request carries the content provider Providing the virtual domain name to the user terminal;
所述第一内容分发网络获取所述第二内容分发网络的服务地址或路由地 址;  Obtaining, by the first content distribution network, a service address or a routing address of the second content distribution network;
所述第一内容分发网络向所述用户终端发送所述第二内容分发网络的服 务地址,使得所述用户终端根据所述虚拟域名向所述第二内容分发网络的服务 地址发送内容请求。  The first content distribution network sends a service address of the second content distribution network to the user terminal, so that the user terminal sends a content request to a service address of the second content distribution network according to the virtual domain name.
14、 一种内容分发网络, 其特征在于, 包括:  14. A content distribution network, comprising:
第一接收单元, 用于接收用户终端发送的第一内容请求, 所述第一内容请 求携带有内容提供商的播放域名;  a first receiving unit, configured to receive a first content request sent by the user terminal, where the first content request carries a play domain name of the content provider;
第一获取单元, 用于获取所述第一内容请求中的播放域名对应的虚拟域 名;  a first acquiring unit, configured to acquire a virtual domain name corresponding to the play domain name in the first content request;
第一返回单元, 用于向所述用户终端返回第一内容请求响应, 所述第一内 容请求响应携带有所述虚拟域名,所述第一内容请求响应用于指示所述用户终 端使用所述虚拟域名向互通的内容分发网络请求所述内容提供商提供的媒体 内容。  a first returning unit, configured to return a first content request response to the user terminal, where the first content request response carries the virtual domain name, and the first content request response is used to instruct the user terminal to use the The virtual domain name requests the media content provided by the content provider to the intercommunication content distribution network.
15、 根据权利要求 14所述的内容分发网络, 其特征在于, 所述内容分发 网络还包括:  The content distribution network according to claim 14, wherein the content distribution network further comprises:
第二获取单元, 用于获取所述用户终端发送的第一域名服务请求, 所述第 一域名服务请求携带有内容提供商的播放域名;  a second acquiring unit, configured to acquire a first domain name service request sent by the user terminal, where the first domain name service request carries a play domain name of the content provider;
第一判断单元, 用于判断所述播放域名是否需要进行隐藏, 若是, 则向所 述用户终端返回本地的服务地址或路由地址,使得所述用户终端向本地的服务 地址或路由地址发送所述第一内容请求。  a first determining unit, configured to determine whether the play domain name needs to be hidden, and if yes, return a local service address or a routing address to the user terminal, so that the user terminal sends the local service address or a routing address to the local service address or routing address First content request.
16、 根据权利要求 14所述的内容分发网络, 其特征在于, 所述内容分发 网络还包括:  The content distribution network according to claim 14, wherein the content distribution network further comprises:
第二接收单元, 用于接收用户终端发送的第二域名服务请求, 所述第二域 名服务请求中携带有所述虚拟域名;  a second receiving unit, configured to receive a second domain name service request sent by the user terminal, where the second domain name service request carries the virtual domain name;
第三获取单元, 务地址或路由地址; Third acquisition unit, Service address or routing address;
第一发送单元,用于向所述用户终端发送所述互通的内容分发网络的服务 地址或路由地址,使得所述用户终端使用所述虚拟域名向所述互通的内容分发 网络的服务地址或路由地址请求所述内容提供商提供的媒体内容。  a first sending unit, configured to send, to the user terminal, a service address or a routing address of the intercommunicating content distribution network, so that the user terminal uses the virtual domain name to deliver a service address or route of the intercommunicated content distribution network The address requests the media content provided by the content provider.
17、 根据权利要求 14所述的内容分发网络, 其特征在于, 所述内容分发 网络还包括:  The content distribution network according to claim 14, wherein the content distribution network further comprises:
替换单元,用于使用所述虚拟域名替换所述第一内容请求中的所述播放域 名;  a replacement unit, configured to replace the play domain name in the first content request by using the virtual domain name;
第二发送单元,用于向所述互通的内容分发网络发送所述播放域名替换后 的第一内容请求; 分发网络的服务地址。  a second sending unit, configured to send the first content request after the play domain name replacement to the intercommunicating content distribution network; and distribute a service address of the network.
18、 根据权利要求 14所述的内容分发网络, 其特征在于, 所述内容分发 网络还包括:  The content distribution network according to claim 14, wherein the content distribution network further comprises:
第三接收单元,用于接收所述互通的内容分发网络发送的携带所述虚拟域 名的第三内容请求,所述第三内容请求用于向本地请求所述内容提供商提供的 媒体内容;  a third receiving unit, configured to receive a third content request that is sent by the intercommunicating content distribution network to carry the virtual domain name, where the third content request is used to locally request the media content provided by the content provider;
第二判断单元, 用于若第三内容请求是向所述本地的服务地址发送的, 则 判断本地是否存有所述媒体内容, 若有, 则向所述互通的内容分发网络返回所 述媒体内容; 若没有, 则根据所述虚拟域名查找内容提供商的统一资源定位符 URL, 并根据所述 URL向所述内容提供商请求所述媒体内容, 在接收到所述 内容提供商发送的所述媒体内容之后,向所述互通的内容分发网络返回所述媒 体内容。  a second determining unit, configured to: if the third content request is sent to the local service address, determine whether the media content exists locally, and if yes, return the media to the intercommunicating content distribution network Contents; if not, searching for a uniform resource locator URL of the content provider according to the virtual domain name, and requesting the media content from the content provider according to the URL, and receiving the content sent by the content provider After the media content is described, the media content is returned to the intercommunicating content distribution network.
19、 一种用户终端, 其特征在于, 包括:  19. A user terminal, comprising:
第一请求发送单元, 用于向第一内容分发网络发送第一内容请求, 所述第 一内容请求携带有内容提供商的播放域名;  a first request sending unit, configured to send a first content request to the first content distribution network, where the first content request carries a play domain name of the content provider;
响应接收单元, 用于接收第一内容请求响应, 所述第一内容请求响应中携 带虚拟域名;  The response receiving unit is configured to receive a first content request response, where the first content request response carries a virtual domain name;
内容请求单元,用于使用所述虚拟域名向第二内容分发网络请求所述内容 提供商提供的媒体内容。 a content requesting unit, configured to request the content from the second content distribution network by using the virtual domain name Media content provided by the provider.
20、 根据权利要求 19所述的用户终端, 其特征在于, 所述用户终端还包 括:  The user terminal according to claim 19, wherein the user terminal further comprises:
第二请求发送单元, 用于发送第一域名服务请求, 所述第一域名服务请求 携带有内容提供商的播放域名;  a second request sending unit, configured to send a first domain name service request, where the first domain name service request carries a play domain name of the content provider;
地址接收单元,用于接收所述第一内容分发网络或域名服务代理返回的所 述第一内容分发网络的服务地址或路由地址,以使得所述第一请求发送单元根 据所述第一内容分发网络的服务地址或路由发送第一内容请求。  An address receiving unit, configured to receive a service address or a routing address of the first content distribution network returned by the first content distribution network or a domain name service proxy, so that the first request sending unit distributes according to the first content The service address or route of the network sends the first content request.
21、 根据权利要求 19所述的用户终端, 其特征在于, 所述内容请求单元 包括:  The user terminal according to claim 19, wherein the content requesting unit comprises:
地址获取子模块,用于根据所述虚拟域名获取所述第二内容分发网络的服 务地址或路由地址;  An address obtaining submodule, configured to acquire a service address or a routing address of the second content distribution network according to the virtual domain name;
内容请求子模块,用于根据所述虚拟域名向所述第二内容分发网络的服务 地址或路由地址请求所述内容提供商提供的媒体内容。  And a content requesting submodule, configured to request the media content provided by the content provider according to the virtual domain name to a service address or a routing address of the second content distribution network.
22、 根据权利要求 19所述的用户终端, 其特征在于, 所述响应接收单元 接收到的所述第一内容请求响应还携带所述第二内容分发网络的服务地址或 路由地址;  The user terminal according to claim 19, wherein the first content request response received by the response receiving unit further carries a service address or a routing address of the second content distribution network;
所述内容请求单元,具体用于使用所述第一内容请求响应中携带的虚拟域 名,向所述第二内容分发网络的服务地址或路由地址请求所述内容提供商提供 的媒体内容。  The content requesting unit is configured to request, by using a virtual domain name carried in the first content request response, a media content provided by the content provider to a service address or a routing address of the second content distribution network.
23、 一种内容分发网络, 其特征在于, 包括:  23. A content distribution network, comprising:
配置单元, 用于为内容提供商的播放域名配置虚拟域名;  a configuration unit, configured to configure a virtual domain name for a content provider's play domain name;
域名发送单元, 用于向所述内容提供商发送所述虚拟域名,使得所述内容 提供商使用所述虚拟域名替换所述播放域名,并使得用户终端根据所述虚拟域 名向互通的内容分发网络发送内容请求以获取媒体内容。  a domain name sending unit, configured to send the virtual domain name to the content provider, so that the content provider replaces the play domain name with the virtual domain name, and causes the user terminal to distribute the network to the intercommunicated content according to the virtual domain name Send a content request to get media content.
24、 根据权利要求 23所述的内容分发网络, 其特征在于, 所述内容分发 网络还包括:  The content distribution network according to claim 23, wherein the content distribution network further comprises:
请求接收单元, 用于接收所述用户终端发送的域名服务请求, 所述域名服 务请求携带有所述内容提供商提供给所述用户终端的所述虚拟域名; 获取单元, a request receiving unit, configured to receive a domain name service request sent by the user terminal, where the domain name service request carries the virtual domain name provided by the content provider to the user terminal; Acquisition unit,
发送单元, 用于向所述用户终端发送所述互通的内容分发网络的服务地 址,使得所述用户  a sending unit, configured to send, to the user terminal, a service address of the intercommunicating content distribution network, so that the user
址发送内容请求 Send content request
PCT/CN2011/082398 2011-11-18 2011-11-18 Method and related apparatus for transmitting media content WO2012163055A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/082398 WO2012163055A1 (en) 2011-11-18 2011-11-18 Method and related apparatus for transmitting media content
CN2011800026896A CN103222312A (en) 2011-11-18 2011-11-18 Method and related apparatus for transmitting media content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/082398 WO2012163055A1 (en) 2011-11-18 2011-11-18 Method and related apparatus for transmitting media content

Publications (1)

Publication Number Publication Date
WO2012163055A1 true WO2012163055A1 (en) 2012-12-06

Family

ID=47258337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082398 WO2012163055A1 (en) 2011-11-18 2011-11-18 Method and related apparatus for transmitting media content

Country Status (2)

Country Link
CN (1) CN103222312A (en)
WO (1) WO2012163055A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603728A (en) * 2017-02-11 2017-04-26 网宿科技股份有限公司 HTTPS acceleration method and system, data center and node service cloud end

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700682A (en) * 2004-05-21 2005-11-23 迈普(四川)通信技术有限公司 Virtual domain name resolution proxy method and system
WO2010140938A1 (en) * 2009-06-03 2010-12-09 Telefonaktiebolaget L M Ericsson (Publ) Method and node for distributing electronic content in a content distribution network
CN102143184A (en) * 2011-03-31 2011-08-03 华为技术有限公司 Authentication method, authentication device and authentication system for realizing CND (content delivery network) intercommunication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984637B (en) * 2010-11-02 2014-06-11 中兴通讯股份有限公司 Content distribution implementation method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700682A (en) * 2004-05-21 2005-11-23 迈普(四川)通信技术有限公司 Virtual domain name resolution proxy method and system
WO2010140938A1 (en) * 2009-06-03 2010-12-09 Telefonaktiebolaget L M Ericsson (Publ) Method and node for distributing electronic content in a content distribution network
CN102143184A (en) * 2011-03-31 2011-08-03 华为技术有限公司 Authentication method, authentication device and authentication system for realizing CND (content delivery network) intercommunication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603728A (en) * 2017-02-11 2017-04-26 网宿科技股份有限公司 HTTPS acceleration method and system, data center and node service cloud end
CN106603728B (en) * 2017-02-11 2020-03-31 网宿科技股份有限公司 HTTPS acceleration method and system, data center and node service cloud

Also Published As

Publication number Publication date
CN103222312A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
US11178062B2 (en) Orchestrating physical and virtual resources for delivering digital contents
US10122677B2 (en) Delegation of content delivery to a local service
JP6008467B2 (en) Session migration on content-centric network
EP3213222B1 (en) Content delivery systems and methods
US9871722B2 (en) Content delivery network routing method, system and user terminal
US9712422B2 (en) Selection of service nodes for provision of services
JP6440680B2 (en) Location and placement of network node functions in the network
KR101549765B1 (en) Method and apparatus for accessing services affiliated with a discovered service provider
CN105340244A (en) Dynamic content distribution network selection based on context from transient criteria
JP5847185B2 (en) Content sharing method and apparatus using group change information in content-centric network environment
JP4944211B2 (en) Method and apparatus for providing network resources to a content provider
WO2011127800A1 (en) Node choice method, network device and system
US20140310375A1 (en) Network node apparatus for information-centric networking and operating method of the network node apparatus
WO2008102013A2 (en) Addressing system
JP2003308258A (en) Service control network and method for controlling the network
JP5726302B2 (en) Secret or protected access to a network of nodes distributed across a communication architecture using a topology server
WO2012163055A1 (en) Method and related apparatus for transmitting media content
Yan et al. Design and implementation of integrated ICN and CDN as a video streaming service
JP2006259845A (en) Server device, server system and load dispersing method for server system
JP2010113710A (en) Method of transmitting data between peers with network selection according to at least one criterion, and associated management device and communication equipment
WO2011137850A1 (en) Method and device for content obtaining and delivery
EP2400749B1 (en) Access network controls distributed local caching upon end-user download
JP2008206081A (en) Data relaying apparatus and data relaying method used for multi-homing communication system
EP2449475A1 (en) An information processing system and method providing a remote access
JP5810047B2 (en) Communication system and packet communication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11866656

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

Country of ref document: EP

Kind code of ref document: A1