WO2015154518A1 - Flow control method, apparatus and system for variable bitrate media stream - Google Patents

Flow control method, apparatus and system for variable bitrate media stream Download PDF

Info

Publication number
WO2015154518A1
WO2015154518A1 PCT/CN2014/094425 CN2014094425W WO2015154518A1 WO 2015154518 A1 WO2015154518 A1 WO 2015154518A1 CN 2014094425 W CN2014094425 W CN 2014094425W WO 2015154518 A1 WO2015154518 A1 WO 2015154518A1
Authority
WO
WIPO (PCT)
Prior art keywords
player
command
streaming
streaming media
server
Prior art date
Application number
PCT/CN2014/094425
Other languages
French (fr)
Chinese (zh)
Inventor
陆忠孝
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015154518A1 publication Critical patent/WO2015154518A1/en

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

Definitions

  • the present invention relates to, but is not limited to, the field of video, and in particular to a flow control method, apparatus and system for a variable rate media stream.
  • Point-to-point is generally called unicast, and unicast is based on two basic transport protocols: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • TCP is a reliable transport protocol, but it is less efficient.
  • UDP is an unreliable transmission protocol, and the transmission quality is guaranteed by the user, but has higher transmission efficiency.
  • Streaming media usually uses UDP transport.
  • the UDP protocol does not define a control method for the transmission speed between two communication nodes.
  • IPTV Internet TV
  • the buffer for storing data of a user terminal usually a set top box
  • the streaming media of UDP transmission needs a method of controlling the transmission speed to ensure that the transmission speed does not occur.
  • the problem that the set-top box buffer overflow data is lost.
  • the commonly used telecommunication standard is controlled by adding a control field in the RTSP (Real-Time Streaming Protocol), since the set-top box is sent to the streaming server for adjusting the transmission speed. This method generally works well when transmitting CBR (fixed code rate) sources, but has drawbacks when transmitting VBR (Variable Rate) sources.
  • CBR fixed code rate
  • VBR dynamic bit rate the code rate changes dynamically with time, so the transmission code rate will also change dynamically during transmission. This may lead to a situation where the flow is out of control.
  • the code rate transmitted during a certain period of time is a low code rate, followed by a high bit rate for a period of time.
  • the low bit rate code stream is relatively easy to transfer to the set top box and accumulates in the cache.
  • the low code rate code stream consumes slower during playback, and the high code rate code stream that follows is due to the front.
  • the cache is not consumed in time, and will soon cause the set-top box to have insufficient buffer space and overflow. This phenomenon is more obvious when transmitting the source of the HD bit rate.
  • the traffic control method of the telecommunication standard is used to request the streaming server to send a slow message (the transmission rate is lower than the source code rate)
  • the transmission rate is lower than the source code rate
  • two problems one problem is: slow transmission Compared with the source code rate, the adjustment rate is not very low, resulting in no rapid decrease in traffic, and the adjustment effect on the source code stream of the VBR chip is not obvious.
  • Another problem is that the slow-motion adjustment process is a time-consuming process, and it is very likely that the set-top box cache has overflowed at high-definition bit rates, and the transmission rate has not dropped to a sufficiently low rate.
  • the embodiment of the invention provides a flow control method, device and system for variable rate media streams, which can solve the problem of flow control failure caused by code stream rate change.
  • a flow rate control method for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, the method comprising:
  • the control device monitors a first current value of the set top box cache usage rate
  • the control device determines whether the first current value is greater than or equal to an overflow threshold
  • the control device When the first current value is greater than or equal to the overflow threshold, the control device performs flow control by separating the states of the player and the streaming media server until the second current cache of the set top box cache usage rate The value is less than the overflow threshold.
  • the step of controlling, by the control device, the flow control by separating the states of the player and the streaming media server comprises:
  • the control device sends a first pause command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first pause command, so that the streaming media server Switching to the suspend transmission state directly without notifying the player.
  • the method further includes:
  • the controlling device After the controlling device performs the flow control step by separating the states of the player and the streaming server, when the second current value of the set top box cache usage rate is less than the overflow threshold, the control The device sends a first recovery command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first recovery command, so that the streaming media server does not notify In the case of the player, it is directly switched to the transmission state.
  • the method further includes:
  • the control device When the control device receives the 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 to the streaming server
  • the second pause command causes the player to directly switch to the pause play state without forwarding the second pause command to the streaming server;
  • the control device When the control device receives the second resume command of the user, and the last user command of the second resume command is a pause command, the control device sends the second resume command to the player of the set top box. Notifying the player that the second recovery command is not forwarded to the streaming media server, so that the player directly switches to the playing state without forwarding the second recovery command to the streaming media server. ;
  • control device when the control device receives the fast forward or rewind command of the user, sending the fast forward or fast reverse command to the streaming media server and the player, so that the streaming media server and the playing Both switches to fast forward or rewind status.
  • the method further includes:
  • the control device When the first current value is less than the overflow threshold and greater than the underflow threshold, the control device sends a request for fast or slow command to the streaming server; the overflow threshold is greater than the underflow threshold ;
  • control device When the first current value is less than the underflow threshold, the control device sends a request fast command to the streaming server.
  • a flow rate control device for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, wherein the device comprises:
  • a monitoring unit that monitors a first current value of the set top box cache usage rate
  • a determining unit determining whether the first current value is greater than or equal to an overflow threshold
  • a control unit when the first current value is greater than or equal to the overflow threshold, performing flow control by separating states of the player and the streaming server until a second current value of the set top box cache usage rate Less than the overflow threshold.
  • control unit includes:
  • Receiving a subunit receiving a response message of the streaming media server for the first pause command, and not forwarding to the player, so that the streaming media server directly switches to a pause without notifying the player send status.
  • the device further includes:
  • the first sending unit sends a first resume command to the streaming media server when the second current value of the set top box cache usage rate is less than the overflow threshold;
  • the device further includes:
  • a second sending unit when the first current value is smaller than the overflow threshold and greater than an underflow threshold, sending a request for a fast or slow command to the streaming server; the overflow threshold is greater than the underflow Threshold value
  • the third sending unit sends a request fast sending command to the streaming server when the first current value is less than the underflow threshold.
  • a flow rate control system for variable rate media streams is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, including: a set top box, a streaming media server, and the above flow control device.
  • Embodiments of the present invention also provide a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method described above.
  • Embodiments of the present invention also provide a computer readable storage medium carrying the computer program.
  • the player and the streaming media state are separated to implement flow control, and the dynamic rate adjustment of the transmission rate is not required, and the dynamic adjustment is fast and slow, and the implementation is simple, and the VBR code stream rate change is caused to cause the traditional flow control. The problem of failure.
  • FIG. 1 is a schematic flowchart of a flow control method of a variable rate media stream according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the connection of a flow rate control device for a variable rate media stream according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of connection of a flow rate control system of a variable rate media stream according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a system architecture of an application scenario of a flow rate control method for a variable rate media stream according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of partitioning of a cache space in an application scenario according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a flow control method in an application scenario according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of state separation and recovery synchronization of a player and a streaming media in an application scenario according to an embodiment of the present invention.
  • an embodiment of the present invention provides a flow control method for a variable rate media stream, which is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, where the method includes :
  • Step 11 the control device monitors a first current value of the set top box cache usage rate
  • Step 12 The control device determines whether the first current value is greater than or equal to an overflow threshold; the overflow threshold may be preset according to a situation.
  • Step 13 When the first current value is greater than or equal to the overflow threshold, the control device performs flow control by separating states of the player and the streaming media server until the set top box cache usage rate The second current value is less than the overflow threshold. That is to say, in this step, the value of the set top box cache usage rate is monitored in real time, and the flow control is stopped until the real time value of the cache usage rate is less than the overflow threshold.
  • the step of controlling the flow control by the control device includes: the control device sending a first pause command to the streaming media server, and not forwarding the response message to the first pause command after receiving the streaming media server
  • the player causes the streaming server to directly switch to a suspended transmission state without notifying the player. That is, the streaming server intercepts the response message.
  • Step 14 When the first current value is less than the overflow threshold and greater than a underflow threshold, The control device sends a request to the streaming media server to request a quick or slow command; the overflow threshold is greater than the underflow threshold; wherein the sending request fast or slow command can be adjusted according to the actual usage scenario, for example, As much as possible, the cache usage rate is increased, and a fast transmission is requested as long as the first current value does not reach the overflow threshold, and a slow transmission is requested when the first current value approaches the overflow threshold.
  • the control device intercepts the response message of the streaming media server, so that the response message does not affect the state of the player, wherein the fast transmission means that the transmission rate is higher than the source code encoding rate.
  • Step 15 When the first current value is less than the underflow threshold, the control device sends a request fast command to the streaming server.
  • the method further includes:
  • Step 16 After the step of performing flow control, when the second current value of the set top box cache usage rate is less than the overflow threshold, the control device sends a first resume command to the streaming media server. And after receiving the response message of the streaming media server for the first recovery command, the device does not forward the message to the player, so that the streaming media server directly switches to the sending state without notifying the player. That is to say, the control device intercepts the response message of the streaming media server, so that the response message does not affect the state of the player.
  • step 13 before step 16, the method further includes:
  • Step 13A when the control device receives the 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 the stream
  • the media server forwards the second pause command, so that the player directly switches to the suspended play state without forwarding the second pause command to the streaming server;
  • Step 13b when the control device receives the second resume command of the user, and the previous user command of the second resume command is a pause command, the control device sends the first message to the player of the set top box. Recovering the command, and notifying the player that the second recovery command is not forwarded to the streaming media server, so that the player directly switches without forwarding the second recovery command to the streaming media server.
  • the playback state To the playback state;
  • Step 13c when the control device receives the fast forward or fast reverse command of the user, sending the fast forward or fast reverse command to the streaming media server and the player, so that the streaming media server and The players are all switched to a fast forward or fast reverse state.
  • the control device may send a fast forward or fast reverse command to the streaming media server through the set top box, or directly serve the streaming media service.
  • the device sends a fast forward or rewind command.
  • the above scenario describes the processing flow of receiving the user's instruction before canceling the flow control process after performing flow control.
  • a flow rate control device for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server,
  • the device includes:
  • the monitoring unit 21 monitors a first current value of the set top box cache usage rate
  • the determining unit 22 determines whether the first current value is greater than or equal to an overflow threshold
  • 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 of the player and the streaming server until the second current cache of the set top box is used. The value is less than the overflow threshold.
  • the control unit 23 includes:
  • Receiving a subunit receiving a response message of the streaming media server for the first pause command, and not forwarding to the player, so that the streaming media server directly switches to a pause without notifying the player send status.
  • the device further includes:
  • the first sending unit 24 sends a first resume command to the streaming media server when the second current value of the set top box cache usage rate is less than the overflow threshold.
  • the receiving unit 25 receives the response message of the streaming media server for the first recovery command, and does not forward the message to the player, so that the streaming media server directly switches to the player without notifying the player. send status.
  • the device further includes:
  • the second sending unit 26 when the first current value is smaller than the overflow threshold and greater than the underflow threshold, sends a request for fast or slow command to the streaming server; the overflow threshold is greater than the lower Overflow threshold
  • the third sending unit 27 sends a request fast command to the streaming server when the first current value is less than the underflow threshold.
  • a flow rate control system for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, including: a set top box 31. , streaming server 32 and control device 33;
  • the control device 33 monitors a first current value of the cache usage rate of the set top box 31; determines whether the first current value is greater than or equal to an overflow threshold; and when the first current value is greater than or equal to the overflow threshold Flow control is performed by separating the states of the player and the streaming server until the second current value of the set top box cache usage is less than the overflow threshold.
  • This application scenario is a transmission flow control method for improving an IPTV network interactive television transmission VBR variable rate media stream.
  • the embodiment of the present invention can be applied to the set-top box side in the IPTV system (see FIG. 4), and only needs to be modified on the set-top box side in the IPTV system, and does not need to modify the existing IPTV architecture, and has no effect on other devices in the system.
  • RTSP Real Time Streaming Protocol
  • Step 1 The set-top box cache usage rate is divided into three sections using two thresholds (underflow threshold and overflow threshold): an underflow interval, a normal interval, and an overflow interval.
  • underflow threshold and overflow threshold two thresholds: an underflow interval, a normal interval, and an overflow interval.
  • the underflow threshold means that when the cache usage rate is lower than the value, the underflow interval is; the overflow threshold is: when the cache usage rate is higher than the value, it belongs to the overflow interval; the cache usage rate is at the overflow threshold and The underflow threshold is attributed to the normal interval.
  • step 2 the cache usage rate in different intervals is processed. There are generally four situations in the process:
  • the set-top box requests fast transmission through the flow control mode (refers to the flow rate is greater than the source code rate);
  • the set-top box When the device is in the normal interval, the set-top box requests fast transmission or resumes normal flow or slow transmission through flow control mode as needed;
  • the set-top box issues a PAUSE pause command through the RTSP protocol, so that the streaming media server pauses the flow.
  • Step 3 allowing the player and streaming status to be out of sync. If the set-top box cache usage rate is in the overflow interval, after the RTP PAUSE command is issued by the set-top box, the streaming media state and the player state are separated, that is, the player keeps playing state, and the streaming media is in a pause state.
  • Step 4 After the cache usage is restored from the overflow interval to the normal or underflow interval, the player state and the streaming media state are restored.
  • the set-top box cache usage rate is divided into three sections for use in the process of FIG.
  • Step 601 the set top box starts to play a unicast program
  • Step 602 requesting the server to send a fast message
  • Step 603 detecting the current cache usage rate of the set top box (the following cache judgments are all determining the set top box cache usage rate);
  • Step 604 it is determined whether the cache usage rate is in the underflow interval, yes, proceeds to step 605, no, proceeds to step 608;
  • Step 605 it is determined whether the step of issuing an RTSP PAUSE command to the streaming server in step 609, yes, proceeds to step 607, and proceeds to step 606;
  • Step 606 requesting the server to quickly send the code stream, returning to step 603;
  • Step 607 issuing a PLAY command to the streaming server through the RTSP protocol. Requesting the server to send the code stream, the player is synchronized with the streaming media state recovery, and returning to step 603;
  • step 608 it is determined whether the cache usage rate is in the normal interval. If yes, there is no action according to the requirement or the process proceeds to step 606; otherwise, the process proceeds to step 609.
  • Step 609 determining whether the cache usage rate is in the overflow interval, is, issuing a PAUSE command to the streaming server through the RTSP protocol, proceeds to step 610;
  • Step 610 separating the player and the streaming media state, so that the player continues to play the state, and the streaming media is in the suspended state, and returns to step 603.
  • FIG. 7 is a schematic diagram of state separation and recovery of a player and a streaming media, including the following steps:
  • PAUSE After entering the flow control, PAUSE starts to separate the player and the streaming media state. Specifically, the PAUSE response of the streaming media needs to be intercepted, so that the player cannot be perceived. At this time, the player is in the playing state, and the streaming media is in the suspended state. Synchronize.
  • the set-top box When the player and the streaming media state are out of step, if the set-top box receives the user's playback control command, it needs to be differentiated: (1) If it is a PAUSE command, the interception makes the streaming media unperceive, and at the same time outputs PAUSE to the player, and directly enters the pause. (2) If the user issues a RESUME command after PAUSE, the same interception makes the streaming media undetectable, and outputs RESUME to the player to resume playback directly. (3) If it is another user command, such as fast forward, fast rewind, etc., it is sent to the streaming media, and the player is synchronized with the streaming media state.
  • the player and the streaming media state are out of synchronization, if the flow control pause is to be canceled, the PLAY command is sent to the streaming media, and the interception response is made to prevent the player from being perceived. At this time, the streaming media resumes playing state and resumes synchronization with the player.
  • the IPTV system terminal controls the flow of the media stream based on the UDP protocol, and uses the RTSP command to separate the player and the streaming media state to implement flow control, and can cope with various extreme situations that cause the set top box to overflow. Not limited to transmitting VBR code streams. In addition, there is no need to care about the change of the transmission code rate to frequently adjust the fast and slow dynamics, and the implementation is simple, and has good application value.
  • the flow control method for improving the IPTV transmission VBR code stream in the embodiment of the present invention solves the problem that the traditional flow control fails due to the VBR code stream rate change.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the player and the streaming media state are separated to implement flow control, and the dynamic rate adjustment of the transmission rate is not required, and the dynamic adjustment is fast and slow, and the implementation is simple, and the VBR code stream rate change is caused to cause the traditional flow control. The problem of failure.

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

A flow control method, apparatus and system for variable bitrate media stream. The flow control method for variable bitrate media stream is applied to the scenario that a player of a set-top box plays the variable bitrate media stream from a stream media server. The method comprise that: a control apparatus monitors a first current value of the set-top box cache usage rate; the control apparatus judges whether the first current value is bigger than or equal to an overflow threshold; when the first current value is bigger than or equal to the overflow threshold, the control apparatus performs the flow control by separating the statuses of the player and the stream media server, until a second current value of the set-top box cache usage rate is smaller than the overflow threshold.

Description

可变码率媒体流的流量控制方法、装置以及系统Flow rate control method, device and system for variable rate media stream 技术领域Technical field
本发明涉及但不限于视频领域,特别是指一种可变码率媒体流的流量控制方法、装置以及系统。The present invention relates to, but is not limited to, the field of video, and in particular to a flow control method, apparatus and system for a variable rate media stream.
背景技术Background technique
目前,流媒体的传输技术主要有三种方式:点对点(Unicast)、多址广播(Multicast)和广播(Broadcast)。点对点一般称为单播,单播基于TCP(传输控制协议)和UDP(用户数据报协议)两种基础传输协议。TCP是可靠的传输协议,但效率比较低。UDP是不可靠的传输协议,传输质量由用户保证,但具有更高的传输效率。流媒体通常使用UDP传输。Currently, there are three main ways of streaming media transmission: Unicast, Multicast, and Broadcast. Point-to-point is generally called unicast, and unicast is based on two basic transport protocols: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol). TCP is a reliable transport protocol, but it is less efficient. UDP is an unreliable transmission protocol, and the transmission quality is guaranteed by the user, but has higher transmission efficiency. Streaming media usually uses UDP transport.
UDP协议没有定义两个通讯结点之间传输速度的控制方法。在IPTV(网络电视)系统中,用户终端(通常为机顶盒)的用于保存数据的缓存有大小限制,因此UDP传输的流媒体需要有一种控制传输速度的方法,来保证不会出现传输速度过快导致机顶盒缓存溢出数据丢失的问题。目前,通常使用的电信标准的控制方法为,在RTSP(实时流传输协议)中添加控制字段,由于机顶盒发出给流媒体服务器用于调整发送速度。这种方法在传输CBR(固定码率)片源时一般都可以正常工作,但在传输VBR(可变码率)片源时存在缺陷。The UDP protocol does not define a control method for the transmission speed between two communication nodes. In an IPTV (Internet TV) system, the buffer for storing data of a user terminal (usually a set top box) has a size limitation, so the streaming media of UDP transmission needs a method of controlling the transmission speed to ensure that the transmission speed does not occur. The problem that the set-top box buffer overflow data is lost. Currently, the commonly used telecommunication standard is controlled by adding a control field in the RTSP (Real-Time Streaming Protocol), since the set-top box is sent to the streaming server for adjusting the transmission speed. This method generally works well when transmitting CBR (fixed code rate) sources, but has drawbacks when transmitting VBR (Variable Rate) sources.
VBR动态比特率,顾名思义,编码码率随时间动态变化,因此,在传输过程中传输码率也会动态变化。这就有可能出现流量失控的情况。例如,在某一段时间内传输的码率是低码率,紧接着是一段时间的高码率。低码率的码流比较容易传输到机顶盒中,并在缓存中积累,同时,低码率的码流在播放过程中消耗的速度也比较慢,紧接而来的高码率码流由于前面的缓存没有及时消耗,很快会导致机顶盒缓存空间不足而溢出,这种现象在传输高清码率的片源时更为明显。若使用电信标准的流量控制方法请求流媒体服务器慢发(指发送速率低于片源编码码率),则存在两个问题,一个问题是:慢发 调整的速率与片源码率相比,调整的速率不会很低,导致流量不会很快降低,对VBR片源码流的调整作用不明显。另一个问题是:慢发调整过程是一个耗时的过程,在高清码率下很可能出现机顶盒缓存已经溢出,而传输码率未能下降到足够低的速率。VBR dynamic bit rate, as the name suggests, the code rate changes dynamically with time, so the transmission code rate will also change dynamically during transmission. This may lead to a situation where the flow is out of control. For example, the code rate transmitted during a certain period of time is a low code rate, followed by a high bit rate for a period of time. The low bit rate code stream is relatively easy to transfer to the set top box and accumulates in the cache. At the same time, the low code rate code stream consumes slower during playback, and the high code rate code stream that follows is due to the front. The cache is not consumed in time, and will soon cause the set-top box to have insufficient buffer space and overflow. This phenomenon is more obvious when transmitting the source of the HD bit rate. If the traffic control method of the telecommunication standard is used to request the streaming server to send a slow message (the transmission rate is lower than the source code rate), there are two problems, one problem is: slow transmission Compared with the source code rate, the adjustment rate is not very low, resulting in no rapid decrease in traffic, and the adjustment effect on the source code stream of the VBR chip is not obvious. Another problem is that the slow-motion adjustment process is a time-consuming process, and it is very likely that the set-top box cache has overflowed at high-definition bit rates, and the transmission rate has not dropped to a sufficiently low rate.
发明内容Summary of the invention
本发明实施例提供一种可变码率媒体流的流量控制方法、装置以及系统,能够解决码流码率变化导致的流量控制失效的问题。The embodiment of the invention provides a flow control method, device and system for variable rate media streams, which can solve the problem of flow control failure caused by code stream rate change.
一种可变码率媒体流的流量控制方法,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,所述方法包括:A flow rate control method for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, the method comprising:
控制装置监测机顶盒缓存使用率的第一当前值;The control device monitors a first current value of the set top box cache usage rate;
所述控制装置判断所述第一当前值是否大于或等于上溢阈值;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 the states of the player and the streaming media server until the second current cache of the set top box cache usage rate The value is less than the overflow threshold.
可选地,所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤包括:Optionally, the step of controlling, by the control device, the flow control by separating the states of the player and the streaming media server comprises:
所述控制装置向所述流媒体服务器发送第一暂停命令,并在收到所述流媒体服务器针对所述第一暂停命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。The control device sends a first pause command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first pause command, so that the streaming media server Switching to the suspend transmission state directly without notifying the player.
可选地,所述方法还包括:Optionally, the method further includes:
所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,所述控制装置向所述流媒体服务器发送第一恢复命令,并在收到所述流媒体服务器针对所述第一恢复命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。After the controlling device performs the flow control step by separating the states of the player and the streaming server, when the second current value of the set top box cache usage rate is less than the overflow threshold, the control The device sends a first recovery command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first recovery command, so that the streaming media server does not notify In the case of the player, it is directly switched to the transmission state.
可选地,在所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤之后,且在所述控制装置向所述流媒体服务器发送第 一恢复命令的步骤之前,所述方法还包括:Optionally, after the step of controlling, by the control device, the flow control by separating the state of the player and the streaming media server, and sending, by the control device, the streaming media server Before the step of restoring the command, the method further includes:
当所述控制装置收到用户的第二暂停命令时,所述控制装置向所述机顶盒的播放器转发所述第二暂停命令,且通知所述机顶盒的播放器不向所述流媒体服务器转发所述第二暂停命令,使得所述播放器在不向所述流媒体服务器转发所述第二暂停命令的情况下直接切换到暂停播放状态;When the control device receives the 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 to the streaming server The second pause command causes the player to directly switch to the pause play state without forwarding the second pause command to the streaming server;
当所述控制装置收到用户的第二恢复命令时,并且所述第二恢复命令的上一用户命令为暂停命令时,所述控制装置向所述机顶盒的播放器发送所述第二恢复命令,且通知所述播放器不向所述流媒体服务器转发所述第二恢复命令,使得所述播放器在不向所述流媒体服务器转发所述第二恢复命令的情况下直接切换到播放状态;When the control device receives the second resume command of the user, and the last user command of the second resume command is a pause command, the control device sends the second resume command to the player of the set top box. Notifying the player that the second recovery command is not forwarded to the streaming media server, so that the player directly switches to the playing state without forwarding the second recovery command to the streaming media server. ;
当所述控制装置收到用户的快进或快退命令时,则将所述快进或快退命令发送给所述流媒体服务器和所述播放器,使得所述流媒体服务器和所述播放器均切换为快进或快退状态。And when the control device receives the fast forward or rewind command of the user, sending the fast forward or fast reverse command to the streaming media server and the player, so that the streaming media server and the playing Both switches to fast forward or rewind status.
可选地,所述控制装置判断所述第一当前值是否大于或者等于上溢阈值的步骤之后,所述方法还包括:Optionally, after the step of determining, by the control device, that the first current value is greater than or equal to an overflow threshold, the method further includes:
当所述第一当前值小于所述上溢阈值且大于下溢阈值时,所述控制装置向所述流媒体服务器发送请求快发或者慢发命令;所述上溢阈值大于所述下溢阈值;When the first current value is less than the overflow threshold and greater than the underflow threshold, the control device sends a request for fast or slow command to the streaming server; the overflow threshold is greater than the underflow threshold ;
当所述第一当前值小于所述下溢阈值时,所述控制装置向流媒体服务器发送请求快发命令。When the first current value is less than the underflow threshold, the control device sends a request fast command to the streaming server.
一种可变码率媒体流的流量控制装置,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,其中,所述装置包括:A flow rate control device for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, wherein the device comprises:
监测单元,监测机顶盒缓存使用率的第一当前值;a monitoring unit that monitors a first current value of the set top box cache usage rate;
判断单元,判断所述第一当前值是否大于或等于上溢阈值;a determining unit, determining whether the first current value is greater than or equal to an overflow threshold;
控制单元,当所述第一当前值大于或等于所述上溢阈值时,通过分离所述播放器和所述流媒体服务器的状态进行流量控制,直到所述机顶盒缓存使用率的第二当前值小于所述上溢阈值。a control unit, when the first current value is greater than or equal to the overflow threshold, performing flow control by separating states of the player and the streaming server until a second current value of the set top box cache usage rate Less than the overflow threshold.
可选地,所述控制单元包括:Optionally, the control unit includes:
发送子单元,向所述流媒体服务器发送第一暂停命令; Sending a subunit, sending a first pause command to the streaming server;
接收子单元,接收所述流媒体服务器针对所述第一暂停命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。Receiving a subunit, receiving a response message of the streaming media server for the first pause command, and not forwarding to the player, so that the streaming media server directly switches to a pause without notifying the player send status.
可选地,所述装置还包括:Optionally, the device further includes:
第一发送单元,进行所述流量控制后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,向所述流媒体服务器发送第一恢复命令;After the flow control is performed, the first sending unit sends a first resume command to the streaming media server when the second current value of the set top box cache usage rate is less than the overflow threshold;
接收单元,接收到所述流媒体服务器针对所述第一恢复命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。Receiving, by the receiving unit, the response message of the streaming media server for the first recovery command, and not forwarding to the player, so that the streaming media server directly switches to sending without notifying the player. status.
可选地,所述装置还包括:Optionally, the device further includes:
第二发送单元,当所述第一当前值小于所述上溢阈值且大于下溢阈值时,向所述流媒体服务器发送请求快发或者慢发命令;所述上溢阈值大于所述下溢阈值;a second sending unit, when the first current value is smaller than the overflow threshold and greater than an underflow threshold, sending a request for a fast or slow command to the streaming server; the overflow threshold is greater than the underflow Threshold value
第三发送单元,当所述第一当前值小于所述下溢阈值时,向流媒体服务器发送请求快发命令。The third sending unit sends a request fast sending command to the streaming server when the first current value is less than the underflow threshold.
一种可变码率媒体流的流量控制系统,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,包括:机顶盒、流媒体服务器以及上述流量控制装置。A flow rate control system for variable rate media streams is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, including: a set top box, a streaming media server, and the above flow control device.
本发明实施例还提供一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上面所述的方法。Embodiments of the present invention also provide a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method described above.
本发明实施例还提供一种载有所述计算机程序的计算机可读存储介质。Embodiments of the present invention also provide a computer readable storage medium carrying the computer program.
本发明实施例中,利用播放器和流媒体状态分离,实现流量控制,无需关心传输码率的变化情况来频繁的动态调整快慢发,实现简单,解决了VBR码流码率变化导致传统流量控制失效的问题。In the embodiment of the present invention, the player and the streaming media state are separated to implement flow control, and the dynamic rate adjustment of the transmission rate is not required, and the dynamic adjustment is fast and slow, and the implementation is simple, and the VBR code stream rate change is caused to cause the traditional flow control. The problem of failure.
附图概述BRIEF abstract
图1为本发明实施例的可变码率媒体流的流量控制方法的流程示意图; 1 is a schematic flowchart of a flow control method of a variable rate media stream according to an embodiment of the present invention;
图2是本发明实施例的可变码率媒体流的流量控制装置的连接示意图;2 is a schematic diagram showing the connection of a flow rate control device for a variable rate media stream according to an embodiment of the present invention;
图3是本发明实施例的可变码率媒体流的流量控制系统的连接示意图;3 is a schematic diagram of connection of a flow rate control system of a variable rate media stream according to an embodiment of the present invention;
图4是本发明实施例的可变码率媒体流的流量控制方法的应用场景的系统架构示意图;4 is a schematic diagram of a system architecture of an application scenario of a flow rate control method for a variable rate media stream according to an embodiment of the present invention;
图5本发明实施例的应用场景中缓存空间的划分示意图;FIG. 5 is a schematic diagram of partitioning of a cache space in an application scenario according to an embodiment of the present invention;
图6是本发明实施例的应用场景中流量控制方法的示意图;FIG. 6 is a schematic diagram of a flow control method in an application scenario according to an embodiment of the present invention; FIG.
图7是本发明实施例的应用场景中播放器与流媒体的状态分离与恢复同步的流程示意图。FIG. 7 is a schematic flowchart of state separation and recovery synchronization of a player and a streaming media in an application scenario according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下面将结合附图对本发明的具体实施例进行详细描述,在不冲突的情况下,本发明实施例和实施例中的特征可以相互任意组合。The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and the features of the embodiments and the embodiments of the present invention can be arbitrarily combined with each other without conflict.
如图1所示,为本发明实施例提供一种可变码率媒体流的流量控制方法,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,所述方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a flow control method for a variable rate media stream, which is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, where the method includes :
步骤11,控制装置监测机顶盒缓存使用率的第一当前值; Step 11, the control device monitors a first current value of the set top box cache usage rate;
步骤12,所述控制装置判断所述第一当前值是否大于或等于上溢阈值;上溢阈值可以根据情况预先设定。Step 12: The control device determines whether the first current value is greater than or equal to an overflow threshold; the overflow threshold may be preset according to a situation.
步骤13,当所述第一当前值大于或等于所述上溢阈值时,所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制,直到所述机顶盒缓存使用率的第二当前值小于所述上溢阈值。也就是说,该步骤中,实时监测机顶盒缓存使用率的值,直到缓存使用率的实时值小于所述上溢阈值,则停止流量控制。所述控制装置进行流量控制的步骤包括:所述控制装置向所述流媒体服务器发送第一暂停命令,并在收到所述流媒体服务器针对所述第一暂停命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。也就是说,所述流媒体服务器对所述响应消息进行了截留。Step 13: When the first current value is greater than or equal to the overflow threshold, the control device performs flow control by separating states of the player and the streaming media server until the set top box cache usage rate The second current value is less than the overflow threshold. That is to say, in this step, the value of the set top box cache usage rate is monitored in real time, and the flow control is stopped until the real time value of the cache usage rate is less than the overflow threshold. The step of controlling the flow control by the control device includes: the control device sending a first pause command to the streaming media server, and not forwarding the response message to the first pause command after receiving the streaming media server The player causes the streaming server to directly switch to a suspended transmission state without notifying the player. That is, the streaming server intercepts the response message.
步骤14,当所述第一当前值小于所述上溢阈值且大于下溢阈值时,所述 控制装置向所述流媒体服务器发送请求快发或者慢发命令;所述上溢阈值大于所述下溢阈值;其中,发送请求快发或者慢发命令可根据实际使用场景做调整,例如,为尽可能提高缓存使用率,只要所述第一当前值未达到上溢阈值都请求快发,而所述第一当前值接近上溢阈值时请求慢发。控制装置对所述流媒体服务器的响应消息进行了截留,使得响应消息不影响播放器的状态,其中快发指发送速率高于片源编码码率。Step 14: When the first current value is less than the overflow threshold and greater than a underflow threshold, The control device sends a request to the streaming media server to request a quick or slow command; the overflow threshold is greater than the underflow threshold; wherein the sending request fast or slow command can be adjusted according to the actual usage scenario, for example, As much as possible, the cache usage rate is increased, and a fast transmission is requested as long as the first current value does not reach the overflow threshold, and a slow transmission is requested when the first current value approaches the overflow threshold. The control device intercepts the response message of the streaming media server, so that the response message does not affect the state of the player, wherein the fast transmission means that the transmission rate is higher than the source code encoding rate.
步骤15,当所述第一当前值小于所述下溢阈值时,所述控制装置向流媒体服务器发送请求快发命令。Step 15: When the first current value is less than the underflow threshold, the control device sends a request fast command to the streaming server.
所述方法还包括:The method further includes:
步骤16,所述进行流量控制的步骤后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,所述控制装置向所述流媒体服务器发送第一恢复命令,并在收到所述流媒体服务器针对所述第一恢复命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。也就是说,控制装置对所述流媒体服务器的响应消息进行了截留,使得响应消息不影响播放器的状态。 Step 16. After the step of performing flow control, when the second current value of the set top box cache usage rate is less than the overflow threshold, the control device sends a first resume command to the streaming media server. And after receiving the response message of the streaming media server for the first recovery command, the device does not forward the message to the player, so that the streaming media server directly switches to the sending state without notifying the player. That is to say, the control device intercepts the response message of the streaming media server, so that the response message does not affect the state of the player.
在步骤13之后,步骤16之前,所述方法还包括:After step 13, before step 16, the method further includes:
步骤13A,当所述控制装置收到用户的第二暂停命令时,所述控制装置向所述机顶盒的播放器转发所述第二暂停命令,且通知所述机顶盒的播放器不向所述流媒体服务器转发所述第二暂停命令,使得所述播放器在不向所述流媒体服务器转发所述第二暂停命令的情况下直接切换到暂停播放状态;Step 13A, when the control device receives the 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 the stream The media server forwards the second pause command, so that the player directly switches to the suspended play state without forwarding the second pause command to the streaming server;
步骤13b,当所述控制装置收到用户的第二恢复命令时,并且所述第二恢复命令的上一用户命令为暂停命令时,所述控制装置向所述机顶盒的播放器发送所述第二恢复命令,且通知所述播放器不向所述流媒体服务器转发所述第二恢复命令,使得所述播放器在不向所述流媒体服务器转发所述第二恢复命令的情况下直接切换到播放状态;Step 13b, when the control device receives the second resume command of the user, and the previous user command of the second resume command is a pause command, the control device sends the first message to the player of the set top box. Recovering the command, and notifying the player that the second recovery command is not forwarded to the streaming media server, so that the player directly switches without forwarding the second recovery command to the streaming media server. To the playback state;
步骤13c,当所述控制装置收到用户的快进或快退命令时,则将所述快进或快退命令发送给所述流媒体服务器和所述播放器,使得所述流媒体服务器和所述播放器均切换为快进或快退状态。其中,所述控制装置可以通过机顶盒给所述流媒体服务器发送快进或快退命令,也可以直接给所述流媒体服务 器发送快进或快退命令。Step 13c, when the control device receives the fast forward or fast reverse command of the user, sending the fast forward or fast reverse command to the streaming media server and the player, so that the streaming media server and The players are all switched to a fast forward or fast reverse state. The control device may send a fast forward or fast reverse command to the streaming media server through the set top box, or directly serve the streaming media service. The device sends a fast forward or rewind command.
上述场景描述了进行流量控制之后,取消流量控制处理之前,收到用户的指令的处理流程。The above scenario describes the processing flow of receiving the user's instruction before canceling the flow control process after performing flow control.
如图2所示,为本发明实施例所述的一种可变码率媒体流的流量控制装置,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,所述装置包括:As shown in FIG. 2, a flow rate control device for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, The device includes:
监测单元21,监测机顶盒缓存使用率的第一当前值;The monitoring unit 21 monitors a first current value of the set top box cache usage rate;
判断单元22,判断所述第一当前值是否大于或等于上溢阈值;The determining unit 22 determines whether the first current value is greater than or equal to an overflow threshold;
控制单元23,当所述第一当前值大于或等于所述上溢阈值时,通过分离所述播放器和所述流媒体服务器的状态进行流量控制,直到所述机顶盒缓存使用率的第二当前值小于所述上溢阈值。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 of the player and the streaming server until the second current cache of the set top box is used. The value is less than the overflow threshold.
所述控制单元23包括:The control unit 23 includes:
发送子单元,向所述流媒体服务器发送第一暂停命令;Sending a subunit, sending a first pause command to the streaming server;
接收子单元,接收所述流媒体服务器针对所述第一暂停命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。Receiving a subunit, receiving a response message of the streaming media server for the first pause command, and not forwarding to the player, so that the streaming media server directly switches to a pause without notifying the player send status.
所述的装置,还包括:The device further includes:
第一发送单元24,进行所述流量控制后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,向所述流媒体服务器发送第一恢复命令;After the flow control is performed, the first sending unit 24 sends a first resume command to the streaming media server when the second current value of the set top box cache usage rate is less than the overflow threshold.
接收单元25,接收到所述流媒体服务器针对所述第一恢复命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。The receiving unit 25 receives the response message of the streaming media server for the first recovery command, and does not forward the message to the player, so that the streaming media server directly switches to the player without notifying the player. send status.
所述的装置,还包括:The device further includes:
第二发送单元26,当所述第一当前值小于所述上溢阈值且大于下溢阈值时,向所述流媒体服务器发送请求快发或者慢发命令;所述上溢阈值大于所述下溢阈值;The second sending unit 26, when the first current value is smaller than the overflow threshold and greater than the underflow threshold, sends a request for fast or slow command to the streaming server; the overflow threshold is greater than the lower Overflow threshold
第三发送单元27,当所述第一当前值小于所述下溢阈值时,向流媒体服务器发送请求快发命令。 The third sending unit 27 sends a request fast command to the streaming server when the first current value is less than the underflow threshold.
如图3所示,为本发明所述的一种可变码率媒体流的流量控制系统,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,包括:机顶盒31、流媒体服务器32以及控制装置33;As shown in FIG. 3, a flow rate control system for a variable rate media stream according to the present invention is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, including: a set top box 31. , streaming server 32 and control device 33;
所述控制装置33,监测机顶盒31的缓存使用率的第一当前值;判断所述第一当前值是否大于或等于上溢阈值;当所述第一当前值大于或等于所述上溢阈值时,通过分离所述播放器和所述流媒体服务器的状态进行流量控制,直到所述机顶盒缓存使用率的第二当前值小于所述上溢阈值。The control device 33 monitors a first current value of the cache usage rate of the set top box 31; determines whether the first current value is greater than or equal to an overflow threshold; and when the first current value is greater than or equal to the overflow threshold Flow control is performed by separating the states of the player and the streaming server until the second current value of the set top box cache usage is less than the overflow threshold.
以下描述本发明实施例的第一应用场景。The first application scenario of the embodiment of the present invention is described below.
本应用场景为一种改进IPTV网络互动电视传输VBR可变码率媒体流的传输流量控制方法。This application scenario is a transmission flow control method for improving an IPTV network interactive television transmission VBR variable rate media stream.
装置架构:本发明实施例可以应用在IPTV系统(参见图4)中的机顶盒侧,仅需要在IPTV系统中的机顶盒侧做修改,不需要修改现有IPTV架构,对系统中的其它装置无影响。IPTV播放过程中使用RTSP(实时流传输协议)与流媒体服务器交互进行播放控制。Device architecture: The embodiment of the present invention can be applied to the set-top box side in the IPTV system (see FIG. 4), and only needs to be modified on the set-top box side in the IPTV system, and does not need to modify the existing IPTV architecture, and has no effect on other devices in the system. . In the IPTV playback process, RTSP (Real Time Streaming Protocol) is used to interact with the streaming server for playback control.
包括以下步骤:Includes the following steps:
步骤1,将机顶盒缓存使用率使用两个阈值(下溢阈值、上溢阈值)划分为三个区间:下溢区间、正常区间、上溢区间。Step 1. The set-top box cache usage rate is divided into three sections using two thresholds (underflow threshold and overflow threshold): an underflow interval, a normal interval, and an overflow interval.
其中,下溢阈值是指:缓存使用率低于该值时均归于下溢区间;上溢阈值是指:缓存使用率高于该值时均归于上溢区间;缓存使用率在上溢阈值和下溢阈值之间均归于正常区间。The underflow threshold means that when the cache usage rate is lower than the value, the underflow interval is; the overflow threshold is: when the cache usage rate is higher than the value, it belongs to the overflow interval; the cache usage rate is at the overflow threshold and The underflow threshold is attributed to the normal interval.
步骤2,对处于不同区间的缓存使用率进行处理。在处理流程上一般有下面四种情况:In step 2, the cache usage rate in different intervals is processed. There are generally four situations in the process:
(1)处于下溢区间时,机顶盒通过流量控制方式请求快发(指发流速度大于片源编码码率);(1) When the underflow interval is in the underflow interval, the set-top box requests fast transmission through the flow control mode (refers to the flow rate is greater than the source code rate);
(2)处于正常区间时,机顶盒根据需要通过流量控制方式请求快发或者恢复正常发流、或者慢发;(2) When the device is in the normal interval, the set-top box requests fast transmission or resumes normal flow or slow transmission through flow control mode as needed;
(3)处于上溢区间时,机顶盒通过RTSP协议发出PAUSE暂停命令,使流媒体服务器暂停发流。(3) When the overflow box is in the overflow interval, the set-top box issues a PAUSE pause command through the RTSP protocol, so that the streaming media server pauses the flow.
(4)处于上溢区间并在发出PAUSE命令后,等待缓存使用率恢复到正 常区间或者下溢区间,随后通过RTSP协议发出PLAY命令。(4) In the overflow interval and wait for the cache usage to return to positive after issuing the PAUSE command The normal interval or the underflow interval, and then the PLAY command is issued through the RTSP protocol.
步骤3,允许播放器和流媒体状态不同步。若机顶盒缓存使用率处于上溢区间,在机顶盒发出RTSP PAUSE命令后,分离流媒体状态和播放器状态,即:播放器保持播放状态不变,流媒体处于暂停状态。Step 3, allowing the player and streaming status to be out of sync. If the set-top box cache usage rate is in the overflow interval, after the RTP PAUSE command is issued by the set-top box, the streaming media state and the player state are separated, that is, the player keeps playing state, and the streaming media is in a pause state.
步骤4,在缓存使用率从上溢区间恢复到正常或者下溢区间后,播放器状态和流媒体状态恢复同步。Step 4: After the cache usage is restored from the overflow interval to the normal or underflow interval, the player state and the streaming media state are restored.
至此流量控制完成。At this point, flow control is complete.
以下描述本发明实施例的第二应用场景。A second application scenario of the embodiment of the present invention is described below.
首先,结合图5,将机顶盒盒缓存使用率划分为三个区间,供图6的流程判断使用。First, in conjunction with FIG. 5, the set-top box cache usage rate is divided into three sections for use in the process of FIG.
结合图6,具体步骤如下:Combined with Figure 6, the specific steps are as follows:
步骤601,机顶盒开始播放单播节目; Step 601, the set top box starts to play a unicast program;
步骤602,请求服务器快发;Step 602, requesting the server to send a fast message;
步骤603,检测机顶盒当前缓存使用率(以下缓存判断都为判断机顶盒缓存使用率); Step 603, detecting the current cache usage rate of the set top box (the following cache judgments are all determining the set top box cache usage rate);
步骤604,判断缓存使用率是否处于下溢区间,是,进入步骤605,否,进入步骤608;Step 604, it is determined whether the cache usage rate is in the underflow interval, yes, proceeds to step 605, no, proceeds to step 608;
步骤605,判断是否在步骤609向流媒体服务器发出RTSP PAUSE命令的步骤之后,是,进入步骤607,否,进入步骤606;Step 605, it is determined whether the step of issuing an RTSP PAUSE command to the streaming server in step 609, yes, proceeds to step 607, and proceeds to step 606;
步骤606,请求服务器快发码流,返回步骤603;Step 606, requesting the server to quickly send the code stream, returning to step 603;
步骤607,通过RTSP协议向流媒体服务器发出PLAY命令。请求服务器快发码流,播放器与流媒体状态恢复同步,返回步骤603;Step 607, issuing a PLAY command to the streaming server through the RTSP protocol. Requesting the server to send the code stream, the player is synchronized with the streaming media state recovery, and returning to step 603;
步骤608,判断缓存使用率是否在正常区间,是,根据需求无动作或者进入步骤606;否,进入步骤609。In step 608, it is determined whether the cache usage rate is in the normal interval. If yes, there is no action according to the requirement or the process proceeds to step 606; otherwise, the process proceeds to step 609.
步骤609,判断缓存使用率是否在上溢区间,是,通过RTSP协议向流媒体服务器发出PAUSE命令,进入步骤610;Step 609, determining whether the cache usage rate is in the overflow interval, is, issuing a PAUSE command to the streaming server through the RTSP protocol, proceeds to step 610;
步骤610,分离播放器与流媒体状态,使播放器继续保持播放状态,流媒体处于暂停状态,返回步骤603。Step 610, separating the player and the streaming media state, so that the player continues to play the state, and the streaming media is in the suspended state, and returns to step 603.
图7为播放器与流媒体的状态分离与恢复的示意图,包括以下步骤: FIG. 7 is a schematic diagram of state separation and recovery of a player and a streaming media, including the following steps:
进入流量控制,PAUSE暂停后便开始分离播放器与流媒体状态,具体需要拦截流媒体的PAUSE响应,使播放器无法感知,这时播放器处于播放状态,流媒体处于暂停状态,两者状态不同步。After entering the flow control, PAUSE starts to separate the player and the streaming media state. Specifically, the PAUSE response of the streaming media needs to be intercepted, so that the player cannot be perceived. At this time, the player is in the playing state, and the streaming media is in the suspended state. Synchronize.
播放器与流媒体状态失步时,如果机顶盒收到用户的播放控制命令需要区分处理:(1)如果是PAUSE命令,则拦截使流媒体无法感知,同时向播放器输出PAUSE,直接进入暂停。(2)如果用户在PAUSE之后发出RESUME命令,同样拦截使流媒体无法感知,并向播放器输出RESUME直接恢复播放。(3)如果是其它用户命令,如快进、快退等,则将其发给流媒体,播放器与流媒体状态恢复同步。When the player and the streaming media state are out of step, if the set-top box receives the user's playback control command, it needs to be differentiated: (1) If it is a PAUSE command, the interception makes the streaming media unperceive, and at the same time outputs PAUSE to the player, and directly enters the pause. (2) If the user issues a RESUME command after PAUSE, the same interception makes the streaming media undetectable, and outputs RESUME to the player to resume playback directly. (3) If it is another user command, such as fast forward, fast rewind, etc., it is sent to the streaming media, and the player is synchronized with the streaming media state.
播放器与流媒体状态失步时,如果需要取消流量控制暂停,则向流媒体发送PLAY命令,同时拦截响应使播放器无法感知,这时流媒体恢复播放状态,与播放器恢复同步。When the player and the streaming media state are out of synchronization, if the flow control pause is to be canceled, the PLAY command is sent to the streaming media, and the interception response is made to prevent the player from being perceived. At this time, the streaming media resumes playing state and resumes synchronization with the player.
至此,在播放结束前的整个播放过程中,完成流量控制。At this point, the flow control is completed during the entire playback before the end of playback.
本发明实施例所述的IPTV系统终端对基于UDP协议的媒体流的流量控制方法,利用RTSP命令和播放器、流媒体状态分离,实现了流量控制,可以应对各种导致机顶盒缓存溢出的极端情况,不仅限于传输VBR码流。此外,无需关心传输码率的变化情况来频繁的动态调整快慢发,实现也简单,具有很好的应用价值。本发明实施例的改进IPTV传输VBR码流的流量控制方法,解决了VBR码流码率变化导致传统流量控制失效的问题。The IPTV system terminal according to the embodiment of the present invention controls the flow of the media stream based on the UDP protocol, and uses the RTSP command to separate the player and the streaming media state to implement flow control, and can cope with various extreme situations that cause the set top box to overflow. Not limited to transmitting VBR code streams. In addition, there is no need to care about the change of the transmission code rate to frequently adjust the fast and slow dynamics, and the implementation is simple, and has good application value. The flow control method for improving the IPTV transmission VBR code stream in the embodiment of the present invention solves the problem that the traditional flow control fails due to the VBR code stream rate change.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Variations or substitutions are readily conceivable within the scope of the present invention by those skilled in the art and are within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
本发明实施例中,利用播放器和流媒体状态分离,实现流量控制,无需关心传输码率的变化情况来频繁的动态调整快慢发,实现简单,解决了VBR码流码率变化导致传统流量控制失效的问题。 In the embodiment of the present invention, the player and the streaming media state are separated to implement flow control, and the dynamic rate adjustment of the transmission rate is not required, and the dynamic adjustment is fast and slow, and the implementation is simple, and the VBR code stream rate change is caused to cause the traditional flow control. The problem of failure.

Claims (12)

  1. 一种可变码率媒体流的流量控制方法,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,所述方法包括:A flow rate control method for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, the method comprising:
    控制装置监测机顶盒缓存使用率的第一当前值;The control device monitors a first current value of the set top box cache usage rate;
    所述控制装置判断所述第一当前值是否大于或等于上溢阈值;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 the states of the player and the streaming media server until the second current cache of the set top box cache usage rate The value is less than the overflow threshold.
  2. 根据权利要求1所述的方法,其中,所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤包括:The method according to claim 1, wherein said controlling means performs flow control by separating states of said player and said streaming server comprises:
    所述控制装置向所述流媒体服务器发送第一暂停命令,并在收到所述流媒体服务器针对所述第一暂停命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。The control device sends a first pause command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first pause command, so that the streaming media server Switching to the suspend transmission state directly without notifying the player.
  3. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,所述控制装置向所述流媒体服务器发送第一恢复命令,并在收到所述流媒体服务器针对所述第一恢复命令的响应消息后不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。After the controlling device performs the flow control step by separating the states of the player and the streaming server, when the second current value of the set top box cache usage rate is less than the overflow threshold, the control The device sends a first recovery command to the streaming media server, and does not forward the response message to the player after receiving the response message of the streaming media server for the first recovery command, so that the streaming media server does not notify In the case of the player, it is directly switched to the transmission state.
  4. 根据权利要求2所述的方法,其中,在所述控制装置通过分离所述播放器和所述流媒体服务器的状态进行流量控制的步骤之后,且在所述控制装置向所述流媒体服务器发送第一恢复命令的步骤之前,所述方法还包括:The method according to claim 2, wherein after said controlling means performs flow control by separating states of said player and said streaming server, and said control means transmits to said streaming server Before the step of recovering the command, the method further includes:
    当所述控制装置收到用户的第二暂停命令时,所述控制装置向所述机顶盒的播放器转发所述第二暂停命令,且通知所述机顶盒的播放器不向所述流媒体服务器转发所述第二暂停命令,使得所述播放器在不向所述流媒体服务器转发所述第二暂停命令的情况下直接切换到暂停播放状态;When the control device receives the 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 to the streaming server The second pause command causes the player to directly switch to the pause play state without forwarding the second pause command to the streaming server;
    当所述控制装置收到用户的第二恢复命令时,并且所述第二恢复命令的上一用户命令为暂停命令时,所述控制装置向所述机顶盒的播放器发送所述 第二恢复命令,且通知所述播放器不向所述流媒体服务器转发所述第二恢复命令,使得所述播放器在不向所述流媒体服务器转发所述第二恢复命令的情况下直接切换到播放状态;When the control device receives the second resume command of the user, and the previous user command of the second resume command is a pause command, the control device sends the message to the player of the set top box. a second recovery command, and notifying the player that the second recovery command is not forwarded to the streaming server, so that the player directly directly forwards the second recovery command to the streaming server Switch to the playback state;
    当所述控制装置收到用户的快进或快退命令时,则将所述快进或快退命令发送给所述流媒体服务器和所述播放器,使得所述流媒体服务器和所述播放器均切换为快进或快退状态。And when the control device receives the fast forward or rewind command of the user, sending the fast forward or fast reverse command to the streaming media server and the player, so that the streaming media server and the playing Both switches to fast forward or rewind status.
  5. 根据权利要求1所述的方法,其中,所述控制装置判断所述第一当前值是否大于或者等于上溢阈值的步骤之后,所述方法还包括:The method of claim 1, wherein the method further comprises: after the step of determining, by the control device, that the first current value is greater than or equal to an overflow threshold, the method further comprising:
    当所述第一当前值小于所述上溢阈值且大于下溢阈值时,所述控制装置向所述流媒体服务器发送请求快发或者慢发命令,所述上溢阈值大于所述下溢阈值;When the first current value is less than the overflow threshold and greater than the underflow threshold, the control device sends a request for fast or slow command to the streaming server, where the overflow threshold is greater than the underflow threshold ;
    当所述第一当前值小于所述下溢阈值时,所述控制装置向流媒体服务器发送请求快发命令;When the first current value is less than the underflow threshold, the control device sends a request fast command to the streaming server;
    其中,快发是指发送速率高于片源编码码率,慢发是指发送速率低于片源编码码率。Among them, fast sending means that the sending rate is higher than the source coded code rate, and slow sending means that the sending rate is lower than the source coded code rate.
  6. 一种可变码率媒体流的流量控制装置,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,所述装置包括:A flow rate control device for a variable rate media stream is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, the device comprising:
    监测单元,其设置为监测机顶盒缓存使用率的第一当前值;a monitoring unit configured to monitor a first current value of the set top box cache usage rate;
    判断单元,其设置为判断所述第一当前值是否大于或等于上溢阈值;以及a determining unit, configured to determine whether the first current value is greater than or equal to an overflow threshold;
    控制单元,其设置为当所述第一当前值大于或等于所述上溢阈值时,通过分离所述播放器和所述流媒体服务器的状态进行流量控制,直到所述机顶盒缓存使用率的第二当前值小于所述上溢阈值。a control unit, configured to perform flow control by separating states of the player and the streaming media server when the first current value is greater than or equal to the overflow threshold, until the set top box cache usage rate is The two current values are less than the overflow threshold.
  7. 根据权利要求6所述的装置,其中,所述控制单元包括:The apparatus of claim 6 wherein said control unit comprises:
    发送子单元,其设置为向所述流媒体服务器发送第一暂停命令;以及a sending subunit configured to send a first pause command to the streaming server;
    接收子单元,其设置为接收所述流媒体服务器针对所述第一暂停命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到暂停发送状态。a receiving subunit, configured to receive a response message of the streaming media server for the first pause command, and not forwarding to the player, so that the streaming media server directly directly without notifying the player Switch to the paused transmission state.
  8. 根据权利要求6所述的装置,还包括: The apparatus of claim 6 further comprising:
    第一发送单元,其设置为进行所述流量控制后,当所述机顶盒缓存使用率的第二当前值恢复到小于所述上溢阈值时,向所述流媒体服务器发送第一恢复命令;以及a first sending unit, configured to send a first resume command to the streaming server when the second current value of the set top box cache usage rate is less than the overflow threshold after the flow control is performed;
    接收单元,其设置为接收到所述流媒体服务器针对所述第一恢复命令的响应消息,且不转发给所述播放器,使得所述流媒体服务器在不通知所述播放器的情况下直接切换到发送状态。a receiving unit, configured to receive a response message of the streaming media server for the first recovery command, and not forwarding the message to the player, so that the streaming media server directly directly without notifying the player Switch to the sending state.
  9. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    第二发送单元,其设置为当所述第一当前值小于所述上溢阈值且大于下溢阈值时,向所述流媒体服务器发送请求快发或者慢发命令;所述上溢阈值大于所述下溢阈值;以及a second sending unit, configured to send a request for a fast or slow command to the streaming server when the first current value is less than the overflow threshold and greater than a flood threshold; the overflow threshold is greater than Underflow threshold; and
    第三发送单元,其设置为当所述第一当前值小于所述下溢阈值时,向流媒体服务器发送请求快发命令。And a third sending unit, configured to send a request fast command to the streaming server when the first current value is less than the underflow threshold.
  10. 一种可变码率媒体流的流量控制系统,应用于机顶盒的播放器播放来自流媒体服务器的可变码率媒体流的场景,其中,包括:机顶盒、流媒体服务器以及如权利要求6-9任一项所述的控制装置。A flow rate control system for variable rate media streams, which is applied to a scenario in which a player of a set top box plays a variable rate media stream from a streaming media server, including: a set top box, a streaming media server, and claims 6-9 A control device as claimed in any of the preceding claims.
  11. 一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行权利要求1-5任一项所述的方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of claims 1-5.
  12. 一种载有权利要求11所述计算机程序的计算机可读存储介质。 A computer readable storage medium carrying the computer program of claim 11.
PCT/CN2014/094425 2014-07-10 2014-12-19 Flow control method, apparatus and system for variable bitrate media stream WO2015154518A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2015154518A1 true WO2015154518A1 (en) 2015-10-15

Family

ID=54287254

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094425 WO2015154518A1 (en) 2014-07-10 2014-12-19 Flow control method, apparatus and system for variable bitrate 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102461248A (en) * 2009-06-12 2012-05-16 Lg电子株式会社 Apparatus and method for flow control in wireless communication system
CN102594927A (en) * 2012-04-05 2012-07-18 高汉中 Neural-network-based cloud server structure

Family Cites Families (5)

* 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
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN102461248A (en) * 2009-06-12 2012-05-16 Lg电子株式会社 Apparatus and method for flow control in wireless communication system
CN102594927A (en) * 2012-04-05 2012-07-18 高汉中 Neural-network-based cloud server structure

Also Published As

Publication number Publication date
CN105245946B (en) 2020-08-28
CN105245946A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
JP5215604B2 (en) Client device, communication system, and data processing method
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
US10194181B2 (en) Fast channel change in a multicast adaptive bitrate (MABR) streaming network using multicast repeat segment bursts in a dedicated bandwidth pipe
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
US9621682B2 (en) Reduced latency media distribution system
US9788053B2 (en) Fast channel change in a multicast adaptive bitrate (MABR) streaming network using HTTP download segment recovery in a dedicated bandwidth pipe
JP5421346B2 (en) High-speed transmission method and apparatus for unicast stream in high-speed channel change
WO2017096935A1 (en) Fast channel switching method and server, and iptv system
KR20140138763A (en) Method of buffer management for synchronization of correlated media presentations
US20190045230A1 (en) Distributed scalable encoder resources for live streams
CN102547449A (en) Method, set-top box and media server of control terminal buffer media stream data
WO2014154102A1 (en) Method, apparatus and system for over the top (ott) direct broadcasting
JP2008029006A (en) Client device, communication system and data processing method
WO2015154518A1 (en) Flow control method, apparatus and system for variable bitrate media stream
US20130136190A1 (en) Enhanced group of pictures (gop) alignment in media stream variants
US20130064287A1 (en) Management of resources for live stream variant processing
JP2014143496A (en) Transmitter, control method and program of transmitter
US20130135525A1 (en) Fragment boundary independent closed captioning
KR101845131B1 (en) Buffer Management Method for Lossless Video Packet Transmission on IEEE1722 Network
JP2009212903A (en) Server apparatus and transport stream transmission method
KR20190054863A (en) Method and system for reducing battery consumption in transmission based on mmtp

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14888836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14888836

Country of ref document: EP

Kind code of ref document: A1