WO2012075970A1 - 一种获取媒体内容的方法、设备及*** - Google Patents

一种获取媒体内容的方法、设备及*** Download PDF

Info

Publication number
WO2012075970A1
WO2012075970A1 PCT/CN2011/083842 CN2011083842W WO2012075970A1 WO 2012075970 A1 WO2012075970 A1 WO 2012075970A1 CN 2011083842 W CN2011083842 W CN 2011083842W WO 2012075970 A1 WO2012075970 A1 WO 2012075970A1
Authority
WO
WIPO (PCT)
Prior art keywords
media content
storage server
response message
requesting entity
request
Prior art date
Application number
PCT/CN2011/083842
Other languages
English (en)
French (fr)
Inventor
欧雄兵
陈寒冰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012075970A1 publication Critical patent/WO2012075970A1/zh

Links

Classifications

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for acquiring media content. Background technique
  • the CDN Content Delivery Network
  • IP Internet Protocol
  • the CDN includes a central storage server, an edge server, a regional cache node, and a CDN routing server.
  • the service provider publishes the media content in the central storage server
  • the edge server and the regional cache node in the CDN store the media content in the central storage server
  • the CDN routing server stores the address information of the central storage server and the regional cache node
  • the terminal may request the media content from the edge server.
  • the edge server obtains the address information of the storage server storing the media content requested by the terminal from the CDN routing server, and the storage server may be the central storage server or The area cache node of the edge server is obtained, and the media content requested by the terminal is obtained from the storage server corresponding to the obtained address information by using the method for obtaining the media content, and then the obtained media content is returned to the terminal.
  • the prior art provides a method for obtaining media content, specifically: the edge server sends a media content request to the storage server through a connection between the edge server and the storage server, and the storage server requests the media content after receiving the media content request.
  • the requested media content is sent to the edge server through the connection, and the edge server receives the media content.
  • each terminal can request the media content required by the edge server, so the edge server may send multiple media content requests to the same storage server through the same connection, but between the storage server sending and receiving Strict order preservation is required, that is, the storage server must send the obtained media content in the order in which the media content request is received, so that the edge server determines the corresponding media content request according to the order of receiving the media content, so that the obtained media content can be forwarded.
  • the edge server determines the corresponding media content request according to the order of receiving the media content, so that the obtained media content can be forwarded.
  • the storage server needs strict order between the sending and receiving, if the data requested by the previous media content does not respond to the subsequent request, there is no response, and in the actual application, the storage server requests the order of the data for each media content request.
  • the order in which the request arrives is not exactly the same, so even if the data is first acquired, it must wait until the data it requested before is sent. If the current connection is congested, all services on that connection will be affected. Summary of the invention
  • the present invention provides a method, device and system for acquiring media content.
  • the technical solution is as follows:
  • a method of obtaining media content comprising:
  • the media content requesting entity sends a media content request to the storage server, where the media content request carries a content identifier and a stream index, where the stream index is used to identify a media content request currently initiated by the media content requesting entity;
  • the media content requesting entity receives a response message from a storage server, the response message carrying the stream index and media content acquired by the storage server;
  • the media content requesting entity sends the media content carried by the response message to the corresponding terminal according to the determined media content request.
  • a media content requesting entity where the media content requesting entity includes:
  • a first sending module configured to send a media content request to a storage server, where the media content request carries a content identifier and a stream index, where the stream index is used to identify a media content request currently initiated by the media content requesting entity;
  • a receiving module configured to receive a response message from the storage server, where the response message carries the stream index and media content acquired by the storage server;
  • a determining module configured to determine, according to the flow index carried by the response message, a media content request corresponding to the response message
  • a second sending module configured to send the media content carried by the response message to the corresponding terminal according to the determined media content request.
  • a storage server comprising: a third receiving module, configured to receive a media content request sent by the media content requesting entity, where the media content request carries a content identifier and a stream index;
  • An adding module configured to acquire media content corresponding to the content identifier, and add the media content and the stream index to a response message;
  • the third sending module is configured to send the response message.
  • a system for obtaining media content comprising a media content requesting entity and a storage server;
  • the device of the media content requesting entity is configured to send a media content request to the storage server, where the media content request carries a content identifier and a stream index, where the flow index is used to identify the media currently initiated by the media content requesting entity.
  • the content request is sent to the corresponding terminal according to the determined media content request, and the storage server is configured to receive the media content request, obtain the media content corresponding to the content identifier, and send Carrying the stream index and the response message of the acquired media content.
  • the request message and the response message are associated by extending the stream index.
  • the storage server does not need to send the response message in the order of receiving the media content request on the same connection, but when the media content corresponding to each media content request is obtained, The response message can be flexibly transmitted, thereby reducing the delay in transmitting data.
  • FIG. 1 is a schematic diagram of a CDN network architecture provided by the prior art
  • FIG. 2 is a flowchart of a method for obtaining media content according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of a method for obtaining media content according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of a method for obtaining media content according to Embodiment 4 of the present invention
  • FIG. 6 is a schematic diagram of a media content requesting entity according to Embodiment 5 of the present invention
  • 7 is a schematic diagram of a storage server provided by Embodiment 6 of the present invention
  • FIG. 8 is a schematic diagram of a system for acquiring media content according to Embodiment 7 of the present invention. detailed description
  • the flow index is extended in the request message, and the flow index is used to identify the media content request currently initiated by the edge server, and may include the request of the media content request.
  • the content index, the range information, and the like, the flow index with the same value represents the media content request initiated by the edge server for the same terminal user to initiate the access request at the same time.
  • the flow index indication is also added to the response message returned to the edge server, and the value is consistent with the request message, and the edge server according to the received response message
  • the stream index associates the corresponding media content request message, thereby transmitting the media content data to the corresponding terminal.
  • a network element that requires an upper layer node to request media content such as an edge server and a regional cache node, is collectively referred to as a media content requesting entity.
  • Step 102 The media content requesting entity receives the response message, where the response message carries the media content acquired by the central storage server or the area cache node, and the response message further carries the flow index.
  • the area cache node is The network elements that can provide media content, such as the central storage server, are collectively referred to as storage servers, and the regional cache nodes can serve as storage servers. Content, when it does not cache related media content, can also be used as a media content request entity.
  • Step 103 Determine, according to the flow index carried by the response message, a media content request corresponding to the response message.
  • Step 104 The media content requesting entity sends the media content carried by the response message to the corresponding terminal according to the determined media content request.
  • the request message and the response message are associated by extending the stream index, so that the storage server does not need to send the response message in the order of receiving the media content request on the same connection, but obtains each media content.
  • the same or different connection can be flexibly selected to send a response message, thereby reducing the delay of transmitting data, and even if a connection is congested or faulty, other connections can be selected to send a response message, which improves each
  • the multiplexing and concurrency efficiency of the connection improves the efficiency of data transmission as a whole.
  • Embodiments of the present invention provide a method for obtaining media content.
  • the edge server uses the method provided in this embodiment to obtain the media content requested by the terminal from the local area cache node. Referring to Figure 3, the method includes:
  • Step 201 The terminal initiates an access request to the edge server.
  • the terminal When the terminal needs to request a certain media content, the terminal sends an access request to the edge server, where the access request carries the content ID of the media content requested by the terminal; the edge server receives the access request sent by the terminal, and according to the content ID carried by the access request, The corresponding media content is found in the correspondence between the content ID and the media content. If not, the edge server does not cache the media content of the request, and step 202 is performed. If yes, the terminal directly returns to the terminal, and the operation ends.
  • the content relationship between the content ID (IDentity) and the media content is cached in the edge server.
  • Step 202 The edge server obtains the address information of the area cache node near itself; specifically, the edge server sends a notification to the CDN routing server, and the CDN routing server determines the nearest edge server according to the CDN topology structure stored by itself.
  • the area cache node sends the address information of the area cache node to the edge server, and the edge server receives the address information of the area cache node.
  • Step 203 The edge server selects a connection between itself and the corresponding area cache node according to the address information of the area cache node, and sends a media content request to the corresponding area cache node through the selected connection, where the media content request carries the service Identification and stream indexing;
  • the edge server allocates a flow index. If there are multiple connections between the edge server and the area cache node, the edge server selects a connection. If there is a connection between the edge server and the area cache node, the edge server directly selects The strip is connected, and then the media content request is sent to the area cache node by using the selected connection; if there is no connection between the edge server and the area cache node, the edge server establishes a connection, and sends a media content request to the Area cache node.
  • the number of connections between the edge server and the area cache node is preset to be at least two. If the edge server checks that the number of connections between the edge server and the area cache node is less than a preset number of stripes, the edge server establishes a new connection. The number of connections between the edge server and the area cache node is up to a preset number of bars. Thus, when the connection selected by the edge server is congested or failed, the edge server can select another connection to send the media content request.
  • the connection may be a TCP (Transmission Control Protocol) connection.
  • Each terminal in the network may send an access request to the edge server to request the media content that needs to be obtained, so the edge server may send multiple media content requests to the area cache node, and may also multiple media through the same connection.
  • the content request is sent to the zone cache node.
  • the edge server may also first add a priority to the media content request, and then send the media content request to the area cache node.
  • Step 204 The area cache node receives a media content request, where the media content request carries a content ID and a stream index.
  • Step 205 The area cache node obtains the corresponding media content according to the content ID, and adds the obtained media content and the stream index carried by the media content request to the response message.
  • the area cache node searches for the corresponding relationship between the content ID and the media content stored by the area according to the content ID, and if the corresponding media content is found, the searched media content and the stream index carried by the media content request are added to the response. In the message.
  • the area cache node may further divide the acquired media content into multiple data blocks, and transmit multiple data blocks in a chunk manner, where multiple data blocks are carried by multiple response messages, and each Each response message carries the same stream index carried by the media content request.
  • the CDN network supports live time-shifted services.
  • the terminal user pauses or retreats during the live broadcast to enter the time-shift state. In the time-shifted state, the user can obtain the same service experience as watching ordinary on-demand services.
  • the upper-layer area cache node or the central storage server needs to record the content of the live program in real time, so that when the edge server requests time-shifted content from the area cache node or the central storage server, the area cache node or the central storage server does not have The complete file, the embodiment of the present invention uses the chunked partial transmission method to transmit the related media content to the edge server service, that is, after the partial media content data is acquired, the transmission starts. If the corresponding service is a live time shift service, the area cache node uses the chunk to transmit the obtained media content, and the subsequently obtained media content is also transmitted by chunks, and carries the media content in each data block. The same stream index carried by the request.
  • the media content corresponding to the content ID may not be cached in the area cache node. If the area cache node does not find the media content, the area cache node may forward the media content request to the upper layer cache node of the nearest one or store the The central storage server of the media content, and the media content is obtained from the upper area cache node or the central storage server.
  • Step 206 The area cache node sends the response message to the edge server by using a connection between itself and the edge server.
  • the area cache node calculates the transmission delay of each connection between itself and the edge server, and selects the connection with the smallest transmission delay to send a response message to the edge server. .
  • the response message of multiple data blocks can be simultaneously transmitted on multiple connections.
  • Each connection between the area cache node and the edge server has its own send queue, and each connection only sends data in its own send queue. If the zone cache node needs to send data on a connection, it needs to cache the data in the connection queue of the connection, and then send the data cached in the send queue through the connection.
  • the area cache node calculates the transmission delay of each connection according to the bandwidth of each connection and the unsent data in the transmission queue of each connection, selects the connection with the smallest transmission delay, and responds by the connection with the smallest transmission delay.
  • the message is sent to the edge server.
  • the area cache The node can establish a new connection
  • the new connection After the new connection is established, the new connection has the smallest transmission delay and its value is zero. Accordingly, the regional cache node sends a response message to the edge server through the established new connection.
  • the area cache node obtains the media content corresponding to the media content request, and then selects a response message corresponding to the media content request with the higher priority according to the priority.
  • each response message may be sent to the edge server through a different connection, without The response message corresponding to each media content request is sent in the order of receiving the media content request from the same connection, thereby reducing the delay of data transmission and improving the efficiency of multiplexing and concurrency of each connection.
  • Step 207 The edge server receives the response message, and associates the media content request corresponding to the response message according to the flow index carried by the response message.
  • the edge server receives the response message, and matches the stream index carried by the response message with the stream index carried by the cached media content request, and determines the media content request corresponding to the response message.
  • Step 208 The edge server sends the media content carried by the response message to the corresponding terminal according to the media content request corresponding to the response message.
  • the edge server can also monitor the data traffic on each connection in real time, and then calculate the average data traffic according to the data traffic and the number of connections on each connection, and divide the data traffic and the average data traffic on each connection.
  • the operation obtains the ratio of each connection, and deletes the connection whose ratio is less than the preset threshold.
  • the network transmission condition of the connection whose ratio is less than the preset threshold is poor, and deleting the connection with poor network transmission condition can improve the multiplexing and concurrency efficiency of the connection and reduce the number of maintenance connections.
  • the edge server deletes all connections between itself and the area cache node.
  • the edge server may further extract the carried media content from the response message, extract the content ID from the media content request, and cache the extracted content ID and the extracted media content. The correspondence between the content ID of the body and the media content.
  • the area cache node adds the failure code and the stream index carried by the media content request to the response message, and then sends the message to the edge server; the edge server receives the response message. Then, according to the failure code carried in the response message, it is learned that the media content is not obtained from the regional cache node, and the edge server may also obtain the media content from the central storage server that stores the media content.
  • the edge server can match the stream index carried by the media content request with the stream index carried by the media content request, and learn the media content request corresponding to the received response message, so that the area cache node is connected from a connection.
  • multiple chunk blocks belonging to multiple response messages of the same media content request can be dynamically transmitted in parallel on different TCP connections, so that the multiplexing and concurrency of each connection can be improved without being affected by congestion of a single TCP connection. s efficiency.
  • the edge server also monitors the data traffic on each connection in real time, deletes connections with poor network traffic, or deletes connections without data traffic, reducing the number of maintenance connections.
  • Embodiments of the present invention provide a method for obtaining media content.
  • the edge server receives the access request sent by the terminal, and finds the media content of the access request request that is not cached by the edge server.
  • the edge server obtains the media content from the local area cache node by using the method provided by the embodiment, if the media is not obtained.
  • the content server obtains the media content from the central storage server storing the media content by using the method provided in this embodiment. Referring to Figure 4, the method includes:
  • Step 301 The edge server acquires address information of a central storage server that stores media content requested by the terminal.
  • the edge server searches for the corresponding address information from the correspondence between the content ID and the address information stored by the CDN routing server according to the content ID requested by the terminal, where the searched address information is the media content corresponding to the content ID.
  • the address information of the central storage server The service provider publishes the media content of each service in the central storage server in advance, and the central storage server stores each content ID stored on itself and its own address information in the correspondence between the content ID and the address information of the CDN routing server. In the relationship.
  • Step 302 The edge server obtains a connection between itself and the corresponding central storage server according to the address information of the central storage server, and sends a media content request to the corresponding central storage server through the obtained connection; wherein the media content request carries the content ID And stream index;
  • the specific process for the edge server to send the media content request is the same as the process for the edge server to send the media content request in step 203 of Embodiment 2, and details are further described herein.
  • the number of connections between the edge server and the central storage server is preset to be at least two. If the edge server detects that the number of connections between the edge server and the central storage server is less than a preset number of stripes, the edge server establishes a new connection. The number of connections between the edge server and the central storage server is reached by a predetermined number of bars. In this way, when the connection acquired by the edge server is congested or failed, the edge server can acquire other connections to send the media content request.
  • the edge server may also first add a priority to the media content request, and then send the media content request to the central storage server.
  • Step 303 The central storage server receives a media content request, where the media content request carries a content ID and a stream index.
  • Step 304 The central storage server obtains the corresponding media content according to the content ID, and adds the obtained media content and the stream index carried by the received media content request to the response message.
  • the central storage server searches for the corresponding media content from the corresponding relationship between the content ID and the media content stored by the central storage server, and adds the searched media content and the flow index carried by the received media content request to the response. In the message.
  • the central storage server may further divide the acquired media content into multiple data blocks, and transmit multiple data blocks in a chunk manner, where multiple data blocks are carried by multiple response messages, and each response message carries the media.
  • Step 305 The central storage server responds by connecting itself to the edge server. The message is sent to the edge server;
  • the central storage server calculates the transmission delay of each connection between itself and the edge server, and sends the response message to the edge server by sending the connection with the smallest delay. If the obtained media content is transmitted in chunk mode, multiple response messages of the data block can be simultaneously transmitted on multiple connections.
  • the central storage server can establish a new connection; and send a response message to the edge server through the established new connection.
  • the central storage server obtains the media content corresponding to the media content request, and then selects the response message corresponding to the media content request with the higher priority according to the priority.
  • Steps 306 and 307 are the same as steps 207 and 208 of Embodiment 2, respectively, and are not mentioned here. Further, the edge server can also monitor the data traffic on each connection between itself and the central storage server in real time, calculate the ratio of the data traffic on each connection to the average data traffic, and delete the connection whose ratio is less than the preset threshold.
  • the edge server deletes all connections between itself and the central storage server.
  • the edge server can match the stream index carried by the response message with the stream index carried by the media content request, and obtain the media content request corresponding to the received response message, so that the central storage server is connected from a connection.
  • the connection with the smallest transmission delay may be selected to return the response message to the edge server, thereby reducing Delay in transmitting data; if multiple media content requests are received from a connection, the central storage server does not need to send a response message corresponding to each media content request in the order in which the media content request is received on the connection, thereby further reducing The delay in transmitting data.
  • multiple chunk blocks belonging to multiple response messages of the same media content request can be dynamically transmitted in parallel on different connections, so that the multiplexing and concurrency of each connection can be improved without being affected by the congestion of a single connection. s efficiency.
  • the edge server also monitors the data traffic on each connection in real time, deletes connections with poor network transmission status, or deletes connections without data traffic, which can reduce the number of maintenance connections.
  • Embodiments of the present invention provide a method for obtaining media content.
  • the area cache node receives the media content request sent by the node in the CDN network, and the media content request carries the content ID and the stream index. If the content is not cached in the media content corresponding to the content ID, the area cache node is provided by the embodiment.
  • the method of obtaining the media content from a central storage server that stores the media content. Referring to Figure 5, the method includes:
  • Step 401 The area cache node receives the media content request sent by the node, the media content request carries the content ID and the stream index, and if the media content corresponding to the content ID is not cached by itself, step 502 is performed;
  • the node of the CDN network may be an edge server or another area cache node.
  • the area cache node receives the media content request sent by the edge server or another regional slow node, the content ID is carried according to the media content request, and the corresponding relationship between the cached content ID and the media content is searched, and if the corresponding media content is not found, Then, it is determined that the media content corresponding to the content ID is not cached, and if the corresponding media content is found, the searched media content and the flow index carried by the media content request are added in the response message, and the response message is sent to the sending message.
  • the node for the media content request is the content ID is carried according to the media content request, and the corresponding relationship between the cached content ID and the media content is searched, and if the corresponding media content is not found, the searched media content and the flow index carried by the media content request are added in the response message, and the response message is sent to the sending message.
  • Step 402 The area cache node extracts a stream index from the media content request, and allocates a stream index for the media content request, and replaces the stream index carried by the media content request with the allocated stream index, and extracts the stream index and the medium.
  • the content request is stored in the correspondence between the stream index and the media content request;
  • Step 403 The area cache node acquires address information of the central storage server that stores the media content corresponding to the content ID;
  • the area cache node searches for the corresponding address information from the correspondence between the content ID and the address information stored by the CDN routing server according to the content ID, where the searched address information includes the address information of the central storage server .
  • Step 404 The area cache node obtains a connection between itself and the corresponding central storage server according to the address information of the central storage server, and sends a media content request to the corresponding central storage server through the obtained connection;
  • the process of sending the media content request by the area cache node is the same as the process of sending the media content request by the edge server in step 303 of Embodiment 3, and details are not described herein again.
  • Step 405 The central storage server receives a media content request, where the media content requests to carry With content ID and stream index;
  • Step 406 The central storage server acquires the corresponding media content according to the content ID, and adds the obtained media content and the flow index carried by the received media content request to the response message.
  • step 304 The step is the same as step 304, and will not be described in detail herein.
  • Step 407 The central storage server sends the response message to the area cache node by using a connection between itself and the area cache node.
  • the central storage server calculates a transmission delay of each connection between itself and the regional cache node, and sends the response message to the regional cache node by using a connection with the smallest transmission delay. If the obtained media content is transmitted in chunk mode, the response message of multiple data blocks can be simultaneously transmitted on multiple connections.
  • the central storage server can establish a new connection; and send a response message to the regional cache node through the established new connection.
  • the central storage server obtains the media content corresponding to the media content request, and then selects the response message corresponding to the media content request with the higher priority according to the priority.
  • Step 408 The area cache node receives the response message, and associates the media content request corresponding to the response message according to the flow index carried by the response message.
  • the area cache node receives the response message, and matches the stream index carried in the response message with the stream index carried in the media content request, and matches the same media content request, and the matched media content request is corresponding to the response message.
  • Media content request
  • Step 409 The area cache node obtains the stream index corresponding to the associated media content request, replaces the stream index in the response message with the obtained stream index, and forwards the response message to the node corresponding to the associated media content request.
  • the area cache node searches for the corresponding stream index from the corresponding relationship between the stream index and the media content request according to the media content request corresponding to the response message, and replaces the stream index carried in the response message with the searched stream index, and then according to the The media content request corresponding to the response message forwards the response message to the corresponding node.
  • the area cache node extracts the carried media content from the response message, extracts the content ID from the matched media content request, and caches the extracted content ID and the extracted media content. The correspondence between its own content ID and media content.
  • the area cache node can also monitor the data traffic on each connection between itself and the central storage server in real time, calculate the ratio of the data traffic on each connection to the average data traffic, and delete the connection whose ratio is less than the preset threshold.
  • the edge server deletes all connections between itself and the central storage server.
  • the area cache node receives the media content request sent by the node in the CDN network. If the media content requested by the media content request is not cached by itself, the area cache node may also be from the upper layer cache node that is close to itself. Get the media content requested by the media content request. The process that the area cache node obtains the media content requested by the media content request from the upper layer cache node that is close to itself, and the medium that is requested by the area cache node of the embodiment to obtain the media content request from the central storage server. The process of content is the same and will not be described in detail here.
  • the area cache node can obtain the media content request corresponding to the received response message by matching the stream index carried by the response message with the stream index carried by the media content request, so that the central storage server receives from a connection.
  • the response message may not be returned from the connection, but the connection with the smallest transmission delay may be selected to return the response message to the area cache node, thereby reducing the transmission. Delay of data; if multiple media content requests are received from a connection, the central storage server does not need to send a response message corresponding to each media content request in the order in which the media content request is received on the connection, thereby further reducing The delay in transmitting data.
  • multiple chunk blocks belonging to multiple response messages of the same media content request can be dynamically transmitted in parallel on different connections, so that the multiplexing and concurrency of each connection can be improved without being affected by the congestion of a single connection. s efficiency.
  • the regional cache node also monitors the data traffic on each connection in real time, deletes connections with poor network transmission conditions, or deletes connections without data traffic, which can reduce the number of maintenance connections.
  • the embodiment of the present invention provides a media content requesting entity, including: a first sending module 501, configured to send a media content request to a storage server, where the media content request carries a content identifier and a stream index, and a stream index Used to identify the media currently initiated by the media content requesting entity Content request
  • the first receiving module 502 is configured to receive a response message from the storage server, where the response message carries the stream index and the media content acquired by the storage server;
  • a determining module 503 configured to determine, according to the flow index carried by the response message, a media content request corresponding to the response message;
  • the second sending module 504 is configured to send, according to the determined media content request, the media content carried by the response message to the corresponding terminal.
  • the media content requesting entity further includes:
  • the management module 505 is configured to preset that the number of connections between the media content requesting entity and the storage server is at least two, and before the sending the media content request, check whether the number of connections between the media content requesting entity and the storage server reaches a preset number. If no, a new connection is established, so that the number of connections between the media content requesting entity and the storage server reaches a preset number.
  • the media content requesting entity further includes:
  • the monitoring module 506 is configured to: physically monitor the data traffic on each connection between the media content requesting entity and the storage server, calculate an average data traffic, and select a connection in which the ratio of the data traffic to the average data traffic is less than a preset threshold. Delete the selected connection.
  • the media content requesting entity further includes:
  • the second receiving module 507 is configured to receive an access request from the terminal, where the access request carries a content identifier.
  • the first sending module 501 is specifically configured to determine whether to cache the media content requested by the access request. If not, the flow index is allocated, and the media content request is sent to the storage server, and the media content request carries the content identifier and the allocated flow index. .
  • the media content requesting entity obtains the media content request corresponding to each received response message according to the flow index in the media content request and the response message.
  • the storage server does not need to send the media content corresponding to each media content request in the order of receiving the media content request on the same connection, but can obtain the same or different flexibility when acquiring the media content corresponding to each media content request.
  • the connection sends the media content, thereby reducing the delay of transmitting data, and even if a connection is congested or faulty, other connections can be selected to send a response message, which ensures normal data transmission.
  • the multiplexing and concurrency efficiency on each connection is improved, thereby improving the efficiency of data transmission as a whole.
  • an embodiment of the present invention provides a storage server, including:
  • the third receiving module 601 is configured to receive a media content request sent by the media content requesting entity, where the media content request carries a content identifier and a stream index.
  • the third sending module 602 is configured to obtain media content corresponding to the content identifier, and send a response message that carries the stream index and the obtained media content.
  • the third sending module 602 is further configured to determine a minimum transmission delay connection between the media content requesting entity and the storage server, and send the response message to the media content requesting entity by using a connection with a minimum transmission delay.
  • the third sending module 602 is further configured to establish a new connection to send the response message if the minimum transmission delay is greater than the return delay for establishing a new connection.
  • the third sending module 602 is further configured to divide the acquired media content into multiple data blocks, and send, to the media content requesting entity, multiple response messages that carry multiple data blocks, where each of the multiple response messages carries the Stream index.
  • the third sending module 602 is further configured to: if the media content request is requested to be a live time shift service, continuously send, to the media content requesting entity, multiple responses carrying the received media content in a partial transmission manner. A message, each of the plurality of response messages carrying the stream index.
  • the storage server adds a flow index carried by the media content request to the response message, so that the media content requesting entity can learn, according to the flow index carried in the media content request and the response message, that each response message received by itself is corresponding. Media content request.
  • the storage server does not need to send the response message corresponding to each media request in the order of receiving each media content request on the same connection, but can obtain the same response message when the response message corresponding to each media content request is obtained.
  • Different connections send response messages, which reduces the delay of transmitting data. Even if a connection is congested or faulty, it can send response messages through other connections, which ensures normal data transmission and improves multiplexing on each connection. Concurrency efficiency, thereby improving the efficiency of data transmission as a whole.
  • an embodiment of the present invention provides a system for acquiring media content, where the system includes a media content requesting entity 701 and a storage server 702;
  • the media content requesting entity 701 is configured to send a media content request to the storage server 702, where the media content request carries a content identifier and a stream index, where the stream index is used to identify the media content request currently initiated by the media content requesting entity 701; a response message, the response message carrying the flow index and the media content obtained by the storage server 702; determining, according to the flow index carried in the response message, a media content request corresponding to the response message; and carrying the response message according to the determined media content request
  • the media content is sent to the corresponding terminal;
  • the storage server 702 is configured to receive the media content request, obtain the media content corresponding to the content identifier, and send a response message that carries the stream index and the obtained media content.
  • the storage server adds a flow index carried by the media content request to the response message, so that the media content requesting entity can learn, according to the flow index carried in the media content request and the response message, that each response message received by itself is corresponding. Media content request.
  • the storage server does not need to send the response message corresponding to each media request in the order of receiving each media content request on the same connection, but can obtain the same response message when the response message corresponding to each media content request is obtained.
  • Different connections send response messages, which reduces the delay of transmitting data. Even if a connection is congested or faulty, it can send response messages through other connections, which ensures normal data transmission and improves multiplexing on each connection. Concurrency efficiency, thereby improving the efficiency of data transmission as a whole.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种获取媒体内容的方法、设备及***,属于通信领域。所述方法包括:媒体内容请求实体发送媒体内容请求到存储服务器,所述媒体内容请求携带内容标识和流索引,所述流索引用于标识所述媒体内容请求实体当前发起的媒体内容请求;所述媒体内容请求实体接收来自存储服务器的响应消息,所述响应消息携带所述流索引以及所述存储服务器获取的媒体内容;所述媒体内容请求实体根据所述响应消息携带的流索引,确定所述响应消息对应的媒体内容请求;所述媒体内容请求实体根据所确定的媒体内容请求,将所述响应消息携带的媒体内容发送给对应的终端。本发明减少传输数据的时延并保障数据正常传输。

Description

一种获取媒体内容的方法、 设备及*** 技术领域
本发明涉及通信领域, 特别涉及一种获取媒体内容的方法、 设备及***。 背景技术
CDN ( Content Delivery Network, 内容分发网络 )是在现有的 IP ( Internet Protocol, 网际协议)传输网络中增加一层新的网络架构, 在 CDN中能够将网 站提供的媒体内容发布到最接近用户的网络"边缘",用户可以从 CDN中就近获 取所需要的媒体内容。
如图 1所示的 CDN网络架构, CDN包括中心存储月良务器、 边缘服务器、 区 域緩存节点和 CDN路由服务器。其中,业务提供商将媒体内容发布在中心存储 服务器中, CDN中的边缘服务器和区域緩存节点存储中心存储服务器中的媒体 内容, CDN路由服务器存储中心存储服务器和区域緩存节点的地址信息以及 CDN拓朴结构。终端可以向边缘服务器请求媒体内容,如果边缘服务器未緩存 终端请求的媒体内容,则边缘服务器从 CDN路由服务器中获取存储终端请求的 媒体内容的存储服务器的地址信息,存储服务器可以为中心存储服务器或就近 边缘服务器的区域緩存节点,并利用获取媒体内容的方法从获取的地址信息对 应的存储服务器中获取终端请求的媒体内容,然后再将获取的媒体内容返回给 终端。
现有技术提供一种获取媒体内容的方法, 具体为: 边缘服务器通过自身与 存储服务器之间的一条连接,发送媒体内容请求给存储服务器,存储服务器接 收到媒体内容请求后,将该媒体内容请求所请求的媒体内容通过该条连接发送 给边缘服务器, 边缘服务器接收该媒体内容。 其中, 需要说明的是: 每个终端 都可以向边缘服务器请求各自需要的媒体内容,所以边缘服务器可能通过同一 条连接发送多个媒体内容请求给同一个存储服务器,但是存储服务器发送和接 收之间需要严格保序,即存储服务器必须按照接收到媒体内容请求的顺序发送 获取到的媒体内容,如此边缘服务器根据接收到媒体内容的顺序确定相对应的 媒体内容请求, 才能将获取到的媒体内容转发给相应的终端。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 由于存储服务器的发送和接收之间需要严格保序,如果前一个媒体内容请 求的数据没有响应后续请求也不会有响应,而实际应用中存储服务器侧对于每 个媒体内容请求获取到数据的顺序和请求到达的顺序并不完全一致,因此即使 先获取到了数据也必须要等待在它之前请求的数据发送完毕后才能发送。而如 果当前的连接出现拥塞, 在该连接上的所有业务都会受到影响。 发明内容
为了减少 CDN网络中传输数据的时延并保障数据正常发送, 本发明提供 了一种获取媒体内容的方法、 设备及***。 所述技术方案如下:
一种获取媒体内容的方法, 所述方法包括:
媒体内容请求实体发送媒体内容请求到存储服务器,所述媒体内容请求携 带内容标识和流索引,所述流索引用于标识所述媒体内容请求实体当前发起的 媒体内容请求;
所述媒体内容请求实体接收来自存储服务器的响应消息,所述响应消息携 带所述流索引以及所述存储服务器获取的媒体内容;
所述媒体内容请求实体根据所述响应消息携带的流索引,确定所述响应消 息对应的媒体内容请求;
所述媒体内容请求实体根据所确定的媒体内容请求,将所述响应消息携带 的媒体内容发送给对应的终端。
一种媒体内容请求实体, 所述媒体内容请求实体包括:
第一发送模块, 用于发送媒体内容请求到存储服务器, 所述媒体内容请求 携带内容标识和流索引,所述流索引用于标识媒体内容请求实体当前发起的媒 体内容请求;
接收模块, 用于接收来自存储服务器的响应消息, 所述响应消息携带所述 流索引以及所述存储服务器获取的媒体内容;
确定模块, 用于根据所述响应消息携带的流索引,确定所述响应消息对应 的媒体内容请求;
第二发送模块, 用于根据所述确定的媒体内容请求,将所述响应消息携带 的媒体内容发送给对应的终端。
一种存储服务器, 所述存储服务器包括: 第三接收模块, 用于接收媒体内容请求实体发送的媒体内容请求, 所述媒 体内容请求携带内容标识和流索引;
添加模块, 用于获取所述内容标识对应的媒体内容,将所述媒体内容和所 述流索引添加到响应消息中;
第三发送模块, 用于发送所述响应消息。
一种获取媒体内容的***, 所述***包括媒体内容请求实体和存储服务 器;
所述媒体内容请求实体的设备, 用于发送媒体内容请求到所述存储服务 器, 所述媒体内容请求携带内容标识和流索引, 所述流索引用于标识所述媒体 内容请求实体当前发起的媒体内容请求; 接收来自所述存储服务器的响应消 息, 所述响应消息携带所述流索引以及所述存储服务器获取的媒体内容; 根据 所述响应消息携带的流索引,确定所述响应消息对应的媒体内容请求; 根据所 述确定的媒体内容请求, 将所述响应消息携带的媒体内容发送给对应的终端; 所述存储服务器,用于接收媒体内容请求, 获取所述内容标识对应的媒体 内容, 发送携带所述流索引以及所获取的媒体内容的所述响应消息。
通过扩展流索引来关联请求消息与响应消息,如此,存储服务器不需要在 同一个连接上按接收媒体内容请求的顺序发送响应消息,而是当获取到每个媒 体内容请求对应的媒体内容时就可以灵活发送响应消息,从而减少传输数据的 时延。 附图说明
图 1是现有技术提供的 CDN网络架构示意图;
图 2是本发明实施例 1提供的一种获取媒体内容的方法流程图; 图 3是本发明实施例 2提供的一种获取媒体内容的方法流程图; 图 4是本发明实施例 3提供的一种获取媒体内容的方法流程图; 图 5是本发明实施例 4提供的一种获取媒体内容的方法流程图; 图 6是本发明实施例 5提供的一种媒体内容请求实体的示意图; 图 7是本发明实施例 6提供的一种存储服务器的示意图;
图 8是本发明实施例 7提供的一种获取媒体内容的***示意图。 具体实施方式
为使本发明的目的、技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。 本发明实施例边缘服务器向区域緩存节点或者中心存储服务器请求媒体 内容时在请求消息中扩展增加流索引,该流索引用来标识边缘服务器当前发起 的媒体内容请求, 可以包含该媒体内容请求所请求的内容信息、 范围信息等, 取值相同的流索引表示边缘服务器针对同一终端用户同一时刻发起的访问请 求所发起的媒体内容请求。区域緩存节点获取到边缘服务器所请求的媒体内容 数据后,在返回给边缘服务器的响应消息中同样增加流索引指示, 其取值与请 求消息中的一致,边缘服务器根据接收到的响应消息中的流索引关联出相应的 媒体内容请求消息, 从而将媒体内容数据发送到相应的终端。
实施例 1
如图 2所示, 本发明实施例提供了一种获取媒体内容的方法, 包括: 步骤 101: 媒体内容请求实体向中心存储器或者区域緩存节点发送媒体内 容请求, 该媒体内容请求携带内容标识和流索引; 流索引: X-Flow-Index = " X-Flow-Index" ":" 1*DIGIT 含义: 取值相同的流索弓 )表示媒体内容请求实体针对同一终端同一时刻发 出的访问请求所发起的媒体内容请求。 本发明实施例中, 将边缘服务器和区域緩存节点等需要向上层节点请求媒 体内容的网元统称为媒体内容请求实体。 步骤 102: 媒体内容请求实体接收响应消息, 该响应消息携带中心存储服 务器或区域緩存节点所获取到的媒体内容,同时,该响应消息中还携带流索引; 本发明实施例中, 将区域緩存节点和中心存储服务器等可以提供媒体内容 的网元统称为存储服务器,其中区域緩存节点即可以作为存储服务器提供媒体 内容, 当其未緩存相关媒体内容时, 也可以作为媒体内容请求实体。 步骤 103: 根据该响应消息携带的流索引, 确定该响应消息相对应的媒体 内容请求;
步骤 104: 媒体内容请求实体根据确定的媒体内容请求, 将该响应消息携 带的媒体内容发送给对应的终端。
在本发明实施例中, 通过扩展流索引来关联请求消息与响应消息, 如此, 存储服务器不需要在同一个连接上按接收媒体内容请求的顺序发送响应消息, 而是当获取到每个媒体内容请求对应的媒体内容时就可以灵活选择相同或者 不同的连接发送响应消息,从而减少传输数据的时延,且即使某条连接发生拥 塞或故障, 可以选择其他的连接发送响应消息, 提升了每个连接上的复用、 并 发效率, 从而整体上提升数据传输的效率。
实施例 2
本发明实施例提供了一种获取媒体内容的方法。终端向边缘服务器请求媒 体内容时,如果边缘服务器中未緩存终端请求的媒体内容, 则边缘服务器利用 本实施例提供的方法从就近自身的区域緩存节点中获取终端请求的媒体内容。 参见图 3, 该方法包括:
步骤 201: 终端向边缘服务器发起访问请求;
其中,当终端需要请求某个媒体内容时,终端发送访问请求给边缘服务器, 该访问请求携带自身请求的媒体内容的内容 ID; 边缘服务器接收终端发送的 访问请求, 根据访问请求携带的内容 ID, 查找内容 ID与媒体内容的对应关系 中是否存在对应的媒体内容,如果不存在, 则边缘服务器中未緩存终端访问请 求的媒体内容, 执行步骤 202, 如果存在, 则直接返回给终端, 操作结束。
其中, 在边缘服务器中緩存有内容 ID ( IDentity, 标识)与媒体内容的对 应关系。
步骤 202: 边缘月良务器获取就近自身的区域緩存节点的地址信息; 具体地, 边缘服务器发送通知给 CDN路由服务器, CDN路由服务器根据 自身存储的 CDN拓朴结构确定就近边缘月良务器的区域緩存节点, 再将该区域 緩存节点的地址信息发送给边缘服务器,边缘服务器接收该区域緩存节点的地 址信息。 步骤 203: 边缘服务器根据区域緩存节点的地址信息, 选择自身与对应的 区域緩存节点之间的连接,通过选择的连接发送媒体内容请求给对应的区域緩 存节点, 其中, 该媒体内容请求携带业务的标识和流索引;
具体地, 边缘服务器分配流索引,如果边缘服务器与该区域緩存节点之间 存在多条连接, 则边缘服务器选择一条连接,如果边缘服务器与该区域緩存节 点之间存在一条连接, 则边缘服务器直接选择该条连接, 然后利用选择的连接 发送媒体内容请求给该区域緩存节点;如果边缘服务器与该区域緩存节点之间 不存在连接, 则边缘服务器建立连接, 并利用建立的连接发送媒体内容请求给 该区域緩存节点。
进一步地,预先设置边缘服务器与区域緩存节点之间的连接数目为至少两 条, 如果边缘服务器检查到自身与区域緩存节点之间的连接数少于预设数目 条, 则边缘服务器建立新连接,使边缘服务器与区域緩存节点之间的连接数目 达到预设的数目条。 如此, 当边缘服务器选择的连接发生拥塞或故障时, 边缘 服务器可以再选择其他的连接来发送媒体内容请求。 其中, 在本实施例中, 连 接可以为 TCP ( Transmission Control Protocol, 传输控制协议)连接。
其中, 网络中的每个终端都可以向边缘服务器发送访问请求,请求需要获 取的媒体内容, 所以边缘服务器可能将多个媒体内容请求发送给区域緩存节 点, 还可以通过同一个连接将多个媒体内容请求发送给区域緩存节点。
进一步地, 边缘服务器还可以先在媒体内容请求中添加优先级, 然后发送 媒体内容请求给区域緩存节点。
步骤 204: 区域緩存节点接收媒体内容请求, 其中, 该媒体内容请求携带 内容 ID和流索引;
步骤 205: 区域緩存节点根据该内容 ID, 获取对应的媒体内容, 将获取的 媒体内容和媒体内容请求携带的流索引添加在响应消息中;
具体地, 区域緩存节点根据该内容 ID, 查找自身存储的内容 ID与媒体内 容的对应关系,如果查找出对应的媒体内容, 则将查找的媒体内容和该媒体内 容请求携带的流索引添加到响应消息中。
进一步地, 区域緩存节点还可以将获取的媒体内容划分成多个数据块, 以 chunk的方式传输多个数据块, 其中, 多个数据块采用多个响应消息承载, 每 个响应消息都携带媒体内容请求所携带的相同的流索引。
CDN 网络支持直播时移业务, 终端用户在观看直播的过程中暂停或者后 退从而进入时移状态,在时移状态用户可以获得像观看普通的点播业务一样的 业务体验。 为了支持时移业务, 需要上层区域緩存节点或者中心存储服务器对 直播节目的内容进行实时录制,这样边缘服务器从区域緩存节点或者中心存储 服务器请求时移内容时, 区域緩存节点或者中心存储服务器并没有完整的文 件,本发明实施例采用 chunked部分传输的方式传输相关的媒体内容到边缘服 务器服务, 即获取到部分媒体内容数据后就开始传输。如果相应的业务是直播 时移业务, 区域緩存节点采用 chunk的方式传输已获取到的媒体内容,后续获 取到的媒体内容也将采用 chunk的方式传输,并在每一个数据块中都携带媒体 内容请求所携带的相同的流索引。
其中, 区域緩存节点中也可能未緩存该内容 ID对应的媒体内容, 如果区 域緩存节点没有查找到该媒体内容,则区域緩存节点可以将媒体内容请求转发 给就近自身的上层区域緩存节点或存储该媒体内容的中心存储服务器,并从上 层区域緩存节点或中心存储服务器中获取该媒体内容。
步骤 206: 区域緩存节点通过自身与边缘服务器之间的连接, 将上述的响 应消息发送给边缘服务器;
具体地,如果边缘服务器与该区域緩存节点之间存在多条连接, 区域緩存 节点计算自身与边缘服务器之间的每个连接的发送时延,选择发送时延最小的 连接发送响应消息给边缘服务器。
如果采用 chunk的方式传输获取到的媒体内容,可以在多条连接上同时传 递多个数据块的响应消息。其中, 区域緩存节点与边缘服务器之间的每条连接 都有各自的发送队列,每条连接只发送位于自身的发送队列中的数据。如果区 域緩存节点需要在某条连接上发送数据,则需要先将该数据緩存在该连接的发 送队列中, 然后再通过该条连接发送緩存在发送队列中的数据。
所以,区域緩存节点根据每条连接的带宽和每条连接的发送队列中未发送 的数据, 计算每条连接的发送时延, 选择发送时延最小的连接, 通过发送时延 最小的连接将响应消息发送给边缘服务器。
进一步地,如果最小的发送时延大于建立新连接的往返时延, 则区域緩存 节点可以建立新连接;
其中, 建立完新连接后, 新连接的发送时延最小, 其值为零, 相应地, 区 域緩存节点通过建立的新连接发送响应消息给边缘服务器。
进一步地,如果媒体内容请求携带优先级, 区域緩存节点获取到媒体内容 请求对应的媒体内容后,根据优先级选择优先级高的媒体内容请求对应的响应 消息发送。
进一步地,如果区域緩存节点接收到多个媒体内容请求, 当区域緩存节点 获取到每个媒体内容请求对应的响应消息时,可以将每个响应消息通过不同的 连接发送给边缘服务器,而不需要从同一个连接上按接收媒体内容请求的顺序 发送每个媒体内容请求对应的响应消息,如此减少数据传输的时延、提高每条 连接的复用与并发的效率。
步骤 207: 边缘服务器接收响应消息, 根据该响应消息携带的流索引关联 该响应消息对应的媒体内容请求;
具体地, 边缘服务器接收响应消息,将该响应消息携带的流索引分别与緩 存的媒体内容请求携带的流索引进行匹配,确定该响应消息对应的媒体内容请 求。
步骤 208: 边缘服务器根据该响应消息对应的媒体内容请求将该响应消息 携带的媒体内容发送给对应的终端。
进一步地, 边缘服务器还可以实时监测每个连接上的数据流量, 然后根据 每个连接上的数据流量以及连接的数目计算出平均数据流量,将每条连接上的 数据流量与平均数据流量做除法运算得到每条连接的比值,删除比值小于预设 阈值的连接。 其中, 比值小于预设阈值的连接的网络传输状况较差, 删除网络 传输状况较差的连接,可以提高连接的复用与并发的效率以及减少维护连接的 数目。
进一步地,边缘服务器如果监测到自身与区域緩存节点之间的每条连接在 预设的时间内都没有数据流量,则边缘服务器删除自身与该区域緩存节点之间 的所有连接。
进一步地, 边缘服务器还可以从该响应消息中提取携带的媒体内容,从该 媒体内容请求中提取内容 ID ,将该提取的内容 ID与提取的媒体内容緩存在自 身的内容 ID与媒体内容的对应关系中。
其中,如果区域緩存节点中也未緩存终端请求的媒体内容, 则区域緩存节 点将失败码与媒体内容请求携带的流索引添加在响应消息中 ,然后再发送给边 缘服务器; 边缘服务器接收该响应消息后, 根据该响应消息中携带失败码, 获 知从区域緩存节点中没有获取到该媒体内容,此时边缘服务器还可以从存储该 媒体内容的中心存储服务器中获取该媒体内容。
在本发明实施例中,边缘月良务器可以通过将响应消息携带的流索引与媒体 内容请求携带的流索引进行匹配, 获知接收的响应消息对应的媒体内容请求, 如此区域緩存节点从一个连接中接收到媒体内容请求,在返回该媒体内容请求 对应的响应消息时, 可以不需要从该连接返回响应消息, 而是选择发送时延最 小的连接将该响应消息返回给边缘服务器,如此可以减少传输数据的时延; 如 果从一个连接上接收到多个媒体内容请求,区域緩存节点不需要在该连接上按 接收媒体内容请求的顺序发送每个媒体内容请求对应的响应消息,从而进一步 地减少了传输数据的时延。 另外,属于同一个媒体内容请求的多个响应消息的 多个 chunk block可以动态地在不同的 TCP连接上并行传输, 因此可以不受单 条 TCP连接拥塞的影响, 提高每条连接的复用与并发的效率。 而且, 边缘服 务器还实时监测每个连接上的数据流量,删除网络传输状况较差的连接, 或者 删除没有数据流量的连接, 可以减少维护连接的数目。
实施例 3
本发明实施例提供了一种获取媒体内容的方法。边缘服务器接收终端发送 的访问请求, 并查找出自身未緩存该访问请求请求的媒体内容, 边缘服务器利 用实施例 提供的方法从就近自身的区域緩存节点中获取该媒体内容,如果没 有获取到该媒体内容,则边缘服务器利用本实施例提供的方法从存储该媒体内 容的中心存储服务器中获取该媒体内容。 参见图 4, 该方法包括:
步骤 301: 边缘服务器获取存放终端请求的媒体内容的中心存储服务器的 地址信息;
具体地, 边缘服务器根据终端请求的内容 ID, 从 CDN路由服务器存储的 内容 ID与地址信息的对应关系中, 查找出对应的地址信息, 其中, 查找的地 址信息为存储该内容 ID对应的媒体内容的中心存储服务器的地址信息。 其中, 业务提供商事先将每个业务的媒体内容发布在中心存储服务器中, 中心存储服务器将自身上存储的每个内容 ID以及自身的地址信息存储在 CDN 路由服务器的内容 ID与地址信息的对应关系中。
步骤 302: 边缘服务器根据中心存储服务器的地址信息, 获取自身与对应 的中心存储服务器之间的连接,通过获取的连接发送媒体内容请求给对应的中 心存储服务器; 其中, 该媒体内容请求携带内容 ID和流索引;
具体地, 边缘服务器发送媒体内容请求的具体过程与实施例 2的步骤 203 中边缘服务器发送媒体内容请求的过程相同, 在此再赘述。
进一步地,预先设置边缘服务器与中心存储服务器之间的连接数目为至少 两条,如果边缘服务器检查到自身与中心存储服务器之间的连接数少于预设数 目条, 则边缘服务器建立新连接,使边缘服务器与中心存储服务器之间的连接 数目达到预设的数目条。 如此, 当边缘服务器获取的连接发生拥塞或故障时, 边缘服务器可以再获取其他的连接来发送媒体内容请求。
进一步地, 边缘服务器还可以先在媒体内容请求中添加优先级, 然后再发 送媒体内容请求给中心存储服务器。
步骤 303: 中心存储服务器接收媒体内容请求, 其中, 该媒体内容请求携 带内容 ID和流索引;
步骤 304: 中心存储服务器根据该内容 ID, 获取对应的媒体内容, 将获取 的媒体内容和接收的媒体内容请求携带的流索引添加在响应消息中;
具体地, 中心存储服务器根据该内容 ID, 从自身存储的内容 ID与媒体内 容的对应关系中, 查找出对应的媒体内容,将查找的媒体内容和接收的媒体内 容请求携带的流索引添加到响应消息中。
进一步地, 中心存储服务器还可以将获取的媒体内容划分成多个数据块, 以 chunk的方式传输多个数据块, 其中, 多个数据块采用多个响应消息承载, 每个响应消息都携带媒体内容请求所携带的相同的流索引。如果相应的业务是 直播时移业务, 中心存储服务器采用 chunk的方式传输已获取到的媒体内容, 后续获取到的媒体内容也将采用 chunk的方式传输,并在发送的每一个数据块 中都携带媒体内容请求所携带的相同的流索引。
步骤 305: 中心存储服务器通过自身与边缘服务器之间的连接, 将该响应 消息发送给边缘服务器;
具体地,中心存储服务器计算自身与边缘服务器之间的每个连接的发送时 延, 通过发送时延最小的连接发送该响应消息给边缘服务器。 如果采用 chunk 的方式传输获取到的媒体内容,可以在多条连接上同时传递多个数据块的响应 消息。
进一步地,如果最小的发送时延大于建立新连接的往返时延, 则中心存储 服务器可以建立新连接; 并通过建立的新连接发送响应消息给边缘服务器。
进一步地,如果媒体内容请求携带优先级, 中心存储服务器获取到媒体内 容请求对应的媒体内容后,根据优先级选择优先级高的媒体内容请求对应的响 应消息发送。
步骤 306和 307:分别与实施例 2的步骤 207和 208相同,在此不再赞述。 进一步地,边缘服务器还可以实时监测自身与中心存储服务器之间的每个 连接上的数据流量,计算每条连接上的数据流量与平均数据流量的比值,删除 比值小于预设阈值的连接。
进一步地,边缘服务器如果监测到自身与中心存储服务器之间的每条连接 在预设的时间内都没有数据流量,则边缘服务器删除自身与中心存储服务器之 间的所有连接。
在本发明实施例中,边缘月良务器可以通过将响应消息携带的流索引与媒体 内容请求携带的流索引进行匹配, 获知接收的响应消息对应的媒体内容请求, 如此中心存储服务器从一个连接中接收到媒体内容请求,在返回该媒体内容请 求对应的响应消息时, 可以不需要从该连接返回响应消息, 而是选择发送时延 最小的连接将该响应消息返回给边缘服务器, 如此可以减少传输数据的时延; 如果从一个连接上接收到多个媒体内容请求,中心存储服务器不需要在该连接 上按接收媒体内容请求的顺序发送每个媒体内容请求对应的响应消息,从而进 一步地减少了传输数据的时延。 另夕卜,属于同一个媒体内容请求的多个响应消 息的多个 chunk block可以动态地在不同的连接上并行传输, 因此可以不受单 条连接拥塞的影响, 提高每条连接的复用与并发的效率。 而且, 边缘服务器还 实时监测每个连接上的数据流量,删除网络传输状况较差的连接, 或者删除没 有数据流量的连接, 可以减少维护连接的数目。 实施例 4
本发明实施例提供了一种获取媒体内容的方法。 区域緩存节点接收 CDN 网络中的节点发送的媒体内容请求, 该媒体内容请求携带内容 ID和流索引, 如果自身未緩存在该内容 ID对应的媒体内容时, 则该区域緩存节点利用本实 施例提供的方法从存储该媒体内容的中心存储服务器中获取该媒体内容。参见 图 5, 该方法包括:
步骤 401: 区域緩存节点接收节点发送的媒体内容请求, 该媒体内容请求 携带内容 ID和流索引,如果自身未緩存有该内容 ID对应的媒体内容,执行步 骤 502;
其中, CDN网络的节点可以为边缘服务器或其他的区域緩存节点。 当区域 緩存节点接收到边缘服务器或其他区域緩节点发送的媒体内容请求时,根据该 媒体内容请求携带内容 ID, 查找緩存的内容 ID与媒体内容的对应关系, 如果 没有查找出对应的媒体内容,则判断出自身未緩存该内容 ID对应的媒体内容, 如果查找出对应的媒体内容,则将查找的媒体内容和该媒体内容请求携带的流 索引添加在响应消息中, 并返回该响应消息给发送媒体内容请求的节点。
步骤 402: 区域緩存节点从该媒体内容请求中提取流索引, 并为该媒体内 容请求分配流索引,将该媒体内容请求携带的流索引替换为分配的流索引,将 提取的流索引和该媒体内容请求存储在流索引与媒体内容请求的对应关系中; 步骤 403: 区域緩存节点获取存放该内容 ID对应的媒体内容的中心存储 服务器的地址信息;
具体地, 区域緩存节点根据该内容 ID,从 CDN路由服务器存储的内容 ID 与地址信息的对应关系中, 查找出对应的地址信息, 其中, 查找的地址信息包 括中心存储月良务器的地址信息。
步骤 404: 区域緩存节点根据中心存储服务器的地址信息, 获取自身与对 应的中心存储服务器之间的连接,通过获取的连接发送媒体内容请求给对应的 中心存储服务器;
具体地, 区域緩存节点发送媒体内容请求的过程与实施例 3 的步骤 303 中的边缘服务器发送媒体内容请求的过程相同, 在此不再赘述。
步骤 405: 中心存储服务器接收媒体内容请求, 其中, 该媒体内容请求携 带内容 ID和流索引;
步骤 406: 中心存储服务器根据内容 ID, 获取对应的媒体内容, 将获取的 媒体内容和接收的媒体内容请求携带的流索引添加在响应消息中;
其中, 本步骤与步骤 304相同, 在此不再详细说明。
步骤 407: 中心存储服务器通过自身与区域緩存节点之间的连接, 将该响 应消息发送给区域緩存节点;
具体地,中心存储服务器计算自身与区域緩存节点之间的每条连接的发送 时延, 通过发送时延最小的连接发送该响应消息给区域緩存节点。 如果采用 chunk的方式传输获取到的媒体内容, 可以在多条连接上同时传递多个数据块 的响应消息。
进一步地,如果最小的发送时延大于建立新连接的往返时延, 则中心存储 服务器可以建立新连接; 并通过建立的新连接发送响应消息给区域緩存节点。
进一步地,如果媒体内容请求携带优先级, 中心存储服务器获取到媒体内 容请求对应的媒体内容后,根据优先级选择优先级高的媒体内容请求对应的响 应消息发送。
步骤 408: 区域緩存节点接收响应消息, 根据该响应消息携带的流索引关 联出该响应消息对应的媒体内容请求;
具体地, 区域緩存节点接收响应消息,将该响应消息携带的流索引分别与 媒体内容请求中携带的流索引进行匹配, 匹配出相同的媒体内容请求, 匹配出 的媒体内容请求为该响应消息对应的媒体内容请求。
步骤 409: 区域緩存节点获取关联的媒体内容请求对应的流索引, 将该响 应消息中的流索引替换为获取的流索引,将该响应消息转发给关联的媒体内容 请求对应的节点。
具体地, 区域緩存节点根据该响应消息对应的媒体内容请求,从流索引与 媒体内容请求的对应关系中查找对应的流索引,将该响应消息携带的流索引替 换为查找的流索引,再根据该响应消息对应的媒体内容请求将该响应消息转发 给对应的节点。
进一步地, 区域緩存节点从该响应消息中提取携带的媒体内容,从匹配出 的媒体内容请求中提取内容 ID,将该提取的内容 ID与提取的媒体内容緩存在 自身的内容 ID与媒体内容的对应关系中。
进一步地,区域緩存节点还可以实时监测自身与中心存储服务器之间的每 个连接上的数据流量,计算每条连接上的数据流量与平均数据流量的比值,删 除比值小于预设阈值的连接。
进一步地,区域緩存节点如果监测到自身与中心存储服务器之间的每条连 接在预设的时间内都没有数据流量,则边缘服务器删除自身与中心存储服务器 之间的所有连接。
其中, 区域緩存节点接收 CDN网络中的节点发送的媒体内容请求, 如果 自身未緩存在该媒体内容请求所请求的媒体内容时,则该区域緩存节点也可以 从就近于自身的上层区域緩存节点中获取该媒体内容请求所请求的媒体内容。 该区域緩存节点从就近于自身的上层区域緩存节点中获取该媒体内容请求所 请求的媒体内容的过程与本实施例提供的该区域緩存节点从中心存储服务器 中获取该媒体内容请求所请求的媒体内容的过程相同, 在此不再详细说明。
在本发明实施例中,区域緩存节点可以通过将响应消息携带的流索引与媒 体内容请求携带的流索引进行匹配, 获知接收的响应消息对应的媒体内容请 求,如此中心存储服务器从一个连接中接收到媒体内容请求,在返回该媒体内 容请求对应的响应消息时, 可以不需要从该连接返回响应消息, 而是选择发送 时延最小的连接将该响应消息返回给区域緩存节点,如此可以减少传输数据的 时延; 如果从一个连接上接收到多个媒体内容请求, 中心存储服务器不需要在 该连接上按接收媒体内容请求的顺序发送每个媒体内容请求对应的响应消息, 从而进一步地减少了传输数据的时延。 另夕卜,属于同一个媒体内容请求的多个 响应消息的多个 chunk block可以动态地在不同的连接上并行传输, 因此可以 不受单条连接拥塞的影响, 提高每条连接的复用与并发的效率。 而且, 区域緩 存节点还实时监测每个连接上的数据流量,删除网络传输状况较差的连接, 或 者删除没有数据流量的连接, 可以减少维护连接的数目。
实施例 5
如图 6所示, 本发明实施例提供了一种媒体内容请求实体, 包括: 第一发送模块 501 , 用于发送媒体内容请求到存储服务器, 该媒体内容请 求携带内容标识和流索引,流索引用于标识媒体内容请求实体当前发起的媒体 内容请求;
第一接收模块 502, 用于接收来自存储服务器的响应消息, 该响应消息携 带流索引以及存储服务器获取的媒体内容;
确定模块 503 , 用于根据该响应消息携带的流索引, 确定该响应消息对应 的媒体内容请求;
第二发送模块 504, 用于根据确定的媒体内容请求, 将该响应消息携带的 媒体内容发送给对应的终端。
进一步地, 该媒体内容请求实体还包括:
管理模块 505 , 用于预先设置媒体内容请求实体与存储服务器之间的连接 数目为至少两条,在发送媒体内容请求之前,检查媒体内容请求实体与存储服 务器之间的连接数目是否达到预设数目, 如果否, 建立新连接, 使得媒体内容 请求实体与存储服务器之间的连接数目达到预设数目。
进一步地, 该媒体内容请求实体还包括:
监测模块 506 , 用于实体实时监测媒体内容请求实体与存储服务器之间的 每条连接上的数据流量,计算出平均数据流量,选择数据流量与平均数据流量 的比值小于预设的阈值的连接, 删除选择的连接。
进一步地, 该媒体内容请求实体还包括:
第二接收模块 507, 用于接收来自终端的访问请求, 该访问请求携带内容 标识;
相应地,
第一发送模块 501 , 具体用于判断是否緩存访问请求所请求的媒体内容, 如果没有, 则分配流索引, 并发送媒体内容请求给存储服务器, 且该媒体内容 请求携带内容标识和分配的流索引。
在本发明实施例中,媒体内容请求实体根据媒体内容请求和响应消息中的 流索引获知接收的每个响应消息对应的媒体内容请求。如此,存储服务器不需 要在同一个连接上按接收媒体内容请求的顺序发送每个媒体内容请求对应的 媒体内容,而是获取到每个媒体内容请求对应的媒体内容时就可以灵活选择相 同或者不同的连接发送媒体内容,从而减少传输数据的时延,且即使某条连接 发生拥塞或故障, 可以选择其他的连接发送响应消息, 保障了数据正常传输, 提升了每个连接上的复用、 并发效率, 从而整体上提升数据传输的效率。 实施例 6
如图 7所示, 本发明实施例提供了一种存储服务器, 包括:
第三接收模块 601 , 用于接收媒体内容请求实体发送的媒体内容请求, 该 媒体内容请求携带内容标识和流索引;
第三发送模块 602, 用于获取该内容标识对应的媒体内容, 发送携带该流 索引以及获取的媒体内容的响应消息。
其中, 第三发送模块 602, 还用于确定媒体内容请求实体与存储服务器之 间的最小发送时延的连接,通过最小发送时延的连接向媒体内容请求实体发送 该响应消息。
其中, 第三发送模块 602, 还用于如果最小发送时延大于建立新连接的往 返时延, 建立新连接来发送该响应消息。
其中, 第三发送模块 602, 还用于将获取的媒体内容划分为多个数据块, 向媒体内容请求实体发送承载多个数据块的多个响应消息,该多个响应消息的 每个携带该流索引。
其中, 第三发送模块 602, 还用于如果媒体内容请求所请求的是直播时移 业务, 则以部分传输的方式,持续向媒体内容请求实体发送承载着已接收到的 媒体内容的多个响应消息, 该多个响应消息的每个都携带该流索引。
在本发明实施例中,存储服务器在响应消息中添加媒体内容请求携带的流 索引,从而使得媒体内容请求实体可以根据媒体内容请求和响应消息中携带的 流索引获知自身接收的每个响应消息对应的媒体内容请求。如此,存储服务器 不需要在同一个连接上按接收每个媒体内容请求的顺序发送每个媒体请求对 应的响应消息,而是获取到每个媒体内容请求对应的响应消息时就可以灵活选 择相同或者不同的连接发送响应消息,从而减少传输数据的时延,且即使某条 连接发生拥塞或故障, 可以通过其他的连接发送响应消息,保障了数据正常传 输, 提升了每个连接上的复用、 并发效率, 从而整体上提升数据传输的效率。
实施例 7
如图 8所示, 本发明实施例提供了一种获取媒体内容的***, 该***包括 媒体内容请求实体 701和存储服务器 702; 媒体内容请求实体 701 , 用于发送媒体内容请求到存储服务器 702, 该媒 体内容请求携带内容标识和流索引, 流索引用于标识媒体内容请求实体 701 当前发起的媒体内容请求; 收来自存储服务器 702的响应消息, 该响应消息携 带流索引以及存储服务器 702 获取的媒体内容; 根据该响应消息携带的流索 引, 确定该响应消息对应的媒体内容请求; 根据确定的媒体内容请求, 将该响 应消息携带的媒体内容发送给对应的终端;
存储服务器 702,用于接收媒体内容请求,获取内容标识对应的媒体内容, 发送携带该流索引以及获取的媒体内容的响应消息。
在本发明实施例中,存储服务器在响应消息中添加媒体内容请求携带的流 索引,从而使得媒体内容请求实体可以根据媒体内容请求和响应消息中携带的 流索引获知自身接收的每个响应消息对应的媒体内容请求。如此,存储服务器 不需要在同一个连接上按接收每个媒体内容请求的顺序发送每个媒体请求对 应的响应消息,而是获取到每个媒体内容请求对应的响应消息时就可以灵活选 择相同或者不同的连接发送响应消息,从而减少传输数据的时延,且即使某条 连接发生拥塞或故障, 可以通过其他的连接发送响应消息,保障了数据正常传 输, 提升了每个连接上的复用、 并发效率, 从而整体上提升数据传输的效率。
以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现, 其软件程序存储在可读取的存储介质中, 存储介质例如: 计算机中的硬盘、 光 盘或软盘。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。

Claims

权利要求书
1、 一种获取媒体内容的方法, 其特征在于, 所述方法包括:
媒体内容请求实体发送媒体内容请求到存储服务器,所述媒体内容请求携 带内容标识和流索引,所述流索引用于标识所述媒体内容请求实体当前发起的 媒体内容请求;
所述媒体内容请求实体接收来自存储服务器的响应消息,所述响应消息携 带所述流索引以及所述存储服务器获取的媒体内容;
所述媒体内容请求实体根据所述响应消息携带的流索引,确定所述响应消 息对应的媒体内容请求;
所述媒体内容请求实体根据所确定的媒体内容请求,将所述响应消息携带 的媒体内容发送给对应的终端。
2、 如权利要求 1的方法, 其特征在于, 预先设置媒体内容请求实体与存 储服务器之间的连接数目为至少两条; 所述方法还包括:
所述媒体内容请求实体发送媒体内容请求之前,检查自身与存储服务器之 间的连接数目是否达到预设数目,如果否,所述媒体内容请求实体建立新连接, 使得所述媒体内容请求实体与存储服务器之间的连接数目达到预设数目。
3、 如权利要求 2的方法, 其特征在于, 所述存储服务器选择最小发送时 延的连接,通过所述最小发送时延的连接向所述媒体内容请求实体发送所述响 应消息。
4、 如权利要求 3的方法, 其特征在于, 如果所述最小发送时延大于建立 新连接的往返时延, 所述存储服务器建立新连接来发送所述响应消息。
5、 如权利要求 2的方法, 其特征在于, 所述存储服务器将获取的媒体内 容划分为多个数据块,通过所述至少两条连接向所述媒体内容请求实体发送承 载多个数据块的多个响应消息, 所述多个响应消息的每个都携带所述流索引。
6、 如权利要求 1的方法, 其特征在于, 如果所述媒体内容请求所请求的 是直播时移业务, 所述方法还包括:
所述存储服务器以部分传输的方式,持续向所述媒体内容请求实体发送承 载着已接收到的媒体内容的多个响应消息,所述多个响应消息的每个都携带所 述流索引。
7、 如权利要求 1的方法, 其特征在于, 所述方法还包括:
所述媒体内容请求实体实时监测自身与所述存储服务器之间的每条连接 上的数据流量,计算出平均数据流量,选择数据流量与所述平均数据流量的比 值小于预设的阈值的连接, 删除所述选择的连接。
8、 如权利要求 1所述的方法, 其特征在于, 所述媒体内容请求实体发送 媒体内容请求到存储服务器之前, 还包括:
接收来自终端的访问请求, 所述访问请求携带内容标识;
相应地, 所述媒体内容请求实体发送媒体内容请求到存储服务器, 具体包 括:
如果所述媒体内容请求实体判断是否緩存所述访问请求所请求的媒体内 容, 如果没有, 则分配流索引, 并发送媒体内容请求给所述存储服务器, 且所 述媒体内容请求携带所述内容标识和分配的流索引。
9、 一种媒体内容请求实体, 其特征在于, 所述媒体内容请求实体包括: 第一发送模块, 用于发送媒体内容请求到存储服务器, 所述媒体内容请求 携带内容标识和流索引,所述流索引用于标识媒体内容请求实体当前发起的媒 体内容请求;
第一接收模块, 用于接收来自存储服务器的响应消息, 所述响应消息携带 所述流索引以及所述存储服务器获取的媒体内容;
确定模块, 用于根据所述响应消息携带的流索引,确定所述响应消息对应 的媒体内容请求;
第二发送模块, 用于根据所述确定的媒体内容请求,将所述响应消息携带 的媒体内容发送给对应的终端。
10、 如权利要求 9所述的媒体内容请求实体, 其特征在于, 所述媒体内容 请求实体还包括:
管理模块,用于预先设置媒体内容请求实体与存储服务器之间的连接数目 为至少两条,在发送媒体内容请求之前,检查自身与存储服务器之间的连接数 目是否达到预设数目, 如果否, 建立新连接, 使得所述媒体内容请求实体与存 储服务器之间的连接数目达到预设数目。
11、 如权利要求 9所述的媒体内容请求实体, 其特征在于, 所述媒体内容 请求实体还包括:
监测模块,用于实体实时监测所述媒体内容请求实体与所述存储服务器之 间的每条连接上的数据流量,计算出平均数据流量,选择数据流量与所述平均 数据流量的比值小于预设的阈值的连接, 删除所述选择的连接。
12、 如权利要求 9所述的媒体内容请求实体, 其特征在于, 所述媒体内容 请求实体还包括:
第二接收模块, 用于接收来自终端的访问请求, 所述访问请求携带内容标 识;
相应地,
所述第一发送模块,具体用于判断是否緩存所述访问请求所请求的媒体内 容, 如果没有, 则分配流索引, 并发送媒体内容请求给所述存储服务器, 且所 述媒体内容请求携带所述内容标识和分配的流索引。
13、 一种存储服务器, 其特征在于, 所述存储服务器包括:
第三接收模块, 用于接收媒体内容请求实体发送的媒体内容请求, 所述媒 体内容请求携带内容标识和流索引;
第三发送模块, 用于获取所述内容标识对应的媒体内容,发送携带所述流 索引以及所获取的媒体内容的响应消息。
14、 如权利要求 13所述的存储服务器, 其特征在于,
所述第三发送模块,还用于确定所述媒体内容请求实体与所述存储服务器 之间的最小发送时延的连接,通过所述最小发送时延的连接向所述媒体内容请 求实体发送所述响应消息。
15、 如权利要求 14所述的存储服务器, 其特征在于,
所述第三发送模块,还用于如果所述最小发送时延大于建立新连接的往返 时延, 则建立新连接来发送所述响应消息。
16、 如权利要求 13所述的存储服务器, 其特征在于,
所述第三发送模块,还用于将所述媒体内容划分为多个数据块, 向所述媒 体内容请求实体发送承载多个数据块的多个响应消息,所述多个响应消息的每 个都携带所述流索引。
17、 如权利要求 13所述的存储服务器, 其特征在于,
所述第三发送模块,还用于如果所述媒体内容请求所请求的是直播时移业 务, 则以部分传输的方式,持续向所述媒体内容请求实体发送承载着已接收到 的媒体内容的多个响应消息, 所述多个响应消息的每个都携带所述流索引。
18、 一种获取媒体内容的***, 其特征在于, 所述***包括媒体内容请求 实体和存储服务器;
所述媒体内容请求实体, 用于发送媒体内容请求到所述存储服务器, 所述 媒体内容请求携带内容标识和流索引,所述流索引用于标识所述媒体内容请求 实体当前发起的媒体内容请求;接收来自所述存储服务器的响应消息, 所述响 应消息携带所述流索引以及所述存储服务器获取的媒体内容;根据所述响应消 息携带的流索引,确定所述响应消息对应的媒体内容请求; 根据所述确定的媒 体内容请求, 将所述响应消息携带的媒体内容发送给对应的终端;
所述存储服务器,用于接收媒体内容请求, 获取所述内容标识对应的媒体 内容, 发送携带所述流索引以及所获取的媒体内容的响应消息。
PCT/CN2011/083842 2010-12-10 2011-12-12 一种获取媒体内容的方法、设备及*** WO2012075970A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010106013628A CN102143150A (zh) 2010-12-10 2010-12-10 一种获取媒体内容的方法、设备及***
CN201010601362.8 2010-12-10

Publications (1)

Publication Number Publication Date
WO2012075970A1 true WO2012075970A1 (zh) 2012-06-14

Family

ID=44410375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083842 WO2012075970A1 (zh) 2010-12-10 2011-12-12 一种获取媒体内容的方法、设备及***

Country Status (2)

Country Link
CN (1) CN102143150A (zh)
WO (1) WO2012075970A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143150A (zh) * 2010-12-10 2011-08-03 华为技术有限公司 一种获取媒体内容的方法、设备及***
CN102231749B (zh) * 2011-08-12 2013-12-11 乐视网信息技术(北京)股份有限公司 一种利用cdn网络传输直播流的***和方法
KR101795121B1 (ko) * 2011-10-03 2017-11-07 어펌드 네트웍스, 인크. 모바일 콘텐트 전달
CN103181140B (zh) 2011-10-21 2016-09-14 华为技术有限公司 识别服务请求类型的方法、媒体服务器和终端设备
CN102883187B (zh) * 2012-09-17 2015-07-08 华为技术有限公司 一种时移节目服务方法、设备和***
CN103248695A (zh) * 2013-05-07 2013-08-14 北京奇虎科技有限公司 文件下载方法、***及cdn中的服务器节点
CN104270263B (zh) * 2014-09-19 2018-02-23 大唐移动通信设备有限公司 一种tcp连接的维护方法和***
CN105939241B (zh) * 2016-03-10 2019-03-15 杭州迪普科技股份有限公司 连接断开方法及装置
CN108737405B (zh) * 2018-05-10 2020-02-18 网宿科技股份有限公司 一种对直播视频流进行导流的方法、ccl服务器和***
CN111934897A (zh) * 2019-05-13 2020-11-13 深圳市茁壮网络股份有限公司 一种数据请求处理方法及***
CN114979086A (zh) * 2021-02-25 2022-08-30 华为云计算技术有限公司 流媒体传输方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388782A (zh) * 2007-09-13 2009-03-18 ***通信集团公司 信息推送方法及***
WO2009056037A1 (fr) * 2007-10-22 2009-05-07 Huawei Technologies Co., Ltd. Procédé et dispositif d'obtention d'informations de description de supports d'un service iptv
WO2009093518A1 (ja) * 2008-01-21 2009-07-30 Sharp Kabushiki Kaisha サーバ、システム、及びコンテンツ表示制御方法
CN101621736A (zh) * 2008-07-01 2010-01-06 华为技术有限公司 获取服务信息的方法、客户端和服务器
CN102143150A (zh) * 2010-12-10 2011-08-03 华为技术有限公司 一种获取媒体内容的方法、设备及***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388782A (zh) * 2007-09-13 2009-03-18 ***通信集团公司 信息推送方法及***
WO2009056037A1 (fr) * 2007-10-22 2009-05-07 Huawei Technologies Co., Ltd. Procédé et dispositif d'obtention d'informations de description de supports d'un service iptv
WO2009093518A1 (ja) * 2008-01-21 2009-07-30 Sharp Kabushiki Kaisha サーバ、システム、及びコンテンツ表示制御方法
CN101621736A (zh) * 2008-07-01 2010-01-06 华为技术有限公司 获取服务信息的方法、客户端和服务器
CN102143150A (zh) * 2010-12-10 2011-08-03 华为技术有限公司 一种获取媒体内容的方法、设备及***

Also Published As

Publication number Publication date
CN102143150A (zh) 2011-08-03

Similar Documents

Publication Publication Date Title
WO2012075970A1 (zh) 一种获取媒体内容的方法、设备及***
US11336614B2 (en) Content node network address selection for content delivery
CN106993054B (zh) 文件分发方法、节点及***
EP2104287B1 (en) A method for client node network topology construction and a system for stream media delivery
US10681127B2 (en) File upload method and system
US8504720B2 (en) Methods and apparatus for redirecting requests for content
KR101072966B1 (ko) 파일 데이터 분배 방법, 디바이스, 및 시스템
TWI535255B (zh) 一種發送業務請求訊息的方法及裝置
EP2063598A1 (en) A resource delivery method, system and edge server
KR20130088774A (ko) 분할 콘텐트 전달 시스템 및 방법
WO2012106918A1 (zh) 内容处理方法、装置和***
CN101287011A (zh) 内容分发网络中响应用户服务请求的方法、***和设备
CN107211035B (zh) 用于在内容递送网络中监测服务的方法和网络节点
CN103945198A (zh) 一种控制视频监控***流媒体路由的***和方法
US9407687B2 (en) Method, apparatus, and network system for acquiring content
US20150127837A1 (en) Relay apparatus and data transfer method
EP3066575B1 (en) Server network address selection based on network characteristics of service providers
US20140317271A1 (en) Method and node apparatus for collecting information in content network based on information-centric networking
US20140317272A1 (en) Method of collecting information, content network management system, and node apparatus using management interface in content network based on information-centric networking
KR101830760B1 (ko) 지역 분산된 콘텐츠 노드에서 다중 콘텐츠 분배를 위한 오버레이 멀티캐스트 시스템 및 그 방법
US8949366B2 (en) System, a method, and a computer program product for computer communication
CN109788075B (zh) 专网网络***、数据的获取方法及边缘服务器
CN112788135B (zh) 资源调度方法、设备及存储介质
KR20100100936A (ko) 소스 스위칭 방법, 시스템, 및 디바이스
CN108259337B (zh) 一种基于兴趣网络分片的icn路由方法及***

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

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

Country of ref document: EP

Kind code of ref document: A1