CN105245946B - Method, device and system for controlling flow of variable-code-rate media stream - Google Patents

Method, device and system for controlling flow of variable-code-rate media stream Download PDF

Info

Publication number
CN105245946B
CN105245946B CN201410329057.6A CN201410329057A CN105245946B CN 105245946 B CN105245946 B CN 105245946B CN 201410329057 A CN201410329057 A CN 201410329057A CN 105245946 B CN105245946 B CN 105245946B
Authority
CN
China
Prior art keywords
streaming media
player
media server
command
control device
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
Application number
CN201410329057.6A
Other languages
Chinese (zh)
Other versions
CN105245946A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410329057.6A priority Critical patent/CN105245946B/en
Priority to PCT/CN2014/094425 priority patent/WO2015154518A1/en
Publication of CN105245946A publication Critical patent/CN105245946A/en
Application granted granted Critical
Publication of CN105245946B publication Critical patent/CN105245946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2401Monitoring of the client buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6373Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a flow control method, a device and a system of a variable code rate media stream. The flow control method of the variable code rate media stream is applied to a scene that a player of a set top box plays the variable code rate media stream from a streaming media server, and comprises the following steps: monitoring a first current value of the cache utilization rate of the set top box by the control device; the control device determines whether the first current value is greater than or equal to an overflow threshold; when the first current value is larger than or equal to the overflow threshold value, the control device performs flow control by separating the state between the player and the streaming media server until the second current value of the set top box cache utilization rate is smaller than the overflow threshold value. The invention can solve the problem of flow control failure in the prior art caused by code rate change of the code stream.

Description

Method, device and system for controlling flow of variable-code-rate media stream
Technical Field
The present invention relates to the field of video, and in particular, to a method, an apparatus, and a system for controlling a flow of a variable bit rate media stream.
Background
At present, there are three main ways for streaming media transmission: point-to-point (Unicast), Multicast (Multicast), and Broadcast (Broadcast). Point-to-point is commonly referred to as unicast, which is based on both TCP (transmission control protocol) and UDP (user datagram protocol) underlying transport protocols. The TCP protocol is a reliable transport protocol but is relatively inefficient. The UDP protocol is an unreliable transport protocol, the quality of transmission is guaranteed by users, but the transport efficiency is higher. Streaming media is typically transported using UDP.
The UDP protocol does not define a control method of the transmission speed between two communication nodes. In an IPTV (internet protocol television) system, a buffer of a user terminal (usually, a set-top box) for storing data has a size limitation, so a method for controlling a transmission speed is required for a streaming media transmitted by UDP, so as to prevent a problem of data loss due to overflow of the set-top box buffer caused by an excessively fast transmission speed. Currently, the commonly used control method of the telecommunication standard is to add a control field in the RTSP (real time streaming protocol) protocol, since the set-top box sends to the streaming server for adjusting the sending speed. This method generally works well when transmitting CBR (fixed bitrate) slice sources, but has drawbacks when transmitting VBR (variable bitrate) slice sources.
The VBR dynamic bit rate, as the name implies, the coding rate changes dynamically with time, and thus the transmission rate also changes dynamically during transmission. This may lead to a situation of loss of flow control. For example, a code rate transmitted during a certain period of time is a low code rate followed by a period of high code rate. The code stream with low code rate is easier to transmit to the set-top box and accumulated in the cache, meanwhile, the consumption speed of the code stream with low code rate is slower in the playing process, the cache in the front cache is not consumed in time, the cache space of the set-top box is not enough and overflows quickly, and the phenomenon is more obvious when the high-definition code rate chip source is transmitted. If a flow control method of a telecommunication standard is used for requesting a streaming media server to send slowly (the sending flow rate is lower than the coding rate of a film source), two problems exist, one is that: compared with the code rate of a VBR (video source) chip source, the slow-sending adjustment rate is not very low, so that the flow cannot be reduced quickly, and the adjustment effect on the VBR chip source code stream is not obvious. Another problem is that: the slow-sending adjustment process is a time-consuming process, and it is likely that the set-top box buffer has overflowed under high-definition code rate, and the transmission code rate cannot be reduced to a low enough rate.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus and a system for controlling flow of a variable bit rate media stream, which can solve the problem of flow control failure in the prior art caused by bit rate change of a code stream.
In order to solve the above technical problem, on one hand, a flow control method for a variable bit rate media stream is provided, which is applied to a scenario where a player of a set top box plays the variable bit rate media stream from a streaming media server, and the method includes:
monitoring a first current value of the cache utilization rate of the set top box by the control device;
the control device determines whether the first current value is greater than or equal to an overflow threshold;
when the first current value is larger than or equal to the overflow threshold value, the control device performs flow control by separating the state between the player and the streaming media server until the second current value of the set top box cache utilization rate is smaller than the overflow threshold value.
The step of the control device controlling the flow by separating the state between the player and the streaming server includes:
the control device sends a first pause command to the streaming media server and does not forward the first pause command to the player after receiving a response message of the streaming media server to the first pause command, so that the streaming media server is directly switched to a pause sending state under the condition of not informing the player.
The method further comprises the following steps:
after the control device performs the flow control step by separating the state between the player and the streaming media server, when the second current value of the cache utilization rate of the set top box is recovered to be smaller than the overflow threshold value, the control device sends a first recovery command to the streaming media server, and does not forward the first recovery command to the player after receiving a response message of the streaming media server for the first recovery command, so that the streaming media server is directly switched to a sending state without informing the player.
After the step of the control device controlling the flow by separating the state between the player and the streaming server and before the step of the control device sending the first resume command to the streaming server, the method further includes:
when the control device receives a second pause command of a user, the control device forwards the second pause command to the player of the set top box and informs the player of the set top box not to forward the second pause command to the streaming media server, so that the player is directly switched to a pause playing state under the condition that the second pause command is not forwarded to the streaming media server;
when the control device receives a second recovery command of a user and a last user command of the second recovery command is a pause command, the control device sends the second recovery command to a player of the set top box and informs the player not to forward the second recovery command to the streaming media server, so that the player is directly switched to a playing state under the condition that the second recovery command is not forwarded to the streaming media server;
when the control device receives a fast forward or fast backward command of a user, the control device sends the fast forward or fast backward command to the streaming media server and the player, so that the streaming media server and the player are switched to a fast forward or fast backward state.
After the step of the control device determining whether the first current value is greater than or equal to an overflow threshold, the method further comprises:
when the first current value is smaller than the overflow threshold and larger than the underflow threshold, the control device sends a request fast sending or slow sending command to the streaming media server; the overflow threshold is greater than the underflow threshold;
and when the first current value is smaller than the underflow threshold value, the control device sends a request fast sending command to a streaming media server.
In another aspect, a flow control device for a variable bitrate media stream is provided, where the flow control device is applied to a player of a set top box to play a scene of the variable bitrate media stream from a streaming media server, and the device includes:
the monitoring unit is used for monitoring a first current value of the cache utilization rate of the set top box;
a judging unit for judging whether the first current value is greater than or equal to an overflow threshold value;
and the control unit is used for carrying out flow control by separating the state between the player and the streaming media server when the first current value is greater than or equal to the overflow threshold value until the second current value of the cache utilization rate of the set top box is less than the overflow threshold value.
The control unit includes:
a sending subunit, configured to send a first pause command to the streaming server;
and the receiving subunit receives a response message of the streaming media server for the first pause command, and does not forward the response message to the player, so that the streaming media server is directly switched to a pause sending state without informing the player.
The device, still include:
the first sending unit is used for sending a first recovery command to the streaming media server when the second current value of the cache utilization rate of the set top box is recovered to be smaller than the overflow threshold value after the flow control is carried out;
and the receiving unit receives a response message of the streaming media server for the first recovery command and does not forward the response message to the player, so that the streaming media server is directly switched to a sending state without informing the player.
The device, still include:
a second sending unit, configured to send a request fast-sending or slow-sending command to the streaming media server when the first current value is smaller than the overflow threshold and larger than the underflow threshold; the overflow threshold is greater than the underflow threshold;
and the third sending unit is used for sending a request fast sending command to the streaming media server when the first current value is smaller than the underflow threshold.
In another aspect, a flow control system for a variable bitrate media stream is provided, which is applied in a scenario where a player of a set top box plays a variable bitrate media stream from a streaming media server, and includes: the system comprises a set top box, a streaming media server and a control unit;
the control device monitors a first current value of the cache utilization rate of the set top box; judging whether the first current value is greater than or equal to an overflow threshold value; and when the first current value is greater than or equal to the overflow threshold value, performing flow control by separating the state between the player and the streaming media server until the second current value of the cache utilization rate of the set top box is less than the overflow threshold value.
The technical scheme of the invention has the following beneficial effects:
in the invention, the player and the streaming media are separated to realize flow control, the change condition of the transmission code rate does not need to be concerned to frequently and dynamically adjust the speed, the realization is simple, and the problem that the conventional flow control is invalid due to the change of the VBR code stream code rate is solved.
Drawings
Fig. 1 is a schematic flow chart of a flow control method for a variable bit rate media stream according to the present invention;
FIG. 2 is a schematic connection diagram of a flow control device for variable bitrate media streams according to the present invention;
FIG. 3 is a schematic connection diagram of a flow control system for variable bitrate media streams according to the present invention;
fig. 4 is a schematic diagram of a system architecture of an application scenario of a flow control method for a variable bit rate media stream according to the present invention;
FIG. 5 is a schematic diagram illustrating the partitioning of a cache space in an application scenario of the present invention;
FIG. 6 is a schematic diagram of a flow control method in an application scenario of the present invention;
fig. 7 is a schematic flow chart illustrating the state separation and recovery synchronization between the player and the streaming media in the application scenario of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the present invention provides a method for controlling a flow of a variable bitrate media stream, which is applied in a scenario where a player of a set top box plays a variable bitrate media stream from a streaming media server, and the method includes:
step 11, monitoring a first current value of the cache utilization rate of the set top box by the control device;
step 12, the control device judges whether the first current value is greater than or equal to an overflow threshold value; the overflow threshold may be preset according to circumstances.
And step 13, when the first current value is greater than or equal to the overflow threshold, the control device performs flow control by separating the state between the player and the streaming media server until the second current value of the set top box cache utilization rate is less than the overflow threshold. That is, in this step, the value of the cache utilization of the set top box is monitored in real time, and the flow control is stopped until the real-time value of the cache utilization is smaller than the overflow threshold. The steps of the control device for flow control are specifically as follows: the control device sends a first pause command to the streaming media server and does not forward the first pause command to the player after receiving a response message of the streaming media server to the first pause command, so that the streaming media server is directly switched to a pause sending state under the condition of not informing the player. That is, the streaming server intercepts the response message.
Step 14, when the first current value is smaller than the overflow threshold and larger than the underflow threshold, the control device sends a request fast sending or slow sending command to the streaming media server; the overflow threshold is greater than the underflow threshold; the command for sending the request fast or slow can be adjusted according to the actual usage scenario, for example, to improve the cache usage rate as much as possible, the request for fast sending is made as long as the first nonce does not reach the overflow threshold, and the request for slow sending is made when the first nonce approaches the overflow threshold. The control device intercepts the response message of the streaming media server, so that the response message does not influence the state of the player.
And step 15, when the first current value is smaller than the underflow threshold, the control device sends a request fast sending command to the streaming media server.
The method further comprises the following steps:
step 16, after the step of controlling the flow, when the second current value of the cache usage rate of the set top box is recovered to be less than the overflow threshold value, the control device sends a first recovery command to the streaming media server, and does not forward the first recovery command to the player after receiving a response message of the streaming media server to the first recovery command, so that the streaming media server is directly switched to a sending state without notifying the player. That is, the control device intercepts the response message of the streaming server so that the response message does not affect the state of the player.
After step 13, before step 16, the method further comprises:
step 13A, when the control device receives a second pause command of the user, the control device forwards the second pause command to the player of the set top box, and notifies the player of the set top box not to forward the second pause command to the streaming media server, so that the player is directly switched to a pause playing state without forwarding the second pause command to the streaming media server;
step 13b, when the control device receives a second resume command of a user and a previous user command of the second resume command is a pause command, the control device sends the second resume command to a player of the set top box and notifies the player not to forward the second resume command to the streaming media server, so that the player is directly switched to a playing state without forwarding the second resume command to the streaming media server;
step 13c, when the control device receives a fast forward or fast backward command from a user, the control device sends the fast forward or fast backward command to the streaming media server and the player, so that both the streaming media server and the player are switched to a fast forward or fast backward state. The control device can send a fast forward or fast backward command to the streaming media server through the set-top box, and can also directly send a fast forward or fast backward command to the streaming media server.
The above scenario describes a process flow in which a user's instruction is received after flow control is performed and before flow control processing is cancelled.
As shown in fig. 2, a flow control device for a variable bitrate media stream according to the present invention is applied to a scenario where a player of a set top box plays a variable bitrate media stream from a streaming media server, and the device includes:
the monitoring unit 21 is used for monitoring a first current value of the cache utilization rate of the set top box;
a judging unit 22 for judging whether the first current value is greater than or equal to an overflow threshold value;
and the control unit 23, when the first current value is greater than or equal to the overflow threshold, performs flow control by separating the states between the player and the streaming media server until the second current value of the set top box cache usage rate is less than the overflow threshold.
The control unit 23 includes:
a sending subunit, configured to send a first pause command to the streaming server;
and the receiving subunit receives a response message of the streaming media server for the first pause command, and does not forward the response message to the player, so that the streaming media server is directly switched to a pause sending state without informing the player.
The device, still include:
the first sending unit 24, after performing the flow control, sends a first recovery command to the streaming media server when the second current value of the set-top box cache usage rate is recovered to be smaller than the overflow threshold;
and a receiving unit 25, receiving a response message of the streaming media server for the first recovery command, and not forwarding the response message to the player, so that the streaming media server directly switches to a sending state without notifying the player.
The device, still include:
a second sending unit 26, configured to send a request fast-sending or slow-sending command to the streaming media server when the first current value is smaller than the overflow threshold and larger than the underflow threshold; the overflow threshold is greater than the underflow threshold;
and a third sending unit 27, sending a request fast sending command to the streaming media server when the first current value is smaller than the underflow threshold.
As shown in fig. 3, a flow control system for a variable bitrate media stream according to the present invention is applied to a scene where a player of a set top box plays a variable bitrate media stream from a streaming media server, and includes: a set-top box 31, a streaming server 32, and a control device 33;
the control device 33 monitors a first current value of the cache utilization rate of the set-top box 31; judging whether the first current value is greater than or equal to an overflow threshold value; and when the first current value is greater than or equal to the overflow threshold value, performing flow control by separating the state between the player and the streaming media server until the second current value of the cache utilization rate of the set top box is less than the overflow threshold value.
A first application scenario of the present invention is described below.
The application scenario is a transmission flow control method for improving VBR variable code rate media flow transmitted by an IPTV network interactive television.
The device architecture is as follows: the invention can be applied to the set-top box side in the IPTV system (see figure 4), only needs to be modified on the set-top box side in the IPTV system, does not need to modify the prior IPTV architecture, and has no influence on other devices in the system. In the IPTV playing process, RTSP (real-time streaming protocol) is used to interact with a streaming media server for playing control.
The method comprises the following steps:
step 1, dividing the cache utilization rate of the set top box into three intervals by using two thresholds (underflow threshold and overflow threshold): underflow interval, normal interval, overflow interval.
Wherein, the underflow threshold is: when the cache utilization rate is lower than the value, the cache utilization rate is in an underflow interval; the overflow threshold value is: when the cache utilization rate is higher than the value, the cache utilization rate is classified as an overflow interval; the buffer usage rate between the overflow threshold and the underflow threshold is classified as a normal interval.
And 2, processing the cache utilization rates in different intervals. There are generally four cases in the process flow:
(1) when the set-top box is in an underflow interval, the set-top box requests fast sending (the sending flow speed is larger than the coding rate of the film source) in a flow control mode;
(2) when the set top box is in the normal interval, the set top box requests to send quickly or restore normal sending or send slowly according to the requirement in a flow control mode;
(3) when the set-top box is in the overflow interval, the set-top box sends out a PAUSE command through the RTSP protocol, so that the streaming media server PAUSEs the streaming.
(4) And after the PAUSE command is sent out in the overflow interval, waiting for the buffer utilization rate to recover to a normal interval or an underflow interval, and then sending out a PLAY command through an RTSP protocol.
And step 3, allowing the player and the streaming media to be out of synchronization. If the cache utilization rate of the set top box is in the overflow interval, after the set top box sends an RTSP PAUSE command, separating the streaming media state and the player state, namely: the player keeps the playing state unchanged, and the streaming media is in a pause state.
And 4, after the cache utilization rate is recovered to a normal or underflow interval from the overflow interval, the player state and the streaming media state are recovered to be synchronous.
This completes the flow control.
A second application scenario of the present invention is described below.
First, with reference to fig. 5, the cache utilization of the set-top box is divided into three intervals for the process determination of fig. 6.
With reference to fig. 6, the specific steps are as follows:
step 1, the set-top box starts to play a unicast program;
step 2, the request server sends quickly;
step 3, detecting the current cache utilization rate of the set top box (judging the cache utilization rate of the set top box by cache judgment below);
and 4, judging whether the cache utilization rate is in an underflow interval. Yes, go to step 5. If not, entering step 8;
and step 5, judging whether the step 9 is after the step of sending RTSP PAUSE command to the streaming media server. If yes, go to step 7, if no, go to step 6;
step 6, requesting the server to quickly send a code stream, and returning to the step 3;
and 7, sending a PLAY command to the streaming media server through the RTSP. Requesting the server to quickly send a code stream, restoring the synchronization between the player and the streaming media state, and returning to the step 3;
and 8, judging whether the cache utilization rate is in a normal interval. If yes, no action is performed or the process proceeds to step 6. Otherwise, go to step 9.
And 9, judging whether the cache utilization rate is in an overflow interval. If yes, a PAUSE command is sent to the streaming media server through the RTSP protocol, and the step 10 is entered;
and step 10, separating the player from the streaming media state, so that the player continues to keep the playing state, and the streaming media is in a pause state. And returning to the step 3.
Fig. 7 is a schematic diagram of state separation and recovery of a player and streaming media. The method comprises the following steps:
entering flow control, starting to separate the player from the streaming media state after PAUSE of PAUSE, specifically intercepting PAUSE response of the streaming media to make the player unable to sense, wherein the player is in a playing state, the streaming media is in a PAUSE state, and the two states are asynchronous.
When the player and the streaming media are out of synchronization, if the set-top box receives a play control command of a user, the set-top box needs to distinguish and process: (1) if the command is PAUSE, the interception makes the streaming media not be perceived, and PAUSE is output to the player and directly enters PAUSE. (2) If the user sends out the RESUME command after the PAUSE, the streaming media cannot be sensed by the interception, and the RESUME is output to the player to directly RESUME the playing. (3) If the command is other user commands, such as fast forward, fast backward, etc., the command is sent to the streaming media, and the player is synchronized with the state recovery of the streaming media.
When the player is out of synchronization with the streaming media state, if the flow control pause needs to be cancelled, a PLAY command is sent to the streaming media, meanwhile, the response is intercepted, so that the player cannot sense, and at the moment, the streaming media resumes the playing state and is synchronized with the player.
So far, the flow control is completed in the whole playing process before the playing is finished.
The invention has the following beneficial effects:
the IPTV system terminal of the invention utilizes the RTSP command to separate the state of the player and the streaming media, realizes the flow control, can deal with various extreme conditions causing the buffer overflow of the set top box, and is not limited to transmitting VBR code stream. In addition, the method does not need to pay attention to the change situation of the transmission code rate to frequently and dynamically adjust the speed, is simple to realize and has good application value. The flow control method for improving the VBR code stream transmission of the IPTV solves the problem that the traditional flow control is invalid due to the code rate change of the VBR code stream.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A flow control method of variable code rate media stream is applied to a scene that a player of a set top box plays the variable code rate media stream from a streaming media server, and is characterized in that the method comprises the following steps:
monitoring a first current value of the cache utilization rate of the set top box by the control device;
the control device determines whether the first current value is greater than or equal to an overflow threshold;
when the first current value is greater than or equal to the overflow threshold, the control device performs flow control by separating a state between the player and the streaming server, including: the control device sends a first pause command to the streaming media server and does not forward the first pause command to the player after receiving a response message of the streaming media server to the first pause command, so that the streaming media server is directly switched to a pause sending state under the condition of not informing the player;
until a second current value of the set-top box cache usage, which is a real-time value of the cache usage, is less than the overflow threshold.
2. The method of claim 1, further comprising:
after the control device performs the flow control step by separating the state between the player and the streaming media server, when the second current value of the cache utilization rate of the set top box is recovered to be smaller than the overflow threshold value, the control device sends a first recovery command to the streaming media server, and does not forward the first recovery command to the player after receiving a response message of the streaming media server for the first recovery command, so that the streaming media server is directly switched to a sending state without informing the player.
3. The method of claim 1, wherein after the step of the control device controlling the flow by separating the state between the player and the streaming server and before the step of the control device sending the first resume command to the streaming server, the method further comprises:
when the control device receives a second pause command of a user, the control device forwards the second pause command to the player of the set top box and informs the player of the set top box not to forward the second pause command to the streaming media server, so that the player is directly switched to a pause playing state under the condition that the second pause command is not forwarded to the streaming media server;
when the control device receives a second recovery command of a user and a last user command of the second recovery command is a pause command, the control device sends the second recovery command to a player of the set top box and informs the player not to forward the second recovery command to the streaming media server, so that the player is directly switched to a playing state under the condition that the second recovery command is not forwarded to the streaming media server;
when the control device receives a fast forward or fast backward command of a user, the control device sends the fast forward or fast backward command to the streaming media server and the player, so that the streaming media server and the player are switched to a fast forward or fast backward state.
4. The method of claim 1, wherein after the step of the control device determining whether the first current value is greater than or equal to an overflow threshold, the method further comprises:
when the first current value is smaller than the overflow threshold and larger than the underflow threshold, the control device sends a request fast sending or slow sending command to the streaming media server, wherein the overflow threshold is larger than the underflow threshold;
and when the first current value is smaller than the underflow threshold value, the control device sends a request fast sending command to a streaming media server.
5. A flow control device of variable code rate media stream is applied to a player of a set top box to play a scene of the variable code rate media stream from a streaming media server, and is characterized in that the device comprises:
the monitoring unit is used for monitoring a first current value of the cache utilization rate of the set top box;
a judging unit for judging whether the first current value is greater than or equal to an overflow threshold value;
the control unit is used for controlling flow by separating the state between the player and the streaming media server when the first current value is greater than or equal to the overflow threshold value until a second current value of the cache utilization rate of the set top box is smaller than the overflow threshold value, wherein the second current value is a real-time value of the cache utilization rate; the control unit includes:
a sending subunit, configured to send a first pause command to the streaming server;
and the receiving subunit receives a response message of the streaming media server for the first pause command, and does not forward the response message to the player, so that the streaming media server is directly switched to a pause sending state without informing the player.
6. The apparatus of claim 5, further comprising:
the first sending unit is used for sending a first recovery command to the streaming media server when the second current value of the cache utilization rate of the set top box is recovered to be smaller than the overflow threshold value after the flow control is carried out;
and the receiving unit receives a response message of the streaming media server for the first recovery command and does not forward the response message to the player, so that the streaming media server is directly switched to a sending state without informing the player.
7. The apparatus of claim 5, further comprising:
a second sending unit, configured to send a request fast-sending or slow-sending command to the streaming media server when the first current value is smaller than the overflow threshold and larger than the underflow threshold; the overflow threshold is greater than the underflow threshold;
and the third sending unit is used for sending a request fast sending command to the streaming media server when the first current value is smaller than the underflow threshold.
8. A flow control system of variable code rate media stream is applied to a scene that a player of a set top box plays the variable code rate media stream from a streaming media server, and is characterized by comprising the following steps: the system comprises a set top box, a streaming media server and a control device;
the control device monitors a first current value of the cache utilization rate of the set top box; judging whether the first current value is greater than or equal to an overflow threshold value; when the first current value is larger than or equal to the overflow threshold value, performing flow control by separating the state between the player and the streaming media server until a second current value of the cache utilization rate of the set top box is smaller than the overflow threshold value, wherein the second current value is a real-time value of the cache utilization rate;
the control device performs flow control by separating states between the player and the streaming server, and includes: the control device sends a first pause command to the streaming media server and does not forward the first pause command to the player after receiving a response message of the streaming media server to the first pause command, so that the streaming media server is directly switched to a pause sending state under the condition of not informing the player.
CN201410329057.6A 2014-07-10 2014-07-10 Method, device and system for controlling flow of variable-code-rate media stream Active CN105245946B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410329057.6A CN105245946B (en) 2014-07-10 2014-07-10 Method, device and system for controlling flow of variable-code-rate media stream
PCT/CN2014/094425 WO2015154518A1 (en) 2014-07-10 2014-12-19 Flow control method, apparatus and system for variable bitrate media stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410329057.6A CN105245946B (en) 2014-07-10 2014-07-10 Method, device and system for controlling flow of variable-code-rate media stream

Publications (2)

Publication Number Publication Date
CN105245946A CN105245946A (en) 2016-01-13
CN105245946B true CN105245946B (en) 2020-08-28

Family

ID=54287254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410329057.6A Active CN105245946B (en) 2014-07-10 2014-07-10 Method, device and system for controlling flow of variable-code-rate media stream

Country Status (2)

Country Link
CN (1) CN105245946B (en)
WO (1) WO2015154518A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566855B (en) * 2016-06-30 2020-11-10 华为技术有限公司 Method for quickly switching channels, server and set top box
WO2020132907A1 (en) * 2018-12-25 2020-07-02 华为技术有限公司 Communication method for audio data, and electronic device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8543723B2 (en) * 2004-07-27 2013-09-24 Sony Corporation Home network system with transmission error recovery
CN100589557C (en) * 2006-11-22 2010-02-10 中兴通讯股份有限公司 A method for improving response speed of client VCR operation
CN101296158A (en) * 2007-04-26 2008-10-29 深圳市同洲电子股份有限公司 Stream media data transmission method and data transmission device thereof
CN101123606A (en) * 2007-07-13 2008-02-13 上海广电(集团)有限公司中央研究院 AVS transmission control method based on real time transmission protocol or real time control protocol
CN101902625A (en) * 2009-05-27 2010-12-01 深圳市九洲电器有限公司 Interactive-type internet protocol television video data processing method and system as well as set top box
KR101637589B1 (en) * 2009-06-12 2016-07-08 엘지전자 주식회사 Apparatus and method of flow control in wireless communication system
CN102594927A (en) * 2012-04-05 2012-07-18 高汉中 Neural-network-based cloud server structure
CN102970579B (en) * 2012-11-28 2015-06-17 四川长虹电器股份有限公司 Method and device for monitoring video buffer area
CN103347212B (en) * 2013-06-04 2016-04-27 青岛海信宽带多媒体技术有限公司 The playing method and device of VOD program

Also Published As

Publication number Publication date
CN105245946A (en) 2016-01-13
WO2015154518A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
US9826262B2 (en) Fast channel change in a multicast adaptive bitrate (MABR) streaming network using multicast repeat segment bursts in a shared progressive ABR download pipe
CN101909196B (en) Channel-switching handling method, system and related equipment
KR101286830B1 (en) Fast channel change handling of late multicast join
US10194181B2 (en) Fast channel change in a multicast adaptive bitrate (MABR) streaming network using multicast repeat segment bursts in a dedicated bandwidth pipe
JP5421346B2 (en) High-speed transmission method and apparatus for unicast stream in high-speed channel change
CN107566918B (en) A kind of low delay under video distribution scene takes the neutrel extraction of root
CN105263037B (en) A kind of adaptive fluidizing method based on client-cache
EP3348070B1 (en) Fast channel change in a multicast adaptive bitrate (mabr) streaming network using http download segment recovery in a shared progressive abr download pipe
US9788053B2 (en) Fast channel change in a multicast adaptive bitrate (MABR) streaming network using HTTP download segment recovery in a dedicated bandwidth pipe
WO2017096935A1 (en) Fast channel switching method and server, and iptv system
KR20150117204A (en) Managing adaptive streaming of data via a communication connection
CN101296158A (en) Stream media data transmission method and data transmission device thereof
CN102547449A (en) Method, set-top box and media server of control terminal buffer media stream data
KR20140138763A (en) Method of buffer management for synchronization of correlated media presentations
WO2014183674A1 (en) Media play method and device, and set top box
WO2014154102A1 (en) Method, apparatus and system for over the top (ott) direct broadcasting
CN111200757A (en) Video playing method, set top box, system and storage medium
US11050805B2 (en) Method of controlling stream buffer in media playback device and related buffering device
CN105245946B (en) Method, device and system for controlling flow of variable-code-rate media stream
CN101090369B (en) Method for controlling data packet sending speed in flow medium system
CN104917688A (en) Code rate control method of streaming media gateway
US11777871B2 (en) Delivery of multimedia components according to user activity
EP3970384B1 (en) Method and apparatus for playing multimedia streaming data
KR20200018493A (en) Methods and apparatuses for streaming data
WO2013139804A1 (en) Fast channel change algorithm

Legal Events

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