[go: up one dir, main page]

CN102143150A - Method, device and system for obtaining media contents - Google Patents

Method, device and system for obtaining media contents Download PDF

Info

Publication number
CN102143150A
CN102143150A CN2010106013628A CN201010601362A CN102143150A CN 102143150 A CN102143150 A CN 102143150A CN 2010106013628 A CN2010106013628 A CN 2010106013628A CN 201010601362 A CN201010601362 A CN 201010601362A CN 102143150 A CN102143150 A CN 102143150A
Authority
CN
China
Prior art keywords
media content
content request
response message
storage server
stream index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010106013628A
Other languages
Chinese (zh)
Inventor
欧雄兵
陈寒冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2010106013628A priority Critical patent/CN102143150A/en
Publication of CN102143150A publication Critical patent/CN102143150A/en
Priority to PCT/CN2011/083842 priority patent/WO2012075970A1/en
Pending legal-status Critical Current

Links

Images

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

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

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

The invention discloses a method, equipment and system for acquiring media content, belonging to the communication field. The method includes: a media content request entity sends a media content request to a storage server, the media content request carries a content identifier and a stream index, and the stream index is used to identify the media content request currently initiated by the media content request entity; The media content requesting entity receives a response message from the storage server, the response message carrying the stream index and the media content obtained by the storage server; the media content requesting entity determines the stream index carried by the response message according to the The media content request corresponding to the response message; the media content requesting entity sends the media content carried in the response message to the corresponding terminal according to the determined media content request. The invention reduces the time delay of data transmission and ensures normal data transmission.

Description

A kind of method, equipment and system that obtains media content
Technical field
The present invention relates to the communications field, particularly a kind of method, equipment and system that obtains media content.
Background technology
CDN (Content Delivery Network, content distributing network) be at existing IP (InternetProtocol, Internet protocol) increases the new network architecture of one deck in the transmission network, the media content that the website can be provided in CDN is published near user's network " edge ", and the user can obtain needed media content nearby from CDN.
The CDN network architecture as shown in Figure 1, CDN comprises central store server, Edge Server, regional cache node and CDN routing server.Wherein, the service provider is distributed on media content in the central store server, media content in Edge Server among the CDN and the regional cache node storage center storage server, the address information of CDN routing server storage center storage server and regional cache node and CDN topological structure.Terminal can be to Edge Server request media content, if Edge Server is the media content of buffer memory terminal request not, then Edge Server obtains the address information of storage server of the media content of storage terminal request from the CDN routing server, storage server can be the central store server or the regional cache node of Edge Server nearby, and utilize the method obtain media content from the storage server of the address information correspondence obtained, to obtain the media content of terminal request, and then the media content that obtains is returned to terminal.
Prior art provides a kind of method of obtaining media content, be specially: Edge Server by self with storage server between one be connected, send media content request to storage server, after storage server receives media content request, the media content that this media content request is asked sends to Edge Server by this connection, and Edge Server receives this media content.Wherein, need to prove: the media content that each terminal can need separately to the Edge Server request, so may connecting by same, Edge Server sends a plurality of media content request to same storage server, but storage server needs strict order-preserving between sending and receiving, be that storage server must send the media content that gets access to according to the order that receives media content request, so Edge Server is determined corresponding media content request according to the order that receives media content, the media content that gets access to could be transmitted to relevant terminal.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Owing to need strict order-preserving between the transmission of storage server and the reception, if the data of previous media content request do not respond subsequent request and do not have response yet, and the storage server side gets access to the order and the order of asking to arrive and not quite identical of data in the practical application for each media content request, also must wait for after the data transmission of asking before it finishes and could send even therefore got access to data earlier.And if current connection appearance is congested, all business in this connection all can be affected.
Summary of the invention
To transmit the time delay of data in the CDN network and ensure that data normally send in order to reduce, the invention provides a kind of method, equipment and system that obtains media content.Described technical scheme is as follows:
A kind of method of obtaining media content, described method comprises:
The media content request entity sends media content request to storage server, and described media content request is carried content identification and stream index, and described stream index is used to identify the media content request of the current initiation of described media content request entity;
Described media content request entity receives the response message from storage server, and described response message carries the media content that described stream index and described storage server obtain;
Described media content request entity is determined the media content request of described response message correspondence according to the stream index that described response message carries;
Described media content request entity is according to determined media content request, and the media content that described response message is carried sends to corresponding terminal.
A kind of media content request entity, described media content request entity comprises:
First sending module is used to send media content request to storage server, and described media content request is carried content identification and stream index, and described stream index is used for the media content request of the current initiation of identification medium content requests entity;
Receiver module is used to receive the response message from storage server, and described response message carries the media content that described stream index and described storage server obtain;
Determination module is used for the stream index that carries according to described response message, determines the media content request of described response message correspondence;
Second sending module is used for according to described definite media content request, and the media content that described response message is carried sends to corresponding terminal.
A kind of storage server, described storage server comprises:
The 3rd receiver module is used for the media content request that the receiving media content request entity sends, and described media content request is carried content identification and stream index;
Add module, be used to obtain the media content of described content identification correspondence, described media content and described stream index are added in the response message;
The 3rd sending module is used to send described response message.
A kind of system that obtains media content, described system comprises media content request entity and storage server;
The equipment of described media content request entity, be used to send media content request to described storage server, described media content request is carried content identification and stream index, and described stream index is used to identify the media content request of the current initiation of described media content request entity; Reception is from the response message of described storage server, and described response message carries the media content that described stream index and described storage server obtain; According to the stream index that described response message carries, determine the media content request of described response message correspondence; According to described definite media content request, the media content that described response message is carried sends to corresponding terminal;
Described storage server is used for the receiving media content request, obtains the media content of described content identification correspondence, sends the described response message of the media content that carries described stream index and obtained.
Come association request message and response message by the extended flow index, so, storage server need not pressed the receiving media content request in same connection order sends response message, but when getting access to the media content of each media content request correspondence, just can send response message flexibly, thereby reduce the time delay of transmission data.
Description of drawings
Fig. 1 is the CDN network architecture schematic diagram that prior art provides;
Fig. 2 is a kind of method flow diagram that obtains media content that the embodiment of the invention 1 provides;
Fig. 3 is a kind of method flow diagram that obtains media content that the embodiment of the invention 2 provides;
Fig. 4 is a kind of method flow diagram that obtains media content that the embodiment of the invention 3 provides;
Fig. 5 is a kind of method flow diagram that obtains media content that the embodiment of the invention 4 provides;
Fig. 6 is the schematic diagram of a kind of media content request entity of providing of the embodiment of the invention 5;
Fig. 7 is the schematic diagram of a kind of storage server of providing of the embodiment of the invention 6;
Fig. 8 is a kind of system schematic of obtaining media content that the embodiment of the invention 7 provides.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment of the invention Edge Server is expanded in request message when regional cache node or central store server requests media content increases stream index, this stream index is used for identifying the media content request of the current initiation of Edge Server, can comprise content information that this media content request asks, range information etc., the stream index that value is identical is represented the media content request that access request that Edge Server is initiated at same terminal use's synchronization is initiated.After the zone cache node gets access to the media content data that Edge Server asks, the same stream index that increases is indicated in returning to the response message of Edge Server, consistent in its value and the request message, Edge Server goes out corresponding media content request message according to the stream index association in the response message that receives, thereby media content data is sent to relevant terminal.
Embodiment 1
As shown in Figure 2, the embodiment of the invention provides a kind of method of obtaining media content, comprising:
Step 101: the media content request entity sends media content request to central memory or regional cache node, and this media content request is carried content identification and stream index;
Stream index: X-Flow-Index=" X-Flow-Index " ": " 1*DIGIT
Implication: the media content request that the access request that the stream index presentation medium content requests entity that value is identical sends at same terminal synchronization is initiated.
In the embodiment of the invention, Edge Server and regional cache node etc. need be referred to as the media content request entity to the network element of upper layer node request media content.
Step 102: the media content request entity receives response message, and this response message carries central store server or the accessed media content of regional cache node, simultaneously, also carries stream index in this response message;
In the embodiment of the invention, can provide the network element of media content to be referred to as storage server regional cache node and central store server etc., wherein regional cache node promptly can provide media content as storage server, when its not during buffer memory related media content, also can be used as the media content request entity.
Step 103:, determine the corresponding media content request of this response message according to the stream index that this response message carries;
Step 104: the media content request entity is according to the media content request of determining, the media content that this response message is carried sends to corresponding terminal.
In embodiments of the present invention, come association request message and response message by the extended flow index, so, storage server need not pressed the receiving media content request in same connection order sends response message, but when getting access to the media content of each media content request correspondence, just can select identical or different connections to send response message flexibly, thereby reduce the time delay of transmission data, even and certain bar connects the congested or fault of generation, can select other connection to send response message, promoted multiplexing that each connects, concurrent efficient, thus the efficient of transfer of data promoted on the whole.
Embodiment 2
The embodiment of the invention provides a kind of method of obtaining media content.Terminal is when Edge Server request media content, if the media content of buffer memory terminal request not in the Edge Server, then Edge Server utilizes method that present embodiment provides to obtain the media content of terminal request from self regional cache node nearby.Referring to Fig. 3, this method comprises:
Step 201: terminal is initiated access request to Edge Server;
Wherein, when terminal need be asked certain media content, terminal sent access request to Edge Server, and this access request is carried the content ID of the media content of self asking; The access request that the Edge Server receiving terminal sends, the content ID that carries according to access request, search in the corresponding relation of content ID and media content and whether have corresponding media content, if there is no, the media content of buffer memory terminal access request not in the Edge Server then, execution in step 202 is if exist, then directly return to terminal, EO.
Wherein, in Edge Server, be cached with the corresponding relation of content ID (IDentity, sign) and media content.
Step 202: Edge Server obtains the address information of the regional cache node of self nearby;
Particularly, Edge Server sends and is notified to the CDN routing server, the CDN routing server is determined the regional cache node of Edge Server nearby according to the CDN topological structure of self storage, address information that again should the zone cache node sends to Edge Server, and Edge Server receives the address information of this zone cache node.
Step 203: Edge Server is according to the address information of regional cache node, select self with corresponding regional cache node between connection, send the regional cache node of media content request to correspondence by the connection of selecting, wherein, this media content request is carried professional sign and stream index;
Particularly, Edge Server distributes stream index, if exist many to be connected between Edge Server and this zone cache node, then Edge Server is selected a connection, if having one between Edge Server and this zone cache node is connected, then Edge Server is directly selected this connection, utilizes the connection of selecting to send media content request to this zone cache node then; Be not connected if do not exist between Edge Server and this zone cache node, then Edge Server connects, and utilizes the connection of setting up to send media content request to this zone cache node.
Further, the linking number that sets in advance between Edge Server and the regional cache node is at least two, if the linking number that Edge Server is checked through between self and the regional cache node is less than the preset number bar, then Edge Server is set up new the connection, makes the linking number between Edge Server and the regional cache node reach default number bar.So, when congested or fault took place in the connection of Edge Server selection, Edge Server can select other connection to send media content request again.Wherein, in the present embodiment, connection can connect for TCP (Transmission Control Protocol, transmission control protocol).
Wherein, each terminal in the network can send access request to Edge Server, the media content that request need be obtained, so Edge Server may send to regional cache node with a plurality of media content request, can also a plurality of media content request be sent to regional cache node by same connection.
Further, Edge Server can also add priority earlier in media content request, send media content request then to regional cache node.
Step 204: the request of regional cache node receiving media content, wherein, this media content request is carried content ID and stream index;
Step 205: regional cache node is according to this content ID, obtains corresponding media content, and the stream index that the media content that obtains and media content request are carried is added in the response message;
Particularly, the zone cache node is according to this content ID, search content ID and the corresponding relation of media content of self storage, if find out corresponding media content, then the stream index that the media content searched and this media content request are carried adds in the response message.
Further, the zone cache node can also be divided into the media content that obtains a plurality of data blocks, transmits a plurality of data blocks in the mode of chunk, wherein, a plurality of data blocks adopt a plurality of response message carryings, and each response message all carries the entrained identical stream index of media content request.
CDN network support direct broadcast time-shift business, thus the terminal use suspends in watching live process or retreats shifting state when entering, the time shifting state user can obtain as the business experience of watching common demand (telecommunication) service.In order to support time-shift service, need top area cache node or central store server that the content of programme televised live is carried out real-time recording, when Edge Server is from regional cache node or central store server requests time shift content like this, zone cache node or central store server do not have complete file, the embodiment of the invention adopts the relevant media content of chunked part transmission manner transmission to the Edge Server service, just begins to transmit after promptly getting access to the part of media content-data.If corresponding business is the direct broadcast time-shift business, the zone cache node adopts the mode of chunk to transmit the media content that has got access to, the follow-up media content that gets access to also will adopt the mode of chunk to transmit, and all carry the entrained identical stream index of media content request in each data block.
Wherein, the also media content of this content of buffer memory ID correspondence not in the cache node of zone, if regional cache node does not find this media content, then regional cache node can be transmitted to media content request nearby the top area cache node of self or store the central store server of this media content, and obtains this media content from top area cache node or central store server.
Step 206: regional cache node by self with Edge Server between be connected, above-mentioned response message is sent to Edge Server;
Particularly, if exist many to be connected between Edge Server and this zone cache node, regional cache node calculate self with Edge Server between each transmission delay that is connected, select the connection of transmission delay minimum to send response message to Edge Server.
If adopt the mode of chunk to transmit the media content that gets access to, can in many connections, transmit the response message of a plurality of data blocks simultaneously.Wherein, every between regional cache node and the Edge Server is connected the transmit queue that all has separately, and every connects data that only send the transmit queue that is arranged in self.If regional cache node need send data on certain bar connects, then need earlier this metadata cache in the transmit queue of this connection, and then connect by this and to send the data that are buffered in the transmit queue.
So, the data that do not send in the transmit queue that the zone cache node is connected with every according to the bandwidth of every connection, calculate the transmission delay of every connection, select the connection of transmission delay minimum, the connection by the transmission delay minimum sends to Edge Server with response message.
Further, if the round-trip delay that minimum transmission delay newly connects greater than foundation, then regional cache node can be set up new connection;
Wherein, set up new the connection after, the new transmission delay minimum that connects, its value are zero, correspondingly, regional cache node sends response message to Edge Server by the new connection of setting up.
Further, if media content request is carried priority, after regional cache node gets access to the media content of media content request correspondence, select the high media content request corresponding response message of priority to send according to priority.
Further, if regional cache node receives a plurality of media content request, when regional cache node gets access to each media content request corresponding response message, each response message can be sent to Edge Server by different connections, and do not need that the order by the receiving media content request sends each media content request corresponding response message from the same connection, so reduce transfer of data time delay, improve the multiplexing and concurrent efficient of every connection.
Step 207: Edge Server receives response message, the media content request of related this response message correspondence of stream index of carrying according to this response message;
Particularly, Edge Server receives response message, and the stream index that this response message is carried mates with the stream index that the media content request of buffer memory is carried respectively, determines the media content request of this response message correspondence.
Step 208: the media content that Edge Server carries this response message according to the media content request of this response message correspondence sends to corresponding terminal.
Further, each data traffic that connects of Edge Server monitoring in real time, the data traffic that connects according to each and the number of connection calculate the average data flow then, data traffic in every connection and average data flow are done division arithmetic obtain every ratio that is connected, deletion ratio is less than the connection of predetermined threshold value.Wherein, ratio is relatively poor less than the Network Transmission situation of the connection of predetermined threshold value, and the relatively poor connection of deletion Network Transmission situation can improve multiplexing with the concurrent efficient of connection and reduce the number that maintenance is connected.
Further, be connected and all do not have data traffic in the default time if Edge Server monitors between self and the regional cache node every, then all between Edge Server deletion self and this zone cache node are connected.
Further, Edge Server can also extract the media content that carries from this response message, from this media content request, extract content ID, the media content of the content ID of this extraction and extraction is buffered among the content ID and the corresponding relation of media content of self.
Wherein, if the also media content of buffer memory terminal request not in the regional cache node, the stream index that then regional cache node carries failure code and media content request is added in the response message, and then sends to Edge Server; After Edge Server receives this response message, according to carrying failure code in this response message, know from regional cache node, not get access to this media content that this moment, Edge Server can also obtain this media content from the central store server of storing this media content.
In embodiments of the present invention, Edge Server can mate by the stream index that stream index that response message is carried and media content request are carried, know the media content request of the response message correspondence of reception, regional cache node like this receives media content request from a connection, when returning this media content request corresponding response message, can not need to return response message from this connection, but select the connection of transmission delay minimum that this response message is returned to Edge Server, so can reduce the time delay of transmission data; If receive a plurality of media content request from a connection, the zone cache node need the order by the receiving media content request not send each media content request corresponding response message in this connection, thereby has reduced the time delay of transmission data further.In addition, the a plurality of chunk block parallel transmission in different TCP connections dynamically that belongs to a plurality of response messages of same media content request, therefore can not be subjected to wall scroll TCP to connect congested influence, improve the multiplexing and concurrent efficient of every connection.And Edge Server is also monitored each data traffic that connects in real time, the relatively poor connection of deletion Network Transmission situation, and perhaps deletion does not have the connection of data traffic, can reduce and safeguard the number that connects.
Embodiment 3
The embodiment of the invention provides a kind of method of obtaining media content.The access request that the Edge Server receiving terminal sends, and find out self not media content of this access request request of buffer memory, Edge Server utilizes method that embodiment 2 provides from obtaining this media content self the regional cache node nearby, if do not get access to this media content, then the Edge Server method of utilizing present embodiment to provide is obtained this media content from the central store server of storing this media content.Referring to Fig. 4, this method comprises:
Step 301: Edge Server obtains the address information of the central store server of the media content of depositing terminal request;
Particularly, Edge Server is according to the content ID of terminal request, from the corresponding relation of the content ID of CDN routing server storage and address information, find out corresponding address information, the address information of wherein, searching is the address information of the central store server of the media content of this content of storage ID correspondence.
Wherein, in advance that each is the professional media content of service provider is distributed in the central store server, in the content ID that the central store server will be stored in the CDN routing server from each the content ID and the address information of self of storage on one's body and the corresponding relation of address information.
Step 302: Edge Server is according to the address information of central store server, obtain self with corresponding central store server between connection, send the central store server of media content request by the connection of obtaining to correspondence; Wherein, this media content request is carried content ID and stream index;
Particularly, the detailed process of Edge Server transmission media content request is identical with the process of Edge Server transmission media content request in the step 203 of embodiment 2, gives unnecessary details at this again.
Further, the linking number that sets in advance between Edge Server and the central store server is at least two, if the linking number that Edge Server is checked through between self and the central store server is less than the preset number bar, then Edge Server is set up new the connection, makes the linking number between Edge Server and the central store server reach default number bar.So, when congested or fault took place in the connection of obtaining when Edge Server, the connection that Edge Server can obtain other again sent media content request.
Further, Edge Server can also add earlier priority in media content request, and then sends media content request to the central store server.
Step 303: the request of central store server receiving media content, wherein, this media content request is carried content ID and stream index;
Step 304: the central store server is according to this content ID, obtains corresponding media content, and the stream index that the media content request of the media content that obtains and reception is carried is added in the response message;
Particularly, the central store server is according to this content ID, from the corresponding relation of content ID and the media content of self storage, find out the media content of correspondence, the stream index that the media content request of the media content searched and reception is carried adds in the response message.
Further, the central store server can also be divided into the media content that obtains a plurality of data blocks, transmits a plurality of data blocks in the mode of chunk, wherein, a plurality of data blocks adopt a plurality of response message carryings, and each response message all carries the entrained identical stream index of media content request.If corresponding business is the direct broadcast time-shift business, the central store server adopts the mode of chunk to transmit the media content that has got access to, the follow-up media content that gets access to also will adopt the mode of chunk to transmit, and all carry the entrained identical stream index of media content request in each data block that sends.
Step 305: the central store server by self with Edge Server between be connected, this response message is sent to Edge Server;
Particularly, the central store server calculate self with Edge Server between each transmission delay that is connected, the connection by the transmission delay minimum sends this response message to Edge Server.If adopt the mode of chunk to transmit the media content that gets access to, can in many connections, transmit the response message of a plurality of data blocks simultaneously.
Further, if the round-trip delay that minimum transmission delay newly connects greater than foundation, then the central store server can be set up new connection; And the new connection of passing through to set up sends response message to Edge Server.
Further, if media content request is carried priority, after the central store server gets access to the media content of media content request correspondence, select the high media content request corresponding response message of priority to send according to priority.
Step 306 and 307: identical with the step 207 of embodiment 2 and 208 respectively, do not repeat them here.
Further, Edge Server can also monitor in real time self with the central store server between each data traffic that is connected, calculate the data traffic in every connection and the ratio of average data flow, deletion ratio is less than the connection of predetermined threshold value.
Further, be connected and all do not have data traffic in the default time if Edge Server monitors between self and the central store server every, then all between Edge Server deletion self and the central store server are connected.
In embodiments of the present invention, Edge Server can mate by the stream index that stream index that response message is carried and media content request are carried, know the media content request of the response message correspondence of reception, so the central store server receives media content request from a connection, when returning this media content request corresponding response message, can not need to return response message from this connection, but select the connection of transmission delay minimum that this response message is returned to Edge Server, so can reduce the time delay of transmission data; If receive a plurality of media content request from a connection, the central store server need the order by the receiving media content request not send each media content request corresponding response message in this connection, thereby has reduced the time delay of transmission data further.In addition, belong to a plurality of chunk block parallel transmission in different connections dynamically of a plurality of response messages of same media content request, therefore can not be subjected to wall scroll to connect congested influence, improve the multiplexing and concurrent efficient of every connection.And Edge Server is also monitored each data traffic that connects in real time, the relatively poor connection of deletion Network Transmission situation, and perhaps deletion does not have the connection of data traffic, can reduce and safeguard the number that connects.
Embodiment 4
The embodiment of the invention provides a kind of method of obtaining media content.The zone cache node receives the media content request that the node in the CDN network sends, this media content request is carried content ID and stream index, if when self not being buffered in the media content of this content ID correspondence, the method for then should the zone cache node utilizing present embodiment to provide is obtained this media content from the central store server of storing this media content.Referring to Fig. 5, this method comprises:
Step 401: the media content request that regional cache node receiving node sends, this media content request is carried content ID and stream index, if self be not cached with the media content of this content ID correspondence, execution in step 502;
Wherein, the node of CDN network can be Edge Server or other regional cache node.When regional cache node receives the media content request of the slow node transmission of Edge Server or other zones, carry content ID according to this media content request, search the content ID of buffer memory and the corresponding relation of media content, if do not find out corresponding media content, then judge self not media content of this content of buffer memory ID correspondence, if find out corresponding media content, then the stream index that the media content searched and this media content request are carried is added in the response message, and returns this response message and give the node that sends media content request.
Step 402: regional cache node extracts stream index from this media content request, and be that this media content request distributes stream index, the stream index that this media content request is carried replaces with the stream index of distribution, and stream index and this media content request of extracting is stored in the corresponding relation of stream index and media content request;
Step 403: regional cache node obtains the address information of the central store server of the media content of depositing this content ID correspondence;
Particularly, regional cache node is according to this content ID, from the corresponding relation of the content ID of CDN routing server storage and address information, finds out corresponding address information, and wherein, the address information of searching comprises the address information of central store server.
Step 404: regional cache node is according to the address information of central store server, obtain self with corresponding central store server between connection, send the central store server of media content request by the connection of obtaining to correspondence;
Particularly, the process of the Edge Server transmission media content request in the process that regional cache node sends media content request and the step 303 of embodiment 3 is identical, does not repeat them here.
Step 405: the request of central store server receiving media content, wherein, this media content request is carried content ID and stream index;
Step 406: the central store server is according to content ID, obtains corresponding media content, and the stream index that the media content request of the media content that obtains and reception is carried is added in the response message;
Wherein, this step is identical with step 304, no longer describes in detail at this.
Step 407: the central store server by self with regional cache node between be connected, this response message is sent to regional cache node;
Particularly, the central store server calculate self with regional cache node between every transmission delay that is connected, the connection by the transmission delay minimum sends this response message to regional cache node.If adopt the mode of chunk to transmit the media content that gets access to, can in many connections, transmit the response message of a plurality of data blocks simultaneously.
Further, if the round-trip delay that minimum transmission delay newly connects greater than foundation, then the central store server can be set up new connection; And the new connection of passing through to set up sends response message to regional cache node.
Further, if media content request is carried priority, after the central store server gets access to the media content of media content request correspondence, select the high media content request corresponding response message of priority to send according to priority.
Step 408: regional cache node receives response message, and the stream index association of carrying according to this response message the media content request of this response message correspondence;
Particularly, the zone cache node receives response message, the stream index that this response message is carried respectively with media content request in the stream index that carries mate, match identical media content request, the media content request that matches is the media content request of this response message correspondence.
Step 409: regional cache node obtains the stream index of related media content request correspondence, and the stream index in this response message is replaced with the stream index that obtains, and this response message is transmitted to the node of related media content request correspondence.
Particularly, the zone cache node is according to the media content request of this response message correspondence, from the corresponding relation of stream index and media content request, search corresponding stream index, the stream index that this response message is carried replaces with the stream index of searching, and the media content request according to this response message correspondence is transmitted to corresponding node with this response message again.
Further, the zone cache node extracts the media content that carries from this response message, from the media content request that matches, extract content ID, the media content of the content ID of this extraction and extraction is buffered among the content ID and the corresponding relation of media content of self.
Further, regional cache node can also monitor in real time self with the central store server between each data traffic that is connected, calculate the data traffic in every connection and the ratio of average data flow, deletion ratio is less than the connection of predetermined threshold value.
Further, be connected and all do not have data traffic in the default time if regional cache node monitors between self and the central store server every, then all between Edge Server deletion self and the central store server are connected.
Wherein, the zone cache node receives the media content request that the node in the CDN network sends, if when self not being buffered in the media content that this media content request asks, then should also can from the top area cache node that just is bordering on self, obtain the media content that this media content request is asked by the zone cache node.This zone cache node obtains the media content that this media content request asks from the top area cache node that just is bordering on self process and this zone cache node that present embodiment provides obtain the media content that this media content request asks from the central store server process is identical, no longer describes in detail at this.
In embodiments of the present invention, the zone cache node can mate by the stream index that stream index that response message is carried and media content request are carried, know the media content request of the response message correspondence of reception, so the central store server receives media content request from a connection, when returning this media content request corresponding response message, can not need to return response message from this connection, but select the connection of transmission delay minimum that this response message is returned to regional cache node, so can reduce the time delay of transmission data; If receive a plurality of media content request from a connection, the central store server need the order by the receiving media content request not send each media content request corresponding response message in this connection, thereby has reduced the time delay of transmission data further.In addition, belong to a plurality of chunk block parallel transmission in different connections dynamically of a plurality of response messages of same media content request, therefore can not be subjected to wall scroll to connect congested influence, improve the multiplexing and concurrent efficient of every connection.And regional cache node is also monitored each data traffic that connects in real time, the relatively poor connection of deletion Network Transmission situation, and perhaps deletion does not have the connection of data traffic, can reduce and safeguard the number that connects.
Embodiment 5
As shown in Figure 6, the embodiment of the invention provides a kind of media content request entity, comprising:
First sending module 501 is used to send media content request to storage server, and this media content request is carried content identification and stream index, and stream index is used for the media content request of the current initiation of identification medium content requests entity;
First receiver module 502 is used to receive the response message from storage server, and this response message carries the media content that stream index and storage server obtain;
Determination module 503 is used for the stream index that carries according to this response message, determines the media content request of this response message correspondence;
Second sending module 504 is used for according to the media content request of determining, the media content that this response message is carried sends to corresponding terminal.
Further, this media content request entity also comprises:
Administration module 505, the linking number that is used to set in advance between media content request entity and the storage server is at least two, before sending media content request, check whether the linking number between media content request entity and the storage server reaches preset number, if not, set up new the connection, make that the linking number between media content request entity and the storage server reaches preset number.
Further, this media content request entity also comprises:
Monitoring modular 506, be used for entity and monitor every data traffic that is connected between media content request entity and the storage server in real time, calculate the average data flow, the ratio of selecting data traffic and average data flow is connected the connection of deletion selection less than preset threshold value.
Further, this media content request entity also comprises:
Second receiver module 507 is used to receive the access request of self terminal, and this access request is carried content identification;
Correspondingly,
First sending module 501 specifically is used to the media content that judges whether that the cache access request is asked, if do not have, then distributes stream index, and sends media content request to storage server, and this media content request is carried the stream index of content identification and distribution.
In embodiments of the present invention, the media content request entity is known the media content request of each response message correspondence of reception according to the stream index in media content request and the response message.So, storage server need not send the media content of each media content request correspondence by the order of receiving media content request in same connection, but just can select identical or different connections to send media content flexibly when getting access to the media content of each media content request correspondence, thereby reduce the time delay of transmission data, even and certain bar connects the congested or fault of generation, can select other connection to send response message, ensured the data normal transmission, promoted multiplexing that each connects, concurrent efficient, thus the efficient of transfer of data promoted on the whole.
Embodiment 6
As shown in Figure 7, the embodiment of the invention provides a kind of storage server, comprising:
The 3rd receiver module 601 is used for the media content request that the receiving media content request entity sends, and this media content request is carried content identification and stream index;
The 3rd sending module 602 is used to obtain the media content of this content identification correspondence, sends the response message of the media content that carries this stream index and obtain.
Wherein, the 3rd sending module 602 also is used for determining being connected of minimum transmission delay between media content request entity and the storage server, and the connection by minimum transmission delay sends this response message to the media content request entity.
Wherein, the 3rd sending module 602 if also be used for minimum transmission delay greater than setting up the new round-trip delay that connects, set up and new the connection is sent this response message.
Wherein, the 3rd sending module 602, the media content that also is used for obtaining is divided into a plurality of data blocks, sends a plurality of response messages that carry a plurality of data blocks to the media content request entity, and each of these a plurality of response messages carried this stream index.
Wherein, the 3rd sending module 602, if what be used for also that media content request asks is the direct broadcast time-shift business, then with the part transmission manner, continue to send a plurality of response messages that carrying the media content that has received to the media content request entity, each of these a plurality of response messages all carried this stream index.
In embodiments of the present invention, storage server adds the stream index that media content request is carried in response message, thereby makes the media content request entity can know the media content request of each response message correspondence that self receives according to the stream index that carries in media content request and the response message.So, storage server need not send each medium request corresponding response message by the order that receives each media content request in same connection, but just can select when getting access to each media content request corresponding response message identical or different connections to send response message flexibly, thereby reduce the time delay of transmission data, even and certain bar connects the congested or fault of generation, can send response message by other connection, ensured the data normal transmission, promoted multiplexing that each connects, concurrent efficient, thus the efficient of transfer of data promoted on the whole.
Embodiment 7
As shown in Figure 8, the embodiment of the invention provides a kind of system that obtains media content, and this system comprises media content request entity 701 and storage server 702;
Media content request entity 701 is used to send media content request to storage server 702, and this media content request is carried content identification and stream index, and stream index is used for the media content request of identification medium content requests entity 701 current initiations; Receipts are from the response message of storage server 702, and this response message carries the media content that stream index and storage server 702 obtain; According to the stream index that this response message carries, determine the media content request of this response message correspondence; According to the media content request of determining, the media content that this response message is carried sends to corresponding terminal;
Storage server 702 is used for the receiving media content request, obtains the media content of content identification correspondence, sends the response message of the media content that carries this stream index and obtain.
In embodiments of the present invention, storage server adds the stream index that media content request is carried in response message, thereby makes the media content request entity can know the media content request of each response message correspondence that self receives according to the stream index that carries in media content request and the response message.So, storage server need not send each medium request corresponding response message by the order that receives each media content request in same connection, but just can select when getting access to each media content request corresponding response message identical or different connections to send response message flexibly, thereby reduce the time delay of transmission data, even and certain bar connects the congested or fault of generation, can send response message by other connection, ensured the data normal transmission, promoted multiplexing that each connects, concurrent efficient, thus the efficient of transfer of data promoted on the whole.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computer, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a method of obtaining media content is characterized in that, described method comprises:
The media content request entity sends media content request to storage server, and described media content request is carried content identification and stream index, and described stream index is used to identify the media content request of the current initiation of described media content request entity;
Described media content request entity receives the response message from storage server, and described response message carries the media content that described stream index and described storage server obtain;
Described media content request entity is determined the media content request of described response message correspondence according to the stream index that described response message carries;
Described media content request entity is according to determined media content request, and the media content that described response message is carried sends to corresponding terminal.
2. method as claimed in claim 1 is characterized in that, the linking number that sets in advance between media content request entity and the storage server is at least two; Described method also comprises:
Described media content request entity sends before the media content request, check whether the linking number between self and the storage server reaches preset number, if not, described media content request entity is set up new the connection, makes that the linking number between described media content request entity and the storage server reaches preset number.
3. method as claimed in claim 2 is characterized in that described storage server is selected the connection of minimum transmission delay, and the connection by described minimum transmission delay sends described response message to described media content request entity.
4. method as claimed in claim 3 is characterized in that, if the round-trip delay that described minimum transmission delay newly connects greater than foundation, described storage server is set up new connection and sent described response message.
5. method as claimed in claim 2, it is characterized in that, described storage server is divided into a plurality of data blocks with the media content that obtains, send a plurality of response messages that carry a plurality of data blocks by described at least two connections to described media content request entity, each of described a plurality of response messages all carried described stream index.
6. method as claimed in claim 1 is characterized in that, if described media content request asks is the direct broadcast time-shift business, described method also comprises:
Described storage server continues to send a plurality of response messages that carrying the media content that has received to described media content request entity with the part transmission manner, and each of described a plurality of response messages all carried described stream index.
7. method as claimed in claim 1 is characterized in that, described method also comprises:
Described media content request entity monitor in real time self with described storage server between every data traffic that is connected, calculate the average data flow, the ratio of selecting data traffic and described average data flow is connected less than preset threshold value, deletes the connection of described selection.
8. the method for claim 1 is characterized in that, described media content request entity sends media content request before the storage server, also comprises:
Receive the access request of self terminal, described access request is carried content identification;
Correspondingly, described media content request entity sends media content request to storage server, specifically comprises:
If described media content request entity judges whether the media content that the described access request of buffer memory is asked, if do not have, then distribute stream index, and send media content request, and described media content request is carried the stream index of described content identification and distribution to described storage server.
9. a media content request entity is characterized in that, described media content request entity comprises:
First sending module is used to send media content request to storage server, and described media content request is carried content identification and stream index, and described stream index is used for the media content request of the current initiation of identification medium content requests entity;
First receiver module is used to receive the response message from storage server, and described response message carries the media content that described stream index and described storage server obtain;
Determination module is used for the stream index that carries according to described response message, determines the media content request of described response message correspondence;
Second sending module is used for according to described definite media content request, and the media content that described response message is carried sends to corresponding terminal.
10. media content request entity as claimed in claim 9 is characterized in that, described media content request entity also comprises:
Administration module, the linking number that is used to set in advance between media content request entity and the storage server is at least two, before sending media content request, check whether the linking number between self and the storage server reaches preset number, if not, set up new the connection, make that the linking number between described media content request entity and the storage server reaches preset number.
11. media content request entity as claimed in claim 9 is characterized in that, described media content request entity also comprises:
Monitoring modular, be used for entity every data traffic that is connected between the described media content request entity of monitoring and the described storage server in real time, calculate the average data flow, the ratio of selecting data traffic and described average data flow is connected less than preset threshold value, deletes the connection of described selection.
12. media content request entity as claimed in claim 9 is characterized in that, described media content request entity also comprises:
Second receiver module is used to receive the access request of self terminal, and described access request is carried content identification;
Correspondingly,
Described first sending module, specifically be used to the media content that judges whether that the described access request of buffer memory is asked,, then distribute stream index if do not have, and send media content request to described storage server, and described media content request is carried the stream index of described content identification and distribution.
13. a storage server is characterized in that, described storage server comprises:
The 3rd receiver module is used for the media content request that the receiving media content request entity sends, and described media content request is carried content identification and stream index;
The 3rd sending module is used to obtain the media content of described content identification correspondence, sends the response message of the media content that carries described stream index and obtained.
14. storage server as claimed in claim 13 is characterized in that,
Described the 3rd sending module also is used for determining being connected of minimum transmission delay between described media content request entity and the described storage server, and the connection by described minimum transmission delay sends described response message to described media content request entity.
15. storage server as claimed in claim 14 is characterized in that,
Described the 3rd sending module if also be used for described minimum transmission delay greater than setting up the new round-trip delay that connects, then set up and new the connection is sent described response message.
16. storage server as claimed in claim 13 is characterized in that,
Described the 3rd sending module also is used for described media content is divided into a plurality of data blocks, sends a plurality of response messages that carry a plurality of data blocks to described media content request entity, and each of described a plurality of response messages all carried described stream index.
17. storage server as claimed in claim 13 is characterized in that,
Described the 3rd sending module, if what be used for also that described media content request asks is the direct broadcast time-shift business, then with the part transmission manner, continue to send a plurality of response messages that carrying the media content that has received to described media content request entity, each of described a plurality of response messages all carried described stream index.
18. a system that obtains media content is characterized in that described system comprises media content request entity and storage server;
Described media content request entity is used to send media content request to described storage server, and described media content request is carried content identification and stream index, and described stream index is used to identify the media content request of the current initiation of described media content request entity; Reception is from the response message of described storage server, and described response message carries the media content that described stream index and described storage server obtain; According to the stream index that described response message carries, determine the media content request of described response message correspondence; According to described definite media content request, the media content that described response message is carried sends to corresponding terminal;
Described storage server is used for the receiving media content request, obtains the media content of described content identification correspondence, sends the response message of the media content that carries described stream index and obtained.
CN2010106013628A 2010-12-10 2010-12-10 Method, device and system for obtaining media contents Pending CN102143150A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010106013628A CN102143150A (en) 2010-12-10 2010-12-10 Method, device and system for obtaining media contents
PCT/CN2011/083842 WO2012075970A1 (en) 2010-12-10 2011-12-12 Method, device and system for obtaining media content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106013628A CN102143150A (en) 2010-12-10 2010-12-10 Method, device and system for obtaining media contents

Publications (1)

Publication Number Publication Date
CN102143150A true CN102143150A (en) 2011-08-03

Family

ID=44410375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106013628A Pending CN102143150A (en) 2010-12-10 2010-12-10 Method, device and system for obtaining media contents

Country Status (2)

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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
WO2012075970A1 (en) * 2010-12-10 2012-06-14 华为技术有限公司 Method, device and system for obtaining media content
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system
CN103181140A (en) * 2011-10-21 2013-06-26 华为技术有限公司 Method, media server and terminal device for identifying service request type
CN103248695A (en) * 2013-05-07 2013-08-14 北京奇虎科技有限公司 File downloading method and system and server node in CDN
CN104025016A (en) * 2011-10-03 2014-09-03 阿弗梅德网络公司 Mobile content delivery
CN104270263A (en) * 2014-09-19 2015-01-07 大唐移动通信设备有限公司 Maintenance method and system for TCP connection
CN105939241A (en) * 2016-03-10 2016-09-14 杭州迪普科技有限公司 Connection disconnecting method and device
CN108737405A (en) * 2018-05-10 2018-11-02 网宿科技股份有限公司 A kind of method, CCL servers and system carrying out water conservancy diversion to live video stream
CN111934897A (en) * 2019-05-13 2020-11-13 深圳市茁壮网络股份有限公司 A data request processing method and system
WO2022179085A1 (en) * 2021-02-25 2022-09-01 华为云计算技术有限公司 Streaming media transmission method and apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093518A1 (en) * 2008-01-21 2009-07-30 Sharp Kabushiki Kaisha Server, system, and content display control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388782B (en) * 2007-09-13 2013-03-27 中国移动通信集团公司 Information pushing method and system
CN101459664B (en) * 2007-10-22 2010-10-20 华为技术有限公司 A method and device for acquiring IPTV service media description information
CN101621736A (en) * 2008-07-01 2010-01-06 华为技术有限公司 Method, client and server for acquiring service information
CN102143150A (en) * 2010-12-10 2011-08-03 华为技术有限公司 Method, device and system for obtaining media contents

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009093518A1 (en) * 2008-01-21 2009-07-30 Sharp Kabushiki Kaisha Server, system, and content display control method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012075970A1 (en) * 2010-12-10 2012-06-14 华为技术有限公司 Method, device and system for obtaining media content
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
CN104025016A (en) * 2011-10-03 2014-09-03 阿弗梅德网络公司 Mobile content delivery
CN104025016B (en) * 2011-10-03 2017-09-29 阿弗梅德网络公司 The method and apparatus of mobile content delivering
CN103181140A (en) * 2011-10-21 2013-06-26 华为技术有限公司 Method, media server and terminal device for identifying service request type
US9882794B2 (en) 2011-10-21 2018-01-30 Huawei Technologies Co., Ltd. Method, media type server and terminal device for identifying service request type
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system
CN102883187B (en) * 2012-09-17 2015-07-08 华为技术有限公司 Time-shift program service method, equipment and system
CN103248695A (en) * 2013-05-07 2013-08-14 北京奇虎科技有限公司 File downloading method and system and server node in CDN
CN104270263B (en) * 2014-09-19 2018-02-23 大唐移动通信设备有限公司 A kind of maintaining method and system of TCP connections
CN104270263A (en) * 2014-09-19 2015-01-07 大唐移动通信设备有限公司 Maintenance method and system for TCP connection
CN105939241A (en) * 2016-03-10 2016-09-14 杭州迪普科技有限公司 Connection disconnecting method and device
CN105939241B (en) * 2016-03-10 2019-03-15 杭州迪普科技股份有限公司 Connection disconnects method and device
CN108737405A (en) * 2018-05-10 2018-11-02 网宿科技股份有限公司 A kind of method, CCL servers and system carrying out water conservancy diversion to live video stream
WO2019214009A1 (en) * 2018-05-10 2019-11-14 网宿科技股份有限公司 Live video stream guiding method, ccl server and system
CN111934897A (en) * 2019-05-13 2020-11-13 深圳市茁壮网络股份有限公司 A data request processing method and system
WO2022179085A1 (en) * 2021-02-25 2022-09-01 华为云计算技术有限公司 Streaming media transmission method and apparatus

Also Published As

Publication number Publication date
WO2012075970A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
CN102143150A (en) Method, device and system for obtaining media contents
US8756296B2 (en) Method, device and system for distributing file data
US9621620B2 (en) Apparatus and method for providing content with a distributed architecture, and system for providing content with the said apparatus
CN101039281B (en) Method for sharing load of stream media server
US9497035B2 (en) Method, device, and system for playing media based on P2P
CN110417595B (en) Business service disaster tolerance method, device, system, management server and electronic equipment
CN101472166A (en) Method for caching and enquiring content as well as point-to-point medium transmission system
KR101959970B1 (en) Contents delivery service method using contents sharing, and cache apparatus therefor
US20140052817A1 (en) Method, apparatus, and network system for acquiring content
CN104506493A (en) HLS content source returning and caching realization method
US10397369B2 (en) Methods and network nodes for monitoring services in a content delivery network
CN101146114A (en) A load share method and system of stream media server
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
US9544371B1 (en) Method to discover multiple paths to disk devices cluster wide
CN103685344A (en) Synergetic method and system for multiple P2P (point-to-point) cache peers
CN109788075B (en) Private network network system, data acquisition method and edge server
CN111600929A (en) Transmission line detection method, route strategy generation method and proxy server
CN103795810A (en) Data distribution system and method and central server of data distribution system
CN102497402A (en) Content injection method and system thereof, and content delivery method and system thereof
CN103188323A (en) System and method for providing Web services based on user mainframe cache equipment
KR102195516B1 (en) Apparatus for transmitting a broadcasting service, apparatus for receiving a broadcasting service, and broadcasting service transmitting and receiving system using the same
CN102546549B (en) Method, system and device for data transmission
KR101158369B1 (en) System for refreshing content using user's location information and content taste, and method thereof
JP2006127262A (en) Load distribution method and load distribution system in content distribution system
CN112291103B (en) Network scheduling method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110803