CN103812821B - Transmit method, HTTP server, client terminal device and the system of Streaming Media - Google Patents
Transmit method, HTTP server, client terminal device and the system of Streaming Media Download PDFInfo
- Publication number
- CN103812821B CN103812821B CN201210439981.0A CN201210439981A CN103812821B CN 103812821 B CN103812821 B CN 103812821B CN 201210439981 A CN201210439981 A CN 201210439981A CN 103812821 B CN103812821 B CN 103812821B
- Authority
- CN
- China
- Prior art keywords
- code check
- streaming media
- client
- server
- 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.)
- Active
Links
Abstract
The embodiment of the present invention provides a kind of method, HTTP server, client terminal device and system for transmitting Streaming Media, and method includes:HTTP server receives the preferable code check of client feedback;According to the code capacity of preferable code check and encoder server, informed code server is encoded according to the preferable code check of client feedback to one group of Streaming Media;One group of Streaming Media is produced according to the preferable code check of client feedback in encoder server, and one group of Streaming Media after coding is deployed to after HTTP server, HTTP server generates new media information;HTTP server sends one group of Streaming Media after coding to client.HTTP server is connected to the preferable code check of feedback, according to preferable one group of Streaming Media of code check informed code server code, and notify client, the Streaming Media after coding is received by client, enable the Streaming Media that HTTP server is transmitted according to dynamic adjustment the need for client, improve the viewing experience of client.
Description
Technical field
The present invention relates to stream media technology, a kind of method for transmitting Streaming Media, HTTP server, client dress are particularly related to
Put and system.
Background technology
Existing media content distribution technologies mainly include:Real-time streaming protocol/RTP (RTSP/RTP, Real-
Time Streaming Protocol/Real-time Transport Protocol) stream media technology, hypertext transmission association
(HTTP) progressive download (the HTTP Progress Download) technology of view.
RTSP stream media technologys support control function and the content copyright protections such as progress bar search, F.F., rewind.Streaming Media
Installation, configuration and the maintenance of server are all complex;The specific network port number (554) that RTSP agreements are used may be by portion
The closure such as fire wall and NAT for dividing in user network, leads to not use;It is each corresponding stream to need streaming media server
Media set up a session (Session), and this causes streaming media server resource during large scale deployment excessively to be concentrated.
HTTP progressive downloads technology employs stateless HTTP compared with stateful RTSP/RTP stream media technologys
Agreement, web server therein is easy to configure and safeguarded after configuring;More preferable compatibility has been provided the user, and need not
The supplier of streaming media service goes to consider the bandwidth for watching user.
HTTP code rate adaptive technique is mixed type media content distribution technologies, fusion RTSP/RTP stream media technologys and
The advantage of HTTP progressive download technologies, a good solution is provided for the media transmission of Multiple-screen integration, gradually into
For the development trend of streaming media.HTTP code rate adaptive technique has provided the user the experience of the mode of stream, but actual
The upper download distribution for completing media content using http protocol as HTTP progressive download technologies, these media contents are all
It is transmitted after being cut into a series of media piecemeal.The adaptive international standard of HTTP code rate include MPEG DASH and
IETF draft (Apple motions) etc..HTTP code rate adaptive technique has the advantages that HTTP progressive downloads, and, user
The time of wait is shorter, can play incessantly, it is not necessary to big caching, and the smoothed video do not shaken plays experience;It is based on
The seamless code check switching of network condition and CPU decoding capabilities;Client determines the media content for needing to download, it is not necessary to download
More than the media content of actual consumption, server load etc. is reduced.
There are the following problems for prior art:HTTP code rate adaptive technique is driven by client, i.e., according to the feelings of client
Condition realizes bitstreams switching, but server in configuration it needs to be determined that the code stream number of the video provided, and a certain correspondence video
Code check and resolution ratio, and video trimming length (duration of the small video of single section) etc.;This can cause server
Preferable code check desired by client can not be provided, if preferable code check is 500kbps under client current network conditions, but currently
Server is provided solely for 200kbps and 1000kbps code stream, accordingly even when now the transcoder of server is had the ability to client
End provides the code stream more adapted to, but client ceaselessly can still be cut during streaming media playing between 200kbps and 1000kbps
Change, cause the viewing effect of user poor.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method for transmitting Streaming Media, HTTP server, client dress
Put and system, for solving in the prior art, server is provided solely for the Streaming Media of specified code check, the sky of the transcoder of server
Not busy ability cannot be utilized effectively, cause the defect of viewing effect difference.
In order to solve the above technical problems, embodiments of the invention provide a kind of method for transmitting Streaming Media, applied to HTTP
Server, method includes:HTTP server receives the preferable code check of client feedback;According to the preferable code check and coding clothes
The code capacity of business device, informed code server is encoded according to the preferable code check of client feedback to one group of Streaming Media;
Encoder server produces one group of Streaming Media according to the preferable code check of client feedback, and one group of Streaming Media after coding is deployed to
After HTTP server, HTTP server generates new media information, notifies that client media information is modified;HTTP service
Device is received after Streaming Media request of the client according to new media information generation, and one group of stream matchmaker after coding is sent to client
Body.
In described method, HTTP server also includes before receiving the preferable code check of client feedback:HTTP server
Transmission channel is set up between client, there is initial bit rate L to client transmissions by the transmission channel0Streaming Media.
In described method, the Streaming Media for having initial bit rate to client transmissions by the transmission channel is specifically wrapped
Include:The clicking operation to video content is detected in client, and acquisition media information is sent to HTTP server
After Manifest requests;HTTP server receives Manifest requests, sends the media information at current time to client,
Client is obtained and analyzed after the media information at the current time, acquisition request initial bit rate L0Streaming Media S0;HTTP service
Device is by initial bit rate L0Streaming Media S0It is transferred to client;Wherein, the media information at the current time and the new media
Information is different.
In described method, the preferable code check that HTTP server receives client feedback is client according to the slow of Streaming Media
Rush the code check that information and network quality are calculated.
In described method, the current code check of the multichannel Streaming Media that encoder server is currently provided is suitable according to from small to large
It is respectively k after sequence arrangement0,...,km;Methods described also includes:When being distributed in ki~ki+1Between preferable code check quantity be 0,
And it is distributed in ki+1~ki+2Between preferable code check quantity be 0 when, informed code server stop provide code check be ki+1Code
Flow, and change the way mesh for the Streaming Media that encoder server is currently able to offer and plus 1.
In described method, the current code check of the multichannel Streaming Media that encoder server is currently provided is suitable according to from small to large
It is respectively k after sequence arrangement0,...,km, per two neighboring current one interval of code check formation;Informed code server is according to ideal
Code check is encoded to one group of Streaming Media, including:Selected first interval ki~ki+1, first interval ki~ki+1The ideal code included
The quantity of rate is no less than the quantity for the preferable code check that other each intervals include, and informed code server is the first interval
The new code check of generation.
Include in described method, the step of the generation new code check:The new code check is to be distributed in first interval
The average value of interior preferable code check;Informed code server is encoded according to the average value to one group of Streaming Media.
In described method, generate new code check to be distributed in ki~ki+1Between preferable code check average value before also wrap
Include:JudgeWhether default threshold value δ is more than, whenDuring more than threshold value δ, into the step of generating new code check,
Otherwise terminate.
A kind of HTTP server, is connected with encoder server, including:Receiving unit, the reason for receiving client feedback
Think code check;Feedback processing unit, for the code capacity according to the preferable code check and encoder server, informed code service
Device is encoded according to the preferable code check of client feedback to one group of Streaming Media;Media information processing unit, in coding clothes
Business device produces one group of Streaming Media according to the preferable code check of client feedback, and one group of Streaming Media after coding is deployed into HTTP clothes
It is engaged in after device, HTTP server generates new media information, notifies that client media information is modified;Streaming Media request is handled
Unit, for receiving after Streaming Media request of the client according to new media information generation, one after coding is sent to client
Group Streaming Media.
In described server unit, in addition to:Interactive unit, k is distributed in for working asi~ki+1Between preferable code check
Quantity is 0, and is distributed in ki+1~ki+2Between preferable code check quantity be 0 when, informed code server stop provide code check be
ki+1Code stream, and change the way mesh of Streaming Media that encoder server is currently able to provide and plus 1.
A kind of client terminal device, including:Feedback unit, for feeding back preferable code check to HTTP server;By HTTP service
Device is according to the code capacity of the preferable code check and encoder server, and informed code server is according to the ideal of client feedback
Code check is encoded to one group of Streaming Media;Receiving unit, for being produced in encoder server according to the preferable code check of client feedback
Raw one group of Streaming Media, and one group of Streaming Media after coding is deployed to after HTTP server, receive HTTP server generation
The modified notice of the media information sent after new media information;Streaming Media request unit, for HTTP service
Device sends Streaming Media request, and receives one group of Streaming Media after coding.
A kind of system for transmitting Streaming Media, including HTTP server, encoder server and client terminal device, HTTP server
It is connected with encoder server;HTTP server, the preferable code check for receiving client feedback;According to preferable code check and coding
The code capacity of server, informed code server is encoded according to the preferable code check of client feedback to one group of Streaming Media;
Encoder server, for producing one group of Streaming Media according to the preferable code check of client feedback, and by one group of Streaming Media after coding
HTTP server is deployed to, HTTP server is additionally operable to generate new media information, notifies client media information more
Change;Client terminal device, for being asked according to the Streaming Media of new media information generation, sending Streaming Media to HTTP server please
Ask, receive one group of Streaming Media after the coding that HTTP server is sent to client.
The above-mentioned technical proposal of the present invention has the beneficial effect that:HTTP server is connected to the ideal code of client feedback
Rate, according to preferable one group of Streaming Media of code check informed code server code, and notifies client, this group is received by client
Streaming Media after coding so that HTTP server can be carried according to the transmitted Streaming Media of dynamic adjustment the need for client
The viewing experience of client is risen.
Brief description of the drawings
Fig. 1 represents HTTP server to the operation principle schematic diagram of client transmissions Streaming Media;
Fig. 2 represents a kind of method flow schematic diagram for transmitting Streaming 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
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
In the present invention, based on existing HTTP code rate adaptive technique, client periodically feeds back current to HTTP server
The preferable code check of reception, HTTP server according to the preferable code check and the code capacity of encoder server of client current feedback,
Informed code server completes the streaming coding of one group of code check.HTTP server generates new stream media information, notifies client
The change of media index information is held, client obtains acquisition correspondence code stream after new stream media information and played out.
As shown in figure 1, solid line represents the transmission of Streaming Media, dotted line represents control and relevant information transmission.Streaming Media is given
Coding module streaming media in encoder server 101, encoder server 101 is encoded, and section module is after completing to encode
Video carry out burst, the media information storage after the media fragment of generation and change on HTTP server 102;Client
104 after network 103 obtains media information from HTTP server 102, according to it is current receive video situation dynamically adjustment from
HTTP server 102 obtains the video of different code checks.
The embodiment of the present invention provides a kind of method for transmitting Streaming Media, as shown in Fig. 2 applied to HTTP server 102, side
Method includes:
Step 201 (step one), HTTP server receives the preferable code check of client feedback;
Step 202 (step 2), according to the code capacity of the preferable code check and encoder server, informed code service
Device is encoded according to the preferable code check of client feedback to one group of Streaming Media;
Step 203 (step 3), one group of Streaming Media is produced in encoder server according to the preferable code check of client feedback, and
One group of Streaming Media after coding is deployed to after HTTP server, HTTP server generates new media information, notifies client
Hold media information modified;
Step 204 (step 4), HTTP server receives the Streaming Media request that client is produced according to new media information
Afterwards, one group of Streaming Media after coding is sent to client.
Using the technology provided, HTTP server is connected to the preferable code check of client feedback, is notified according to preferable code check
Encoder server encodes one group of Streaming Media, and notifies client, and the Streaming Media after this group coding is received by client so that
HTTP server can improve the viewing body of client according to the transmitted Streaming Media of dynamic adjustment the need for client
Test.
One group of Streaming Media is supported to realize transmission multichannel Streaming Media.Streaming Media request includes:Client is according to described new
The preferable code check L that media information is determinedjStreaming Media.
In a preferred embodiment, HTTP server also includes before receiving the preferable code check of client feedback:HTTP
Being set up between server and client has transmission channel, the stream to client transmissions by the transmission channel with initial bit rate
Media.
In a preferred embodiment, the Streaming Media for having initial bit rate to client transmissions by the transmission channel has
Body includes:The clicking operation to video content is detected in client, and acquisition media information is sent to HTTP server
After Manifest requests;
HTTP server receives Manifest requests, sends the media information at current time to client;Client is obtained
And analyze after the media information at current time, acquisition request initial bit rate L0Streaming Media S0;
HTTP server is by initial bit rate L0Streaming Media S0It is transferred to client;Wherein, the media letter at the current time
Breath is different from the new media information.
In an application scenarios, the technology that Application Example is provided, as shown in figure 3, including:
Client detects user and clicks on video content, and client sends to HTTP server and obtains media information
Manifest is asked;Manifest requests are a kind of requests for meeting related protocol;Client now is just requested by a user
Viewing video content, therefore and the Streaming Media of preferable code check need not be obtained at once;
HTTP server is received after Manifest requests, sends current media information to client;Client is worked as
After preceding media information, current media information, acquisition request code check L are analyzed0Streaming Media S0;HTTP server is corresponding
Code check L0Streaming Media S0Client is transferred to, in client terminal playing.Wherein, current media information is believed with the new media
Breath is different.
In a preferred embodiment, the preferable code check that HTTP server receives client feedback is client according to stream matchmaker
The code check that the buffer information and network quality of body are calculated.
In a preferred embodiment, the current code check for the multichannel Streaming Media that encoder server is currently provided according to from it is small to
It is respectively k after big order arrangement0,...,km;Methods described also includes:
When being distributed in ki~ki+1Between the quantity of preferable code check be 0, and be distributed in ki+1~ki+2Between preferable code check
Quantity be 0 when, informed code server stop provide code check be ki+1Code stream, and change encoder server and be currently able to carry
The way mesh of the Streaming Media of confession adds 1.
In a preferred embodiment, the current code check for the multichannel Streaming Media that encoder server is currently provided according to from it is small to
It is respectively k after big order arrangement0..., km, one interval of formation per two neighboring code check;Informed code server is according to reason
Think that code check is encoded to one group of Streaming Media, including:
Selected first interval ki~ki+1, first interval ki~ki+1The quantity of the preferable code check included is no less than other each
The quantity for the preferable code check that interval includes, informed code server is that the first interval generates new code check.
In a preferred embodiment, the step of generating new code check includes:The new code check is to be distributed in the firstth area
The average value of interior preferable code check;
Informed code server is encoded according to the average value to one group of Streaming Media.
In a preferred embodiment, new code check is generated to be distributed in ki~ki+1Between preferable code check average value it
It is preceding also to include:
JudgeWhether default threshold value δ is more than, whenDuring more than threshold value δ, into the new code check of generation
Step, otherwise terminates.
Threshold value δ generally takes 0.5, ki~ki+1Between size presentation code server currently provide adjacent the two of Streaming Media
Spacing between individual code check, due to the Limited Number for the code check that encoder server can be provided, therefore, ifEnough
It is small, it is, for example, less than threshold value δ, even if it is now that Streaming Media provides new code capacity again by encoder server to show, to client
The improvement for holding the quality of the Streaming Media received is also limited, therefore need not provide new coding again for Streaming Media.
In an application scenarios, the current code check for the multichannel Streaming Media that HTTP server is currently provided is respectively
k0,...,km;The preferable code check that the client of Streaming Media is asked to HTTP server is l0..., ln, wherein, preferable code check
l0..., lnCode check k is distributed according to size order0,...,kmBetween;There is a counter in HTTP server, record is compiled
The way mesh that the streaming media that code server can be provided is encoded;
Step a, HTTP server forms different matrixes and records different preferable code check l0..., lnIt is distributed in code check
k0,...,kmBetween situation, wherein, matrix A rrayAiRecord is distributed in ki~ki+1Between preferable code check, matrix
ArrayAi+1Record is distributed in ki+1~ki+2Between preferable code check;
Step b, when code check is kiStreaming Media be when being provided by encoder server, if Num (ArrayAi)=0 and Num
(ArrayAi+1)=0, shows that no client is located at k to HTTP server request code checki~ki+2Between Streaming Media, coding clothes
Business device need not provide code check for ki+1Streaming Media, set counter to add 1 on HTTP server.
Step c, if Num (ArrayAi) value is maximum, and it is located at ki~ki+1Between preferable code check differenceGreatly
In threshold value δ, threshold value δ default value is 0.5;
In ki~ki+1Between request encoder server be one group of new streaming coding, the code check of the new Streaming Media in the road isThreshold value δ is by preferable code check l0..., lnIn be distributed in code check ki~ki+1Between preferable code check determine;Set
The counter subtracts 1.
In an application scenarios, the code check respectively k for the multichannel Streaming Media that HTTP server is currently provided0,...,km;
The preferable code check that the client of Streaming Media is asked to HTTP server is l0..., ln, wherein, preferable code check l0..., lnAccording to
Size order is distributed in code check k0,...,kmBetween.
If code check k0,...,kmFor k0=500K, k2=1M, k2=2M, k3=4M and k4=8M;Preferable code check l0..., lnFor l0
=1.2M, 1.5M, 1.7M, 2.2M and 2.6M, then distribution rule include:
Regular I, 1.2M, 1.5M and 1.7M are distributed between 1M ~ 2M of code check,
Regular II, 2.2M and 2.6M are distributed between 2M ~ 4M of code check.
For l0..., lnMiddle other preferable code checks, distribution rule and above-mentioned regular I and rule II are also consistent.
Include counter, the way mesh for the Streaming Media that record encoder server can be provided in HTTP server;
As shown in figure 3, including:
Step 1, HTTP server forms different matrixes and records different preferable code check l0..., lnIt is distributed in code check
k0,...,kmBetween situation, wherein, matrix A rrayAiRecord is distributed in ki~ki+1Between preferable code check, matrix
ArrayAi+1Record is distributed in ki+1~ki+2Between preferable code check;
If i=2, ArrayA2Record is distributed in k2~k3Between preferable code check;
ArrayA3Record is distributed in k3~k4Between preferable code check.
Step 2, when code check is kiStreaming Media be when being provided by encoder server, if Num (ArrayA2)=0 and Num
(ArrayA3)=0, shows that no client is located at k to HTTP server request code checki~ki+2Between Streaming Media, then coding clothes
Business device need not provide code check for ki+1Streaming Media, set counter to add 1 on HTTP server.
If i=2, Num (ArrayA2)=0 and Num (ArrayA3)=0, shows that no client is asked to HTTP server
Code check is located at k2~k4Between Streaming Media, then encoder server code check k need not be provided3Streaming Media.
Step c, informed code server is encoded according to preferable code check to one group of Streaming Media, including:If Num
(ArrayAi) value is maximum, and it is located at ki~ki+1Between preferable code check difference be more than threshold value δ,
In ki~ki+1Between request encoder server be one group of new streaming coding, the code check of the new Streaming Media in the road isThreshold value δ is by preferable code check l0...lnIn be distributed in code check ki~ki+1Between preferable code check determine;
The counter is set to subtract 1.
If i=2, Num (ArrayA2) value is maximum, and it is located at k2~k3Between preferable code check difference be more than threshold value δ,
In k2~k3Between request encoder server be one group of new streaming coding, the code check of the new Streaming Media in the road isDue to Sum (ArrayA2) it is 4.4M/3=1.5M, and, Num (ArrayA2) for 3 be all it is known,
Therefore the code check of the new Streaming Media in the road is 1.5M.
In a preferred embodiment, as shown in figure 3, in step 2 notify client media information it is modified after,
Before step 3,
Client is received after HTTP server notice, the Manifest requests for obtaining media information is sent, to HTTP service
Device obtains the new media information.
In an application scenarios, the technology that Application Example is provided, as shown in figure 3, specifically including:
Step 301, client detects user and clicks on video content.
Step 302, client sends the Manifest requests for obtaining (Get) media information to HTTP server;
Manifest requests are a kind of requests for meeting related protocol;Now, client is due to being just requested by a user viewing video
Content, therefore and the Streaming Media of preferable code check need not be obtained at once.
Step 303, HTTP server is received after Manifest requests, sends current media information to client;
Step 304, client is obtained after media information, analyzes media information, acquisition request initial bit rate L0Streaming Media
S0;
Step 305, HTTP server is corresponding initial bit rate L0Streaming Media S0It is transferred to client, client terminal playing.
Step 306, the buffer information and network signal intensity of client acquisition receiving stream media are used as video situation, root
Predicted according to the video situation and calculate current preferable code check.
Step 307, client can be asked preferable code check feeding back to HTTP server periodically through POST with code check.
Step 308, HTTP server analyzes current Streaming Media request code check and encoder capabilities.
Step 309, client sends available bandwidth to HTTP server.
Step 310, HTTP server asks to encode to encoder server, and preferable code check is Lj。
Step 311, HTTP server sends preferable code check L to clientjStreaming Media.
Step 312, encoder server is preferable code check LjStreaming Media encoded.
Step 313, HTTP server updates media information.
Step 314, HTTP server notifies that client media information is modified.
Step 315, client obtains 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 is received.
Step 318, client is to the preferable code check L of HTTP server acquisition requestjStreaming 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, including:
Receiving unit, the preferable code check for receiving client feedback;
Feedback processing unit, for the code capacity according to the preferable code check and encoder server, informed code clothes
Business device is encoded according to the preferable code check of client feedback to one group of Streaming Media;
Media information processing unit, for producing one group of stream matchmaker according to the preferable code check of client feedback in encoder server
Body, and one group of Streaming Media after coding is deployed to after HTTP server, HTTP server generates new media information, leads to
Know that client media information is modified;
Streaming Media requesting processing, for receiving after Streaming Media request of the client according to new media information generation,
One group of Streaming Media after coding is sent to client.
In a preferred embodiment, in addition to:
Interactive unit, k is distributed in for working asi~ki+1Between the quantity of preferable code check be 0, and be distributed in ki+1~ki+2It
Between preferable code check quantity be 0 when, informed code server stop provide code check be ki+1Code stream, and change encoding service
The way mesh that device is currently able to the Streaming Media provided plus 1.
In a preferred embodiment, in addition to:
Code check distribution record unit, the code check for recording the multichannel Streaming Media that HTTP server is currently provided is respectively
k0,...,km;
And, when the preferable code check of the client of request Streaming Media is l0,...,lnWhen, the preferable code check l of record0,...,ln
Code check k is distributed according to size order0,.k.,kmBetween;
Counter, the way mesh for recording the Streaming Media that encoder server can be provided;
Matrix unit, for being formed, different matrixes records different preferable code check l0..., lnIt is distributed in code check
k0,...,kmBetween situation, wherein, matrix A rrayAiRecord is distributed in ki~ki+1Between preferable code check, matrix
ArrayAi+1Record is distributed in ki+1~ki+2Between preferable code check;
Counter changes unit, for being k when code checkiStreaming Media be when being provided by encoder server,
If Num (ArrayAi)=0 and Num (ArrayAi+1)=0, shows no client to HTTP server request code
Rate is located at ki~ki+2Between Streaming Media, then encoder server need not provide code check for ki+1Streaming Media, set on HTTP server
Put counter and plus 1.
In a preferred embodiment, in addition to:
Interactive unit between server, is encoded for informed code server according to preferable code check to one group of Streaming Media,
Including:
If Num (ArrayAi) value is maximum, and it is located at ki~ki+1Between preferable code check differenceMore than threshold value δ,
Threshold value δ default value is 0.5;
In ki~ki+1Between request encoder server be one group of new streaming coding, the code check of the new Streaming Media in the road isThreshold value δ is by preferable code check l0..., lnIn be distributed in code check ki~ki+1Between preferable code check determine;
Counter changes unit, is additionally operable to set the counter to subtract 1.
The embodiment of the present invention provides a kind of client terminal device, including:
Feedback unit, for feeding back preferable code check to HTTP server;
By code capacity of the HTTP server according to the preferable code check and encoder server, informed code server root
One group of Streaming Media is encoded according to the preferable code check of client feedback;
Receiving unit, for producing one group of Streaming Media according to the preferable code check of client feedback in encoder server, and will
One group of Streaming Media after coding is deployed to after HTTP server, receives institute after the new media information of HTTP server generation
The modified notice of the media information sent;
Streaming Media request unit, for sending Streaming Media request to HTTP server, and receives one group of stream matchmaker after coding
Body.
In a preferred embodiment, client terminal device also includes:
Video content management unit, for after the clicking operation to video content is detected, being sent out to HTTP server
Send the Manifest requests for obtaining media information;Asked by HTTP server according to the Manifest, send current time
Media information;
The Streaming Media request unit, for after obtaining and analyzing media information, acquisition request initial bit rate L0Stream
Media S0;By HTTP server by initial bit rate be L0Streaming Media S0It is transferred to client;Wherein, the matchmaker at the current time
Body information is different from the new media information.
The embodiment of the present invention provides a kind of system for transmitting Streaming Media, as shown in figure 1, including HTTP server, coding clothes
Business device and client terminal device (i.e. client), HTTP server is connected with encoder server;
HTTP server, the preferable code check for receiving client feedback;According to the preferable code check and encoding service
The code capacity of device, informed code server is encoded according to the preferable code check of client feedback to one group of Streaming Media;
Encoder server, for producing one group of Streaming Media according to the preferable code check of client feedback, and by one after coding
Group Streaming Media is deployed to HTTP server,
HTTP server, is additionally operable to generate new media information, notifies that client media information is modified;
Client terminal device, for being asked according to the Streaming Media of new media information generation, stream matchmaker is sent to HTTP server
Body is asked, and receives one group of Streaming Media after the coding that HTTP server is sent to client.
It is using the advantage after this programme:HTTP server is connected to the preferable code check L of client feedbackj, according to ideal
One group of Streaming Media of code check informed code server code, and client is notified, the stream after this group coding is received by client
Media so that HTTP server can improve client according to the transmitted Streaming Media of dynamic adjustment the need for client
Viewing experience.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (11)
1. a kind of method for transmitting Streaming Media, applied to HTTP server, it is characterised in that method includes:
HTTP server receives the preferable code check of client feedback, wherein, HTTP server receives the ideal code of client feedback
Rate is the code check that client is calculated according to the buffer information and network quality of Streaming Media;
According to the code capacity of the preferable code check and encoder server, informed code server is according to the reason of client feedback
Think that code check is encoded to one group of Streaming Media;
One group of Streaming Media is produced according to the preferable code check of client feedback in encoder server, and by one group of Streaming Media after coding
It is deployed to after HTTP server, HTTP server generates new media information, notifies that client media information is modified;
HTTP server is received after Streaming Media request of the client according to new media information generation, is sent to client after coding
One group of Streaming Media.
2. according to the method described in claim 1, it is characterised in that HTTP server receive client feedback preferable code check it
It is preceding also to include:
Transmission channel is set up between HTTP server and client, there is initial code to client transmissions by the transmission channel
Rate L0Streaming Media.
3. method according to claim 2, it is characterised in that have by the transmission channel to client transmissions initial
The Streaming Media of code check is specifically included:
The clicking operation to video content is detected in client, and acquisition media information is sent to HTTP server
After Manifest requests;
HTTP server receives Manifest requests, sends the media information at current time to client, client is obtained and divided
After the media information for analysing the current time, acquisition request initial bit rate L0Streaming Media S0;
HTTP server is by initial bit rate L0Streaming Media S0It is transferred to client;Wherein, the media information at the current time with
The new media information is different.
4. according to the method described in claim 1, it is characterised in that the multichannel Streaming Media that encoder server is currently provided it is current
Code check is according to respectively k after order arrangement from small to large0,...,km;Methods described also includes:
When being distributed in ki~ki+1Between the quantity of preferable code check be 0, and be distributed in ki+1~ki+2Between preferable code check number
Measure for 0 when, informed code server stop provide code check be ki+1Code stream, and change encoder server be currently able to provide
The way mesh of Streaming Media adds 1, wherein, ki、ki+1And ki+2It is the k0,...,kmBetween arbitrary value.
5. according to the method described in claim 1, it is characterised in that the multichannel Streaming Media that encoder server is currently provided it is current
Code check is according to respectively k after order arrangement from small to large0,...,km, per two neighboring current one interval of code check formation;It is logical
Know that encoder server is encoded according to preferable code check to one group of Streaming Media, including:
Selected first interval ki~ki+1, first interval ki~ki+1The quantity of the preferable code check included is no less than other each areas
Between the quantity of preferable code check that includes, informed code server is that the first interval generates new code check.
6. method according to claim 5, it is characterised in that include the step of the generation new code check:
The new code check is the average value for the preferable code check being distributed in first interval;
Informed code server is encoded according to the average value to one group of Streaming Media.
7. method according to claim 5, it is characterised in that the new code check of generation is to be distributed in ki~ki+1Between ideal
Also include before the average value of code check:
JudgeWhether default threshold value δ is more than, whenDuring more than threshold value δ, into the step for generating new code check
Suddenly, otherwise terminate.
8. a kind of HTTP server, it is characterised in that be connected with encoder server, including:
Receiving unit, the preferable code check for receiving client feedback, HTTP server receives the preferable code check of client feedback
It is the code check that client is calculated according to the buffer information and network quality of Streaming Media;
Feedback processing unit, for the code capacity according to the preferable code check and encoder server, informed code server
One group of Streaming Media is encoded according to the preferable code check of client feedback;
Media information processing unit, for producing one group of Streaming Media according to the preferable code check of client feedback in encoder server,
And one group of Streaming Media after coding is deployed to after HTTP server, HTTP server generates new media information, notifies visitor
Family end media information is modified;
Streaming Media requesting processing, for receiving after Streaming Media request of the client according to new media information generation, to visitor
Family end sends one group of Streaming Media after coding.
9. server unit according to claim 8, it is characterised in that also include:
Interactive unit, k is distributed in for working asi~ki+1Between the quantity of preferable code check be 0, and be distributed in ki+1~ki+2Between
When the quantity of preferable code check is 0, it is k that informed code server, which stops providing code check,i+1Code stream, and change encoder server work as
Before the way mesh of Streaming Media that can provide plus 1, wherein, the current code check for the multichannel Streaming Media that encoder server is currently provided is pressed
According to respectively k after order arrangement from small to large0,...,km, ki、ki+1And ki+2It is k0,...,kmBetween arbitrary value.
10. a kind of client terminal device, it is characterised in that including:
Feedback unit, for feeding back preferable code check to HTTP server, HTTP server receives the preferable code check of client feedback
It is the code check that client is calculated according to the buffer information and network quality of Streaming Media;
By code capacity of the HTTP server according to the preferable code check and encoder server, informed code server is according to visitor
The preferable code check of family end feedback is encoded to one group of Streaming Media;
Receiving unit, for producing one group of Streaming Media according to the preferable code check of client feedback in encoder server, and will coding
One group of Streaming Media afterwards is deployed to after HTTP server, is sent after the new media information for receiving HTTP server generation
The modified notice of media information;
Streaming Media request unit, for sending Streaming Media request to HTTP server, and receives one group of Streaming Media after coding.
11. a kind of system for transmitting Streaming Media, it is characterised in that including HTTP server, encoder server and client terminal device,
HTTP server is connected with encoder server;
HTTP server, the preferable code check for receiving client feedback, wherein, HTTP server receives the reason of client feedback
It is the code check that client is calculated according to the buffer information and network quality of Streaming Media to think code check;According to the preferable code check with
And the code capacity of encoder server, informed code server carries out according to the preferable code check of client feedback to one group of Streaming Media
Coding;
Encoder server, for producing one group of Streaming Media according to the preferable code check of client feedback, and by one group of stream after coding
Media are deployed to HTTP server,
HTTP server, is additionally operable to generate new media information, notifies that client media information is modified;
Client terminal device, for being asked according to the Streaming Media of new media information generation, sending Streaming Media to HTTP server please
Ask, receive one group of Streaming Media after the coding that HTTP server is sent to client.
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 CN103812821A (en) | 2014-05-21 |
CN103812821B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657143A (en) * | 2017-01-20 | 2017-05-10 | 中兴通讯股份有限公司 | Streaming media transmission method and device, server and terminal |
CN107580339B (en) * | 2017-08-25 | 2021-04-30 | 中国联合网络通信集团有限公司 | Information transmission method, device and wireless communication system |
Citations (3)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120096130A1 (en) * | 2010-12-14 | 2012-04-19 | Huawei Technologies Co., Ltd. | Method, apparatus and system for bandwidth control |
-
2012
- 2012-11-06 CN CN201210439981.0A patent/CN103812821B/en active Active
Patent Citations (3)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103812821A (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9923771B2 (en) | Adaptive bitrate modification of a manifest file | |
US10911506B2 (en) | Methods for quality-aware adaptive streaming over hypertext transfer protocol and reporting quality of experience | |
US10320869B2 (en) | Network-capacity optimized adaptive HTTP streaming | |
US9900256B2 (en) | Method and apparatus for quality of experience management for network services | |
JP5147950B2 (en) | Apparatus and method for performing simulcast over variable bandwidth channel | |
US8843983B2 (en) | Video decomposition and recomposition | |
US20160037176A1 (en) | Automatic and adaptive selection of profiles for adaptive bit rate streaming | |
JP6436772B2 (en) | Method for dynamically adapting received bit rate and associated receiver | |
CN105072506B (en) | The transmission method and system of live teaching broadcast video | |
CN101499918A (en) | Adaptive stream media playing method, apparatus, system and mobile terminal | |
JP7011941B2 (en) | Client and receiving method | |
WO2011157143A2 (en) | Method and device for multi-rates handover in live broadcast | |
CN103873948A (en) | Streaming media self-adaption matching transmission method, system and server | |
CN106791860A (en) | A kind of adaptive video coding control system and method | |
CN102439935B (en) | Media adaptation method and apparatus | |
CN103812821B (en) | Transmit method, HTTP server, client terminal device and the system of Streaming Media | |
US9674515B2 (en) | Endpoint information for network VQM | |
Liu et al. | On adaptive video streaming with predictable streaming performance | |
JP3977652B2 (en) | Quality control coding control method and apparatus for distribution service, and program thereof | |
KR100502186B1 (en) | HDTV internet broadcast service system | |
CN103037341B (en) | Play, the method and mobile terminal, server of conversion streaming video | |
Akhtar et al. | Understanding video management planes | |
Kamiss et al. | Mpeg-Dash System via HTTP2 Protocol with HEVC Encoder for Video Streaming Services | |
KR101541197B1 (en) | Method for updating contents information in streaming server group | |
CN110278460A (en) | Content control system and its control method |
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 |