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.