CN103812821A - Method for transporting streaming media, HTTP (Hyper Text Transport Protocol) server, client apparatus and system for transporting streaming media - Google Patents

Method for transporting streaming media, HTTP (Hyper Text Transport Protocol) server, client apparatus and system for transporting streaming media Download PDF

Info

Publication number
CN103812821A
CN103812821A CN201210439981.0A CN201210439981A CN103812821A CN 103812821 A CN103812821 A CN 103812821A CN 201210439981 A CN201210439981 A CN 201210439981A CN 103812821 A CN103812821 A CN 103812821A
Authority
CN
China
Prior art keywords
server
streaming media
code check
client
http server
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.)
Granted
Application number
CN201210439981.0A
Other languages
Chinese (zh)
Other versions
CN103812821B (en
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210439981.0A priority Critical patent/CN103812821B/en
Publication of CN103812821A publication Critical patent/CN103812821A/en
Application granted granted Critical
Publication of CN103812821B publication Critical patent/CN103812821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention provides a method for transporting streaming media, an HTTP (Hyper Text Transport Protocol) server, a client apparatus and a system for transporting the streaming media. The method comprises that the HTTP server receives the ideal code rate returned by a client; according to the ideal code rate and the coding capability of a coding server, the coding server is notified to code a group of streaming media according to the ideal code rate returned by the client; the coding server generates a group of streaming media according to the ideal code rate returned by the client, the coded group of the streaming media is deployed after the HTTP server, and then the HTTP server generates new medium information; the HTTP server sends the coded group of the streaming media to the client; and the HTTP receives the returned ideal code rate and then notifies the coding server to code a group of streaming media according to the ideal code rate, and the client is notified to receive the coded streaming media. Thus, the HTTP server is enabled to dynamically adjust the sent streaming media according to the requirements of the client, and the view experience of the client is improved.

Description

Method, http server, client terminal device and the system of transport stream media
Technical field
The present invention relates to stream media technology, refer to especially a kind of method, http server, client terminal device and system of transport stream media.
Background technology
Existing distribute media content technology mainly comprises: real-time streaming protocol/RTP (RTSP/RTP, Real-time Streaming Protocol/Real-time Transport Protocol) stream media technology, HTTP (HTTP) progressive download (HTTP Progress Download) technology.
RTSP stream media technology supports progress bar search, F.F., rewind down etc. to control function and content copyright protection.Installation, the configure and maintenance of streaming media server are all comparatively complicated; The specific network terminal slogan (554) that RTSP agreement is used may, by the shutoff such as fire compartment wall and NAT in certain customers' network, cause using; Needing streaming media server is that each corresponding Streaming Media is set up a session (Session), and when this causes large scale deployment, streaming media server resource is too concentrated.
HTTP progressive download technology, compared with having the RTSP/RTP stream media technology of state, has adopted stateless http protocol, after web server wherein configures, is convenient to configure and maintenance; For user provides better compatibility, and do not need the supplier of streaming media service to go to consider to watch user's bandwidth.
HTTP code check adaptive technique is mixed type distribute media content technology, merge the advantage of RTSP/RTP stream media technology and HTTP progressive download technology, the media delivery merging for multi-screen provides a good solution, becomes gradually the development trend of streaming media.HTTP code check adaptive technique provides the experience of the mode of stream for user, but in fact the same with the HTTP progressive download technology download distribution that adopts http protocol to complete media content, these media contents transmit after being all cut into a series of media piecemeal.The adaptive international standard of HTTP code check comprises the draft (Apple motion) of MPEG DASH and IETF etc.HTTP code check adaptive technique has advantages of HTTP progressive download, and the time that user waits for is shorter, can play incessantly, does not need large buffer memory, does not have the smoothed video of shake to play experience; The seamless code check of situation Network Based and CPU decoding capability switches; Client determines to need the media content of download, does not need to download the media content that exceedes actual consumption, has reduced server load etc.
There are the following problems for prior art: HTTP code check adaptive technique is driven by client, realizing code stream according to the situation of client switches, but server need to be provided by the code stream number of the video providing in the time of configuration, and the code check of a certain corresponding video and resolution, and the length of video trimming (duration of the small video of single section) etc.; This can cause server cannot provide client desirable desirable code check, if desirable code check is 500kbps under client current network conditions, but current server only provides the code stream of 200kbps and 1000kbps, even if so now the transcoder of server has the ability to provide the code stream more adapting to client, but when client is carried out streaming media playing, still can ceaselessly between 200kbps and 1000kbps, switch, cause user's viewing effect poor.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method, http server, client terminal device and system of transport stream media, be used for solving prior art, server only provides the Streaming Media of specified code check, the spare capacity of the transcoder of server can not get effective utilization, causes the poor defect of viewing effect.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method of transport stream media, are applied to http server, and method comprises: http server is received the desirable code check of client feedback; According to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback; Produce one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed; Http server receives that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
In described method, http server receives that the desirable code check of client feedback also comprises before: between http server and client, set up transmission channel, have initial bit rate L by described transmission channel to client transmissions 0streaming Media.
In described method, the Streaming Media that has initial bit rate to client transmissions by described transmission channel specifically comprises: the clicking operation to video content detected in client, and after http server sends the Manifest request of obtaining media information; Http server is received Manifest request, sends the media information of current time to client, and client obtains and analyzes after the media information of described current time, acquisition request initial bit rate L 0streaming Media S 0; Http server is by initial bit rate L 0streaming Media S 0be transferred to client; Wherein, the media information of described current time is different from described new media information.
In described method, http server is received the desirable code check of the client feedback code check that to be client calculate according to the buffer information of Streaming Media and network quality.
In described method, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m; Described method also comprises: when being distributed in k i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
In described method, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m, every adjacent two current code checks form an interval; Informed code server is encoded to one group of Streaming Media according to desirable code check, comprising: selected the first interval k i~ k i+1, the first interval k i~ k i+1the quantity of the desirable code check comprising is no less than the quantity of the desirable code check that other each intervals comprise, informed code server is described first intervally to generate new code check.
In described method, the step of the new code check of described generation comprises: described new code check is the mean value that is distributed in the desirable code check in the first interval; Informed code server is encoded to one group of Streaming Media according to described mean value.
In described method, generate new code check for being distributed in k i~ k i+1between the mean value of desirable code check before also comprise: judgement
Figure BDA00002362351200031
whether be greater than default threshold value δ, when
Figure BDA00002362351200032
while being greater than threshold value δ, enter the step that generates new code check, otherwise finish.
A kind of http server, is connected with encoder server, comprising: receiving element, for receiving the desirable code check of client feedback; Feedback processing unit, for according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback; Media information processing unit, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed; Streaming Media requesting processing, for receiving that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
In described server unit, also comprise: interactive unit, is distributed in k for working as i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
A kind of client terminal device, comprising: feedback unit, for feed back desirable code check to http server; By http server, according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback; Receiving element, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, the notice that the media information sending after the new media information that reception http server generates has been changed; Streaming Media request unit, for sending Streaming Media request to http server, and one group of Streaming Media after received code.
A system for transport stream media, comprises http server, encoder server and client terminal device, and http server is connected with encoder server; Http server, for receiving the desirable code check of client feedback; According to the code capacity of desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback; Encoder server, for producing one group of Streaming Media according to the desirable code check of client feedback, and is deployed to http server by one group of Streaming Media after coding, http server, and also for generating new media information, notice client media information is changed; Client terminal device, for the Streaming Media request producing according to new media information, sends Streaming Media request to http server, one group of Streaming Media after the coding that reception http server sends to client.
The beneficial effect of technique scheme of the present invention is as follows: http server is received the desirable code check of client feedback, according to one group of Streaming Media of desirable code check informed code server code, and notify client, brought in the Streaming Media receiving after this group coding by client, make http server according to the dynamic Streaming Media sending of adjusting of the needs of client, to have promoted the viewing experience of client.
Accompanying drawing explanation
Fig. 1 represents the operation principle schematic diagram of http server to client transmissions Streaming Media;
Fig. 2 represents a kind of method flow schematic diagram of transport stream media;
Fig. 3 represents the workflow schematic diagram of http server, client and encoder server;
Encoder server 101
Http server 102
Network 103
Client 104.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
In the present invention, based on existing HTTP code check adaptive technique, client is regularly fed back the desirable code check of current reception to http server, http server is according to the desirable code check of the current feedback of client and the code capacity of encoder server, and informed code server completes the streaming coding of a group code rate.Http server generates new stream media information, notice client media index information change, and client is obtained and is obtained correspondence code stream after new stream media information and play.
As shown in Figure 1, solid line represents the transmission of Streaming Media, and dotted line represents to control and relevant information transmission.Streaming Media is given encoder server 101, and the coding module in encoder server 101 is encoded to Streaming Media, and section module is carried out burst the video completing after coding, and the media information after the media fragment generating and change is stored on http server 102; Client 104 is obtained after media information from http server 102 through network 103, dynamically adjusts according to current receiver, video situation the video that obtains different code checks from http server 102.
The embodiment of the present invention provides a kind of method of transport stream media, as shown in Figure 2, is applied to http server 102, and method comprises:
Step 201 (step 1), http server is received the desirable code check of client feedback;
Step 202 (step 2), according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Step 203 (step 3), produce one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed;
Step 204 (step 4), http server receives that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
The technology that application provides, http server is received the desirable code check of client feedback, according to one group of Streaming Media of desirable code check informed code server code, and notify client, brought in the Streaming Media receiving after this group coding by client, make http server according to the dynamic Streaming Media sending of adjusting of the needs of client, to have promoted the viewing experience of client.
One group of Streaming Media support realizes transmission multi-way stream media.Streaming Media request comprises: the desirable code check L that client is determined according to described new media information jstreaming Media.
In a preferred embodiment, http server receives that the desirable code check of client feedback also comprises before: between http server and client, set up and have transmission channel, have the Streaming Media of initial bit rate by described transmission channel to client transmissions.
In a preferred embodiment, the Streaming Media that has initial bit rate to client transmissions by described transmission channel specifically comprises: the clicking operation to video content detected in client, and after http server sends the Manifest request of obtaining media information;
Http server is received Manifest request, sends the media information of current time to client; Client obtains and analyzes after the media information of current time, acquisition request initial bit rate L 0streaming Media S 0;
Http server is by initial bit rate L 0streaming Media S 0be transferred to client; Wherein, the media information of described current time is different from described new media information.
In an application scenarios, the technology that Application Example provides, as shown in Figure 3, comprising:
Client detects that user clicks video content, and client sends the Manifest request of obtaining media information to http server; Manifest request is the one request that meets related protocol; Client now has just been asked to watch video content by user, therefore does not need at once to obtain the Streaming Media of desirable code check;
Http server is received after Manifest request, is sent current media information to client; Client obtains, after current media information, analyzing current media information, acquisition request code check L 0streaming Media S 0; Http server is corresponding code check L 0streaming Media S 0be transferred to client, in client terminal playing.Wherein, current media information is different from described new media information.
In a preferred embodiment, http server is received the desirable code check of the client feedback code check that to be client calculate according to the buffer information of Streaming Media and network quality.
In a preferred embodiment, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m; Described method also comprises:
When being distributed in k i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
In a preferred embodiment, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m, every adjacent two code checks form an interval; Informed code server is encoded to one group of Streaming Media according to desirable code check, comprising:
Selected the first interval k i~ k i+1, the first interval k i~ k i+1the quantity of the desirable code check comprising is no less than the quantity of the desirable code check that other each intervals comprise, informed code server is described first intervally to generate new code check.
In a preferred embodiment, the step that generates new code check comprises: described new code check is the mean value that is distributed in the desirable code check in the first interval;
Informed code server is encoded to one group of Streaming Media according to described mean value.
In a preferred embodiment, generate new code check for being distributed in k i~ k i+1between the mean value of desirable code check before also comprise:
Judgement
Figure BDA00002362351200071
whether be greater than default threshold value δ, when
Figure BDA00002362351200072
while being greater than threshold value δ, enter the step that generates new code check, otherwise finish.
Threshold value δ gets 0.5, k conventionally i~ k i+1between adjacent two code checks of the current Streaming Media providing of big or small presentation code server between spacing, the Limited Number of the code check that can provide due to encoder server, therefore, if
Figure BDA00002362351200073
enough is little, for example, be less than threshold value δ, even if show now again to provide new code capacity by encoder server for Streaming Media, the improvement of the quality of the Streaming Media to client is also limited, therefore without again providing new coding for Streaming Media.
In an application scenarios, the current code check of the current multi-way stream media that provide of http server is respectively k 0..., k m; Desirable code check to the client of http server request Streaming Media is l 0..., l n, wherein, desirable code check l 0..., l nbe distributed in code check k according to size order 0..., k mbetween; In http server, there is a counter, the way order that what record coding server can provide encode to Streaming Media;
Step a, http server forms different matrixes and records different desirable code check l 0..., l nbe distributed in code check k 0..., k mbetween situation, wherein, matrix A rrayA irecord is distributed in k i~ k i+1between desirable code check, matrix A rrayA i+1record is distributed in k i+1~ k i+2between desirable code check;
Step b, when code check is k istreaming Media be while being provided by encoder server, if Num (ArrayA i)=0 and Num (ArrayA i+1)=0, shows not have client to be positioned at k to http server request code check i~ k i+2between Streaming Media, encoder server is k without code check is provided i+1streaming Media, counter is set on http server and adds 1.
Step c, if Num is (ArrayA i) be worth for maximum, and be positioned at k i~ k i+1between the difference of desirable code check
Figure BDA00002362351200081
be greater than threshold value δ, the default value of threshold value δ is 0.5;
At k i~ k i+1between to ask encoder server be one group of new streaming coding, the code check of the new Streaming Media in this road is
Figure BDA00002362351200082
threshold value δ is by desirable code check l 0..., l nin be distributed in code check k i~ k i+1between desirable code check determine; Described counter is set and subtracts 1.
In an application scenarios, the code check of the current multi-way stream media that provide of http server is respectively k 0..., k m; Desirable code check to the client of http server request Streaming Media is l 0..., l n, wherein, desirable code check l 0..., l nbe distributed in code check k according to size order 0..., k mbetween.
If code check k 0..., k mfor k0=500K, k2=1M, k2=2M, k3=4M and k4=8M; Desirable code check l 0..., l nfor l 0=1.2M, 1.5M, 1.7M, 2.2M and 2.6M, distribution rule comprises:
Rule I, 1.2M, 1.5M and 1.7M are distributed between the 1M ~ 2M of code check,
Rule II, 2.2M and 2.6M are distributed between the 2M ~ 4M of code check.
For l 0..., l nin other desirable code check, distribution rule is also consistent with above-mentioned regular I and regular II.
Http server has comprised counter, the way order of the Streaming Media that record coding server can provide;
As shown in Figure 3, comprising:
Step 1, http server forms different matrixes and records different desirable code check l 0..., l nbe distributed in code check k 0..., k mbetween situation, wherein, matrix A rrayA irecord is distributed in k i~ k i+1between desirable code check, matrix A rrayA i+1record is distributed in k i+1~ k i+2between desirable code check;
If i=2, ArrayA 2record is distributed in k 2~ k 3between desirable code check;
ArrayA 3record is distributed in k 3~ k 4between desirable code check.
Step 2, when code check is k istreaming Media be while being provided by encoder server, if Num (ArrayA 2)=0 and Num (ArrayA 3)=0, shows not have client to be positioned at k to http server request code check i~ k i+2between Streaming Media, encoder server is k without code check is provided i+1streaming Media, counter is set on http server and adds 1.
If i=2, Num (ArrayA 2)=0 and Num (ArrayA 3)=0, shows not have client to be positioned at k to http server request code check 2~ k 4between Streaming Media, encoder server is without code check k is provided 3streaming Media.
Step c, informed code server is encoded to one group of Streaming Media according to desirable code check, comprising: if Num is (ArrayA i) be worth for maximum, and be positioned at k i~ k i+1between the difference of desirable code check be greater than threshold value δ,
At k i~ k i+1between to ask encoder server be one group of new streaming coding, the code check of the new Streaming Media in this road is threshold value δ is by desirable code check l 0... l nin be distributed in code check k i~ k i+1between desirable code check determine;
Described counter is set and subtracts 1.
If i=2, Num (ArrayA 2) be worth for maximum, and be positioned at k 2~ k 3between the difference of desirable code check be greater than threshold value δ,
At k 2~ k 3between to ask encoder server be one group of new streaming coding, the code check of the new Streaming Media in this road is
Figure BDA00002362351200093
due to Sum (ArrayA 2) be 4.4M/3=1.5M, and, Num (ArrayA 2) be 3 to be all known, therefore the code check of the new Streaming Media in this road is 1.5M.
In a preferred embodiment, as shown in Figure 3, in step 2, notify after client media information changed, before step 3,
Client is received after http server notice, sends the Manifest request of obtaining media information, obtains described new media information to http server.
In an application scenarios, the technology that Application Example provides, as shown in Figure 3, specifically comprises:
Step 301, client detects that user clicks video content.
Step 302, client sends the Manifest request of obtaining (Get) media information to http server; Manifest request is the one request that meets related protocol; Now, client, owing to just having been asked to watch video content by user, therefore does not need at once to obtain the Streaming Media of desirable code check.
Step 303, http server is received after Manifest request, is sent current media information to client;
Step 304, client obtains after media information, analyzing medium information, acquisition request initial bit rate L 0streaming Media S 0;
Step 305, http server is corresponding initial bit rate L 0streaming Media S 0be transferred to client, client terminal playing.
Step 306, client is obtained the buffer information of receiving stream media and network signal intensity as video situation, according to the current desirable code check of described video situation prediction and calculation.
Step 307, client periodically can feed back to http server by desirable code check with code check request by POST.
Step 308, http server is analyzed current Streaming Media request code check and encoder capabilities.
Step 309, client sends available bandwidth to http server.
Step 310, http server is to encoder server request coding, and desirable code check is L j.
Step 311, http server sends desirable code check L to client jstreaming Media.
Step 312, encoder server is desirable code check L jstreaming Media encode.
Step 313, http server upgrades media information.
Step 314, http server notice client media information is changed.
Step 315, client is obtained new media information to http server.
Step 316, http server sends new media information to client.
Step 317, the new media information that client analysis receives.
Step 318, client is to the desirable code check L of http server acquisition request jstreaming Media.
Step 319, encoder server returns to the Streaming Media after coding to http server.
Step 320, http server returns to the Streaming Media after coding to client.
The embodiment of the present invention provides a kind of http server, is connected with encoder server, comprising:
Receiving element, for receiving the desirable code check of client feedback;
Feedback processing unit, for according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Media information processing unit, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed;
Streaming Media requesting processing, for receiving that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
In a preferred embodiment, also comprise:
Interactive unit, is distributed in k for working as i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
In a preferred embodiment, also comprise:
Code check distribution record unit, is respectively k for the code check that the current multi-way stream media that provide of http server are provided 0..., k m;
And, when the desirable code check of the client of asking Streaming Media is l 0..., l ntime, record desirable code check l 0..., l nbe distributed in code check k according to size order 0.k., k mbetween;
Counter, the way order of the Streaming Media that can provide for record coding server;
Matrix unit, is used to form different matrixes and records different desirable code check l 0..., l nbe distributed in code check k 0..., k mbetween situation, wherein, matrix A rrayA irecord is distributed in k i~ k i+1between desirable code check, matrix A rrayA i+1record is distributed in k i+1~ k i+2between desirable code check;
Counter is revised unit, is k for working as code check istreaming Media be while being provided by encoder server,
If Num is (ArrayA i)=0 and Num (ArrayA i+1)=0, shows not have client to be positioned at k to http server request code check i~ k i+2between Streaming Media, encoder server is k without code check is provided i+1streaming Media, counter is set on http server and adds 1.
In a preferred embodiment, also comprise:
Interactive unit between server, encodes to one group of Streaming Media according to desirable code check for informed code server, comprising:
If Num is (ArrayA i) be worth for maximum, and be positioned at k i~ k i+1between the difference of desirable code check
Figure BDA00002362351200111
be greater than threshold value δ, the default value of threshold value δ is 0.5;
At k i~ k i+1between to ask encoder server be one group of new streaming coding, the code check of the new Streaming Media in this road is threshold value δ is by desirable code check l 0..., l nin be distributed in code check k i~ k i+1between desirable code check determine;
Counter is revised unit, also subtracts 1 for described counter is set.
The embodiment of the present invention provides a kind of client terminal device, comprising:
Feedback unit, for feeding back desirable code check to http server;
By http server, according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Receiving element, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, the notice that the media information sending after the new media information that reception http server generates has been changed;
Streaming Media request unit, for sending Streaming Media request to http server, and one group of Streaming Media after received code.
In a preferred embodiment, client terminal device also comprises:
Video content management unit, for after detecting the clicking operation of video content, sends the Manifest request of obtaining media information to http server; Asked according to described Manifest by http server, send the media information of current time;
Described Streaming Media request unit, for obtain and analyzing medium information after, acquisition request initial bit rate L 0streaming Media S 0; Be L by http server by initial bit rate 0streaming Media S 0be transferred to client; Wherein, the media information of described current time is different from described new media information.
The embodiment of the present invention provides a kind of system of transport stream media, as shown in Figure 1, comprises http server, encoder server and client terminal device (being client), and http server is connected with encoder server;
Http server, for receiving the desirable code check of client feedback; According to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Encoder server, for producing one group of Streaming Media according to the desirable code check of client feedback, and is deployed to http server by one group of Streaming Media after coding,
Http server, also for generating new media information, notice client media information is changed;
Client terminal device, for the Streaming Media request producing according to new media information, sends Streaming Media request to http server, one group of Streaming Media after the coding that reception http server sends to client.
Adopt this programme advantage to be afterwards: http server is received the desirable code check L of client feedback jaccording to one group of Streaming Media of desirable code check informed code server code, and notify client, brought in the Streaming Media receiving after this group coding by client, make http server according to the dynamic Streaming Media sending of adjusting of the needs of client, to have promoted the viewing experience of client.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1. a method for transport stream media, is applied to http server, it is characterized in that, method comprises:
Http server is received the desirable code check of client feedback;
According to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Produce one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed;
Http server receives that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
2. method according to claim 1, is characterized in that, http server receives that the desirable code check of client feedback also comprises before:
Between http server and client, set up transmission channel, there is initial bit rate L by described transmission channel to client transmissions 0streaming Media.
3. method according to claim 2, is characterized in that, the Streaming Media that has initial bit rate to client transmissions by described transmission channel specifically comprises:
The clicking operation to video content detected in client, and after http server sends the Manifest request of obtaining media information;
Http server is received Manifest request, sends the media information of current time to client, and client obtains and analyzes after the media information of described current time, acquisition request initial bit rate L 0streaming Media S 0;
Http server is by initial bit rate L 0streaming Media S 0be transferred to client; Wherein, the media information of described current time is different from described new media information.
4. method according to claim 1, is characterized in that, http server is received the desirable code check of the client feedback code check that to be client calculate according to the buffer information of Streaming Media and network quality.
5. method according to claim 1, is characterized in that, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m; Described method also comprises:
When being distributed in k i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
6. method according to claim 1, is characterized in that, the current code check of the current multi-way stream media that provide of encoder server is respectively k after arranging according to order from small to large 0..., k m, every adjacent two current code checks form an interval; Informed code server is encoded to one group of Streaming Media according to desirable code check, comprising:
Selected the first interval k i~ k i+1, the first interval k i~ k i+1the quantity of the desirable code check comprising is no less than the quantity of the desirable code check that other each intervals comprise, informed code server is described first intervally to generate new code check.
7. method according to claim 6, is characterized in that, the step of the new code check of described generation comprises:
Described new code check is the mean value that is distributed in the desirable code check in the first interval;
Informed code server is encoded to one group of Streaming Media according to described mean value.
8. method according to claim 6, is characterized in that, generates new code check for being distributed in k i~ k i+1between the mean value of desirable code check before also comprise:
Judgement whether be greater than default threshold value δ, when
Figure FDA00002362351100022
while being greater than threshold value δ, enter the step that generates new code check, otherwise finish.
9. a http server, is characterized in that, is connected with encoder server, comprising:
Receiving element, for receiving the desirable code check of client feedback;
Feedback processing unit, for according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Media information processing unit, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, http server generates new media information, notice client media information is changed;
Streaming Media requesting processing, for receiving that client, according to after the Streaming Media request of new media information generation, sends one group of Streaming Media after coding to client.
10. server unit according to claim 9, is characterized in that, also comprises:
Interactive unit, is distributed in k for working as i~ k i+1between the quantity of desirable code check be 0, and be distributed in k i+1~ k i+2between the quantity of desirable code check be 0 o'clock, it is k that informed code server stops providing code check i+1code stream, and the way order that the current Streaming Media that can provide of encoder server is provided adds 1.
11. 1 kinds of client terminal devices, is characterized in that, comprising:
Feedback unit, for feeding back desirable code check to http server;
By http server, according to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Receiving element, for producing one group of Streaming Media at encoder server according to the desirable code check of client feedback, and after one group of Streaming Media after coding is deployed to http server, the notice that the media information sending after the new media information that reception http server generates has been changed;
Streaming Media request unit, for sending Streaming Media request to http server, and one group of Streaming Media after received code.
The system of 12. 1 kinds of transport stream media, is characterized in that, comprises http server, encoder server and client terminal device, and http server is connected with encoder server;
Http server, for receiving the desirable code check of client feedback; According to the code capacity of described desirable code check and encoder server, informed code server is encoded to one group of Streaming Media according to the desirable code check of client feedback;
Encoder server, for producing one group of Streaming Media according to the desirable code check of client feedback, and is deployed to http server by one group of Streaming Media after coding,
Http server, also for generating new media information, notice client media information is changed;
Client terminal device, for the Streaming Media request producing according to new media information, sends Streaming Media request to http server, one group of Streaming Media after the coding that reception http server sends to client.
CN201210439981.0A 2012-11-06 2012-11-06 Transmit method, HTTP server, client terminal device and the system of Streaming Media Active CN103812821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210439981.0A CN103812821B (en) 2012-11-06 2012-11-06 Transmit method, HTTP server, client terminal device and the system of Streaming Media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210439981.0A CN103812821B (en) 2012-11-06 2012-11-06 Transmit method, HTTP server, client terminal device and the system of Streaming Media

Publications (2)

Publication Number Publication Date
CN103812821A true CN103812821A (en) 2014-05-21
CN103812821B CN103812821B (en) 2017-09-12

Family

ID=50709031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210439981.0A Active CN103812821B (en) 2012-11-06 2012-11-06 Transmit method, HTTP server, client terminal device and the system of Streaming Media

Country Status (1)

Country Link
CN (1) CN103812821B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580339A (en) * 2017-08-25 2018-01-12 中国联合网络通信集团有限公司 A kind of information transferring method, device and wireless communication system
WO2018133601A1 (en) * 2017-01-20 2018-07-26 中兴通讯股份有限公司 Streaming media transmission method and apparatus, server, and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
US20120096130A1 (en) * 2010-12-14 2012-04-19 Huawei Technologies Co., Ltd. Method, apparatus and system for bandwidth control
CN102694864A (en) * 2012-05-30 2012-09-26 安科智慧城市技术(中国)有限公司 Method for achieving streaming media function by utilizing HTTP, streaming media server and system
CN102724491A (en) * 2012-06-15 2012-10-10 北京博雅华录视听技术研究院有限公司 Statistical multiplexing method based on parallel coding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
US20120096130A1 (en) * 2010-12-14 2012-04-19 Huawei Technologies Co., Ltd. Method, apparatus and system for bandwidth control
CN102694864A (en) * 2012-05-30 2012-09-26 安科智慧城市技术(中国)有限公司 Method for achieving streaming media function by utilizing HTTP, streaming media server and system
CN102724491A (en) * 2012-06-15 2012-10-10 北京博雅华录视听技术研究院有限公司 Statistical multiplexing method based on parallel coding

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018133601A1 (en) * 2017-01-20 2018-07-26 中兴通讯股份有限公司 Streaming media transmission method and apparatus, server, and terminal
CN107580339A (en) * 2017-08-25 2018-01-12 中国联合网络通信集团有限公司 A kind of information transferring method, device and wireless communication system
CN107580339B (en) * 2017-08-25 2021-04-30 中国联合网络通信集团有限公司 Information transmission method, device and wireless communication system

Also Published As

Publication number Publication date
CN103812821B (en) 2017-09-12

Similar Documents

Publication Publication Date Title
US10757158B2 (en) Feedback optimized video coding parameters
US10764642B2 (en) Managed multiplexing of video in an adaptive bit rate environment
US9420317B2 (en) Adaptive streaming to multicast and constrained-fidelity constant bit rate encoding
US9516085B2 (en) Constrained fidelity Adaptive Bit Rate encoding systems and methods
CA2844648C (en) Method and apparatus for adaptive transcoding of multimedia stream
US9313553B2 (en) Apparatus and method for simulcast over a variable bandwidth channel
KR102079155B1 (en) Method to remotely manage the operation of an adaptive streaming client
CN104247368A (en) Method and apparatus for providing a plurality of transcoded content streams
US20160182594A1 (en) Adaptive streaming
CN102763428A (en) Multipath delivery for adaptive streaming
US10498655B1 (en) Dynamically adjusting load on an over-the-top (OTT) delivery network
CN103957428A (en) Streaming media server with multi-code-rate transcoding function based on many-core processor
CN105577819A (en) Sharing system, sharing method and sharing device for virtual desktop
CN103826139A (en) CDN system, watching server and streaming media data transmission method
CN104320716A (en) A video uplink transmission method based on collaborative multiple terminals
CN103873948A (en) Streaming media self-adaption matching transmission method, system and server
CN102439935B (en) Media adaptation method and apparatus
US20160323617A1 (en) Adaptive broadcasting of multimedia content
Colonnese et al. Cloud-assisted buffer management for http-based mobilevideo streaming
CN103812821A (en) Method for transporting streaming media, HTTP (Hyper Text Transport Protocol) server, client apparatus and system for transporting streaming media
US20220158952A1 (en) Delivery of Multimedia Components According to User Activity
CN103037341A (en) Method of playing and converting streaming media, mobile terminal and server
US10958945B2 (en) Elementary module of a system for distributing an audiovisual content
US8325605B1 (en) Managing media resources utilizing session initiation protocol
US11622144B2 (en) Active video bandwidth management using SDV control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant