WO2014154102A1 - Method, apparatus and system for over the top (ott) direct broadcasting - Google Patents

Method, apparatus and system for over the top (ott) direct broadcasting Download PDF

Info

Publication number
WO2014154102A1
WO2014154102A1 PCT/CN2014/073651 CN2014073651W WO2014154102A1 WO 2014154102 A1 WO2014154102 A1 WO 2014154102A1 CN 2014073651 W CN2014073651 W CN 2014073651W WO 2014154102 A1 WO2014154102 A1 WO 2014154102A1
Authority
WO
WIPO (PCT)
Prior art keywords
playback
live broadcast
rate
fast
amplitude
Prior art date
Application number
PCT/CN2014/073651
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 WO2014154102A1 publication Critical patent/WO2014154102A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device

Definitions

  • the present invention relates to the field of the Internet, and in particular, to a method, device and system for over-the-top (Over The Top). Background technique
  • an existing method deploys a monitoring module on the terminal device to monitor the user cache status in real time.
  • the monitoring module controls the playback. Skip part of the data in the cache to continue 0TT live or control the player to clear the cached data and re-acquire the latest video data to continue the 0TT live broadcast to eliminate the lag of the 0TT live content.
  • the embodiment of the invention provides a method, a device and a system for 0TT live broadcast, which can enhance the continuity of the 0TT live broadcast, thereby improving the user experience.
  • the embodiment of the invention adopts the following technical solutions:
  • a method for live broadcast of 0TT including:
  • the first fast play amplitude is determined according to the network transmission rate and the play rate, so as to adjust the play rate according to the first fast play amplitude, and according to the adjusted play
  • the rate is subjected to the 0TT live broadcast.
  • the detecting that the 0TT live broadcast has a playback lag includes:
  • the first duration threshold is described and the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
  • determining the first fast play amplitude, in order to adjust the play rate according to the first fast play amplitude, and performing the 0TT live broadcast according to the adjusted play rate further includes:
  • the playing state of the 0TT live broadcast it is determined that the 0TT broadcast is continued at the preset playing rate.
  • Determining to continue the 0TT live broadcast according to the preset play rate according to the play status of the 0TT live broadcast includes: when detecting that the sum of the durations of the 0TT live broadcasts is zero, determining to press the preset play rate And continuing to perform the 0TT live broadcast; or, when detecting that the 0TT live broadcast occurs again, determining to continue the 0TT live broadcast according to the preset play rate; or detecting that the current network transmission rate is smaller than the current play rate When it is determined, the 0TT live broadcast is continued at the preset play rate.
  • determining the first fast play range according to the network transmission rate and the play rate includes:
  • a fifth possible implementation of the first aspect is also provided, a fifth possible aspect of the first aspect
  • the method further includes: determining, according to a network transmission rate and a play rate, a second fast play amplitude; proceeding according to the second fast play range When the second fast play amplitude is greater than the second preset threshold, the second preset threshold is used as the second fast play amplitude.
  • a sixth possible implementation of the first aspect is also provided, a sixth possible aspect of the first aspect In an implementation manner, when the first fast play amplitude is greater than the first preset threshold, the first preset threshold is used as the first fast play amplitude.
  • a detection device for a top-of-the-line 0TT live broadcast including:
  • a detecting unit configured to detect whether there is a playback lag in the 0TT live broadcast
  • an acquiring unit configured to: when the detecting unit detects that the 0TT live broadcast has a playback lag, obtain a network transmission rate corresponding to the 0TT live broadcast and the 0TT live broadcast a determining unit, configured to determine a first fast play amplitude according to the network transmission rate and the play rate, if the play rate is greater than zero and the network transmission rate is greater than the play rate, to facilitate playing
  • the device adjusts the play rate according to the first fast play amplitude, and performs the 0TT live broadcast according to the adjusted play rate.
  • the detecting unit detects whether a playback lag exists in the 0TT live broadcast, including:
  • Determining the duration of the cardon duration of the 0TT live broadcast and determining that the 0TT live broadcast has a playback lag when detecting that the sum of the durations of the 0TT live broadcasts is greater than or equal to the first duration threshold; or detecting the 0TT live broadcast
  • the duration of the smooth play of the 0TT live broadcast is less than the first duration threshold, and the duration of the smooth play of the 0TT live broadcast is greater than or When it is equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
  • the determining unit is further configured to: determine the first fast play amplitude, so that the playing device adjusts the play rate according to the first fast play amplitude, and according to the adjusted play speed
  • the playback rate is determined to be a preset playback rate according to the playback state of the OTT live broadcast, so that the playback device continues to perform the 0TT live broadcast at the preset playback rate.
  • the determining unit Determining the play rate as the preset play rate includes:
  • the playback rate is set; or, when it is detected that the current network transmission rate is less than the current playback rate, determining that the playback rate is the preset playback rate.
  • the determining unit determines, according to the network transmission rate and the playing rate, that the first fast play amplitude includes:
  • a playback device for a top-of-the-line 0TT live broadcast including:
  • a receiving unit configured to receive a fast play amplitude sent by the detecting device, where the fast play amplitude is detected by the detecting device, and the playback speed of the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained, After determining that the play rate is greater than zero and the network transmission rate is greater than the play rate, determining the fast play amplitude according to the network transmission rate and the play rate; and playing a unit, according to the fast play The playback rate is adjusted in amplitude, and the 0TT live broadcast is performed according to the adjusted playback rate.
  • the playback device is located at the 0TT video server device, or the playback device is located at the terminal device, or the playback device is located at the network device.
  • the fourth aspect provides a top-of-the-top 0TT live broadcast system, including a detecting device and a playing device, wherein the detecting device is configured to detect whether the 0TT live broadcast has a playback lag, and when the 0TT live broadcast is detected When there is a playback lag, the network transmission rate corresponding to the 0TT live broadcast and the playback rate of the 0TT live broadcast are obtained, and if the play rate is greater than zero and the network transmission rate is greater than the play rate, according to the network transmission rate And the playing rate, determining a first fast play amplitude, and transmitting the first fast play amplitude to the playing device; the playing device, configured to receive the first fast play amplitude sent by the detecting device, And adjusting the play rate according to the first fast play range, and performing the 0TT live broadcast according to the adjusted play rate.
  • the detecting device is configured to detect whether the 0TT live broadcast has a playback lag, and when the 0TT live broadcast is detected When there is a
  • the detecting, by the detecting apparatus, detecting whether the 0TT live broadcast has a playback lag includes:
  • the detecting device is further configured to: according to the playing state of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset playing rate, and notify the broadcast playing device to continue to perform at a preset playing rate.
  • the 0TT live broadcast is further configured to: according to the playing state of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset playing rate, and notify the broadcast playing device to continue to perform at a preset playing rate.
  • the detecting device determines to continue the 0TT live broadcast according to the preset playing rate, including:
  • the preset is determined to be preset.
  • the playback rate continues to perform the 0TT live broadcast; or, when it is detected that the current network transmission rate is less than the current playback rate, it is determined that the 0TT live broadcast is continued at the preset playback rate.
  • a fifth possible implementation of the fourth aspect is also provided, and the fifth aspect of the fourth aspect
  • the detecting device is located at the 0TT video server device, or located at the terminal device, or located at the network device;
  • the playback device is located at the 0TT video server device, or located at the terminal device, or located in the network. device.
  • the playback rate is greater than zero and the network transmission rate is greater than the playback rate, then according to the network transmission rate and The playback rate determines the first fast play range, adjusts the play rate according to the first fast play range, and performs 0TT live broadcast according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience.
  • FIG. 1 is a flowchart of a method for over-the-top 0TT live broadcast according to an embodiment of the present invention
  • FIG. 1 is a flowchart of another method for over-the-top 0TT live broadcast according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for over-the-top 0TT live broadcast according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a method for implementing a top-of-the-top 0TT live broadcast system according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for implementing a top-of-the-top 0TT live broadcast in an application scenario according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for implementing a live broadcast of another application scenario according to an embodiment of the present invention
  • FIG. 8 is a schematic flowchart of a method for implementing a live broadcast of another application scenario according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of another over-the-top 0 ⁇ live broadcast system according to an embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of a top-over 0 TT live broadcast detecting apparatus according to an embodiment of the present invention
  • a schematic diagram of another playback device provided by the top-of-the-top 0TT live broadcast device
  • FIG. 12 is a schematic structural diagram of another detecting device for over-the-top 0TT live broadcast according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another playback apparatus for over-the-top 0TT live broadcast according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a method for live broadcast of 0TT. As shown in FIG. 1, the method may include:
  • the network transmission rate corresponding to the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained.
  • the playback rate is greater than zero and the network transmission rate is greater than the playback rate, determining a first fast playback amplitude according to the network transmission rate and the playback rate, so as to adjust the playback rate according to the first fast playback amplitude. And performing the ⁇ live broadcast according to the adjusted playback rate.
  • the playing rate of the 0TT live broadcast is greater than zero, which means that the 0TT live broadcast is currently in a non-cartridge state.
  • the network transmission rate and the playback rate of the 0TT live broadcast are obtained. If the playback rate is greater than zero and the network transmission rate is greater than the playback rate, then according to the network transmission rate and The playback rate determines the first fast play range, adjusts the play rate according to the first fast play range, and performs 0TT live broadcast according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience.
  • the method for detecting the playback delay of the 0TT live broadcast in the foregoing 101 may include the following two methods. In the embodiment of the present invention, the two methods may be applied simultaneously.
  • Tc may be the duration of one jam, or may be the sum of the durations of multiple jams. For example, if the duration of the first jam has been greater than or equal to the first duration threshold, it is determined that there is a playback lag in the 0TT live broadcast; for example, if the duration of the first jam is less than the first duration valve The value accumulates the duration of the first jam and the duration of the second jam, and so on until the sum of the sums is greater than or equal to Yc, then it is determined that there is a play lag in the OTT live broadcast.
  • Yc can be set in advance and can be changed according to different scenarios.
  • Tc can be the duration of one jam, or the sum of the durations of multiple jams; smooth play refers to continuous play without card in the middle; wherein Yd can be preset, and can be different according to The scene is changed.
  • the following method when determining the first fast play range according to the network transmission rate and the play rate, the following method may be adopted:
  • a is the first fast play range
  • Rp is the play rate
  • R t is the network transmission rate
  • Ya is the first preset threshold corresponding to the first fast play range.
  • the first preset threshold may be preset and may be changed according to different scenarios.
  • the method of the 0TT live broadcast may further include:
  • the second preset threshold is used as the second fast play amplitude. Specifically, the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued according to the determined play rate.
  • the second fast play range may be determined by using the following method:
  • the second preset threshold may be set in advance, and may be changed according to different scenarios.
  • the first preset threshold and the second preset threshold may be set to the same value. It can also be set to a different value.
  • the second preset threshold when the second fast play amplitude is greater than the second preset threshold, the second preset threshold is used as the second fast play amplitude, so that the fast play amplitude is prevented from affecting the user experience.
  • the 0TT live broadcast method may further include: 1 04. According to the play status of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset play rate.
  • the 0TT live broadcast may be determined by changing the speed of the 0TT live broadcast to the preset play rate according to the card condition or according to the network transmission rate and the play rate.
  • the 0TT live broadcast is continued at the preset play rate.
  • the current network transmission rate is less than the current playing rate
  • the preset playback rate is usually set to the normal rate, and may be set to other playback rates, which is not limited in the embodiment of the present invention.
  • the first fast play range and the second fast play range are fast play ranges, and the first fast play range and the second fast play range are divisions for distinguishing different fast play ranges. It is not intended to limit the embodiments of the invention.
  • an embodiment of the present invention provides an 0TT live broadcast system 3000, which can implement a 0TT live broadcast method according to an embodiment of the present invention.
  • the system can include a detection device 3001 and a playback device 3002, where
  • the detecting device 3001 is configured to detect whether there is a play lag in the 0TT live broadcast, and when detecting that the 0TT live broadcast has a play lag, obtain a network transmission rate corresponding to the 0TT live broadcast and a play rate of the 0TT live broadcast, if the play rate is greater than zero and The network transmission rate is greater than the playback rate, and the first fast play amplitude is determined according to the network transmission rate and the play rate, and the first fast play amplitude is sent to the playback device.
  • the current playing rate is greater than zero, which means that the 0TT live broadcast is currently in a non-cartridge state.
  • the playing device 3002 is configured to receive the first fast play amplitude sent by the detecting device 3001, adjust a play rate according to the first fast play amplitude, and perform the 0TT live broadcast according to the adjusted play rate.
  • the detecting device 3001 and the playing device 3002 may be located in the same device or may be located in different devices according to different application scenarios.
  • the detecting device 3001 detects whether the 0TT live broadcast has a play lag, and can detect the duration of the 0TT live broadcast. When the detected duration of the 0TT live broadcast is greater than or When it is equal to the first time threshold, the 0TT live broadcast has a playback lag.
  • the sum of the durations of the stuck times may be the duration of one jam, or may be the sum of the durations of the multiple jams. For example, if the duration of the first jam has been greater than or equal to the The first duration threshold determines that there is a playback lag in the 0TT live broadcast; for example, if the duration of the first jam is less than the first duration threshold, the duration of the first jam is the second time The duration of the stuck is accumulated, and so on until the sum of the accumulated times is greater than or equal to the first duration threshold, then it is determined that there is a playback lag in the 0TT live broadcast.
  • the first duration threshold may be preset and may be changed according to different scenarios.
  • the detecting device 3001 detects whether the 0TT live broadcast has a play lag, and can detect the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast.
  • the 0TT live broadcast has a playback lag.
  • the sum of the durations of the Kardons may be the duration of one jam, or may be the sum of the durations of the multiple jams;
  • the smooth play refers to the continuous play without the jam in the middle;
  • the second duration valve Values can be set in advance and can be changed according to different scenarios.
  • the detecting device 3001 may be further configured to: according to the playing state of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset playing rate, and notify the playing device 3002 to preset according to the preset The playback rate continues with the 0TT live broadcast.
  • the 0TT live broadcast can be determined according to the preset play rate according to the card condition or according to the network transmission rate and the current play rate.
  • the detecting apparatus 3001 may detect that the sum of the durations of the 0TT live broadcasts is zero, and determine to play according to the preset. The rate continues with the 0TT live broadcast.
  • the detecting device 3001 determines that when the 0TT live broadcast is continued according to the preset playing rate, when it is detected that the card is re-occurring, it is determined that the 0TT live broadcast is continued at the preset playing rate.
  • the detecting device 3001 determines that when the 0TT live broadcast is continued according to the preset play rate, when the current network transmission rate is lower than the current play rate, it is determined that the 0TT live broadcast is continued according to the preset play rate.
  • the preset playback rate is usually set to the normal rate, and the playback rate is not limited.
  • a is the first fast play range
  • Rp is the play rate
  • Rt is the network transmission rate
  • Ya is the first preset threshold corresponding to the first fast play range.
  • the detecting device 3001 is further configured to: determine, according to a network transmission rate and a playing rate, a second fast playing amplitude; and send the second fast playing amplitude to the playing device 3002, so that the playing The device 3002 continues the 0TT live broadcast according to the second fast play range.
  • the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued at the determined play rate.
  • the detecting device 3001 when the second fast play amplitude is greater than the second preset threshold, the detecting device 3001 may use the second preset threshold as the second fast play amplitude. Similarly, when the first fast play amplitude is greater than the first preset threshold, the detecting device 3001 may use the first preset threshold as the first fast play amplitude. In this way, it is possible to prevent the fast play range from being too large to affect the user experience.
  • the first preset threshold and the second preset threshold may be the same or different according to different application scenarios, which are not limited in the embodiment of the present invention.
  • Tc is the sum of the remaining durations of the Cartons
  • Tc is the sum of the durations of the Cartons
  • a is the fast play range
  • T is the duration of the fast play by the fast play range a.
  • the judgment of whether to start the fast play may not be performed, and the fast play range is adjusted in real time according to the parameter change (for example, Rt change), and the fast play is continued until the condition for stopping the fast play is satisfied, where a
  • the calculation method is the same as the determination method of the above a.
  • the playing device 3002 starts fast play according to the instruction of the detecting device 3001, and the fast playing amplitude fine-tuning data parameter determined by the detecting device 3001 (such as frame rate (Frame Per Second), display time) Mark ( Pr es en ta t Time Time S tamp , the tube is called PTS ), time stamp (t ime st amp ), etc.
  • the instructions for the interaction signaling between the detecting device 3001 and the playing device 3002 include: starting fast play signaling, parameter change signaling (such as a change), and stopping fast play, etc., wherein the fast play signaling and the parameter change are initiated.
  • the signaling is accompanied by a parameter name and a parameter value
  • the stop fast play signaling is accompanied by a stop reason
  • the playback device 3002 sends a letter to the detection device 3001.
  • the feedback is given, and the detection device 3001 is successfully executed or failed, and if it fails, the failure reason is attached.
  • the detecting device 3001 may be located in the 0TT video server device, or the detecting device 3001 may be located in the terminal device, or the detecting device 3001 may also be located in the network device; the playing device 3002 may be Located at the 0TT video server device, or the playback device 3002 can be located at the terminal device, or the playback device 3002 can be located at the network device.
  • the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced. Continuity to improve the user experience.
  • the 0TT live broadcast system shown in FIG. 4 can implement the above-mentioned 0TT live broadcast method through the interaction process shown in FIG. 5.
  • the system includes the detecting device 3001 and the playing device 3002, the detecting device 3001 is configured to detect whether the 0TT live broadcast has a lag, calculate a fast play amplitude, and control the playback device 3002 to perform fast play; the playback device 3002 is configured to perform the detection according to the detection
  • the instruction of the device 3001 performs fast playback, and determines the play rate according to the fast play amplitude sent by the detecting device 3001, and performs the 0TT live broadcast at the determined play rate.
  • the sum of the durations of the Carton can be the duration of one carton, or the sum of the durations of multiple cartons;
  • the duration of the smooth play (Td) means that there is no carton in the middle.
  • the duration of the playback that is, the last time the card is over to the current time interval;
  • the duration of the fast playback means The duration of fast playback by fast playback amplitude;
  • the playback rate (Rp) refers to the current playback rate;
  • the fast playback amplitude refers to the current fast playback amplitude;
  • the detecting device 3001 detects the playing state of the 0TT live broadcast, when Tc ⁇ Yc or Td ⁇ Yd, and is currently in a non-caldon state (ie, currently playing smoothly) and Rt >Rp, according to the network transmission rate.
  • the detecting device 3001 monitors the cache and the network status in real time.
  • Tc is the sum of the remaining durations of the previous Carton
  • Tc is the sum of the durations of the Cartons
  • a is the fast play range
  • T is the duration of the fast play by the fast play amplitude a.
  • the specific implementation steps may include:
  • the detecting device 3001 detects the playing state of the 0TT live broadcast.
  • the detecting apparatus 3001 detects that there is a playback lag in the 0TT live broadcast, the detecting apparatus 3001 detects a network transmission rate and detects a playback rate of the 0TT live broadcast.
  • the detecting apparatus 3001 may determine that the 0TT live broadcast has a playback lag method. For example, the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 is not described herein.
  • the detecting device 3001 determines the first fast play amplitude according to the network transmission rate and the play rate.
  • the 0TT live broadcast is currently in a non-cart state, and the first fast play range is determined according to the network transmission rate and the play rate.
  • the method refer to the embodiment shown in FIG. 1 , and details are not described herein again.
  • the first preset threshold may be used as the first fast play amplitude. In this way, it is possible to prevent the fast play range from being too large to affect the user experience. 504.
  • the detecting apparatus 3001 sends, to the playing apparatus 3002, signaling that carries the first fast play amplitude.
  • the playback device 3002 receives the signaling sent by the detecting device 3001, and parses the signaling to learn the first fast play amplitude, and performs the 0TT live broadcast according to the first fast play amplitude.
  • the playing device 3002 determines the playing rate according to the first fast playing amplitude, and performs the 0TT live broadcast according to the determined playing rate.
  • the detecting apparatus 3001 detects a network transmission rate and detects a playback rate of the 0TT live broadcast, and determines a second fast play range according to the network transmission rate and the play rate.
  • the second preset threshold may be used as the second fast play amplitude. In this way, it is possible to prevent the fast play amplitude from being too large to affect the user experience.
  • the first preset threshold and the second preset threshold may be the same or different according to different application scenarios.
  • the detecting apparatus 3001 sends, to the playing apparatus 3002, signaling that carries the second fast play amplitude.
  • the playback device 3002 receives the signaling sent by the detecting device 3001, and parses the signaling to learn the second fast play amplitude, and continues the 0TT live broadcast according to the second fast play amplitude.
  • the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued at the determined play rate.
  • the fast play range can be adjusted in real time according to the network transmission rate and the play rate.
  • the detecting apparatus 3001 detects a play status of the 0TT live broadcast, determines to continue the 0TT live broadcast according to the preset play rate according to the play status of the 0TT live broadcast, and sends signaling to the playback apparatus 3002, instructing the playback apparatus 3002 to press The 0TT live broadcast is continued at the preset playback rate.
  • the preset playback rate is usually set to the normal rate, and may be set to other playback rates, which is not limited in the embodiment of the present invention.
  • the playback device 3002 continues the 0TT live broadcast according to the preset sending rate according to the indication sent by the detecting device 3001.
  • the first fast play amplitude and the second fast play amplitude are both fast broadcasts.
  • the first fast-playing amplitude and the second fast-playing amplitude are divided to distinguish different fast-playing amplitudes, and do not constitute a limitation on the embodiment of the present invention.
  • the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, which can be enhanced. 0TT live continuity to improve user experience.
  • the application scenario shown in FIG. 6 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention.
  • the detecting device is located in a terminal device (such as an OT player, etc.) and a playback device. It is located on the 0TT video server device (the playback device can also be located at the head end device that provides 0TT video, such as the 0TT video source, 0TT video website, etc.), and the OTT live broadcast is performed through the transport stream (Transpor t S tream, the tube is called TS).
  • FIG. 6 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating the understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
  • the method for the 0TT live broadcast of the embodiment of the present invention may include:
  • the terminal device sends a video request to the 0TT video server device.
  • the 0TT video server device sends a TS video stream to the terminal device after receiving the request.
  • the terminal device performs real-time detection on a network transmission rate of the data buffer and the video stream when performing the 0TT live broadcast according to the received TS video stream.
  • the duration of each bucating event of the terminal device recording cache is recorded as one card duration.
  • the duration of the Karton duration caused by the i-th Buf fering be Ti
  • the duration of the last stay of the last fast play is Tr
  • the number of stuck times between the two jams is n times
  • the Bell 'J Caton
  • the network transmission rate and the playback rate may be represented by a code rate
  • the network transmits the tf 1 rate that is, the number of video content bits transmitted per second
  • the playback rate may pass the code rate parameter in the video stream or pass parameters such as FPS. OK, can also be determined according to the fast play amplitude.
  • the terminal device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast playback signaling is sent to the 0TT video server device, where the fast play signaling carries a fast play amplitude.
  • the method for determining that the playback delay exists in the 0TT live broadcast may be referred to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the 0TT video server device determines whether to perform fast play according to its processing capability and current load situation. If fast play is performed, 606 is performed; if fast play is not performed, the terminal device is notified that the fast play is not performed temporarily (not shown in the figure), and the terminal device may perform 604 again after a preset time.
  • the 0TT video server device modifies a PTS field in the PES packet of the TS video stream (this field controls a time when the video frame is displayed), and sends the modified TS video stream to the terminal device.
  • the difference between the PTSs of the modified adjacent PES packets is t
  • the modified difference is de lt _ t
  • del t _ t t * (la)
  • the terminal device plays after receiving the modified TS video stream.
  • the rate will be faster for fast playback.
  • the terminal device adjusts the fast playback amplitude in real time during the fast playback process according to the modified TS video stream.
  • the terminal device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases after the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the terminal device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
  • the terminal device sends parameter change signaling to the 0TT video server device, where the parameter change signal carries the adjusted fast play amplitude.
  • the 0TT video server device After receiving the parameter change signaling, the 0TT video server device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
  • the 0TT video server device If the fast play is performed according to the adjusted fast play range, execute 610; if the fast play is not performed according to the adjusted fast play range, the 0TT video server device notifies the terminal device that the fast play is not performed according to the adjusted fast play range. The reason can also inform the terminal device that the fast playback is not performed according to the adjusted fast play amplitude, and the 0TT video server device continues to modify the PTS field (not shown) according to the original parameters.
  • the 0TT video server device notifies the terminal device to perform fast playback according to the fast playback range, and the 0TT video server device modifies the PTS field in the PSS packet of the TS video stream according to the adjusted fast play range, and The terminal device sends the modified TS video stream.
  • the terminal device continues to perform fast playback according to the TS video stream sent by the 0TT video server device.
  • the terminal device When the terminal device detects that the stop fast play condition is met, send the stop fast play signaling to the 0TT video server device, and stop the fast play signaling to carry the reason for stopping the fast play.
  • the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated cards is updated. The next time you perform a quick play, the playback plays a lag.
  • the 0TT video server device stops the fast play and returns an acknowledgement message to the terminal device.
  • the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience.
  • the application scenario shown in FIG. 7 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention.
  • the detecting device is located in a terminal device (such as an OT player, etc.) and a playback device. It is located in a network device (such as a Broadband Remote Access Server (BRAS), an edge router, etc.), and is broadcasted in real time through a transport stream (Transpor t St ream, called TS).
  • BRAS Broadband Remote Access Server
  • TS Transport stream
  • FIG. 7 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
  • the application scenario playing device shown in FIG. 7 is located on a network device such as a BRAS or an edge router, and the network device forwards the video request and the video data, and the terminal device sends the related signaling to the network device, and the network The device modifies the PTS value in the PES packet when forwarding the TS video stream.
  • a network device such as a BRAS or an edge router
  • the method for the 0TT live broadcast of the embodiment of the present invention may include:
  • the terminal device sends a video request to the 0TT video server device via the network device.
  • the 0TT video server device sends a TS video stream to the terminal device via the network device after receiving the request.
  • the terminal device performs real-time detection on a network transmission rate of the data buffer and the video stream when performing the 0TT live broadcast according to the received TS video stream.
  • the network transmission rate and the playback rate may be represented by a code rate, where the transmission rate of the network tf 1 is the number of video content bits transmitted per second, and the playback rate may pass the code rate parameter in the video stream or pass the FPS.
  • the parameter determination can also be determined according to the fast play amplitude. 704.
  • the terminal device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast play signaling is sent to the network device, and the fast play signaling carries a fast play amplitude.
  • the method for determining that the playback delay exists in the 0TT live broadcast may be referred to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the network device determines whether to perform fast playback according to its processing capability and current load conditions.
  • fast play is performed, 706 is performed; if fast play is not performed, the terminal device is notified that the fast play is not performed temporarily (not shown in the figure), and the terminal device may perform 704 again after a preset time.
  • the network device forwards the TS video stream originating from the 0TT video server device, modify a PTS field in the PTS packet of the TS video stream (this field controls a time when the video frame is displayed), and send the modified to the terminal device.
  • TS video stream When the network device forwards the TS video stream originating from the 0TT video server device, modify a PTS field in the PTS packet of the TS video stream (this field controls a time when the video frame is displayed), and send the modified to the terminal device. TS video stream.
  • the difference between the PTSs of the modified adjacent PES packets is t
  • the modified difference is de lt _ t
  • del t _ t t * (la)
  • the terminal device plays after receiving the modified TS video stream.
  • the rate will be faster for fast playback.
  • the terminal device adjusts the fast playback range in real time during the fast playback process according to the modified TS video stream.
  • the terminal device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases after the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the terminal device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
  • the terminal device sends parameter change signaling to the network device, where the parameter change signaling carries the adjusted fast play amplitude.
  • the network device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
  • the network device notifies the terminal device that the fast play is not performed according to the adjusted fast play range, or At the same time, the terminal device is notified that the fast playback is not performed according to the adjusted fast play amplitude, and the network device continues to modify the PTS field according to the original parameter (not shown in the figure). 71 0.
  • the network device notifies the terminal device to perform fast playback according to the fast playback range, and the network device modifies the TS video stream PES according to the adjusted fast play amplitude when forwarding the TS video stream originating from the 0TT video server device.
  • the PTS field in the packet and send the modified TS video stream to the terminal device.
  • the terminal device continues to play fast according to the TS video stream sent by the network device.
  • the terminal device When the terminal device detects that the stop fast play condition is met, send the stop fast play signaling to the network device, where the stop fast play signaling carries the reason for stopping the fast play.
  • the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated stagnation is updated. Leave it for the next time you play the quick play to fix the playback lag.
  • the network device stops fast play and returns a confirmation message to the terminal device.
  • the 0TT live broadcast method of the embodiment of the present invention when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience.
  • the application scenario shown in FIG. 8 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention.
  • the detection device is located in a network device (such as a broadband remote access server (Broadband Remote).
  • FIG. 8 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating the understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
  • the method for the 0TT live broadcast of the embodiment of the present invention may include:
  • the terminal device sends a video request to the 0TT video server device via the network device.
  • the 0TT video server device sends a TS video stream to the terminal device via the network device after receiving the request.
  • the terminal device performs a 0TT live broadcast according to the received TS video stream.
  • the network device performs real-time detection on the network transmission rate of the data cache and the video stream.
  • the duration of each Bucating event of the network device record buffer is recorded as A carton lasts for a long time.
  • the duration of the Karton caused by the i-th Buffer ing be Ti
  • the duration of the last stuck pause of the last fast play is Tr
  • the number of stuck times between the two jams is n times
  • the sum of the duration of the Kardon Is Tc Tr + Ti.
  • the network transmission rate and the playback rate may be represented by a code rate
  • the network transmission rate is the number of video content bits transmitted per second
  • the playback rate may pass the code rate parameter in the video stream or pass parameters such as FPS. OK, can also be determined according to the fast play amplitude.
  • the network device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast playback signaling is sent to the 0TT video server device, where the fast play signaling carries a fast play amplitude.
  • the method for determining the live broadcast of the 0TT by the network device may refer to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the 0TT video server device After receiving the signaling, the 0TT video server device determines whether to perform fast playback according to its processing capability and current load.
  • fast play is performed, 706 is performed; if fast play is not performed, the network device is notified not to perform fast play (not shown), and the terminal device may perform 704 again after a preset time.
  • the 0TT video server device modifies a PTS field in the PES packet of the TS video stream (the field controls a time when the video frame is displayed), and sends the modified TS video stream to the terminal device by using the network device.
  • the difference between the PTS of the pre-adjacent PES packet is t
  • the modified difference is del t_ t
  • del t _ t t* (la)
  • the playback rate of the modified TS video stream is received by the terminal device. Will speed up, thus achieving fast playback.
  • the terminal device performs fast playback according to the modified TS video stream.
  • the network device adjusts the fast play range in real time.
  • the network device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases before the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the network device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
  • the network device sends parameter change signaling to the 0TT video server device, where the parameter change signaling carries the adjusted fast play amplitude. 811. After receiving the parameter change signaling, the OTT video server device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
  • the 0TT video server device If fast playback is performed according to the adjusted fast play range, perform 71 0; if the fast play is not performed according to the adjusted fast play range, the 0TT video server device notifies the network device that the fast playback amplitude is not fast. Play, you can also inform the network device that the fast playback is not performed according to the adjusted fast play amplitude. The 0TT video server device continues to modify the PTS field (not shown) according to the original parameters.
  • the 0TT video server device notifies the terminal device to perform fast playback according to the fast playback range, and the 0TT video server device modifies the PTS field in the PES packet of the TS video stream according to the adjusted fast play range, and passes the network.
  • the device sends the modified TS video stream to the terminal device.
  • the terminal device continues to perform fast playback according to the TS video stream sent by the 0TT video server device of the 0TT video server device.
  • the network device detects that the stop fast play condition is met, send the stop fast play signaling to the 0TT video server device, and stop the fast play signaling to carry the reason for stopping the fast play.
  • the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated stagnation is updated. Leave it for the next time you play the quick play to fix the playback lag.
  • the 0TT video server device stops fast play and returns a confirmation message to the terminal device.
  • the detection play lag and the fast play are transparent to the terminal device in the network device and the 0TT video server device respectively. Since the network device cannot directly obtain the user data cache state, it is necessary to establish a virtual cache.
  • the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience.
  • the detecting device and the playing device may be deployed on the same device (such as a head end device or a terminal device or a network device), and the specific implementation method is shown in FIG. 6 and FIG. 7. The steps shown in Figure 8 are similar and will not be described.
  • the detecting device and the playing device in the 0TT live broadcast system of the embodiment of the present invention can implement the 0TT live broadcast method of the embodiment of the present invention by using the hardware architecture shown in FIG.
  • the detecting device 91 00 includes a buffer analyzer 9101, a cardon timer 91 02, and a modulation controller 91 03.
  • the cache analyzer 9101 is configured to detect a buffer status and a stuck state.
  • the Karton timer 9102 is configured to determine the sum of the durations of the stagnation according to the output of the Cache Analyzer 91 01.
  • the method for determining the sum of the continuation durations is the same as the other embodiments of the present invention.
  • the modulation controller 9103 is configured to determine to start fast play, change the fast play range, or stop according to the sum of the stuck durations calculated by the stuckon timer 9102, the buffer status detected by the cache analyzer 9101, and the transmission/play rate. Play quickly.
  • the method for determining that the playback delay is present in the 0TT live broadcast can be determined by the method of determining the playback delay of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
  • Tc 0 when the card is stuck or Rt ⁇ Rp
  • Tc is the sum of the remaining durations of the Kartons
  • Tc is the sum of the durations of the Cartons
  • a is the fast play range
  • T is the duration of the fast play by the fast play range a.
  • the modulation controller 9103 no longer performs the judgment of whether to start the fast play, and the modulation controller 91 03 adjusts the fast play amplitude a in real time according to the parameter change (for example, Rt change), and continues to play fast until the content is satisfied.
  • the parameter change for example, Rt change
  • the detecting device 9200 includes a signaling analyzer 9201 and a playback controller 9202.
  • the signaling analyzer 9201 is configured to extract network layer signaling information for processing by the detecting device 91 00.
  • the play controller 9202 is configured to modify the forwarded stream specific field according to the decision result of the detecting device 91 00 to change the play rate.
  • the interaction signaling between the detecting device 91 00 and the playback device 9200 is the same as that of the above-described 0TT live broadcast of the embodiment of the present invention, and details are not described herein.
  • the hardware architecture shown in Figure 9 is deployed on the same device (such as a headend device or a terminal device or network device).
  • the playback device 9200 can control the playback rate at the network layer by modifying corresponding fields (such as the PTS field) in the TS video stream, so that the fast play is transparent to the player or the streaming server software, correspondingly, Signaling is passed to the detection device 9100 for obtaining the parameters required for the decision.
  • each unit of the detecting device in the embodiment of the present invention is described in the following. For a detailed description, refer to the method embodiment.
  • the detecting device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
  • an embodiment of the present invention provides a 0TT live detection device 1000.
  • the detection device may include: a detecting unit 1001, an obtaining unit 1002, and a determining unit 1003, where:
  • the detecting unit 1001 can be used to detect whether there is a playback lag in the 0TT live broadcast.
  • the acquiring unit 1002 may be configured to obtain, when the detecting unit detects that the 0TT live broadcast has a playback lag, obtain a network transmission rate corresponding to the 0TT live broadcast and a play rate of the 0TT live broadcast.
  • the determining unit 1003 may be configured to determine a first fast play amplitude according to the network transmission rate and the play rate, if the play rate is greater than zero and the network transmission rate is greater than the play rate, so that the playback apparatus adjusts the play according to the first fast play range. Rate, and 0TT live broadcast according to the adjusted playback rate.
  • the current playing rate is greater than zero, which means that the current playing state is in a non-stuck state.
  • the detecting unit 1001 detects whether there is a play lag in the 0TT live broadcast, and may detect the duration of the stuck time of the 0TT live broadcast, and when the detected duration of the 0TT live broadcast is greater than or equal to When the first time threshold is reached, the 0TT live broadcast has a playback lag.
  • the detecting unit 1001 detects whether the 0TT live broadcast has a playback lag, and can detect the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast. When the detected duration of the 0TT live broadcast is less than When the first duration threshold is used and the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, the 0TT live broadcast has a playback lag.
  • the determining unit 1003 is further configured to determine the first fast play amplitude, so that the playback device adjusts the play rate according to the first fast play range, and according to the adjusted play rate.
  • the broadcast is determined according to the play status of the 0TT live broadcast.
  • the playback rate is a preset playback rate, so that the playback device continues the 0TT live broadcast at the preset playback rate.
  • the determining unit 1 003 is specifically configured to: when the sum of the durations of the 0TT live broadcasts is zero, determine the play rate as the preset play rate;
  • the determining unit 1003 is specifically configured to: when the 0TT live broadcast occurs again, determine the play rate as the preset play rate;
  • the determining unit 1 003 is specifically configured to determine that the playing rate is the preset playing rate when detecting that the current network transmission rate is less than the current playing rate.
  • the determining unit 1003 determines that the first fast play range can be referred to the embodiment shown in FIG. 1 , and details are not described herein again.
  • the determining unit 1 003 is further configured to determine, according to the network transmission rate and the playing rate, the second fast playing range, so that the playing device continues to perform the 0TT live broadcast according to the second fast playing amplitude.
  • the playing device determines the playing rate according to the second fast playing amplitude determining the playing rate, and continues the 0TT live broadcast according to the determined playing rate.
  • the detecting device 1 000 may be located at the 0TT video server device, or the detecting device 1000 may be located at the terminal device, or the detecting device 1 000 may be located at the network device.
  • each unit of the detecting apparatus 1000 of the embodiment of the present invention is described as a cylinder.
  • the detecting apparatus of the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
  • an embodiment of the present invention provides a 0TT live broadcast device 2000, which may include: a receiving unit 2001, a playing unit 2002, where:
  • the receiving unit 2001 can be configured to receive a fast play amplitude sent by the detecting device, where the fast playback amplitude is detected by the detecting device, and the network transmission rate corresponding to the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained. Determine that the playback rate is greater than zero and the network transmission rate is large At the playback rate, the fast playback amplitude is determined according to the network transmission rate and the playback rate. The current playing rate is greater than zero, that is, the 0TT live broadcast is currently in a non-cartridge state.
  • the playing unit 2002 can be configured to adjust the playing rate according to the fast playing speed, and perform 0TT live broadcast according to the adjusted playing rate.
  • the functions of the units of the playback device in the embodiments of the present invention are described in the following. For a detailed description, refer to the foregoing method embodiments.
  • the playback device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiments.
  • the playback device 2000 may be located at the 0TT video server device, or the playback device 2000 may be located at the terminal device, or the playback device 2000 may be located at the network device.
  • the playback device of the 0TT live broadcast adjusts the play rate according to the first fast play range according to the first fast play range determined by the network transmission rate and the play rate when the receiving detection device detects that the 0TT live broadcast has a play lag, and The 0TT live broadcast is performed according to the adjusted playback rate. Therefore, the fast play range can be adjusted according to the network transmission rate and the play rate, and the lag of the 0TT live broadcast can be repaired, and the 0TT live content jump can be avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience.
  • an embodiment of the present invention provides another 0TT live detection apparatus 1200.
  • the detection apparatus may include: a bus 1204 and an interface 1201, a processor 1202, and a storage 1203 connected to the bus 1204, where:
  • the memory 1203 is for storing instructions, and the processor 1202 executes instructions in the memory 1203 for performing the following steps:
  • Detecting whether there is a playback lag in the 0TT live broadcast when detecting that the 0TT live broadcast has a playback lag, obtaining a network transmission rate corresponding to the 0TT live broadcast and a playback rate of the 0TT live broadcast; if the play rate is greater than zero and the network transmission rate is greater than the play rate, The first fast play amplitude is determined according to the network transmission rate and the play rate, so that the playback device adjusts the play rate according to the first fast play range, and performs the 0TT live broadcast according to the adjusted play rate.
  • the interface 1201 is configured to send the first fast play amplitude to the playback device, so that the playback device performs the 0TT live broadcast according to the first fast play amplitude.
  • the processor 1202 executes the instruction in the memory 1203, specifically, to detect the duration of the 0TT live broadcast, and when the detected duration of the 0TT live broadcast is greater than or equal to the first
  • the threshold is long, it is determined that the 0TT live broadcast has a playback lag; or, the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast are detected, and when the 0TT live broadcast is detected, the sum of the durations is less than the first
  • the duration threshold is determined, and when the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
  • the processor 1202 executes the instructions in the memory 1203, and is configured to determine a first fast play amplitude, so that the playback device adjusts the play rate according to the first fast play amplitude, and according to the adjusted play rate.
  • the play rate is determined to be a preset play rate, so that the playback device continues the 0TT live broadcast at the preset play rate.
  • the processor 1202 executes the instruction in the memory 1203, where the playback rate is determined to be the preset playback rate when the sum of the durations of the 0TT live broadcasts is zero; or, when the 0TT is broadcasted When the jam occurs again, the playback rate is determined to be the preset playback rate; or, when it is detected that the current network transmission rate is less than the current playback rate, the playback rate is determined to be the preset playback rate.
  • the processor 1202 executes the instruction in the memory 1203, and is configured to determine a second fast play amplitude according to the network transmission rate and the play rate, so that the playback device determines the play rate according to the second fast play amplitude, The determined playback rate continues with the 0TT live broadcast.
  • the detecting device 1200 may be located at the 0TT video server device, or the detecting device 1200 may be located at the terminal device, or the detecting device 1200 may be located at the network device.
  • each unit of the detecting device in the embodiment of the present invention is described in the following. For a detailed description, refer to the method embodiment.
  • the detecting device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
  • the apparatus for detecting the live broadcast of the 0TT in the embodiment of the present invention acquires the network transmission rate and the playback rate of the 0TT live broadcast when the playback delay of the 0TT live broadcast is detected, if the playback rate is greater than zero and the network transmission speed If the rate is greater than the playback rate, the first fast play range is determined according to the network transmission rate and the play rate, the play rate is adjusted according to the first fast play range, and the 0TT live broadcast is performed according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience.
  • an embodiment of the present invention provides another 0TT live broadcast device 1 300.
  • the playback device may include: a bus 1 304 and an interface 1 301 connected to the bus 1 304, a processor 1 302, and a memory 1 303, where:
  • the interface 1 301 is configured to receive a first fast play amplitude sent by the detecting device, where the first fast play amplitude is determined by the detecting device by:
  • the detecting device detects the network transmission rate and the playback rate of the 0TT direct broadcast when the 0TT live broadcast has a play lag; if the play rate is greater than zero and the network transmission rate is greater than the play rate, it is determined according to the network transmission rate and the play rate.
  • the method of determining the first fast play range refer to the embodiment shown in FIG. 1 , and details are not described herein again.
  • the memory 1 303 is for storing instructions, and the processor 1 302 executes instructions in the memory 1 303 for performing the 0TT live broadcast according to the first fast play amplitude.
  • the playback rate is determined according to the first fast play amplitude, and the 0TT live broadcast is performed according to the determined play rate.
  • the processor 1 302 executes the instruction in the memory 1 303 to adjust the play rate according to the first fast play amplitude, and performs the 0TT live broadcast according to the adjusted play rate.
  • the functions of the units of the playback device in the embodiments of the present invention are described in the following. For a detailed description, refer to the foregoing method embodiments.
  • the playback device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiments.
  • the playback device 1300 may be located at the 0TT video server device, or the playback device 1300 may be located at the terminal device, or the playback device 1300 may be located at the network device.
  • the playback device of the 0TT live broadcast adjusts the play rate according to the first fast play range according to the first fast play range determined by the network transmission rate and the play rate when the receiving detection device detects that the 0TT live broadcast has a play lag, and The 0TT live broadcast is performed according to the adjusted playback rate. Therefore, the fast playback range is adjusted according to the network transmission rate and the playback rate, and the lag of the 0TT live broadcast is fixed. After that, OTT live content skipping is avoided, and the continuity of the live broadcast can be enhanced to improve the user experience. It should be noted that, in the foregoing description, the device provided by the foregoing embodiment is only exemplified by the division of the foregoing functional modules.
  • the function distribution may be completed by different functional modules according to requirements, that is, the device is The internal structure is divided into function modules for dialing to complete all or part of the above functions.
  • the device provided by the foregoing embodiment is in the same concept as the corresponding method, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • the foregoing storage medium includes: a read-only memory (referred to as a read-only memory in English, a ROM called a ROM), a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Disclosed are a method, apparatus and system for over the top (OTT) direct broadcasting, which can enhance the continuity of OTT direct broadcasting to improve user experience. The method comprises: in case of detecting the existence of play lag during an OTT direct broadcasting, acquiring a network transmission rate corresponding to the OTT direct broadcasting and a play rate of the OTT direct broadcasting; if the play rate is larger than zero and the network transmission rate is larger than the play rate, determining a first fast play range according to the network transmission rate and the play rate, in order to adjust the play rate according to the first fast play range and perform the OTT direct broadcasting according to the adjusted play rate. The embodiment of the present invention is mainly applied to the field of Internet; in addition, the fast play range can be adjusted according to the network transmission rate and the play rate, the lag of OTT direct broadcasting can be overcome, jumping of OTT direct broadcasting contents can be avoided and the continuity of OTT direct broadcasting can be enhanced, thus user experience is improved.

Description

越顶 OTT直播的方法、 装置及系统  Method, device and system for TOP live broadcast
技术领域 Technical field
本发明涉及互联网领域, 特别涉及一种越顶 (Over The Top , 筒称为 OTT ) 直播的方法、 装置及系统。 背景技术  The present invention relates to the field of the Internet, and in particular, to a method, device and system for over-the-top (Over The Top). Background technique
随着互联网技术的发展, 承载在互联网 ( Internet)上 0TT视频业务迅速增 长。 播放 0TT视频时, 如果网络状况不佳, 播放器耗尽本地緩存的视频数据后, 需等待新的视频数据到达才能继续播放,这一事件为卡顿(即 Buff er ing事件)。 在 0TT直播中, 发生卡顿后画面停滞或继续播放紧邻卡顿前的视频数据, 造成 0TT直播内容滞后, 影响 0TT直播的实时性。  With the development of Internet technology, the 0TT video service carried on the Internet (Internet) has grown rapidly. When playing 0TT video, if the network is not in good condition, after the player runs out of locally cached video data, it needs to wait for new video data to arrive to continue playing. This event is a stuck (ie Buff er ing event). In the 0TT live broadcast, after the card is stuck, the picture is stagnant or the video data immediately before the card is played, causing the 0TT live content to lag, affecting the real-time performance of the 0TT live broadcast.
为提升 0TT直播的实时性, 现有的一种方法在终端设备部署监控模块, 实 时监测用户緩存情况, 当緩存数据量大于设定的阈值时, 判定 0TT直播内容存 在滞后,进而监控模块控制播放器跳过緩存中的部分数据继续 0TT直播或控制播 放器清空緩存数据重新获取最新的视频数据继续 0TT直播, 以消除 0TT直播内 容的滞后。  In order to improve the real-time performance of the 0TT live broadcast, an existing method deploys a monitoring module on the terminal device to monitor the user cache status in real time. When the buffered data volume is greater than the set threshold, it is determined that the 0TT live content is lagging, and then the monitoring module controls the playback. Skip part of the data in the cache to continue 0TT live or control the player to clear the cached data and re-acquire the latest video data to continue the 0TT live broadcast to eliminate the lag of the 0TT live content.
但是, 直接跳过部分数据继续 0TT直播或清空緩存重新获取最新的视频数 据继续 0TT直播, 常造成 0TT直播内容跳跃, 影响 0TT直播连续性。 发明内容  However, skip some data directly to continue 0TT live broadcast or clear the cache to re-acquire the latest video data to continue 0TT live broadcast, often causing 0TT live content jump, affecting 0TT live broadcast continuity. Summary of the invention
本发明实施例提供一种 0TT直播的方法、 装置及系统, 能够增强 0TT直播 的连续性, 从而提高用户体验。 本发明实施例采用如下技术方案:  The embodiment of the invention provides a method, a device and a system for 0TT live broadcast, which can enhance the continuity of the 0TT live broadcast, thereby improving the user experience. The embodiment of the invention adopts the following technical solutions:
第一方面, 提供了一种 0TT直播的方法, 包括:  In the first aspect, a method for live broadcast of 0TT is provided, including:
当检测到 0TT直播存在播放滞后时, 获取对应所述 0TT直播的网络传输速 率及所述 0TT直播的播放速率; 如果所述播放速率大于零且所述网络传输速率 大于所述播放速率, 则根据所述网络传输速率及所述播放速率, 确定第一快速 播放幅度, 以便于根据所述第一快速播放幅度调整所述播放速率, 并根据调整 后的所述播放速率进行所述 0TT直播。 Obtaining a network transmission rate corresponding to the 0TT live broadcast and a playback rate of the 0TT live broadcast when detecting that the 0TT live broadcast has a play lag; if the play rate is greater than zero and the network transmission rate The first fast play amplitude is determined according to the network transmission rate and the play rate, so as to adjust the play rate according to the first fast play amplitude, and according to the adjusted play The rate is subjected to the 0TT live broadcast.
结合所述第一方面, 在所述第一方面的第一种可能的实现方式中, 所述检 测到 0TT直播存在播放滞后包括:  With reference to the first aspect, in a first possible implementation manner of the first aspect, the detecting that the 0TT live broadcast has a playback lag includes:
当检测到所述 0TT直播的卡顿持续时长之和大于或等于第一时长阈值时, 确定所述 0TT直播存在播放滞后; 或者, 当检测到所述 0TT直播的卡顿持续时 长之和小于所述第一时长阈值且所述 0TT直播的流畅播放持续时长大于或等于 第二时长阈值时, 确定所述 0TT直播存在播放滞后。  Determining that the 0TT live broadcast has a playback lag when detecting that the sum of the durations of the 0TT live broadcasts is greater than or equal to the first duration threshold; or, when detecting that the duration of the 0TT live broadcast is less than When the first duration threshold is described and the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
结合第一方面或所述第一方面的第一种可能的实现方式, 还提供了所述第 一方面的第二种可能的实现方式, 在所述第一方面的第二种可能的实现方式中, 确定第一快速播放幅度, 以便于根据所述第一快速播放幅度调整所述播放速率, 并根据调整后的所述播放速率进行所述 0TT直播之后, 还包括:  In conjunction with the first aspect or the first possible implementation of the first aspect, a second possible implementation of the first aspect is also provided, and a second possible implementation manner of the first aspect The determining the first fast play amplitude, in order to adjust the play rate according to the first fast play amplitude, and performing the 0TT live broadcast according to the adjusted play rate, further includes:
根据所述 0TT直播的播放状态, 确定按预设播放速率继续进行所述 0TT直 播。  According to the playing state of the 0TT live broadcast, it is determined that the 0TT broadcast is continued at the preset playing rate.
结合所述第一方面的第二种可能的实现方式, 还提供了所述第一方面的第 三种可能的实现方式, 在所述第一方面的第三种可能的实现方式中, 所述根据 所述 0TT直播的播放状态, 确定按预设的播放速率继续进行所述 0TT直播包括: 检测到所述 0TT直播的卡顿持续时长之和为零时, 确定按所述预设的播放 速率继续进行所述 0TT直播; 或者, 检测到所述 0TT直播再次出现卡顿时, 确 定按所述预设的播放速率继续进行所述 0TT直播; 或者, 检测到当前的网络传 输速率小于当前的播放速率时, 确定按所述预设的播放速率继续进行所述 0TT 直播。  In conjunction with the second possible implementation of the first aspect, a third possible implementation manner of the first aspect is further provided. In a third possible implementation manner of the first aspect, Determining to continue the 0TT live broadcast according to the preset play rate according to the play status of the 0TT live broadcast includes: when detecting that the sum of the durations of the 0TT live broadcasts is zero, determining to press the preset play rate And continuing to perform the 0TT live broadcast; or, when detecting that the 0TT live broadcast occurs again, determining to continue the 0TT live broadcast according to the preset play rate; or detecting that the current network transmission rate is smaller than the current play rate When it is determined, the 0TT live broadcast is continued at the preset play rate.
结合第一方面或者结合所述第一方面的上述任一种可能的实现方式, 还提 供了所述第一方面的第四种可能的实现方式, 在所述第一方面的第四种可能的 实现方式中, 所述根据所述网络传输速率及所述播放速率, 确定第一快速播放 幅度包括:  In conjunction with the first aspect or in combination with any of the above possible implementations of the first aspect, a fourth possible implementation of the first aspect is also provided, a fourth possible aspect of the first aspect In an implementation manner, determining the first fast play range according to the network transmission rate and the play rate includes:
当 Rp<Rt<Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定所述第一快速播放幅度; 其中, a为所述第 一快速播放幅度, Rp为所述播放速率, Rt为所述网络传输速率, Ya为所述第一 快速播放幅度对应的第一预设阀值。 When Rp<Rt<Rp (l+Ya), the first fast play amplitude is determined according to a=( Rt−Rp ) /Rp; when Rt Rp (l+Ya), the first is determined according to a=Ya a fast play amplitude; wherein a is the first fast play amplitude, Rp is the play rate, Rt is the network transmission rate, and Ya is the first The first preset threshold corresponding to the fast play amplitude.
结合第一方面或者结合所述第一方面的上述任一种可能的实现方式, 还提 供了所述第一方面的第五种可能的实现方式, 在所述第一方面的第五种可能的 实现方式中, 所述根据所述第一快速播放幅度进行所述 0TT直播之后, 还包括: 根据网络传输速率及播放速率, 确定第二快速播放幅度; 根据所述第二快 速播放幅度继续进行所述 0TT直播; 所述第二快速播放幅度大于第二预设阀值 时, 将所述第二预设阀值作为所述第二快速播放幅度。  In conjunction with the first aspect or in combination with any of the above possible implementations of the first aspect, a fifth possible implementation of the first aspect is also provided, a fifth possible aspect of the first aspect In an implementation manner, after performing the 0TT live broadcast according to the first fast play range, the method further includes: determining, according to a network transmission rate and a play rate, a second fast play amplitude; proceeding according to the second fast play range When the second fast play amplitude is greater than the second preset threshold, the second preset threshold is used as the second fast play amplitude.
结合第一方面或者结合所述第一方面的上述任一种可能的实现方式, 还提 供了所述第一方面的第六种可能的实现方式, 在所述第一方面的第六种可能的 实现方式中, 所述第一快速播放幅度大于第一预设阀值时, 将所述第一预设阀 值作为所述第一快速播放幅度。  In conjunction with the first aspect or in combination with any of the above possible implementations of the first aspect, a sixth possible implementation of the first aspect is also provided, a sixth possible aspect of the first aspect In an implementation manner, when the first fast play amplitude is greater than the first preset threshold, the first preset threshold is used as the first fast play amplitude.
第二方面, 提供一种越顶 0TT直播的检测装置, 包括:  In a second aspect, a detection device for a top-of-the-line 0TT live broadcast is provided, including:
检测单元, 用于检测 0TT直播是否存在播放滞后; 获取单元, 用于当所述 检测单元检测到所述 0TT直播存在播放滞后时, 获取对应所述 0TT直播的网络 传输速率及所述 0TT直播的播放速率; 确定单元, 用于如果所述播放速率大于 零且所述网络传输速率大于所述播放速率, 则根据所述网络传输速率及所述播 放速率, 确定第一快速播放幅度, 以便于播放装置根据所述第一快速播放幅度 调整所述播放速率, 并根据调整后的所述播放速率进行所述 0TT直播。  a detecting unit, configured to detect whether there is a playback lag in the 0TT live broadcast, and an acquiring unit, configured to: when the detecting unit detects that the 0TT live broadcast has a playback lag, obtain a network transmission rate corresponding to the 0TT live broadcast and the 0TT live broadcast a determining unit, configured to determine a first fast play amplitude according to the network transmission rate and the play rate, if the play rate is greater than zero and the network transmission rate is greater than the play rate, to facilitate playing The device adjusts the play rate according to the first fast play amplitude, and performs the 0TT live broadcast according to the adjusted play rate.
结合所述第二方面, 在所述第二方面的第一种可能的实现方式中, 所述检 测单元检测 0TT直播是否存在播放滞后包括:  With reference to the second aspect, in a first possible implementation manner of the second aspect, the detecting unit detects whether a playback lag exists in the 0TT live broadcast, including:
检测所述 0TT直播的卡顿持续时长, 当检测到所述 0TT直播的卡顿持续时 长之和大于或等于第一时长阈值时, 确定所述 0TT直播存在播放滞后; 或者, 检测所述 0TT直播的卡顿持续时长及所述 0TT直播的流畅播放持续时长, 当检 测到所述 0TT直播的卡顿持续时长之和小于所述第一时长阈值, 且所述 0TT直 播的流畅播放持续时长大于或等于第二时长阈值时, 确定所述 0TT直播存在播 放滞后。  Determining the duration of the cardon duration of the 0TT live broadcast, and determining that the 0TT live broadcast has a playback lag when detecting that the sum of the durations of the 0TT live broadcasts is greater than or equal to the first duration threshold; or detecting the 0TT live broadcast And the duration of the smooth play of the 0TT live broadcast is less than the first duration threshold, and the duration of the smooth play of the 0TT live broadcast is greater than or When it is equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
结合第二方面或者结合所述第二方面的第一种可能的实现方式, 还提供了 所述第二方面的第二种可能的实现方式, 在所述第二方面的第二种可能的实现 方式中, 所述确定单元还用于, 在确定所述第一快速播放幅度, 以便于播放装 置根据所述第一快速播放幅度调整所述播放速率, 并根据调整后的所述播放速 率进行所述 OTT直播之后, 根据所述 OTT直播的播放状态, 确定所述播放速率 为预设播放速率, 以使所述播放装置以所述预设播放速率继续进行所述 0TT直 播。 In conjunction with the second aspect or in combination with the first possible implementation of the second aspect, a second possible implementation of the second aspect is also provided, and a second possible implementation of the second aspect In the mode, the determining unit is further configured to: determine the first fast play amplitude, so that the playing device adjusts the play rate according to the first fast play amplitude, and according to the adjusted play speed After the OTT broadcast is performed, the playback rate is determined to be a preset playback rate according to the playback state of the OTT live broadcast, so that the playback device continues to perform the 0TT live broadcast at the preset playback rate.
结合第二方面的第二种可能的实现方式, 还提供了所述第二方面的第三种 可能的实现方式, 在所述第二方面的第三种可能的实现方式中, 所述确定单元 确定所述播放速率为所述预设播放速率包括:  In conjunction with the second possible implementation of the second aspect, a third possible implementation of the second aspect is also provided. In a third possible implementation manner of the second aspect, the determining unit Determining the play rate as the preset play rate includes:
当所述 0TT直播的卡顿持续时长之和为零时, 确定所述播放速率为所述预 设播放速率; 或者, 当所述 0TT直播再次出现卡顿时, 确定所述播放速率为所 述预设播放速率; 或者, 当检测到当前的网络传输速率小于当前的播放速率时, 确定所述播放速率为所述预设播放速率。  Determining that the playback rate is the preset playback rate when the sum of the durations of the 0TT live broadcasts is zero; or determining that the playback rate is the pre-determination when the 0TT live broadcast occurs again. The playback rate is set; or, when it is detected that the current network transmission rate is less than the current playback rate, determining that the playback rate is the preset playback rate.
结合第二方面或者结合所述第二方面的上述任一种可能的实现方式, 还提 供了所述第二方面的第四种可能的实现方式, 在所述第二方面的第四种可能的 实现方式中, 所述确定单元根据所述网络传输速率及所述播放速率, 确定第一 快速播放幅度包括:  A fourth possible implementation of the second aspect, and a fourth possible In an implementation manner, the determining unit determines, according to the network transmission rate and the playing rate, that the first fast play amplitude includes:
当 Rp<Rt<Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定所述第一快速播放幅度; 其中, a为所述第 一快速播放幅度, Rp为所述播放速率, Rt为所述网络传输速率, Ya为所述第一 快速播放幅度对应的第一预设阀值。  When Rp<Rt<Rp (l+Ya), the first fast play amplitude is determined according to a=( Rt−Rp ) /Rp; when Rt Rp (l+Ya), the first is determined according to a=Ya A fast play amplitude; wherein a is the first fast play amplitude, Rp is the play rate, Rt is the network transmission rate, and Ya is a first preset threshold corresponding to the first fast play amplitude.
第三方面, 提供一种越顶 0TT直播的播放装置, 包括:  In a third aspect, a playback device for a top-of-the-line 0TT live broadcast is provided, including:
接收单元, 用于接收检测装置发送的快速播放幅度, 所述快速播放幅度由 检测装置检测到 0TT直播存在播放滞后时, 获取对应所述 0TT直播的网络传输 速率及所述 0TT直播的播放速率, 在确定所述播放速率大于零且所述网络传输 速率大于所述播放速率, 则根据所述网络传输速率及所述播放速率, 确定所述 快速播放幅度; 播放单元, 用于根据所述快速播放幅度调整所述播放速率, 并 根据调整后的所述播放速率进行所述 0TT直播。  a receiving unit, configured to receive a fast play amplitude sent by the detecting device, where the fast play amplitude is detected by the detecting device, and the playback speed of the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained, After determining that the play rate is greater than zero and the network transmission rate is greater than the play rate, determining the fast play amplitude according to the network transmission rate and the play rate; and playing a unit, according to the fast play The playback rate is adjusted in amplitude, and the 0TT live broadcast is performed according to the adjusted playback rate.
结合第三方面, 在所述第三方面的第一种可能的实现方式中, 所述播放装 置位于 0TT视频服务器设备、 或者所述播放装置位于终端设备、 或者所述播放 装置位于网络设备。  In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the playback device is located at the 0TT video server device, or the playback device is located at the terminal device, or the playback device is located at the network device.
第四方面, 提供一种越顶 0TT直播系统, 包括检测装置及播放装置, 其中 所述检测装置, 用于检测 0TT直播是否存在播放滞后, 当检测到 0TT直播 存在播放滞后时, 获取对应所述 0TT直播的网络传输速率及所述 0TT直播的播 放速率, 如果所述播放速率大于零且所述网络传输速率大于所述播放速率, 则 根据所述网络传输速率及所述播放速率, 确定第一快速播放幅度, 并向所述播 放装置发送所述第一快速播放幅度; 所述播放装置, 用于接收所述检测装置发 送的所述第一快速播放幅度, 并根据所述第一快速播放幅度调整所述播放速率, 并根据调整后的所述播放速率进行所述 0TT直播。 The fourth aspect provides a top-of-the-top 0TT live broadcast system, including a detecting device and a playing device, wherein the detecting device is configured to detect whether the 0TT live broadcast has a playback lag, and when the 0TT live broadcast is detected When there is a playback lag, the network transmission rate corresponding to the 0TT live broadcast and the playback rate of the 0TT live broadcast are obtained, and if the play rate is greater than zero and the network transmission rate is greater than the play rate, according to the network transmission rate And the playing rate, determining a first fast play amplitude, and transmitting the first fast play amplitude to the playing device; the playing device, configured to receive the first fast play amplitude sent by the detecting device, And adjusting the play rate according to the first fast play range, and performing the 0TT live broadcast according to the adjusted play rate.
结合第四方面, 在所述第四方面第一种可能的实现方式中, 所述检测装置 检测 0TT直播是否存在播放滞后包括:  With reference to the fourth aspect, in the first possible implementation manner of the fourth aspect, the detecting, by the detecting apparatus, detecting whether the 0TT live broadcast has a playback lag includes:
检测所述 0TT直播的卡顿持续时长, 当检测到所述 0TT直播的卡顿持续时 长之和大于或等于第一时长阀值时, 确定所述 0TT直播存在播放滞后; 或者, 检测所述 0TT直播的卡顿持续时长及所述 0TT直播的流畅播放持续时长, 当检 测到所述 0TT直播的卡顿持续时长之和小于所述第一时长阀值且所述 0TT直播 的流畅播放持续时长大于或等于第二时长阀值时, 确定所述 0TT直播存在播放 滞后。  Detecting the duration of the stagnation of the 0TT live broadcast, and determining that the 0TT live broadcast has a play lag when detecting that the sum of the durations of the 0TT live broadcasts is greater than or equal to the first duration threshold; or detecting the 0TT The duration of the live broadcast of the Carton and the duration of the smooth play of the 0TT live broadcast, when the detected duration of the 0TT live broadcast is less than the first duration threshold and the duration of the smooth play of the 0TT live broadcast is greater than Or equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
结合第四方面或者结合所述第四方面的第一种可能的实现方式, 还提供了 所述第四方面的第二种可能的实现方式, 在所述第四方面的第二种可能的实现 方式中, 所述检测装置, 还用于根据所述 0TT直播的播放状态, 确定按预设播 放速率继续进行所述 0TT直播, 并通知所述直播的播放装置按预设的播放速率 继续进行所述 0TT直播。  In conjunction with the fourth aspect or in combination with the first possible implementation of the fourth aspect, a second possible implementation of the fourth aspect is also provided, and a second possible implementation of the fourth aspect In the mode, the detecting device is further configured to: according to the playing state of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset playing rate, and notify the broadcast playing device to continue to perform at a preset playing rate. The 0TT live broadcast.
结合所述第四方面的第二种可能的实现方式, 还提供了所述第四方面的第 三种可能的实现方式, 在所述第四方面的第三种可能的实现方式中, 所述检测 装置确定按预设播放速率继续进行所述 0TT直播包括:  In conjunction with the second possible implementation of the fourth aspect, a third possible implementation manner of the fourth aspect is further provided. In a third possible implementation manner of the fourth aspect, The detecting device determines to continue the 0TT live broadcast according to the preset playing rate, including:
当检测到所述 0TT直播的卡顿持续时长之和为零时, 确定按预设的播放速 率继续进行所述 0TT直播; 或者, 当检测到所述 0TT直播再次出现卡顿时, 确 定按预设的播放速率继续进行所述 0TT直播; 或者, 当检测到当前的网络传输 速率小于当前的播放速率时, 确定按预设的播放速率继续进行所述 0TT直播。  When it is detected that the sum of the durations of the 0TT live broadcasts is zero, it is determined that the 0TT live broadcast is continued according to the preset play rate; or, when it is detected that the 0TT live broadcast occurs again, the preset is determined to be preset. The playback rate continues to perform the 0TT live broadcast; or, when it is detected that the current network transmission rate is less than the current playback rate, it is determined that the 0TT live broadcast is continued at the preset playback rate.
结合所述第四方面或者结合所述第四方面的上述任一种可能的实现方式, 还提供了所述第四方面的第四种可能的实现方式, 在所述第四方面的第四种可 能的实现方式中, 所述检测装置根据所述网络传输速率及所述播放速率, 确定 第一快速播放幅度包括: 当 Rp<R t <Rp (l+Ya)时, 根据 a= ( R t-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt Rp (l +Ya)时, 根据 a=Ya确定所述第一快速播放幅度; 其中, a为所述第 一快速播放幅度, Rp为所述播放速率, Rt为所述网络传输速率, Ya为所述第一 快速播放幅度对应的第一预设阀值。 In conjunction with the fourth aspect or in combination with any of the foregoing possible implementations of the fourth aspect, a fourth possible implementation of the fourth aspect is also provided, and the fourth aspect of the fourth aspect In a possible implementation manner, the determining, by the detecting device, determining, according to the network transmission rate and the playing rate, the first fast play amplitude includes: When Rp<R t <Rp (l+Ya), the first fast play amplitude is determined according to a=( R t-Rp ) /Rp; when Rt Rp (l +Ya), the determination is made according to a=Ya The first fast play amplitude; wherein a is the first fast play amplitude, Rp is the play rate, Rt is the network transmission rate, and Ya is the first preset valve corresponding to the first fast play amplitude value.
结合所述第四方面或者结合所述第四方面的上述任一种可能的实现方式, 还提供了所述第四方面的第五种可能的实现方式, 在所述第四方面的第五种可 能的实现方式中, 所述检测装置位于 0TT视频服务器设备、 或者位于终端设备、 或者位于网络设备; 所述播放装置位于所述 0TT视频服务器设备、 或者位于所 述终端设备、 或者位于所述网络设备。 通过本发明实施例提供的技术方案, 当检测到 0TT直播存在播放滞后时, 获取网络传输速率及 0TT直播的播放速率, 如果播放速率大于零且网络传输速 率大于播放速率, 则根据网络传输速率及播放速率, 确定第一快速播放幅度, 根据第一快速播放幅度调整播放速率, 并根据调整后的播放速率进行 0TT直播。 从而根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 附图说明  In conjunction with the fourth aspect or in combination with any of the foregoing possible implementations of the fourth aspect, a fifth possible implementation of the fourth aspect is also provided, and the fifth aspect of the fourth aspect In a possible implementation manner, the detecting device is located at the 0TT video server device, or located at the terminal device, or located at the network device; the playback device is located at the 0TT video server device, or located at the terminal device, or located in the network. device. According to the technical solution provided by the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the network transmission rate and the playback rate of the 0TT live broadcast are obtained. If the playback rate is greater than zero and the network transmission rate is greater than the playback rate, then according to the network transmission rate and The playback rate determines the first fast play range, adjusts the play rate according to the first fast play range, and performs 0TT live broadcast according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained based on these drawings without any creative work.
图 1为本发明实施例提供的一种越顶 0TT直播的方法的流程图;  FIG. 1 is a flowchart of a method for over-the-top 0TT live broadcast according to an embodiment of the present invention;
图 1为本发明实施例提供的另一种越顶 0TT直播的方法的流程图; 图 3为本发明实施例提供的另一种越顶 0TT直播的方法的流程图; 图 4为本发明实施例提供的一种越顶 0TT直播系统的结构示意图; 图 5为本发明实施例图 4提供的越顶 0TT直播系统实现越顶 0TT直播的方 法的流程图;  FIG. 1 is a flowchart of another method for over-the-top 0TT live broadcast according to an embodiment of the present invention; FIG. 3 is a flowchart of another method for over-the-top 0TT live broadcast according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a method for implementing a top-of-the-top 0TT live broadcast system according to an embodiment of the present invention; FIG.
图 6为本发明实施例提供的一种应用场景实现越顶 0TT直播的方法的流程 示意图; 图 Ί为本发明实施例提供的另一种应用场景实现越顶 0ΤΤ直播的方法的流 程示意图; FIG. 6 is a schematic flowchart of a method for implementing a top-of-the-top 0TT live broadcast in an application scenario according to an embodiment of the present disclosure; FIG. 3 is a schematic flowchart of a method for implementing a live broadcast of another application scenario according to an embodiment of the present invention;
图 8为本发明实施例提供的另一种应用场景实现越顶 0ΤΤ直播的方法的流 程示意图;  FIG. 8 is a schematic flowchart of a method for implementing a live broadcast of another application scenario according to an embodiment of the present disclosure;
图 9为本发明实施例提供的另一种越顶 0ΤΤ直播系统的结构示意图; 图 10为本发明实施例提供的一种越顶 0TT直播的检测装置的结构示意图; 图 11 为本发明实施例提供的另一种越顶 0TT 直播的播放装置的结构示意 图;  FIG. 9 is a schematic structural diagram of another over-the-top 0 ΤΤ live broadcast system according to an embodiment of the present invention; FIG. 10 is a schematic structural diagram of a top-over 0 TT live broadcast detecting apparatus according to an embodiment of the present invention; A schematic diagram of another playback device provided by the top-of-the-top 0TT live broadcast device;
图 12 为本发明实施例提供的另一种越顶 0TT 直播的检测装置的结构示意 图;  FIG. 12 is a schematic structural diagram of another detecting device for over-the-top 0TT live broadcast according to an embodiment of the present invention; FIG.
图 13 为本发明实施例提供的另一种越顶 0TT 直播的播放装置的结构示意 图。 具体实施方式  FIG. 13 is a schematic structural diagram of another playback apparatus for over-the-top 0TT live broadcast according to an embodiment of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图, 对本发明实施例中的技术方案进行清楚地描述, 显然, 所描 述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实 施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实 施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly described in conjunction with the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are Some embodiments, rather than all of the embodiments, are invented. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种 0TT直播的方法, 如图 1所示, 该方法可以包括: The embodiment of the present invention provides a method for live broadcast of 0TT. As shown in FIG. 1, the method may include:
1 01、 当检测到 0TT直播存在播放滞后时, 获取对应该 0TT直播的网络传输 速率及该 0TT直播的播放速率。 1 01. When it is detected that there is a playback lag in the 0TT live broadcast, the network transmission rate corresponding to the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained.
1 02、 如果该播放速率大于零且该网络传输速率大于该播放速率, 则根据该 网络传输速率及该播放速率, 确定第一快速播放幅度, 以便于根据该第一快速 播放幅度调整该播放速率, 并根据调整后的该播放速率进行该 οττ直播。  If the playback rate is greater than zero and the network transmission rate is greater than the playback rate, determining a first fast playback amplitude according to the network transmission rate and the playback rate, so as to adjust the playback rate according to the first fast playback amplitude. And performing the οττ live broadcast according to the adjusted playback rate.
其中, 该 0TT直播的播放速率大于零是指该 0TT直播当前处于非卡顿状态。 本发明实施例的 0ΤΤ直播的方法, 当检测到 0TT直播存在播放滞后时, 获 取网络传输速率及 0TT直播的播放速率, 如果播放速率大于零且网络传输速率 大于播放速率, 则根据网络传输速率及播放速率, 确定第一快速播放幅度, 根 据第一快速播放幅度调整播放速率, 并根据调整后的播放速率进行 0TT直播。 从而根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 The playing rate of the 0TT live broadcast is greater than zero, which means that the 0TT live broadcast is currently in a non-cartridge state. In the method of the live broadcast of the present invention, when the playback delay of the 0TT live broadcast is detected, the network transmission rate and the playback rate of the 0TT live broadcast are obtained. If the playback rate is greater than zero and the network transmission rate is greater than the playback rate, then according to the network transmission rate and The playback rate determines the first fast play range, adjusts the play rate according to the first fast play range, and performs 0TT live broadcast according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience.
本发明实施例中, 可选地, 上述 101 中检测 0TT直播存在播放滞后的方法 可以包括以下两种, 本发明实施例中两种方法可以同时应用。  In the embodiment of the present invention, the method for detecting the playback delay of the 0TT live broadcast in the foregoing 101 may include the following two methods. In the embodiment of the present invention, the two methods may be applied simultaneously.
方法一  method one
当检测到 0TT直播的卡顿持续时长之和(Tc ) 大于或等于 Yc (第一时长阀 值), 即 Tc > Yc时, OTT直播存在播放滞后。  When it is detected that the sum of the durations of the Karton duration (Tc) of the 0TT live broadcast is greater than or equal to Yc (the first duration threshold), that is, Tc > Yc, there is a playback lag in the OTT live broadcast.
具体地, Tc可以为一次卡顿的持续时长, 也可以为多次卡顿的持续时长累 加之和。 例如, 如果第一次卡顿的持续时长已大于或等于该第一时长阀值, 则 判断为该 0TT直播存在播放滞后; 再例如, 如果第一次卡顿的持续时长小于该 第一时长阀值, 则将第一次卡顿的持续时长与第二次卡顿的持续时长进行累加, 以此类推直至累加之和大于或等于 Yc , 则判断为该 OTT直播存在播放滞后。 其 中, Yc可以预先设置, 并可以根据不同的场景进行变更。  Specifically, Tc may be the duration of one jam, or may be the sum of the durations of multiple jams. For example, if the duration of the first jam has been greater than or equal to the first duration threshold, it is determined that there is a playback lag in the 0TT live broadcast; for example, if the duration of the first jam is less than the first duration valve The value accumulates the duration of the first jam and the duration of the second jam, and so on until the sum of the sums is greater than or equal to Yc, then it is determined that there is a play lag in the OTT live broadcast. Among them, Yc can be set in advance and can be changed according to different scenarios.
方法二  Method Two
当检测到 0TT直播的 Tc < Yc且 OTT直播的流畅播放持续时长( Td ) 大于或 等于 Yd (第二时长阀值) 时, 0TT直播存在播放滞后。  When the TTC < Yc of the 0TT live broadcast is detected and the continuous playback duration (Td) of the OTT live broadcast is greater than or equal to Yd (the second duration threshold), there is a playback lag in the 0TT live broadcast.
其中, Tc可以为一次卡顿的持续时长, 也可以为多次卡顿的持续时长累加 之和; 流畅播放是指中途无卡顿的持续播放; 其中, Yd可以预先设置, 并可以 根据不同的场景进行变更。  Wherein, Tc can be the duration of one jam, or the sum of the durations of multiple jams; smooth play refers to continuous play without card in the middle; wherein Yd can be preset, and can be different according to The scene is changed.
本发明实施例中, 可选地, 上述 102中根据该网络传输速率及该播放速率, 确定第一快速播放幅度时, 可以采用如下方法:  In the embodiment of the present invention, optionally, when determining the first fast play range according to the network transmission rate and the play rate, the following method may be adopted:
当 Rp<Rt<Rp (1+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定该第一快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定该第一快速播放幅度。 其中, a为该第一快速 播放幅度, Rp为该播放速率, R t为该网络传输速率, Ya为该第一快速播放幅度 对应的第一预设阀值。  When Rp<Rt<Rp (1+Ya), the first fast play amplitude is determined according to a=( Rt−Rp ) /Rp; when Rt Rp (l+Ya), the first fast is determined according to a=Ya Playback range. Where a is the first fast play range, Rp is the play rate, R t is the network transmission rate, and Ya is the first preset threshold corresponding to the first fast play range.
其中, 该第一预设阀值可以预先设置, 并可以根据不同的场景进行变更。 如图 2所示, 本发明实施例中, 可选地, 该 0TT直播的方法还可以包括: The first preset threshold may be preset and may be changed according to different scenarios. As shown in FIG. 2, in the embodiment of the present invention, the method of the 0TT live broadcast may further include:
1 03、 根据网络传输速率及播放速率, 确定第二快速播放幅度, 并根据该第 二快速播放幅度继续进行该 0TT直播, 该第二快速播放幅度大于第二预设阀值 时, 将该第二预设阀值作为该第二快速播放幅度。 具体地, 根据该第二快速播放幅度确定播放速率, 按确定的播放速率继续 进行 0TT直播。 1 03. Determine a second fast play range according to the network transmission rate and the play rate, and continue the 0TT live broadcast according to the second fast play range, where the second fast play amplitude is greater than the second preset threshold, The second preset threshold is used as the second fast play amplitude. Specifically, the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued according to the determined play rate.
本发明实施例中, 可以采用如下方法确定该第二快速播放幅度:  In the embodiment of the present invention, the second fast play range may be determined by using the following method:
当 Rp<Rt<Rp (1+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定该第二快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定该第二快速播放幅度; 其中, a为该第二快速 播放幅度, Rp为该播放速率, R t为该网络传输速率, Ya为该第二快速播放幅度 对应的第二预设阀值。  When Rp<Rt<Rp (1+Ya), the second fast play amplitude is determined according to a=( Rt−Rp ) /Rp; when Rt Rp (l+Ya), the second fast is determined according to a=Ya Playback amplitude; where a is the second fast play range, Rp is the play rate, R t is the network transmission rate, and Ya is the second preset threshold corresponding to the second fast play range.
其中, 该第二预设阀值可以预先设置, 并可以根据不同的场景进行变更, 本发明实施例中, 该第一预设阀值、 该第二预设阀值可以设置为相同的值, 也 可以设置为不同的值。  The second preset threshold may be set in advance, and may be changed according to different scenarios. In the embodiment of the present invention, the first preset threshold and the second preset threshold may be set to the same value. It can also be set to a different value.
本发明实施例中, 该第二快速播放幅度大于第二预设阀值时, 将该第二预 设阀值作为该第二快速播放幅度, 这样, 可以防止快速播放幅度过大影响用户 体验。  In the embodiment of the present invention, when the second fast play amplitude is greater than the second preset threshold, the second preset threshold is used as the second fast play amplitude, so that the fast play amplitude is prevented from affecting the user experience.
如图 3所示, 本发明实施例中, 可选地, 该 0TT直播的方法还可以包括: 1 04、 根据该 0TT直播的播放状态, 确定按预设的播放速率继续进行该 0TT 直播。  As shown in FIG. 3, in the embodiment of the present invention, optionally, the 0TT live broadcast method may further include: 1 04. According to the play status of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset play rate.
具体地, 可以根据卡顿情况, 或者根据该网络传输速率及该播放速率, 确 定由将该 0TT直播的速度变更为按预设的播放速率进行该 0TT直播。  Specifically, the 0TT live broadcast may be determined by changing the speed of the 0TT live broadcast to the preset play rate according to the card condition or according to the network transmission rate and the play rate.
例如, 检测到该 0TT直播的卡顿持续时长之和为零时, 确定按该预设的播 放速率继续进行该 0TT直播。  For example, when it is detected that the sum of the durations of the Karton durations of the 0TT live broadcast is zero, it is determined that the 0TT live broadcast is continued at the preset play rate.
例如, 检测到再次出现卡顿时, 确定按该预设的播放速率继续进行该 0TT 直播。  For example, when it is detected that the jam occurs again, it is determined that the 0TT live broadcast is continued at the preset playback rate.
例如, 检测到当前的网络传输速率小于当前的播放速率时, 确定按该预设 的播放速率继续进行该 0TT直播。  For example, when it is detected that the current network transmission rate is less than the current playing rate, it is determined that the 0TT live broadcast is continued at the preset playing rate.
其中, 预设的播放速率通常设置为正常速率播放, 当然还可以设置为其他 播放速率, 本发明实施例不做限定。  The preset playback rate is usually set to the normal rate, and may be set to other playback rates, which is not limited in the embodiment of the present invention.
这样, 可以实现与预设的播放速率顺畅对接, 保证 0TT直播流畅进行。 本发明实施例中, 该第一快速播放幅度大于第一预设阀值时, 可以将该第 一预设阀值作为该第一快速播放幅度。 这样, 可以防止快速播放幅度过大影响 用户体马 。 本发明实施例中, 该第一快速播放幅度、 该第二快速播放幅度均为快速播 放幅度, 该第一快速播放幅度、 该第二快速播放幅度是为区分不同快速播放幅 度而进行的划分, 不构成对本发明实施例的限定。 In this way, the smooth connection with the preset playback rate can be achieved, and the 0TT live broadcast can be smoothly performed. In the embodiment of the present invention, when the first fast play amplitude is greater than the first preset threshold, the first preset threshold may be used as the first fast play range. In this way, it is possible to prevent the excessively fast amplitude from affecting the user's body. In the embodiment of the present invention, the first fast play range and the second fast play range are fast play ranges, and the first fast play range and the second fast play range are divisions for distinguishing different fast play ranges. It is not intended to limit the embodiments of the invention.
本发明实施例的 0TT直播的方法, 当检测到该 0TT直播存在播放滞后时, 获取该网络传输速率及该 0TT直播的播放速率, 如果该播放速率大于零且该网 络传输速率大于该播放速率, 则根据该网络传输速率及该播放速率, 确定该第 一快速播放幅度, 根据第一快速播放幅度调整播放速率, 并根据调整后的播放 速率进行 0TT直播。 从而根据网络传输速率及播放速率调整快速播放幅度, 修 复 0TT直播的滞后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以 提高用户体验。 如图 4所示, 本发明实施例提供一种 0TT直播系统 3000, 该系统可以实现 本发明实施例的 0TT 直播的方法, 该系统可以包括检测装置 3001 及播放装置 3002 , 其中  In the 0TT live broadcast method of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the network transmission rate and the playback rate of the 0TT live broadcast are obtained. If the play rate is greater than zero and the network transmission rate is greater than the play rate, And determining, according to the network transmission rate and the playback rate, the first fast play range, adjusting the play rate according to the first fast play range, and performing 0TT live broadcast according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience. As shown in FIG. 4, an embodiment of the present invention provides an 0TT live broadcast system 3000, which can implement a 0TT live broadcast method according to an embodiment of the present invention. The system can include a detection device 3001 and a playback device 3002, where
该检测装置 3001 , 用于检测 0TT直播是否存在播放滞后, 当检测到该 0TT 直播存在播放滞后时, 获取对应该 0TT直播的网络传输速率及该 0TT直播的播 放速率, 如果该播放速率大于零且该网络传输速率大于该播放速率, 则根据该 网络传输速率及该播放速率, 确定第一快速播放幅度, 并向播放装置发送该第 一快速播放幅度。  The detecting device 3001 is configured to detect whether there is a play lag in the 0TT live broadcast, and when detecting that the 0TT live broadcast has a play lag, obtain a network transmission rate corresponding to the 0TT live broadcast and a play rate of the 0TT live broadcast, if the play rate is greater than zero and The network transmission rate is greater than the playback rate, and the first fast play amplitude is determined according to the network transmission rate and the play rate, and the first fast play amplitude is sent to the playback device.
其中, 该当前播放速率大于零是指该 0TT直播当前处于非卡顿状态。  The current playing rate is greater than zero, which means that the 0TT live broadcast is currently in a non-cartridge state.
该播放装置 3002 , 用于接收该检测装置 3001发送的该第一快速播放幅度, 并根据该第一快速播放幅度调整播放速率,并根据调整后的播放速率进行该 0TT 直播。  The playing device 3002 is configured to receive the first fast play amplitude sent by the detecting device 3001, adjust a play rate according to the first fast play amplitude, and perform the 0TT live broadcast according to the adjusted play rate.
本发明实施例中,根据不同的应用场景该检测装置 3001与该播放装置 3002 可以位于同一设备中, 也可以位于不同设备中。  In the embodiment of the present invention, the detecting device 3001 and the playing device 3002 may be located in the same device or may be located in different devices according to different application scenarios.
本发明实施例中, 可选地, 该检测装置 3001检测该 0TT直播是否存在播放 滞后时, 可以检测该 0TT直播的卡顿持续时长, 当检测到该 0TT直播的卡顿持 续时长之和大于或等于第一时长阀值时, 该 0TT直播存在播放滞后。  In the embodiment of the present invention, optionally, the detecting device 3001 detects whether the 0TT live broadcast has a play lag, and can detect the duration of the 0TT live broadcast. When the detected duration of the 0TT live broadcast is greater than or When it is equal to the first time threshold, the 0TT live broadcast has a playback lag.
具体地, 该卡顿持续时长之和可以为一次卡顿的持续时长, 也可以为多次 卡顿的持续时长累加之和。 例如, 如果第一次卡顿的持续时长已大于或等于该 第一时长阀值, 则判断为该 0TT直播存在播放滞后; 再例如, 如果第一次卡顿 的持续时长小于该第一时长阀值, 则将第一次卡顿的持续时长与第二次卡顿的 持续时长进行累加, 以此类推直至累加之和大于或等于该第一时长阀值, 则判 断为该 0TT直播存在播放滞后。 另外, 该第一时长阀值可以预先设置, 并可以 根据不同的场景进行变更。 Specifically, the sum of the durations of the stuck times may be the duration of one jam, or may be the sum of the durations of the multiple jams. For example, if the duration of the first jam has been greater than or equal to the The first duration threshold determines that there is a playback lag in the 0TT live broadcast; for example, if the duration of the first jam is less than the first duration threshold, the duration of the first jam is the second time The duration of the stuck is accumulated, and so on until the sum of the accumulated times is greater than or equal to the first duration threshold, then it is determined that there is a playback lag in the 0TT live broadcast. In addition, the first duration threshold may be preset and may be changed according to different scenarios.
本发明实施例中, 可选地, 该检测装置 3001检测该 0TT直播是否存在播放 滞后时, 可以检测该 0TT直播的卡顿持续时长及该 0TT直播的流畅播放持续时 长, 当检测到该 0TT直播的卡顿持续时长之和小于第一时长阀值且该 0TT直播 的流畅播放持续时长大于或等于第二时长阀值时, 该 0TT直播存在播放滞后。  In the embodiment of the present invention, optionally, the detecting device 3001 detects whether the 0TT live broadcast has a play lag, and can detect the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast. When the sum of the durations of the Cartons is less than the first duration threshold and the duration of the smooth playback of the 0TT live broadcast is greater than or equal to the second duration threshold, the 0TT live broadcast has a playback lag.
其中, 该卡顿持续时长之和可以为一次卡顿的持续时长, 也可以为多次卡 顿的持续时长累加之和; 该流畅播放是指中途无卡顿的持续播放; 该第二时长 阀值可以预先设置, 并可以根据不同的场景进行变更。  Wherein, the sum of the durations of the Kardons may be the duration of one jam, or may be the sum of the durations of the multiple jams; the smooth play refers to the continuous play without the jam in the middle; the second duration valve Values can be set in advance and can be changed according to different scenarios.
本发明实施例中, 可选地, 该检测装置 3001还可以用于, 根据该 0TT直播 的播放状态, 确定按预设的播放速率继续进行该 0TT直播, 并通知该播放装置 3002按预设的播放速率继续进行该 0TT直播。  In the embodiment of the present invention, the detecting device 3001 may be further configured to: according to the playing state of the 0TT live broadcast, determine to continue the 0TT live broadcast according to a preset playing rate, and notify the playing device 3002 to preset according to the preset The playback rate continues with the 0TT live broadcast.
具体地, 可以根据卡顿情况, 或者根据该网络传输速率及当前的播放速率, 确定按预设的播放速率进行该 0TT直播。  Specifically, the 0TT live broadcast can be determined according to the preset play rate according to the card condition or according to the network transmission rate and the current play rate.
本发明实施例中, 可选地, 该检测装置 3001确定按该预设播放速率继续进 行 0TT直播时, 可以检测到该 0TT直播的卡顿持续时长之和为零时, 确定按预 设的播放速率继续进行该 0TT直播。  In the embodiment of the present invention, optionally, when the detecting apparatus 3001 determines to continue the 0TT live broadcast according to the preset playing rate, it may detect that the sum of the durations of the 0TT live broadcasts is zero, and determine to play according to the preset. The rate continues with the 0TT live broadcast.
或者, 该检测装置 3001确定按该预设播放速率继续进行该 0TT直播时, 可 以检测到再次出现卡顿时, 确定该按预设的播放速率继续进行该 0TT直播。  Alternatively, the detecting device 3001 determines that when the 0TT live broadcast is continued according to the preset playing rate, when it is detected that the card is re-occurring, it is determined that the 0TT live broadcast is continued at the preset playing rate.
或者, 该检测装置 3001确定按该预设播放速率继续进行该 0TT直播时, 可 以检测到当前的网络传输速率小于当前的播放速率时, 确定按该预设的播放速 率继续进行该 0TT直播。  Alternatively, the detecting device 3001 determines that when the 0TT live broadcast is continued according to the preset play rate, when the current network transmission rate is lower than the current play rate, it is determined that the 0TT live broadcast is continued according to the preset play rate.
其中, 该预设的播放速率通常设置为正常速率播放, 当然还可以设置为其 他播放速率, 本发明实施例不做限定。  The preset playback rate is usually set to the normal rate, and the playback rate is not limited.
本发明实施例中, 可选地, 该检测装置 3001根据该网络传输速率及该播放 速率, 确定该第一快速播放幅度时, 如果 Rp<Rt <Rp (l+Ya) , 则根据 a= ( Rt-Rp ) /Rp确定该第一快速播放幅度, 如果 Rt Rp (l+Ya) , 则根据 a=Ya确定该第一快 速播放幅度。 In the embodiment of the present invention, optionally, when the detecting device 3001 determines the first fast play amplitude according to the network transmission rate and the play rate, if Rp<Rt <Rp (l+Ya), according to a=( Rt-Rp ) /Rp determines the first fast play amplitude, and if Rt Rp (l+Ya), the first fast is determined according to a=Ya Speed playback amplitude.
其中, a为该第一快速播放幅度, Rp为该播放速率, Rt为该网络传输速率, Ya为该第一快速播放幅度对应的该第一预设阀值。  Where a is the first fast play range, Rp is the play rate, Rt is the network transmission rate, and Ya is the first preset threshold corresponding to the first fast play range.
本发明实施例中, 可选地, 该检测装置 3001还可以用于, 根据网络传输速 率及播放速率, 确定第二快速播放幅度; 向该播放装置 3002发送该第二快速播 放幅度, 使得该播放装置 3002根据该第二快速播放幅度继续进行 0TT直播。  In the embodiment of the present invention, the detecting device 3001 is further configured to: determine, according to a network transmission rate and a playing rate, a second fast playing amplitude; and send the second fast playing amplitude to the playing device 3002, so that the playing The device 3002 continues the 0TT live broadcast according to the second fast play range.
具体地, 根据该第二快速播放幅度确定播放速率, 按确定的播放速率继续 进行该 0TT直播。  Specifically, the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued at the determined play rate.
本发明实施例中, 该第二快速播放幅度大于第二预设阀值时, 该检测装置 3001 可以将第二预设阀值作为该第二快速播放幅度。 同样, 该第一快速播放幅 度大于第一预设阀值时, 该检测装置 3001可以将该第一预设阀值作为第一快速 播放幅度。 这样, 可以防止快速播放幅度过大影响用户体验。 本发明实施例中, 根据不同的应用场景该第一预设阀值、 该第二预设阀值可以相同也可以不同, 本发明实施例不作限定。  In the embodiment of the present invention, when the second fast play amplitude is greater than the second preset threshold, the detecting device 3001 may use the second preset threshold as the second fast play amplitude. Similarly, when the first fast play amplitude is greater than the first preset threshold, the detecting device 3001 may use the first preset threshold as the first fast play amplitude. In this way, it is possible to prevent the fast play range from being too large to affect the user experience. In the embodiment of the present invention, the first preset threshold and the second preset threshold may be the same or different according to different application scenarios, which are not limited in the embodiment of the present invention.
本发明实施例的 0TT直播系统在快速播放过程中, 该检测装置 3001实时监 控緩存及网络状态, Tc=0或发生卡顿或 Rt<Rp时, 停止快速播放, 若停止快速 播放时 Tc不等于 0 , 则根据 Tc, =Tc _ a *T确定本次剩余的卡顿持续时长之和, 并将本次剩余的卡顿持续时长之和计入下次卡顿持续时长之和。 其中 Tc, 为本 次剩余的卡顿持续时长之和, Tc 为卡顿持续时长之和, a 为快速播放幅度, T 为按快速播放幅度 a进行快速播放的持续时间。  In the fast playback process of the 0TT live broadcast system of the embodiment of the present invention, the detecting device 3001 monitors the cache and the network status in real time, and stops the fast play when Tc=0 or when the stuck or Rt<Rp occurs, and the Tc is not equal if the fast play is stopped. 0, then the sum of the remaining durations of the current Carton is determined according to Tc, =Tc_a*T, and the sum of the remaining durations of the previous Cartons is included in the sum of the durations of the next Carton. Where Tc is the sum of the remaining durations of the Cartons, Tc is the sum of the durations of the Cartons, a is the fast play range, and T is the duration of the fast play by the fast play range a.
本发明实施例在快速播放启动后, 可以不再进行是否启动快速播放的判断, 根据参数变化(例如 Rt变化 ) 实时调整快速播放幅度 a继续快速播放直至满足 停止快速播放的条件, 此处 a的计算方法与上述 a的确定方法相同。  In the embodiment of the present invention, after the fast play is started, the judgment of whether to start the fast play may not be performed, and the fast play range is adjusted in real time according to the parameter change (for example, Rt change), and the fast play is continued until the condition for stopping the fast play is satisfied, where a The calculation method is the same as the determination method of the above a.
本发明实施例中, 该播放装置 3002根据该检测装置 3001 的指令启动快速 播放,该检测装置 3001确定的快速播放幅度微调数据参数(如帧速率( Frame Per Second, 筒称为 FPS )、显示时间标记( Pr es en ta t ion Time S tamp , 筒称为 PTS )、 时间戳(t ime s t amp )等)。 该检测装置 3001与该播放装置 3002 间的交互信令 的指令包括: 启动快速播放信令、 参数变更信令(如 a 变更) 以及停止快速播 放等, 其中该启动快速播放信令和该参数变更信令附带参数名和参数值, 该停 止快速播放信令附带停止原因, 该播放装置 3002对该检测装置 3001发出的信 令给予反馈, 知会该检测装置 3001执行成功或失败, 若失败则附带失败原因。 本发明实施例中, 根据不同的应用场景, 该检测装置 3001可以位于 0TT视 频服务器设备、或者该检测装置 3001也可以位于终端设备、或者该检测装置 3001 也可以位于网络设备; 该播放装置 3002可以位于 0TT视频服务器设备、 或者该 播放装置 3002可以位于终端设备、 或者该播放装置 3002可以位于网络设备。 In the embodiment of the present invention, the playing device 3002 starts fast play according to the instruction of the detecting device 3001, and the fast playing amplitude fine-tuning data parameter determined by the detecting device 3001 (such as frame rate (Frame Per Second), display time) Mark ( Pr es en ta t Time Time S tamp , the tube is called PTS ), time stamp (t ime st amp ), etc. The instructions for the interaction signaling between the detecting device 3001 and the playing device 3002 include: starting fast play signaling, parameter change signaling (such as a change), and stopping fast play, etc., wherein the fast play signaling and the parameter change are initiated. The signaling is accompanied by a parameter name and a parameter value, and the stop fast play signaling is accompanied by a stop reason, and the playback device 3002 sends a letter to the detection device 3001. The feedback is given, and the detection device 3001 is successfully executed or failed, and if it fails, the failure reason is attached. In the embodiment of the present invention, the detecting device 3001 may be located in the 0TT video server device, or the detecting device 3001 may be located in the terminal device, or the detecting device 3001 may also be located in the network device; the playing device 3002 may be Located at the 0TT video server device, or the playback device 3002 can be located at the terminal device, or the playback device 3002 can be located at the network device.
本发明实施例的 0TT直播系统, 该 0TT直播存在滞后时, 根据该网络传输 速率及该播放速率调整快速播放幅度, 修复该 0TT直播的滞后, 避免该 0TT直 播内容跳跃, 能够增强该 0TT直播的连续性, 以提高用户体验。  In the 0TT live broadcast system of the embodiment of the present invention, when the 0TT live broadcast is delayed, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced. Continuity to improve the user experience.
本发明实施例中, 图 4示出的 0TT直播系统, 可以通过图 5所示的交互流 程实现上述 0TT直播的方法。 该系统包括该检测装置 3001和该播放装置 3002 , 该检测装置 3001用于检测该 0TT直播是否存在滞后、 计算快速播放幅度及控制 该播放装置 3002进行快速播放; 该播放装置 3002用于根据该检测装置 3001的 指令进行快速播放,并根据该检测装置 3001发送的快速播放幅度确定播放速率, 按确定的播放速率进行该 0TT直播。  In the embodiment of the present invention, the 0TT live broadcast system shown in FIG. 4 can implement the above-mentioned 0TT live broadcast method through the interaction process shown in FIG. 5. The system includes the detecting device 3001 and the playing device 3002, the detecting device 3001 is configured to detect whether the 0TT live broadcast has a lag, calculate a fast play amplitude, and control the playback device 3002 to perform fast play; the playback device 3002 is configured to perform the detection according to the detection The instruction of the device 3001 performs fast playback, and determines the play rate according to the fast play amplitude sent by the detecting device 3001, and performs the 0TT live broadcast at the determined play rate.
本发明实施例中相关的参数及参数的含义如表 1所示。  The meanings of related parameters and parameters in the embodiments of the present invention are shown in Table 1.
表 1  Table 1
Figure imgf000015_0001
表 1中, 卡顿持续时长之和(Tc )可以为一次卡顿的持续时长, 也可以为多 次卡顿的持续时长累加之和; 流畅播放持续时长( Td )是指中途无卡顿持续播放 的时长, 即最近一次卡顿结束至当前的时间间隔; 快速播放持续时长(T )是指 按快速播放幅度快速播放的持续时长; 播放速率(Rp )是指当前的播放速率; 快 速播放幅度 )是指当前的快速播放幅度; Yc为 TC的预设时长, 可以根据不 同的应用场景进行设置变更; Yd为 Td的预设时长, 可以根据不同的应用场景进 行设置变更; Ya为 a的预设阈值, 可以根据不同的应用场景进行设置变更。
Figure imgf000015_0001
In Table 1, the sum of the durations of the Carton (Tc) can be the duration of one carton, or the sum of the durations of multiple cartons; the duration of the smooth play (Td) means that there is no carton in the middle. The duration of the playback, that is, the last time the card is over to the current time interval; the duration of the fast playback (T) means The duration of fast playback by fast playback amplitude; the playback rate (Rp) refers to the current playback rate; the fast playback amplitude refers to the current fast playback amplitude; Yc is the preset duration of the TC, which can be set according to different application scenarios. Change; Yd is the preset duration of Td, which can be changed according to different application scenarios; Ya is a preset threshold of a, which can be changed according to different application scenarios.
该检测装置 3001对该 0TT直播的播放状态进行检测,当 Tc ^Yc或 Td ^Yd, 并且当前处于非卡顿状态 (即当前流畅播放)且 Rt >Rp 时, 根据网络传输速率  The detecting device 3001 detects the playing state of the 0TT live broadcast, when Tc ^Yc or Td ^Yd, and is currently in a non-caldon state (ie, currently playing smoothly) and Rt >Rp, according to the network transmission rate.
Rt— Rp 及播放速率, 确定快速播放幅度 a。 具体地, 当 Rp<Rt <Rp (l+Ya)时 a = ^^ ; 当 Rt ^Rp (l+Ya)时 a=Ya。 Rt— Rp and playback rate, determine the fast playback amplitude a. Specifically, a = ^^ when Rp < Rt < Rp (l + Ya); a = Ya when Rt ^ Rp (l + Ya).
本发明实施例在快速播放过程中, 该检测装置 3001实时监控緩存及网络状 态, Tc=0或发生卡顿或 Rt<Rp时, 停止快速播放, 若停止快速播放时 Tc不等于 0, 则根据 Tc, =Tc - a *T确定本次剩余的卡顿持续时长之和, 并将本次剩余的 卡顿持续时长之和计入下次卡顿持续时长之和。 其中 Tc, 为本次剩余的卡顿持 续时长之和, Tc 为卡顿持续时长之和, a 为快速播放幅度, T 为按快速播放幅 度 a进行快速播放的持续时间。  In the fast play process, the detecting device 3001 monitors the cache and the network status in real time. When Tc=0 or when the card is stuck or Rt<Rp, the fast play is stopped. If the fast broadcast is stopped, the Tc is not equal to 0, according to Tc, =Tc - a *T determines the sum of the remaining durations of the current Carton, and counts the sum of the remaining durations of the current Carton into the sum of the duration of the next Carton. Where Tc is the sum of the remaining durations of the previous Carton, Tc is the sum of the durations of the Cartons, a is the fast play range, and T is the duration of the fast play by the fast play amplitude a.
如图 5所示, 具体实现步骤可以包括:  As shown in FIG. 5, the specific implementation steps may include:
501、 该检测装置 3001对该 0TT直播的播放状态进行检测。  501. The detecting device 3001 detects the playing state of the 0TT live broadcast.
502、该检测装置 3001检测到该 0TT直播存在播放滞后时,该检测装置 3001 检测网络传输速率并检测该 0TT直播的播放速率。  502. When the detecting apparatus 3001 detects that there is a playback lag in the 0TT live broadcast, the detecting apparatus 3001 detects a network transmission rate and detects a playback rate of the 0TT live broadcast.
本发明实施例中, 该检测装置 3001可以确定该 0TT直播存在播放滞后的方 法可以参见图 1所示的实施例中的确定 0TT直播存在播放滞后的方法, 此处不 再赘述。  In the embodiment of the present invention, the detecting apparatus 3001 may determine that the 0TT live broadcast has a playback lag method. For example, the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 is not described herein.
503、 如果该播放速率( Rp )大于零且该网络传输速率( Rt )大于播放速率, 则该检测装置 3001根据该网络传输速率及该播放速率,确定第一快速播放幅度。  503. If the play rate (Rp) is greater than zero and the network transmission rate (Rt) is greater than the play rate, the detecting device 3001 determines the first fast play amplitude according to the network transmission rate and the play rate.
其中, 根据该播放速率 p ) 大于零可以确定该 0TT直播当前处于非卡顿 状态, 根据该网络传输速率及该播放速率, 确定该第一快速播放幅度 ) 时, 具体确定该第一快速播放幅度 ) 的方法可以参见图 1所示的实施例, 此处不 再赘述。  According to the playback rate p) being greater than zero, the 0TT live broadcast is currently in a non-cart state, and the first fast play range is determined according to the network transmission rate and the play rate. For the method, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
另外, 本发明实施例中如果 a大于预设阀值(例如表 1中的 Ya ) 时, 可以 将该第一预设阀值作为该第一快速播放幅度。 这样, 可以防止快速播放幅度过 大影响用户体验。 504、 该检测装置 3001向该播放装置 3002发送携带该第一快速播放幅度的 信令。 In addition, in the embodiment of the present invention, if a is greater than a preset threshold (for example, Ya in Table 1), the first preset threshold may be used as the first fast play amplitude. In this way, it is possible to prevent the fast play range from being too large to affect the user experience. 504. The detecting apparatus 3001 sends, to the playing apparatus 3002, signaling that carries the first fast play amplitude.
505、 该播放装置 3002接收该检测装置 3001发送的信令, 解析信令获知该 第一快速播放幅度, 根据该第一快速播放幅度进行该 0TT直播。  505. The playback device 3002 receives the signaling sent by the detecting device 3001, and parses the signaling to learn the first fast play amplitude, and performs the 0TT live broadcast according to the first fast play amplitude.
具体地, 该播放装置 3002根据该第一快速播放幅度确定播放速率, 按确定 的播放速率进行该 0TT直播。  Specifically, the playing device 3002 determines the playing rate according to the first fast playing amplitude, and performs the 0TT live broadcast according to the determined playing rate.
506、 该检测装置 3001检测网络传输速率并检测该 0TT直播的播放速率, 根据网络传输速率及播放速率, 确定第二快速播放幅度。  506. The detecting apparatus 3001 detects a network transmission rate and detects a playback rate of the 0TT live broadcast, and determines a second fast play range according to the network transmission rate and the play rate.
本发明实施例中, 具体确定该第二快速播放幅度的方法可以参见图 1 所示 的实施例, 此处不再赘述。  For the method for specifically determining the second fast play range, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
另外, 本发明实施例中如果 a大于该第二预设阀值(例如表 1中的 Ya )时, 可以将该第二预设阀值作为该第二快速播放幅度。 这样, 可以防止快速播放幅 度过大影响用户体验。 本发明实施例中, 根据不同的应用场景, 该第一预设阀 值和该第二预设阀值可以相同也可以不同。  In addition, in the embodiment of the present invention, if a is greater than the second preset threshold (for example, Ya in Table 1), the second preset threshold may be used as the second fast play amplitude. In this way, it is possible to prevent the fast play amplitude from being too large to affect the user experience. In the embodiment of the present invention, the first preset threshold and the second preset threshold may be the same or different according to different application scenarios.
507、 该检测装置 3001向该播放装置 3002发送携带该第二快速播放幅度的 信令。  507. The detecting apparatus 3001 sends, to the playing apparatus 3002, signaling that carries the second fast play amplitude.
508、 该播放装置 3002接收该检测装置 3001发送的信令, 解析信令获知该 第二快速播放幅度, 根据该第二快速播放幅度继续进行该 0TT直播。  508. The playback device 3002 receives the signaling sent by the detecting device 3001, and parses the signaling to learn the second fast play amplitude, and continues the 0TT live broadcast according to the second fast play amplitude.
具体地, 根据该第二快速播放幅度确定播放速率, 按确定的播放速率继续 进行该 0TT直播。  Specifically, the play rate is determined according to the second fast play amplitude, and the 0TT live broadcast is continued at the determined play rate.
这样, 在启动快速播放之后, 可以根据网络传输速率及播放速率实时调整 快速播放幅度。  In this way, after the fast play is started, the fast play range can be adjusted in real time according to the network transmission rate and the play rate.
509、 该检测装置 3001检测该 0TT直播的播放状态, 根据该 0TT直播的播 放状态, 确定按预设的播放速率继续进行 0TT直播, 并向该播放装置 3002发送 信令, 指示该播放装置 3002按预设的播放速率继续进行该 0TT直播。  509. The detecting apparatus 3001 detects a play status of the 0TT live broadcast, determines to continue the 0TT live broadcast according to the preset play rate according to the play status of the 0TT live broadcast, and sends signaling to the playback apparatus 3002, instructing the playback apparatus 3002 to press The 0TT live broadcast is continued at the preset playback rate.
本发明实施例中, 该预设的播放速率通常设置为正常速率播放, 当然还可 以设置为其他播放速率, 本发明实施例不做限定。  In the embodiment of the present invention, the preset playback rate is usually set to the normal rate, and may be set to other playback rates, which is not limited in the embodiment of the present invention.
510、 该播放装置 3002根据该检测装置 3001发送的指示, 该按预设的播放 速率继续进行该 0TT直播。  510. The playback device 3002 continues the 0TT live broadcast according to the preset sending rate according to the indication sent by the detecting device 3001.
本发明实施例中, 该第一快速播放幅度、 该第二快速播放幅度均为快速播 放幅度, 该第一快速播放幅度、 该第二快速播放幅度是为区分不同快速播放幅 度而进行的划分, 不构成对本发明实施例的限定。 In the embodiment of the present invention, the first fast play amplitude and the second fast play amplitude are both fast broadcasts. The first fast-playing amplitude and the second fast-playing amplitude are divided to distinguish different fast-playing amplitudes, and do not constitute a limitation on the embodiment of the present invention.
本发明实施例的 0TT直播系统, 当检测到 0TT直播存在播放滞后时, 根据 该网络传输速率及该播放速率调整快速播放幅度, 修复该 0TT直播的滞后, 避 免该 0TT直播内容跳跃, 能够增强该 0TT直播的连续性, 以提高用户体验。  In the 0TT live broadcast system of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, which can be enhanced. 0TT live continuity to improve user experience.
下面以图 6所示应用场景为例, 详细说明本发明实施例的 0TT直播的方法 的具体实现过程, 图 6所示的场景中, 检测装置位于终端设备(如 0TT播放器 等)、播放装置位于 0TT视频服务器设备 (播放装置也可以位于 0TT视频源、 0TT 视频网站等提供 0TT视频的头端设备), 通过传输流(Transpor t S tream, 筒称 为 TS )进行 OTT直播。 应当理解, 图 6仅为本发明实施例的一种应用场景, 是 为方便理解本发明实施例而作的示范性说明, 不应视为对本发明实施例的限定。  The application scenario shown in FIG. 6 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention. In the scenario shown in FIG. 6, the detecting device is located in a terminal device (such as an OT player, etc.) and a playback device. It is located on the 0TT video server device (the playback device can also be located at the head end device that provides 0TT video, such as the 0TT video source, 0TT video website, etc.), and the OTT live broadcast is performed through the transport stream (Transpor t S tream, the tube is called TS). It should be understood that FIG. 6 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating the understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
如图 6所示, 本发明实施例的 0TT直播的方法可以包括:  As shown in FIG. 6, the method for the 0TT live broadcast of the embodiment of the present invention may include:
601、 该终端设备向该 0TT视频服务器设备发送视频请求。  601. The terminal device sends a video request to the 0TT video server device.
602、 该 0TT视频服务器设备收到请求后向该终端设备发送 TS视频流。 602. The 0TT video server device sends a TS video stream to the terminal device after receiving the request.
603、 该终端设备按收到的 TS视频流进行 0TT直播时对数据緩存和视频流 的网络传输速率进行实时检测。 603. The terminal device performs real-time detection on a network transmission rate of the data buffer and the video stream when performing the 0TT live broadcast according to the received TS video stream.
具体地, 该终端设备记录緩存的每次卡顿( Buf fer ing事件 )持续时间记为 一次卡顿持续时长。 例如, 设第 i次 Buf fer ing导致的卡顿持续时长为 Ti , 前 次快速播放结束遗留的卡顿持续时长为 Tr , 两次卡顿间共发生 n次卡顿, 贝' J : 卡顿持续时长之和为 Tc = Tr +∑Ti 。 本发明实施例中网络传输速率和播放速率 可采用码率表示, 该网络传 tf1速率即每秒传输的视频内容比特数, 该播放速率 可通过视频流中的码率参数或通过 FPS 等参数确定, 也可以根据快速播放幅度 确定。 Specifically, the duration of each bucating event of the terminal device recording cache is recorded as one card duration. For example, let the duration of the Karton duration caused by the i-th Buf fering be Ti, the duration of the last stay of the last fast play is Tr, and the number of stuck times between the two jams is n times, the Bell 'J: Caton The sum of the durations is Tc = Tr + ∑Ti. In the embodiment of the present invention, the network transmission rate and the playback rate may be represented by a code rate, and the network transmits the tf 1 rate, that is, the number of video content bits transmitted per second, and the playback rate may pass the code rate parameter in the video stream or pass parameters such as FPS. OK, can also be determined according to the fast play amplitude.
604、该终端设备检测到该 0TT直播存在播放滞后,判断是否进行快速播放, 如果进行快速播放则向该 0TT视频服务器设备发送启动快速播放信令, 该快速 播放信令携带快速播放幅度。  604. The terminal device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast playback signaling is sent to the 0TT video server device, where the fast play signaling carries a fast play amplitude.
本发明实施例中, 该终端设备确定 0TT直播存在播放滞后的方法可以参见 图 1所示的实施例中的确定 0TT直播存在播放滞后的方法, 此处不再赘述。  In the embodiment of the present invention, the method for determining that the playback delay exists in the 0TT live broadcast may be referred to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
605、 该 0TT视频服务器设备收到该信令后, 根据自身处理能力及当前负载 情况确定是否进行快速播放。 若进行快速播放, 则执行 606 ; 若不进行快速播放, 则通知该终端设备暂不 进行快速播放 (图中未示出), 该终端设备经过预设时间后可以再次执行 604。 605. After receiving the signaling, the 0TT video server device determines whether to perform fast play according to its processing capability and current load situation. If fast play is performed, 606 is performed; if fast play is not performed, the terminal device is notified that the fast play is not performed temporarily (not shown in the figure), and the terminal device may perform 604 again after a preset time.
606、 该 0TT视频服务器设备修改 TS视频流 PES包中的 PTS字段(该字段 控制视频帧被显示的时间), 并向该终端设备发送修改后的 TS视频流。  606. The 0TT video server device modifies a PTS field in the PES packet of the TS video stream (this field controls a time when the video frame is displayed), and sends the modified TS video stream to the terminal device.
例如, 修改前相邻 PES 包的 PTS 之差为 t , 修改后的差为 de l t _ t , 则 del t _ t=t * (l-a) , 该终端设备接收到修改后的 TS视频流后播放速率会加快, 从 而实现快速播放。  For example, the difference between the PTSs of the modified adjacent PES packets is t, and the modified difference is de lt _ t, then del t _ t=t * (la), and the terminal device plays after receiving the modified TS video stream. The rate will be faster for fast playback.
607、 该终端设备按修改后的 TS视频流进行快速播放过程中, 实时调整快 速播放幅度。  607. The terminal device adjusts the fast playback amplitude in real time during the fast playback process according to the modified TS video stream.
该终端设备检测緩存情况、 网络情况以及快速播放效果, 在播放滞后完全 修复前, 若视频的网络传输速率下降, 不足以支撑播放器按当前速率进行播放; 或网络传输速率上升, 可支撑更快的播放速率, 那么该终端设备重新确定快速 播放幅度。 重新确定快速播放幅度时可以通过上述确定快速播放幅度的方法实 现, 不赘述。  The terminal device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases after the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the terminal device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
608、 该终端设备向该 0TT视频服务器设备发送参数变更信令, 参数变更信 令携带调整后的快速播放幅度。  608. The terminal device sends parameter change signaling to the 0TT video server device, where the parameter change signal carries the adjusted fast play amplitude.
609、 该 0TT视频服务器设备收到参数变更信令后, 根据自身处理能力及当 前负载情况确定是否按调整后的快速播放幅度进行快速播放。  609. After receiving the parameter change signaling, the 0TT video server device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
若按调整后的快速播放幅度进行快速播放, 则执行 610; 若不按调整后的快 速播放幅度进行快速播放, 则该 0TT视频服务器设备通知该终端设备不按调整 后的快速播放幅度进行快速播放, 也可以同时告知该终端设备不按调整后的快 速播放幅度进行快速播放的原因,该 0TT视频服务器设备继续按原参数修改 PTS 字段(图中未示出)。  If the fast play is performed according to the adjusted fast play range, execute 610; if the fast play is not performed according to the adjusted fast play range, the 0TT video server device notifies the terminal device that the fast play is not performed according to the adjusted fast play range. The reason can also inform the terminal device that the fast playback is not performed according to the adjusted fast play amplitude, and the 0TT video server device continues to modify the PTS field (not shown) according to the original parameters.
610、 该 0TT视频服务器设备通知终该端设备接受按整后的快速播放幅度进 行快速播放,该 0TT视频服务器设备按调整后的快速播放幅度修改 TS视频流 PES 包中的 PTS字段, 并向该终端设备发送修改后的 TS视频流。  610. The 0TT video server device notifies the terminal device to perform fast playback according to the fast playback range, and the 0TT video server device modifies the PTS field in the PSS packet of the TS video stream according to the adjusted fast play range, and The terminal device sends the modified TS video stream.
611、 该终端设备按该 0TT视频服务器设备发送的 TS视频流继续进行快速 播放。  611. The terminal device continues to perform fast playback according to the TS video stream sent by the 0TT video server device.
612、 该终端设备检测到停止快速播放条件满足时, 向该 0TT视频服务器设 备发送停止快速播放信令, 停止快速播放信令携带停止快速播放的原因。 本发明实施例中, 当由于卡顿(Buffer ing事件)发生停止快速播放或网络 传输速率下降停止快速播放时, 表明播放滞后并未完全得到修复, 此时更新累 积卡顿持续时长之和, 留待下次进行快速播放修复播放滞后。 612. When the terminal device detects that the stop fast play condition is met, send the stop fast play signaling to the 0TT video server device, and stop the fast play signaling to carry the reason for stopping the fast play. In the embodiment of the present invention, when the fast play is stopped due to the occurrence of a Buffering event or the network transmission rate is decreased, the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated cards is updated. The next time you perform a quick play, the playback plays a lag.
613、 该 0TT视频服务器设备停止快速播放并向该终端设备返回确认消息。 本发明实施例的 0TT直播的方法, 当检测到 0TT直播存在播放滞后时, 根 据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT 直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。  613. The 0TT video server device stops the fast play and returns an acknowledgement message to the terminal device. In the 0TT live broadcast method of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience.
下面以图 7所示应用场景为例, 详细说明本发明实施例的 0TT直播的方法 的具体实现过程, 图 7所示的场景中, 检测装置位于终端设备(如 0TT播放器 等)、播放装置位于网络设备(如宽带远程接入服务器( Broadband Remote Access Server,筒称为 BRAS )、 边缘路由器等等), 通过传输流( Transpor t St ream, 筒 称为 TS )进行 0TT直播。 应当理解, 图 7仅为本发明实施例的一种应用场景, 是为方便理解本发明实施例而作的示范性说明, 不应视为对本发明实施例的限 定。  The application scenario shown in FIG. 7 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention. In the scenario shown in FIG. 7, the detecting device is located in a terminal device (such as an OT player, etc.) and a playback device. It is located in a network device (such as a Broadband Remote Access Server (BRAS), an edge router, etc.), and is broadcasted in real time through a transport stream (Transpor t St ream, called TS). It should be understood that FIG. 7 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
与图 6所示应用场景不同的是, 图 7所示应用场景播放装置位于 BRAS、 边 缘路由器等网络设备上, 网络设备转发视频请求及视频数据, 终端设备将相关 信令发送到网络设备, 网络设备在转发 TS视频流时修改 PES包内的 PTS值。  Different from the application scenario shown in FIG. 6, the application scenario playing device shown in FIG. 7 is located on a network device such as a BRAS or an edge router, and the network device forwards the video request and the video data, and the terminal device sends the related signaling to the network device, and the network The device modifies the PTS value in the PES packet when forwarding the TS video stream.
如图 7所示, 本发明实施例的 0TT直播的方法可以包括:  As shown in FIG. 7, the method for the 0TT live broadcast of the embodiment of the present invention may include:
701、 该终端设备经该网络设备向该 0TT视频服务器设备发送视频请求。 701. The terminal device sends a video request to the 0TT video server device via the network device.
702、该 0TT视频服务器设备收到请求后经该网络设备向该终端设备发送 TS 视频流。 702. The 0TT video server device sends a TS video stream to the terminal device via the network device after receiving the request.
703、 该终端设备按收到的 TS视频流进行 0TT直播时对数据緩存和视频流 的网络传输速率进行实时检测。  703. The terminal device performs real-time detection on a network transmission rate of the data buffer and the video stream when performing the 0TT live broadcast according to the received TS video stream.
具体地, 该终端设备记录緩存的每次卡顿( Buffer ing事件 )持续时间记为 一次卡顿持续时长。 例如, 设第 i次 Buffer ing导致的卡顿持续时长为 Ti , 前 次快速播放结束遗留的卡顿持续时长为 Tr , 两次卡顿间共发生 n次卡顿, 贝' J : 卡顿持续时长之和为 Tc = Tr + Ti 。 本发明实施例中该网络传输速率和该播放 速率可采用码率表示, 该网 tf1传输速率即每秒传输的视频内容比特数, 该播放 速率可通过视频流中的码率参数或通过 FPS 等参数确定, 也可以根据快速播放 幅度确定。 704、该终端设备检测到该 0TT直播存在播放滞后,判断是否进行快速播放, 如果进行快速播放则向该网络设备发送启动快速播放信令, 快速播放信令携带 快速播放幅度。 Specifically, the duration of each buffer (buffer ing event) of the terminal device recording cache is recorded as one card duration. For example, let the duration of the Karton caused by the i-th Buffer ing be Ti, and the duration of the last pause of the last fast play is Tr, and the number of stuck times between the two jams is n times, and the Bell 'J: Carton continues The sum of the durations is Tc = Tr + Ti . In the embodiment of the present invention, the network transmission rate and the playback rate may be represented by a code rate, where the transmission rate of the network tf 1 is the number of video content bits transmitted per second, and the playback rate may pass the code rate parameter in the video stream or pass the FPS. The parameter determination can also be determined according to the fast play amplitude. 704. The terminal device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast play signaling is sent to the network device, and the fast play signaling carries a fast play amplitude.
本发明实施例中, 该终端设备确定 0TT直播存在播放滞后的方法可以参见 图 1所示的实施例中的确定 0TT直播存在播放滞后的方法, 此处不再赘述。  In the embodiment of the present invention, the method for determining that the playback delay exists in the 0TT live broadcast may be referred to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
705、 该网络设备收到该信令后, 根据自身处理能力及当前负载情况确定是 否进行快速播放。  705. After receiving the signaling, the network device determines whether to perform fast playback according to its processing capability and current load conditions.
若进行快速播放, 则执行 706 ; 若不进行快速播放, 则通知该终端设备暂不 进行快速播放 (图中未示出), 该终端设备经过预设时间后可以再次执行 704。  If fast play is performed, 706 is performed; if fast play is not performed, the terminal device is notified that the fast play is not performed temporarily (not shown in the figure), and the terminal device may perform 704 again after a preset time.
706、 该网络设备转发源自该 0TT视频服务器设备的 TS视频流时, 修改 TS 视频流 PES包中的 PTS字段(该字段控制视频帧被显示的时间), 并向该终端设 备发送修改后的 TS视频流。  706. When the network device forwards the TS video stream originating from the 0TT video server device, modify a PTS field in the PTS packet of the TS video stream (this field controls a time when the video frame is displayed), and send the modified to the terminal device. TS video stream.
例如, 修改前相邻 PES 包的 PTS 之差为 t , 修改后的差为 de l t _ t , 则 del t _ t=t * (l-a) , 该终端设备接收到修改后的 TS视频流后播放速率会加快, 从 而实现快速播放。  For example, the difference between the PTSs of the modified adjacent PES packets is t, and the modified difference is de lt _ t, then del t _ t=t * (la), and the terminal device plays after receiving the modified TS video stream. The rate will be faster for fast playback.
707、 该终端设备按修改后的 TS视频流进行快速播放过程中, 实时调整快 速播放幅度。  707. The terminal device adjusts the fast playback range in real time during the fast playback process according to the modified TS video stream.
该终端设备检测緩存情况、 网络情况以及快速播放效果, 在播放滞后完全 修复前, 若视频的网络传输速率下降, 不足以支撑播放器按当前速率进行播放; 或网络传输速率上升, 可支撑更快的播放速率, 那么该终端设备重新确定快速 播放幅度。 重新确定快速播放幅度时可以通过上述确定快速播放幅度的方法实 现, 不赘述。  The terminal device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases after the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the terminal device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
708、 该终端设备向该网络设备发送参数变更信令, 该参数变更信令携带调 整后的快速播放幅度。  708. The terminal device sends parameter change signaling to the network device, where the parameter change signaling carries the adjusted fast play amplitude.
709、 该网络设备收到参数变更信令后, 根据自身处理能力及当前负载情况 确定是否按调整后的快速播放幅度进行快速播放。  709. After receiving the parameter change signaling, the network device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
若按调整后的快速播放幅度进行快速播放, 则执行 710; 若不按调整后的快 速播放幅度进行快速播放, 则该网络设备通知终端设备不按调整后的快速播放 幅度进行快速播放, 也可以同时告知终端设备不按调整后的快速播放幅度进行 快速播放的原因, 该网络设备继续按原参数修改 PTS字段(图中未示出)。 71 0、 该网络设备通知该终端设备接受按整后的快速播放幅度进行快速播 放, 该网络设备转发源自该 0TT视频服务器设备的 TS视频流时按调整后的快速 播放幅度修改 TS视频流 PES包中的 PTS字段,并向该终端设备发送修改后的 TS 视频流。 If the fast play is performed according to the adjusted fast play range, execute 710; if the fast play is not performed according to the adjusted fast play range, the network device notifies the terminal device that the fast play is not performed according to the adjusted fast play range, or At the same time, the terminal device is notified that the fast playback is not performed according to the adjusted fast play amplitude, and the network device continues to modify the PTS field according to the original parameter (not shown in the figure). 71 0. The network device notifies the terminal device to perform fast playback according to the fast playback range, and the network device modifies the TS video stream PES according to the adjusted fast play amplitude when forwarding the TS video stream originating from the 0TT video server device. The PTS field in the packet and send the modified TS video stream to the terminal device.
711、 该终端设备按该网络设备发送的 TS视频流继续进行快速播放。  711. The terminal device continues to play fast according to the TS video stream sent by the network device.
712、 该终端设备检测到停止快速播放条件满足时, 向该网络设备发送停止 快速播放信令, 该停止快速播放信令携带停止快速播放的原因。  712. When the terminal device detects that the stop fast play condition is met, send the stop fast play signaling to the network device, where the stop fast play signaling carries the reason for stopping the fast play.
本发明实施例中, 当由于卡顿(Buf fer ing事件)发生停止快速播放或网络 传输速率下降停止快速播放时, 表明播放滞后并未完全得到修复, 此时更新累 积卡顿持续时长之和, 留待下次进行快速播放修复播放滞后。  In the embodiment of the present invention, when the fast playback is stopped due to the occurrence of the Buf fering event or the network transmission rate is decreased, the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated stagnation is updated. Leave it for the next time you play the quick play to fix the playback lag.
713、 该网络设备停止快速播放并向该终端设备返回确认消息。  713. The network device stops fast play and returns a confirmation message to the terminal device.
本发明实施例的 0TT直播的方法, 当检测到 0TT直播存在播放滞后时, 根 据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT 直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 下面以图 8所示应用场景为例, 详细说明本发明实施例的 0TT直播的方法 的具体实现过程, 图 8 所示的场景中, 检测装置位于网络设备(如宽带远程接 入服务器( Broadband Remote Acces s Server,筒称为 BRAS ), 边缘路由器等等;), 播放装置位于 0TT视频服务器设备 (播放装置也可以位于 0TT视频源、 0TT视频 网站等提供 0TT视频的头端设备)。通过传输流(Transpor t S t ream, 筒称为 TS ) 进行 OTT直播。 应当理解, 图 8仅为本发明实施例的一种应用场景, 是为方便 理解本发明实施例而作的示范性说明, 不应视为对本发明实施例的限定。  In the 0TT live broadcast method of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience. The application scenario shown in FIG. 8 is taken as an example to describe the specific implementation process of the 0TT live broadcast method in the embodiment of the present invention. In the scenario shown in FIG. 8, the detection device is located in a network device (such as a broadband remote access server (Broadband Remote). Acces s Server, called BRAS), edge routers, etc.;), the playback device is located on the 0TT video server device (the playback device can also be located at the 0TT video source, 0TT video website, etc.). The OTT broadcast is performed by a transport stream (Transpor t S re ream, called TS). It should be understood that FIG. 8 is only an application scenario of the embodiment of the present invention, and is an exemplary description for facilitating the understanding of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention.
如图 8所示, 本发明实施例的 0TT直播的方法可以包括:  As shown in FIG. 8, the method for the 0TT live broadcast of the embodiment of the present invention may include:
801、 该终端设备经该网络设备向该 0TT视频服务器设备发送视频请求。 801. The terminal device sends a video request to the 0TT video server device via the network device.
802、 该 0TT视频服务器设备收到请求后经该网络设备向终端设备发送 TS 视频流。 802. The 0TT video server device sends a TS video stream to the terminal device via the network device after receiving the request.
803、 该终端设备按收到的 TS视频流进行 0TT直播。  803. The terminal device performs a 0TT live broadcast according to the received TS video stream.
804、 该终端设备进行 0TT直播时, 该网络设备对数据緩存和视频流的网络 传输速率进行实时检测。  804. When the terminal device performs the 0TT live broadcast, the network device performs real-time detection on the network transmission rate of the data cache and the video stream.
具体地, 该网络设备记录緩存的每次卡顿( Buf fer ing事件)持续时间记为 一次卡顿持续时长。 例如, 设第 i次 Buffer ing导致的卡顿持续时长为 Ti , 前 次快速播放结束遗留的卡顿持续时长为 Tr , 两次卡顿间共发生 n次卡顿, 则卡 顿持续时长之和为 Tc = Tr + Ti。 本发明实施例中网络传输速率和播放速率可采 用码率表示, 该网络传输 i£率即每秒传输的视频内容比特数, 该播放速率可通 过视频流中的码率参数或通过 FPS等参数确定, 也可以根据快速播放幅度确定。 Specifically, the duration of each Bucating event of the network device record buffer is recorded as A carton lasts for a long time. For example, let the duration of the Karton caused by the i-th Buffer ing be Ti, the duration of the last stuck pause of the last fast play is Tr, and the number of stuck times between the two jams is n times, the sum of the duration of the Kardon Is Tc = Tr + Ti. In the embodiment of the present invention, the network transmission rate and the playback rate may be represented by a code rate, and the network transmission rate is the number of video content bits transmitted per second, and the playback rate may pass the code rate parameter in the video stream or pass parameters such as FPS. OK, can also be determined according to the fast play amplitude.
805、该网络设备检测到该 0TT直播存在播放滞后,判断是否进行快速播放, 如果进行快速播放则向该 0TT视频服务器设备发送启动快速播放信令, 该快速 播放信令携带快速播放幅度。  805. The network device detects that the 0TT live broadcast has a playback lag, and determines whether to perform fast play. If fast play is performed, the fast playback signaling is sent to the 0TT video server device, where the fast play signaling carries a fast play amplitude.
本发明实施例中, 该网络设备确定 0TT直播的方法可以可以参见图 1所示 的实施例中的确定 0TT直播存在播放滞后的方法, 此处不再赘述。  In the embodiment of the present invention, the method for determining the live broadcast of the 0TT by the network device may refer to the method for determining the playback lag of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
806、 该 0TT视频服务器设备收到该信令后, 根据自身处理能力及当前负载 情况确定是否进行快速播放。  806. After receiving the signaling, the 0TT video server device determines whether to perform fast playback according to its processing capability and current load.
若进行快速播放, 则执行 706; 若不进行快速播放, 则通知该网络设备暂不 进行快速播放 (图中未示出), 该终端设备经过预设时间后可以再次执行 704。  If fast play is performed, 706 is performed; if fast play is not performed, the network device is notified not to perform fast play (not shown), and the terminal device may perform 704 again after a preset time.
807、 该 0TT视频服务器设备修改 TS视频流 PES包中的 PTS字段(该字段 控制视频帧被显示的时间), 并经该网络设备向该终端设备发送修改后的 TS视 频流。  807. The 0TT video server device modifies a PTS field in the PES packet of the TS video stream (the field controls a time when the video frame is displayed), and sends the modified TS video stream to the terminal device by using the network device.
例如, 修改前相邻 PES 包的 PTS 之差为 t , 修改后的差为 del t_ t , 则 del t _ t=t* (l-a) , 该终端设备接收到修改后的 TS视频流后播放速率会加快, 从 而实现快速播放。  For example, the difference between the PTS of the pre-adjacent PES packet is t, and the modified difference is del t_ t, then del t _ t=t* (la), and the playback rate of the modified TS video stream is received by the terminal device. Will speed up, thus achieving fast playback.
808、 该终端设备按修改后的 TS视频流进行快速播放。  808. The terminal device performs fast playback according to the modified TS video stream.
809、 该终端设备按修改后的 TS视频流进行快速播放过程中, 该网络设备 实时调整快速播放幅度。  809. During the fast playback of the modified TS video stream by the terminal device, the network device adjusts the fast play range in real time.
该网络设备检测緩存情况、 网络情况以及快速播放效果, 在播放滞后完全 修复前, 若视频的网络传输速率下降, 不足以支撑播放器按当前速率进行播放; 或网络传输速率上升, 可支撑更快的播放速率, 那么该网络设备重新确定快速 播放幅度。 重新确定快速播放幅度时可以通过上述确定快速播放幅度的方法实 现, 不赘述。  The network device detects the buffer condition, the network condition, and the fast play effect. If the network transmission rate of the video decreases before the playback lag is completely repaired, it is insufficient to support the player to play at the current rate; or the network transmission rate increases, and the support can be faster. The playback rate, then the network device re-determines the fast play amplitude. The method of determining the fast play amplitude can be implemented by re-determining the fast play range, and will not be described again.
810、 该网络设备向该 0TT视频服务器设备发送参数变更信令, 参数变更信 令携带调整后的快速播放幅度。 811、 该 OTT视频服务器设备收到参数变更信令后, 根据自身处理能力及当 前负载情况确定是否按调整后的快速播放幅度进行快速播放。 810. The network device sends parameter change signaling to the 0TT video server device, where the parameter change signaling carries the adjusted fast play amplitude. 811. After receiving the parameter change signaling, the OTT video server device determines whether to perform fast playback according to the adjusted fast play range according to the processing capability and the current load condition.
若按调整后的快速播放幅度进行快速播放, 则执行 71 0; 若不按调整后的快 速播放幅度进行快速播放, 则该 0TT视频服务器设备通知该网络设备不按调整 后的快速播放幅度进行快速播放, 也可以同时告知该网络设备不按调整后的快 速播放幅度进行快速播放的原因,该 0TT视频服务器设备继续按原参数修改 PTS 字段(图中未示出)。  If fast playback is performed according to the adjusted fast play range, perform 71 0; if the fast play is not performed according to the adjusted fast play range, the 0TT video server device notifies the network device that the fast playback amplitude is not fast. Play, you can also inform the network device that the fast playback is not performed according to the adjusted fast play amplitude. The 0TT video server device continues to modify the PTS field (not shown) according to the original parameters.
812、 该 0TT视频服务器设备通知该终端设备接受按整后的快速播放幅度进 行快速播放,该 0TT视频服务器设备按调整后的快速播放幅度修改 TS视频流 PES 包中的 PTS字段, 并经该网络设备向该终端设备发送修改后的 TS视频流。  812. The 0TT video server device notifies the terminal device to perform fast playback according to the fast playback range, and the 0TT video server device modifies the PTS field in the PES packet of the TS video stream according to the adjusted fast play range, and passes the network. The device sends the modified TS video stream to the terminal device.
81 3、该终端设备按该 0TT视频服务器设备该 0TT视频服务器设备发送的 TS 视频流继续进行快速播放。  81. The terminal device continues to perform fast playback according to the TS video stream sent by the 0TT video server device of the 0TT video server device.
814、 该网络设备检测到停止快速播放条件满足时, 向该 0TT视频服务器设 备发送停止快速播放信令, 停止快速播放信令携带停止快速播放的原因。  814. When the network device detects that the stop fast play condition is met, send the stop fast play signaling to the 0TT video server device, and stop the fast play signaling to carry the reason for stopping the fast play.
本发明实施例中, 当由于卡顿(Buf fer ing事件)发生停止快速播放或网络 传输速率下降停止快速播放时, 表明播放滞后并未完全得到修复, 此时更新累 积卡顿持续时长之和, 留待下次进行快速播放修复播放滞后。  In the embodiment of the present invention, when the fast playback is stopped due to the occurrence of the Buf fering event or the network transmission rate is decreased, the playback lag is not completely repaired, and the sum of the cumulative durations of the accumulated stagnation is updated. Leave it for the next time you play the quick play to fix the playback lag.
815、 该 0TT视频服务器设备停止快速播放并向该终端设备返回确认消息。 图 8所示的场景, 检测播放滞后和快速播放分别在该网络设备和该 0TT视 频服务器设备进行对终端设备透明, 由于该网络设备无法直接获得用户数据緩 存状态, 因此需建立虚拟緩存, 通过视网络传输速率和播放速率之差计算用户 的緩存状态, 例如, 用户緩存数据 = (网络传输速率-视频播放速率) *时间。  815. The 0TT video server device stops fast play and returns a confirmation message to the terminal device. In the scenario shown in FIG. 8, the detection play lag and the fast play are transparent to the terminal device in the network device and the 0TT video server device respectively. Since the network device cannot directly obtain the user data cache state, it is necessary to establish a virtual cache. The difference between the network transmission rate and the playback rate calculates the user's cache status, for example, user cache data = (network transmission rate - video playback rate) * time.
本发明实施例的 0TT直播的方法, 当检测到 0TT直播存在播放滞后时, 根 据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT 直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。  In the 0TT live broadcast method of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced continuously. Sex to improve the user experience.
需要说明的是, 本发明实施例的其他应用场景中, 该检测装置和该播放装 置可以部署于同一设备上(如头端设备或终端设备或网络设备), 具体实现方法 与图 6、 图 7、 图 8所示步骤类似, 不赘述。  It should be noted that, in other application scenarios of the embodiment of the present invention, the detecting device and the playing device may be deployed on the same device (such as a head end device or a terminal device or a network device), and the specific implementation method is shown in FIG. 6 and FIG. 7. The steps shown in Figure 8 are similar and will not be described.
本发明实施例的 0TT直播系统中的检测装置和播放装置可以采用图 9所示 硬件架构实现本发明实施例的 0TT直播的方法。 如图 9所示, 检测装置 91 00包含緩存分析器 9101、 卡顿计时器 91 02及调 制控制器 91 03。 The detecting device and the playing device in the 0TT live broadcast system of the embodiment of the present invention can implement the 0TT live broadcast method of the embodiment of the present invention by using the hardware architecture shown in FIG. As shown in FIG. 9, the detecting device 91 00 includes a buffer analyzer 9101, a cardon timer 91 02, and a modulation controller 91 03.
该緩存分析器 9101 , 用于检测緩存状态、 卡顿状态。  The cache analyzer 9101 is configured to detect a buffer status and a stuck state.
当该緩存分析器 9101部署于终端设备时可直接检测终端设备的数据緩存, 当该緩存分析器 9101部署于 0TT视频服务器设备或网络设备时则可以通过网络 传输速率 (或播放速率) 以虚拟緩存的方式计算緩存数据, 例如緩存数据 = (网 络传输速率 -视频播放速率) *时间。  When the cache analyzer 9101 is deployed on the terminal device, the data cache of the terminal device can be directly detected. When the cache analyzer 9101 is deployed on the 0TT video server device or the network device, the network transmission rate (or the playback rate) can be used to cache the virtual cache. The way to calculate cached data, such as cached data = (network transfer rate - video playback rate) * time.
该卡顿计时器 9102 ,用于根据该緩存分析器 91 01的输出确定卡顿持续时长 之和, 卡顿持续时长之和确定方法与本发明其他实施例相同, 请参阅。  The Karton timer 9102 is configured to determine the sum of the durations of the stagnation according to the output of the Cache Analyzer 91 01. The method for determining the sum of the continuation durations is the same as the other embodiments of the present invention.
该调制控制器 9103 ,用于根据该卡顿计时器 9102计算的卡顿持续时长之和、 该緩存分析器 9101 检测的緩存状态以及传输 /播放速率, 确定启动快速播放、 变更快速播放幅度或停止快速播放。  The modulation controller 9103 is configured to determine to start fast play, change the fast play range, or stop according to the sum of the stuck durations calculated by the stuckon timer 9102, the buffer status detected by the cache analyzer 9101, and the transmission/play rate. Play quickly.
例如, 该调制控制器 9103确定 0TT直播存在播放滞后的方法可以参见图 1 所示的实施例中的确定 0TT直播存在播放滞后的方法, 此处不再赘述。  For example, the method for determining that the playback delay is present in the 0TT live broadcast can be determined by the method of determining the playback delay of the 0TT live broadcast in the embodiment shown in FIG. 1 , and details are not described herein again.
本发明实施例在快速播放过程中, Tc=0或发生卡顿或 Rt<Rp时, 停止快速 播放, 若停止快速播放时 Tc不等于 0, 则根据 Tc, =Tc - a*T确定本次剩余的卡 顿持续时长之和, 并将本次剩余的卡顿持续时长之和计入下次卡顿持续时长之 和。 其中 Tc, 为本次剩余的卡顿持续时长之和, Tc为卡顿持续时长之和, a为 快速播放幅度, T为按快速播放幅度 a进行快速播放的持续时间。  In the fast playback process, when Tc=0 or when the card is stuck or Rt<Rp, the fast play is stopped. If Tc is not equal to 0 when the fast play is stopped, the current time is determined according to Tc, =Tc - a*T. The sum of the remaining Carton durations, and the sum of the remaining Carton durations is included in the sum of the duration of the next Carton. Where Tc is the sum of the remaining durations of the Kartons, Tc is the sum of the durations of the Cartons, a is the fast play range, and T is the duration of the fast play by the fast play range a.
本发明实施例在启动快速播放后, 该调制控制器 9103不再进行是否启动快 速播放的判断, 该调制控制器 91 03根据参数变化(例如 Rt变化) 实时调整快 速播放幅度 a继续快速播放直至满足停止快速播放的条件, 此处 a的计算方法 与上述 a的确定方法相同。  In the embodiment of the present invention, after the fast play is started, the modulation controller 9103 no longer performs the judgment of whether to start the fast play, and the modulation controller 91 03 adjusts the fast play amplitude a in real time according to the parameter change (for example, Rt change), and continues to play fast until the content is satisfied. The condition for stopping the fast play, the calculation method of a here is the same as the determination method of the above a.
如图 9所示, 检测装置 9200包括信令分析器 9201、 播放控制器 9202。 该信令分析器 9201 ,用于提取网络层信令信息供该检测装置 91 00进行处理。 该播放控制器 9202 ,用于根据该检测装置 91 00的决策结果对转发的流媒体 特定字段进行修改以改变播放速率。  As shown in FIG. 9, the detecting device 9200 includes a signaling analyzer 9201 and a playback controller 9202. The signaling analyzer 9201 is configured to extract network layer signaling information for processing by the detecting device 91 00. The play controller 9202 is configured to modify the forwarded stream specific field according to the decision result of the detecting device 91 00 to change the play rate.
该检测装置 91 00与该播放装置 9200间的交互信令与上述本发明实施例的 0TT直播的方法相同, 不赘述。  The interaction signaling between the detecting device 91 00 and the playback device 9200 is the same as that of the above-described 0TT live broadcast of the embodiment of the present invention, and details are not described herein.
图 9 所示的硬件架构部署于同一设备上(如头端设备或终端设备或网络设 备),时,该播放装置 9200可在网络层通过修改 TS视频流中的相应字段(如 PTS 字段)对播放速率进行控制, 以使快速播放对播放器或流媒体服务器软件透明, 相应的, 信令传递给该检测装置 9100供其获取决策所需的参数。 The hardware architecture shown in Figure 9 is deployed on the same device (such as a headend device or a terminal device or network device). The playback device 9200 can control the playback rate at the network layer by modifying corresponding fields (such as the PTS field) in the TS video stream, so that the fast play is transparent to the player or the streaming server software, correspondingly, Signaling is passed to the detection device 9100 for obtaining the parameters required for the decision.
本发明实施例的检测装置各单元的功能仅作筒要描述, 详细描述请参见上 述方法实施例, 本发明实施例的检测装置可以执行上述方法实施例中相应的步 骤。  The function of each unit of the detecting device in the embodiment of the present invention is described in the following. For a detailed description, refer to the method embodiment. The detecting device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
本发明实施例的 0TT直播系统, 当检测到 0TT直播存在播放滞后时, 根据 网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT 直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 如图 10所示, 本发明实施例提供一种 0TT直播的检测装置 1000 , 该检测装 置可以包括: 检测单元 1001 , 获取单元 1002 , 确定单元 1003 , 其中:  In the 0TT live broadcast system of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced. To improve the user experience. As shown in FIG. 10, an embodiment of the present invention provides a 0TT live detection device 1000. The detection device may include: a detecting unit 1001, an obtaining unit 1002, and a determining unit 1003, where:
该检测单元 1001 , 可以用于检测 0TT直播是否存在播放滞后。  The detecting unit 1001 can be used to detect whether there is a playback lag in the 0TT live broadcast.
该获取单元 1002 , 可以用于当检测单元检测到 0TT直播存在播放滞后时, 获取对应 0TT直播的网络传输速率及 0TT直播的播放速率。  The acquiring unit 1002 may be configured to obtain, when the detecting unit detects that the 0TT live broadcast has a playback lag, obtain a network transmission rate corresponding to the 0TT live broadcast and a play rate of the 0TT live broadcast.
该确定单元 1003 , 可以用于如果播放速率大于零且网络传输速率大于播放 速率, 则根据网络传输速率及播放速率, 确定第一快速播放幅度, 以便于播放 装置根据该第一快速播放幅度调整播放速率,并根据调整后的播放速率进行 0TT 直播。  The determining unit 1003 may be configured to determine a first fast play amplitude according to the network transmission rate and the play rate, if the play rate is greater than zero and the network transmission rate is greater than the play rate, so that the playback apparatus adjusts the play according to the first fast play range. Rate, and 0TT live broadcast according to the adjusted playback rate.
其中, 该当前播放速率大于零是指当前处于非卡顿状态。  Wherein, the current playing rate is greater than zero, which means that the current playing state is in a non-stuck state.
本发明实施例中, 可选地, 该检测单元 1001检测 0TT直播是否存在播放滞 后时, 可以检测该 0TT直播的卡顿持续时长, 当检测到该 0TT直播的卡顿持续 时长之和大于或等于第一时长阀值时, 该 0TT直播存在播放滞后。  In the embodiment of the present invention, optionally, the detecting unit 1001 detects whether there is a play lag in the 0TT live broadcast, and may detect the duration of the stuck time of the 0TT live broadcast, and when the detected duration of the 0TT live broadcast is greater than or equal to When the first time threshold is reached, the 0TT live broadcast has a playback lag.
或者, 该检测单元 1001检测该 0TT直播是否存在播放滞后时, 可以检测该 0TT直播的卡顿持续时长及该 0TT直播的流畅播放持续时长,当检测到该 0TT直 播的卡顿持续时长之和小于第一时长阀值且该 0TT直播的流畅播放持续时长大 于或等于第二时长阀值时, 该 0TT直播存在播放滞后。  Alternatively, the detecting unit 1001 detects whether the 0TT live broadcast has a playback lag, and can detect the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast. When the detected duration of the 0TT live broadcast is less than When the first duration threshold is used and the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, the 0TT live broadcast has a playback lag.
本发明实施例中, 可选地, 该确定单元 1003还可以用于, 在确定该第一快 速播放幅度, 以便于播放装置根据该第一快速播放幅度调整播放速率, 并根据 调整后的播放速率进行该 0TT直播之后, 根据该 0TT直播的播放状态, 确定播 放速率为预设播放速率, 以使该播放装置以该预设播放速率继续进行该 0TT直 播。 In the embodiment of the present invention, the determining unit 1003 is further configured to determine the first fast play amplitude, so that the playback device adjusts the play rate according to the first fast play range, and according to the adjusted play rate. After the 0TT live broadcast, the broadcast is determined according to the play status of the 0TT live broadcast. The playback rate is a preset playback rate, so that the playback device continues the 0TT live broadcast at the preset playback rate.
该确定单元 1 003具体用于, 当该 0TT直播的卡顿持续时长之和为零时, 确 定播放速率为该预设播放速率;  The determining unit 1 003 is specifically configured to: when the sum of the durations of the 0TT live broadcasts is zero, determine the play rate as the preset play rate;
或者, 该确定单元 1003具体用于, 当该 0TT直播再次出现卡顿时, 确定播 放速率为该预设播放速率;  Alternatively, the determining unit 1003 is specifically configured to: when the 0TT live broadcast occurs again, determine the play rate as the preset play rate;
或者, 该确定单元 1 003具体用于, 当检测到当前的网络传输速率小于当前 的播放速率时, 确定播放速率为该预设播放速率。  Alternatively, the determining unit 1 003 is specifically configured to determine that the playing rate is the preset playing rate when detecting that the current network transmission rate is less than the current playing rate.
本发明实施例中, 可选地, 确该定单元 1003确定该第一快速播放幅度可以 参见图 1所示的实施例, 此处不再赘述。  In the embodiment of the present invention, optionally, the determining unit 1003 determines that the first fast play range can be referred to the embodiment shown in FIG. 1 , and details are not described herein again.
本发明实施例中, 可选地, 该确定单元 1 003还可以用于, 根据网络传输速 率及播放速率, 确定第二快速播放幅度, 使得播放装置根据该第二快速播放幅 度继续进行 0TT直播。  In the embodiment of the present invention, the determining unit 1 003 is further configured to determine, according to the network transmission rate and the playing rate, the second fast playing range, so that the playing device continues to perform the 0TT live broadcast according to the second fast playing amplitude.
具体地, 该播放装置根据该该第二快速播放幅度确定播放速率确定播放速 率, 按确定的播放速率继续进行 0TT直播。  Specifically, the playing device determines the playing rate according to the second fast playing amplitude determining the playing rate, and continues the 0TT live broadcast according to the determined playing rate.
本发明实施例中, 根据不同的应场景, 该检测装置 1 000可以位于 0TT视频 服务器设备、 或者该检测装置 1000可以位于终端设备、 或者该检测装置 1 000 可以位于网络设备。  In the embodiment of the present invention, the detecting device 1 000 may be located at the 0TT video server device, or the detecting device 1000 may be located at the terminal device, or the detecting device 1 000 may be located at the network device.
本发明实施例的该检测装置 1000各单元的功能仅作筒要描述, 详细描述请 参见上述方法实施例, 本发明实施例的检测装置可以执行上述方法实施例中相 应的步骤。  The function of each unit of the detecting apparatus 1000 of the embodiment of the present invention is described as a cylinder. For a detailed description, refer to the above method embodiment. The detecting apparatus of the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
本发明实施例的 0TT直播的检测装置, 当检测到 0TT直播存在播放滞后时, 根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 如图 11所示,本发明实施例提供一种 0TT直播的播放装置 2000 ,可以包括: 接收单元 2001 , 播放单元 2002 , 其中:  In the 0TT live broadcast detection apparatus of the embodiment of the present invention, when the playback delay of the 0TT live broadcast is detected, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, the 0TT live content jump is avoided, and the 0TT live broadcast can be enhanced. Continuity to improve the user experience. As shown in FIG. 11, an embodiment of the present invention provides a 0TT live broadcast device 2000, which may include: a receiving unit 2001, a playing unit 2002, where:
该接收单元 2001 , 可以用于接收检测装置发送的快速播放幅度, 快速播放 幅度由检测装置检测到该 0TT直播存在播放滞后时, 获取对应 0TT直播的网络 传输速率及该 0TT直播的播放速率, 在确定播放速率大于零且网络传输速率大 于播放速率, 则根据网络传输速率及播放速率, 确定快速播放幅度。 其中, 该当前播放速率大于零是指该 0TT直播当前处于非卡顿状态。 The receiving unit 2001 can be configured to receive a fast play amplitude sent by the detecting device, where the fast playback amplitude is detected by the detecting device, and the network transmission rate corresponding to the 0TT live broadcast and the broadcast rate of the 0TT live broadcast are obtained. Determine that the playback rate is greater than zero and the network transmission rate is large At the playback rate, the fast playback amplitude is determined according to the network transmission rate and the playback rate. The current playing rate is greater than zero, that is, the 0TT live broadcast is currently in a non-cartridge state.
该播放单元 2002 , 可以用于根据快该速播放幅度调整播放速率, 并根据调 整后的播放速率进行 0TT直播。  The playing unit 2002 can be configured to adjust the playing rate according to the fast playing speed, and perform 0TT live broadcast according to the adjusted playing rate.
本发明实施例的播放装置各单元的功能仅作筒要描述, 详细描述请参见上 述方法实施例, 本发明实施例的播放装置可以执行上述方法实施例中相应的步 骤。  The functions of the units of the playback device in the embodiments of the present invention are described in the following. For a detailed description, refer to the foregoing method embodiments. The playback device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiments.
本发明实施例中, 根据不同的应用场景, 该播放装置 2000可以位于 0TT视 频服务器设备、 或者该播放装置 2000可以位于终端设备、或者该播放装置 2000 可以位于网络设备。  In the embodiment of the present invention, the playback device 2000 may be located at the 0TT video server device, or the playback device 2000 may be located at the terminal device, or the playback device 2000 may be located at the network device.
本发明实施例的 0TT直播的播放装置, 通过接收检测装置检测到 0TT直播 存在播放滞后时, 根据网络传输速率及播放速率确定的第一快速播放幅度, 根 据第一快速播放幅度调整播放速率, 并根据调整后的播放速率进行 0TT直播。 从而实现根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞 后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 如图 12所示, 本发明实施例提供另一种 0TT直播的检测装置 1200, 该检测 装置可以包括: 总线 1204及连接到总线 1204的接口 1201、 处理器 1202、 存储 器 1203 , 其中:  The playback device of the 0TT live broadcast according to the embodiment of the present invention adjusts the play rate according to the first fast play range according to the first fast play range determined by the network transmission rate and the play rate when the receiving detection device detects that the 0TT live broadcast has a play lag, and The 0TT live broadcast is performed according to the adjusted playback rate. Therefore, the fast play range can be adjusted according to the network transmission rate and the play rate, and the lag of the 0TT live broadcast can be repaired, and the 0TT live content jump can be avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience. As shown in FIG. 12, an embodiment of the present invention provides another 0TT live detection apparatus 1200. The detection apparatus may include: a bus 1204 and an interface 1201, a processor 1202, and a storage 1203 connected to the bus 1204, where:
该存储器 1203用于存储指令, 该处理器 1202执行该存储器 1203中的指令 用于执行以下步骤:  The memory 1203 is for storing instructions, and the processor 1202 executes instructions in the memory 1203 for performing the following steps:
检测 0TT直播是否存在播放滞后; 当检测到该 0TT直播存在播放滞后时, 获取对应 0TT直播的网络传输速率及该 0TT直播的播放速率; 如果该播放速率 大于零且该网络传输速率大于播放速率, 则根据该网络传输速率及该播放速率, 确定第一快速播放幅度, 以便于播放装置根据该第一快速播放幅度调整播放速 率, 并根据调整后的播放速率进行该 0TT直播。  Detecting whether there is a playback lag in the 0TT live broadcast; when detecting that the 0TT live broadcast has a playback lag, obtaining a network transmission rate corresponding to the 0TT live broadcast and a playback rate of the 0TT live broadcast; if the play rate is greater than zero and the network transmission rate is greater than the play rate, The first fast play amplitude is determined according to the network transmission rate and the play rate, so that the playback device adjusts the play rate according to the first fast play range, and performs the 0TT live broadcast according to the adjusted play rate.
该接口 1201用于向该播放装置发送该第一快速播放幅度, 使得该播放装置 根据该第一快速播放幅度进行该 0TT直播。  The interface 1201 is configured to send the first fast play amplitude to the playback device, so that the playback device performs the 0TT live broadcast according to the first fast play amplitude.
可选地, 该处理器 1202执行该存储器 1203中的指令具体用于,检测该 0TT 直播的卡顿持续时长, 当检测到该 0TT直播的卡顿持续时长之和大于或等于第 一时长阈值时, 确定该 0TT直播存在播放滞后; 或者, 检测该 0TT直播的卡顿 持续时长及该 0TT直播的流畅播放持续时长, 当检测到该 0TT直播的卡顿持续 时长之和小于第一时长阈值, 且该 0TT直播的流畅播放持续时长大于或等于第 二时长阈值时, 确定该 0TT直播存在播放滞后。 Optionally, the processor 1202 executes the instruction in the memory 1203, specifically, to detect the duration of the 0TT live broadcast, and when the detected duration of the 0TT live broadcast is greater than or equal to the first When the threshold is long, it is determined that the 0TT live broadcast has a playback lag; or, the duration of the 0TT live broadcast and the duration of the smooth play of the 0TT live broadcast are detected, and when the 0TT live broadcast is detected, the sum of the durations is less than the first The duration threshold is determined, and when the duration of the smooth play of the 0TT live broadcast is greater than or equal to the second duration threshold, it is determined that the 0TT live broadcast has a play lag.
可选地, 该处理器 1202执行该存储器 1203 中的指令还用于, 在确定第一 快速播放幅度, 以便于该播放装置根据该第一快速播放幅度调整播放速率, 并 根据调整后的播放速率进行该 0TT直播之后, 根据该 0TT直播的播放状态, 确 定播放速率为预设播放速率,以使该播放装置以该预设播放速率继续进行该 0TT 直播。  Optionally, the processor 1202 executes the instructions in the memory 1203, and is configured to determine a first fast play amplitude, so that the playback device adjusts the play rate according to the first fast play amplitude, and according to the adjusted play rate. After the 0TT live broadcast is performed, according to the play status of the 0TT live broadcast, the play rate is determined to be a preset play rate, so that the playback device continues the 0TT live broadcast at the preset play rate.
可选地, 该处理器 1202执行该存储器 1203 中的指令具体用于, 当该 0TT 直播的卡顿持续时长之和为零时, 确定播放速率为该预设播放速率; 或者, 当 该 0TT直播再次出现卡顿时, 确定播放速率为该预设播放速率; 或者, 当检测 到当前的网络传输速率小于当前的播放速率时, 确定播放速率为该预设播放速 率。  Optionally, the processor 1202 executes the instruction in the memory 1203, where the playback rate is determined to be the preset playback rate when the sum of the durations of the 0TT live broadcasts is zero; or, when the 0TT is broadcasted When the jam occurs again, the playback rate is determined to be the preset playback rate; or, when it is detected that the current network transmission rate is less than the current playback rate, the playback rate is determined to be the preset playback rate.
可选地, 该处理器 1202 执行该存储器 1203 中的指令具体用于, 当 Rp<Rt <Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp 确定该第一快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定该第一快速播放幅度; 其中, a为该第一快速 播放幅度, Rp为该播放速率, R t为该网络传输速率, Ya为该第一快速播放幅度 对应的第一预设阀值。  Optionally, the processor 1202 executes the instruction in the memory 1203, specifically, when Rp<Rt <Rp (l+Ya), determining the first fast play amplitude according to a=( Rt−Rp ) /Rp; When Rt Rp (l+Ya), the first fast play amplitude is determined according to a=Ya; wherein a is the first fast play amplitude, Rp is the play rate, R t is the network transmission rate, and Ya is the The first preset threshold corresponding to the first fast play amplitude.
可选地, 该处理器 1202执行该存储器 1203 中的指令还用于, 根据网络传 输速率及播放速率, 确定第二快速播放幅度, 使得该播放装置根据该第二快速 播放幅度确定播放速率, 按确定的播放速率继续进行该 0TT直播。  Optionally, the processor 1202 executes the instruction in the memory 1203, and is configured to determine a second fast play amplitude according to the network transmission rate and the play rate, so that the playback device determines the play rate according to the second fast play amplitude, The determined playback rate continues with the 0TT live broadcast.
本发明实施例中, 根据不同的应场景, 该检测装置 1200可以位于 0TT视频 服务器设备、 或者该检测装置 1200 可以位于终端设备、 或者该检测装置 1200 可以位于网络设备。  In the embodiment of the present invention, the detecting device 1200 may be located at the 0TT video server device, or the detecting device 1200 may be located at the terminal device, or the detecting device 1200 may be located at the network device.
本发明实施例的检测装置各单元的功能仅作筒要描述, 详细描述请参见上 述方法实施例, 本发明实施例的检测装置可以执行上述方法实施例中相应的步 骤。  The function of each unit of the detecting device in the embodiment of the present invention is described in the following. For a detailed description, refer to the method embodiment. The detecting device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiment.
本发明实施例的 0TT直播的检测装置, 当检测到 0TT直播存在播放滞后时, 获取网络传输速率及 0TT直播的播放速率, 如果播放速率大于零且网络传输速 率大于播放速率, 则根据网络传输速率及播放速率, 确定第一快速播放幅度, 根据第一快速播放幅度调整播放速率, 并根据调整后的播放速率进行 0TT直播。 从而根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞后, 避免 0TT直播内容跳跃, 能够增强 0TT直播的连续性, 以提高用户体验。 如图 1 3所示, 本发明实施例提供另一种 0TT直播的播放装置 1 300 , 该播放 装置可以包括: 总线 1 304及连接到总线 1 304的接口 1 301、 处理器 1 302、 存储 器 1 303 , 其中: The apparatus for detecting the live broadcast of the 0TT in the embodiment of the present invention acquires the network transmission rate and the playback rate of the 0TT live broadcast when the playback delay of the 0TT live broadcast is detected, if the playback rate is greater than zero and the network transmission speed If the rate is greater than the playback rate, the first fast play range is determined according to the network transmission rate and the play rate, the play rate is adjusted according to the first fast play range, and the 0TT live broadcast is performed according to the adjusted play rate. Therefore, the fast play range is adjusted according to the network transmission rate and the play rate, the lag of the 0TT live broadcast is repaired, and the 0TT live content jump is avoided, and the continuity of the 0TT live broadcast can be enhanced to improve the user experience. As shown in FIG. 13 , an embodiment of the present invention provides another 0TT live broadcast device 1 300. The playback device may include: a bus 1 304 and an interface 1 301 connected to the bus 1 304, a processor 1 302, and a memory 1 303, where:
接口 1 301 , 用于接收检测装置发送的第一快速播放幅度, 该第一快速播放 幅度由检测装置通过以下方式确定:  The interface 1 301 is configured to receive a first fast play amplitude sent by the detecting device, where the first fast play amplitude is determined by the detecting device by:
该检测装置检测到 0TT直播存在播放滞后时, 获取网络传输速率及 0TT直 播的播放速率; 如果该播放速率大于零且该网络传输速率大于播放速率, 根据 该网络传输速率及该播放速率确定。 具体确定该第一快速播放幅度的方法可以 参见图 1所示的实施例, 此处不再赘述。  The detecting device detects the network transmission rate and the playback rate of the 0TT direct broadcast when the 0TT live broadcast has a play lag; if the play rate is greater than zero and the network transmission rate is greater than the play rate, it is determined according to the network transmission rate and the play rate. For the method of determining the first fast play range, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
该存储器 1 303用于存储指令, 该处理器 1 302执行该存储器 1 303中的指令 用于根据该第一快速播放幅度进行该 0TT直播。  The memory 1 303 is for storing instructions, and the processor 1 302 executes instructions in the memory 1 303 for performing the 0TT live broadcast according to the first fast play amplitude.
具体地, 根据该第一快速播放幅度确定播放速率, 按确定的播放速率进行 该 0TT直播。  Specifically, the playback rate is determined according to the first fast play amplitude, and the 0TT live broadcast is performed according to the determined play rate.
相应地, 该处理器 1 302执行该存储器 1 303 中的指令根据该第一快速播放 幅度调整播放速率, 并根据调整后的播放速率进行该 0TT直播。  Correspondingly, the processor 1 302 executes the instruction in the memory 1 303 to adjust the play rate according to the first fast play amplitude, and performs the 0TT live broadcast according to the adjusted play rate.
本发明实施例的播放装置各单元的功能仅作筒要描述, 详细描述请参见上 述方法实施例, 本发明实施例的播放装置可以执行上述方法实施例中相应的步 骤。  The functions of the units of the playback device in the embodiments of the present invention are described in the following. For a detailed description, refer to the foregoing method embodiments. The playback device in the embodiment of the present invention may perform the corresponding steps in the foregoing method embodiments.
本发明实施例中, 根据不同的应用场景, 该播放装置 1 300可以位于 0TT视 频服务器设备、 或者该播放装置 1 300可以位于终端设备、或者该播放装置 1 300 可以位于网络设备。  In the embodiment of the present invention, the playback device 1300 may be located at the 0TT video server device, or the playback device 1300 may be located at the terminal device, or the playback device 1300 may be located at the network device.
本发明实施例的 0TT直播的播放装置, 通过接收检测装置检测到 0TT直播 存在播放滞后时, 根据网络传输速率及播放速率确定的第一快速播放幅度, 根 据第一快速播放幅度调整播放速率, 并根据调整后的播放速率进行 0TT直播。 从而实现根据网络传输速率及播放速率调整快速播放幅度, 修复 0TT直播的滞 后, 避免 OTT直播内容跳跃, 能够增强 0ΤΤ直播的连续性, 以提高用户体验。 需要说明的是: 上述实施例提供的装置, 在表述时, 仅以上述各功能模块 的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的 功能模块完成, 即将设备的内部结构划分成拨通的功能模块, 以完成上述的全 部或部分功能。 另外, 上述实施例提供的装置与相应的方法属于同一构思, 其 具体实现过程详见方法实施例, 这里不再赘述。 The playback device of the 0TT live broadcast according to the embodiment of the present invention adjusts the play rate according to the first fast play range according to the first fast play range determined by the network transmission rate and the play rate when the receiving detection device detects that the 0TT live broadcast has a play lag, and The 0TT live broadcast is performed according to the adjusted playback rate. Therefore, the fast playback range is adjusted according to the network transmission rate and the playback rate, and the lag of the 0TT live broadcast is fixed. After that, OTT live content skipping is avoided, and the continuity of the live broadcast can be enhanced to improve the user experience. It should be noted that, in the foregoing description, the device provided by the foregoing embodiment is only exemplified by the division of the foregoing functional modules. In actual applications, the function distribution may be completed by different functional modules according to requirements, that is, the device is The internal structure is divided into function modules for dialing to complete all or part of the above functions. In addition, the device provided by the foregoing embodiment is in the same concept as the corresponding method, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描述 的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and the cleaning of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成, 前述程序可以存储于一计算机可读取存储 介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介 质包括: 只读存储器(英文全称为 read-only memory, 英文筒称为 R0M )、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing storage medium includes: a read-only memory (referred to as a read-only memory in English, a ROM called a ROM), a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
最后应说明的是: 以上实施例仅用以示例性的说明本发明的技术方案, 而 非对其限制; 尽管参照前述实施例对本发明及本发明带来的有益效果进行了详 细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记 载的技术方案进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改 或者替换, 并不使相应技术方案的本质脱离本发明权利要求的范围。  Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the beneficial effects of the present invention and the present invention are described in detail with reference to the foregoing embodiments, It should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or replacements do not deviate from the essence of the corresponding technical solutions. Scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种越顶 OTT直播的方法, 其特征在于, 包括: 1. A method of over-the-top OTT live broadcast, which is characterized by including:
当检测到 0TT直播存在播放滞后时, 获取对应所述 0TT直播的网络传输速 率及所述 0TT直播的播放速率; When it is detected that the OTT live broadcast has a playback lag, obtain the network transmission rate corresponding to the OTT live broadcast and the playback rate of the OTT live broadcast;
如果所述播放速率大于零且所述网络传输速率大于所述播放速率, 则根据 所述网络传输速率及所述播放速率, 确定第一快速播放幅度, 以便于根据所述 第一快速播放幅度调整所述播放速率, 并根据调整后的所述播放速率进行所述 If the playback rate is greater than zero and the network transmission rate is greater than the playback rate, then a first fast playback amplitude is determined according to the network transmission rate and the playback rate, so as to adjust according to the first fast playback amplitude the playback rate, and perform the operation according to the adjusted playback rate
0TT直播。 0TT live broadcast.
2、 根据权利要求 1所述的方法, 其特征在于, 所述检测到 0TT直播存在播 放滞后包括: 2. The method according to claim 1, wherein the detection of playback lag in the OTT live broadcast includes:
当检测到所述 0TT直播的卡顿持续时长之和大于或等于第一时长阈值时, 确定所述 0TT直播存在播放滞后; When it is detected that the sum of the stuck durations of the OTT live broadcast is greater than or equal to the first duration threshold, it is determined that there is a playback lag in the OTT live broadcast;
或者, 当检测到所述 0TT直播的卡顿持续时长之和小于所述第一时长阈值 且所述 0TT直播的流畅播放持续时长大于或等于第二时长阈值时,确定所述 0TT 直播存在播放滞后。 Or, when it is detected that the sum of the stuck durations of the OTT live broadcast is less than the first duration threshold and the smooth playback duration of the OTT live broadcast is greater than or equal to the second duration threshold, it is determined that the OTT live broadcast has a playback lag. .
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述确定第一快速播放 幅度, 以便于根据所述第一快速播放幅度调整所述播放速率, 并根据调整后的 所述播放速率进行所述 0TT直播之后, 还包括: 3. The method according to claim 1 or 2, characterized in that, the first fast playback amplitude is determined so as to adjust the playback rate according to the first fast playback amplitude, and according to the adjusted playback rate After performing the 0TT live broadcast at the rate, it also includes:
根据所述 0TT直播的播放状态, 确定按预设播放速率继续进行所述 0TT直 播。 According to the playback status of the OTT live broadcast, it is determined to continue the OTT live broadcast at a preset playback rate.
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述 0TT直播的播 放状态, 确定按预设的播放速率继续进行所述 0TT直播包括: 4. The method according to claim 3, characterized in that, according to the playback status of the OTT live broadcast, determining to continue the OTT live broadcast at a preset playback rate includes:
检测到所述 0TT直播的卡顿持续时长之和为零时, 确定按所述预设的播放 速率继续进行所述 0TT直播; When it is detected that the sum of the stuck durations of the OTT live broadcast is zero, it is determined to continue the OTT live broadcast at the preset playback rate;
或者, 检测到所述 0TT直播再次出现卡顿时, 确定按所述预设的播放速率 继续进行所述 0TT直播; 或者, 检测到当前的网络传输速率小于当前的播放速率时, 确定按所述预 设的播放速率继续进行所述 0TT直播。 Or, when it is detected that the OTT live broadcast is stuck again, determine to continue the OTT live broadcast at the preset playback rate; Or, when it is detected that the current network transmission rate is less than the current playback rate, it is determined to continue the OTT live broadcast at the preset playback rate.
5、 根据权利要求 1至 4任一权利要求所述的方法, 其特征在于, 所述根据 所述网络传输速率及所述播放速率, 确定第一快速播放幅度包括: 5. The method according to any one of claims 1 to 4, wherein determining the first fast playback amplitude according to the network transmission rate and the playback rate includes:
当 Rp<Rt<Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt ^Rp (1+Ya)时, 根据 a=Ya确定所述第一快速播放幅度; When Rp<Rt<Rp (l+Ya), the first fast playback amplitude is determined according to a= (Rt-Rp)/Rp; when Rt ^Rp (1+Ya), the first rapid playback amplitude is determined according to a=Ya The first rapid playback range;
其中, a为所述第一快速播放幅度, Rp为所述播放速率, Rt为所述网络传 输速率, Ya为所述第一快速播放幅度对应的第一预设阀值。 Wherein, a is the first fast playback amplitude, Rp is the playback rate, Rt is the network transmission rate, and Ya is the first preset threshold corresponding to the first fast playback amplitude.
6、 根据权利要求 1至 5任一权利要求所述的方法, 其特征在于, 所述根据 所述第一快速播放幅度进行所述 0TT直播之后, 还包括: 6. The method according to any one of claims 1 to 5, characterized in that, after performing the OTT live broadcast according to the first fast playback amplitude, it further includes:
根据网络传输速率及播放速率, 确定第二快速播放幅度; Determine the second fast playback amplitude based on the network transmission rate and playback rate;
根据所述第二快速播放幅度继续进行所述 0TT直播; Continue the OTT live broadcast according to the second fast playback amplitude;
所述第二快速播放幅度大于第二预设阀值时, 将所述第二预设阀值作为所 述第二快速播放幅度。 When the second fast playback amplitude is greater than the second preset threshold, the second preset threshold is used as the second fast playback amplitude.
7、 根据权利要求 1至 6中任一权利要求所述的方法, 其特征在于, 所述第 一快速播放幅度大于第一预设阀值时, 将所述第一预设阀值作为所述第一快速 播放幅度。 7. The method according to any one of claims 1 to 6, characterized in that, when the first rapid playback amplitude is greater than a first preset threshold, the first preset threshold is used as the The first rapid playback range.
8、 一种越顶 0TT直播的检测装置, 其特征在于, 包括: 8. A detection device for over-the-top OTT live broadcast, characterized by including:
检测单元, 用于检测 0TT直播是否存在播放滞后; Detection unit, used to detect whether there is playback lag in 0TT live broadcast;
获取单元, 用于当所述检测单元检测到所述 0TT直播存在播放滞后时, 获 取对应所述 0TT直播的网络传输速率及所述 0TT直播的播放速率; An acquisition unit, configured to obtain the network transmission rate corresponding to the OTT live broadcast and the playback rate of the OTT live broadcast when the detection unit detects that the OTT live broadcast has a playback lag;
确定单元, 用于如果所述播放速率大于零且所述网络传输速率大于所述播 放速率, 则根据所述网络传输速率及所述播放速率, 确定第一快速播放幅度, 以便于播放装置根据所述第一快速播放幅度调整所述播放速率, 并根据调整后 的所述播放速率进行所述 0TT直播。 Determining unit, configured to determine the first fast playback amplitude according to the network transmission rate and the playback rate if the playback rate is greater than zero and the network transmission rate is greater than the playback rate, so that the playback device can The first fast playback amplitude adjusts the playback rate, and the OTT live broadcast is performed according to the adjusted playback rate.
9、 根据权利要求 8所述的装置, 其特征在于, 所述检测单元检测 0TT直播 是否存在播放滞后包括: 9. The device according to claim 8, wherein the detection unit detecting whether there is a playback lag in the OTT live broadcast includes:
检测所述 0TT直播的卡顿持续时长, 当检测到所述 0TT直播的卡顿持续时 长之和大于或等于第一时长阈值时, 确定所述 0TT直播存在播放滞后; Detect the jamming duration of the OTT live broadcast. When it is detected that the sum of the jamming durations of the OTT live broadcast is greater than or equal to the first duration threshold, it is determined that there is a playback lag in the OTT live broadcast;
或者, 检测所述 0TT直播的卡顿持续时长及所述 0TT直播的流畅播放持续 时长, 当检测到所述 0TT直播的卡顿持续时长之和小于所述第一时长阈值, 且 所述 0TT直播的流畅播放持续时长大于或等于第二时长阈值时, 确定所述 0TT 直播存在播放滞后。 Or, detect the stuck duration of the OTT live broadcast and the smooth playback duration of the OTT live broadcast, when it is detected that the sum of the stuck duration of the OTT live broadcast is less than the first duration threshold, and the OTT live broadcast When the duration of smooth playback is greater than or equal to the second duration threshold, it is determined that the OTT live broadcast has a playback lag.
1 0、 根据权利要求 8或 9所述的装置, 其特征在于, 所述确定单元还用于, 在确定所述第一快速播放幅度, 以便于播放装置根据所述第一快速播放幅度调 整所述播放速率, 并根据调整后的所述播放速率进行所述 0TT直播之后, 根据 所述 0TT直播的播放状态, 确定所述播放速率为预设播放速率, 以使所述播放 装置以所述预设播放速率继续进行所述 0TT直播。 10. The device according to claim 8 or 9, characterized in that the determining unit is further configured to determine the first fast playback amplitude, so that the playback device adjusts the first fast playback amplitude according to the first fast playback amplitude. After the OTT live broadcast is performed according to the adjusted playback rate, the playback rate is determined to be the preset playback rate according to the playback status of the OTT live broadcast, so that the playback device performs the OTT live broadcast at the preset playback rate. Set the playback rate to continue the 0TT live broadcast.
1 1、 根据权利要求 10所述的装置, 其特征在于, 所述确定单元确定所述播 放速率为所述预设播放速率包括: 11. The device according to claim 10, wherein the determining unit determining that the playback rate is the preset playback rate includes:
当所述 0TT直播的卡顿持续时长之和为零时, 确定所述播放速率为所述预 设播放速率; When the sum of the jam durations of the OTT live broadcast is zero, the playback rate is determined to be the preset playback rate;
或者, 当所述 0TT直播再次出现卡顿时, 确定所述播放速率为所述预设播 放速率; Or, when the OTT live broadcast freezes again, determine that the playback rate is the preset playback rate;
或者, 当检测到当前的网络传输速率小于当前的播放速率时, 确定所述播 放速率为所述预设播放速率。 Or, when it is detected that the current network transmission rate is less than the current playback rate, the playback rate is determined to be the preset playback rate.
12、 根据权利要求 8至 11任一权利要求所述的装置, 其特征在于, 所述确 定单元根据所述网络传输速率及所述播放速率, 确定第一快速播放幅度包括: 当 Rp<Rt<Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt Rp (l+Ya)时, 根据 a=Ya确定所述第一快速播放幅度; 其中, a为所述第 一快速播放幅度, Rp为所述播放速率, Rt为所述网络传输速率, Ya为所述第一 快速播放幅度对应的第一预设阀值。 12. The device according to any one of claims 8 to 11, wherein the determining unit determines the first fast playback amplitude according to the network transmission rate and the playback rate: when Rp<Rt< When Rp (l+Ya), the first fast playback amplitude is determined according to a= (Rt-Rp)/Rp; when Rt Rp (l+Ya), the first fast playback amplitude is determined according to a=Ya; Wherein, a is the first fast playback amplitude, Rp is the playback rate, Rt is the network transmission rate, and Ya is the first preset threshold corresponding to the first fast playback amplitude.
1 3、 一种越顶 OTT直播的播放装置, 其特征在于, 包括: 1 3. A playback device for over-the-top OTT live broadcast, which is characterized by including:
接收单元, 用于接收检测装置发送的快速播放幅度, 所述快速播放幅度由 检测装置检测到 0TT直播存在播放滞后时, 获取对应所述 0TT直播的网络传输 速率及所述 0TT直播的播放速率, 在确定所述播放速率大于零且所述网络传输 速率大于所述播放速率, 则根据所述网络传输速率及所述播放速率, 确定所述 快速播放幅度; The receiving unit is configured to receive the fast playback amplitude sent by the detection device. When the detection device detects that the OTT live broadcast has a playback lag, obtain the network transmission rate corresponding to the OTT live broadcast and the playback rate of the OTT live broadcast, After it is determined that the playback rate is greater than zero and the network transmission rate is greater than the playback rate, the rapid playback amplitude is determined based on the network transmission rate and the playback rate;
播放单元, 用于根据所述快速播放幅度调整所述播放速率, 并根据调整后 的所述播放速率进行所述 0TT直播。 A playback unit, configured to adjust the playback rate according to the fast playback amplitude, and perform the OTT live broadcast according to the adjusted playback rate.
14、 根据权利要求 1 3所述的装置, 其特征在于, 所述播放装置位于 0TT视 频服务器设备、 或者所述播放装置位于终端设备、 或者所述播放装置位于网络 设备。 14. The device according to claim 13, characterized in that the playback device is located in an OTT video server device, or the playback device is located in a terminal device, or the playback device is located in a network device.
1 5、 一种越顶 0TT直播系统, 其特征在于, 包括检测装置及播放装置, 其 中 15. An over-the-top OTT live broadcast system, characterized by including a detection device and a playback device, wherein
所述检测装置, 用于检测 0TT直播是否存在播放滞后, 当检测到 0TT直播 存在播放滞后时, 获取对应所述 0TT直播的网络传输速率及所述 0TT直播的播 放速率, 如果所述播放速率大于零且所述网络传输速率大于所述播放速率, 则 根据所述网络传输速率及所述播放速率, 确定第一快速播放幅度, 并向所述播 放装置发送所述第一快速播放幅度; The detection device is used to detect whether there is a playback lag in the OTT live broadcast. When it is detected that the OTT live broadcast has a playback lag, obtain the network transmission rate corresponding to the OTT live broadcast and the playback rate of the OTT live broadcast. If the playback rate is greater than 0 and the network transmission rate is greater than the playback rate, then determine the first fast playback amplitude according to the network transmission rate and the playback rate, and send the first fast playback amplitude to the playback device;
所述播放装置, 用于接收所述检测装置发送的所述第一快速播放幅度, 并 根据所述第一快速播放幅度调整所述播放速率, 并根据调整后的所述播放速率 进行所述 0TT直播。 The playback device is configured to receive the first fast playback amplitude sent by the detection device, adjust the playback rate according to the first fast playback amplitude, and perform the OTT according to the adjusted playback rate. live streaming.
1 6、 根据权利要求 15所述的系统, 其特征在于, 所述检测装置检测 0TT直 播是否存在播放滞后包括: 16. The system according to claim 15, characterized in that the detection device detecting whether there is a playback lag in the OTT live broadcast includes:
检测所述 0TT直播的卡顿持续时长, 当检测到所述 0TT直播的卡顿持续时 长之和大于或等于第一时长阀值时, 确定所述 0TT直播存在播放滞后; Detect the jamming duration of the OTT live broadcast. When it is detected that the sum of the jamming durations of the OTT live broadcast is greater than or equal to the first duration threshold, it is determined that there is a playback lag in the OTT live broadcast;
或者, 检测所述 0TT直播的卡顿持续时长及所述 0TT直播的流畅播放持续 时长, 当检测到所述 OTT直播的卡顿持续时长之和小于所述第一时长阀值且所 述 0TT直播的流畅播放持续时长大于或等于第二时长阀值时, 确定所述 0TT直 播存在播放滞后。 Or, detect the lag duration of the OTT live broadcast and the smooth playback duration of the OTT live broadcast. Duration, when it is detected that the sum of the stuck durations of the OTT live broadcast is less than the first duration threshold and the smooth playback duration of the OTT live broadcast is greater than or equal to the second duration threshold, it is determined that the OTT live broadcast exists Playback lags.
17、 根据权利要求 15或 16所述的系统, 其特征在于: 17. The system according to claim 15 or 16, characterized in that:
所述检测装置, 还用于根据所述 0TT直播的播放状态, 确定按预设播放速 率继续进行所述 0TT直播, 并通知所述直播的播放装置按预设的播放速率继续 进行所述 0TT直播。 The detection device is also used to determine, according to the playback status of the OTT live broadcast, to continue the OTT live broadcast at a preset playback rate, and to notify the playback device of the live broadcast to continue the OTT live broadcast at a preset playback rate. .
18、 根据权利要求 17所述的系统, 其特征在于, 所述检测装置确定按预设 播放速率继续进行所述 0TT直播包括: 18. The system according to claim 17, wherein the detection device determines to continue the OTT live broadcast at a preset playback rate including:
当检测到所述 0TT直播的卡顿持续时长之和为零时, 确定按预设的播放速 率继续进行所述 0TT直播; When it is detected that the sum of the stuck durations of the OTT live broadcast is zero, it is determined to continue the OTT live broadcast at the preset playback rate;
或者, 当检测到所述 0TT直播再次出现卡顿时, 确定按预设的播放速率继 续进行所述 0TT直播; Or, when it is detected that the OTT live broadcast is stuck again, determine to continue the OTT live broadcast at the preset playback rate;
或者, 当检测到当前的网络传输速率小于当前的播放速率时, 确定按预设 的播放速率继续进行所述 0TT直播。 Or, when it is detected that the current network transmission rate is less than the current playback rate, it is determined to continue the OTT live broadcast at the preset playback rate.
19、 根据权利要求 15至 18任一权利要求所述的系统, 其特征在于, 所述 检测装置根据所述网络传输速率及所述播放速率, 确定第一快速播放幅度包括: 当 Rp<Rt<Rp (l+Ya)时, 根据 a= ( Rt-Rp ) /Rp确定所述第一快速播放幅度; 当 Rt ^Rp (1+Ya)时, 根据 a=Ya确定所述第一快速播放幅度; 19. The system according to any one of claims 15 to 18, characterized in that, the detection device determines the first fast playback amplitude according to the network transmission rate and the playback rate: when Rp<Rt< When Rp (l+Ya), the first fast playback amplitude is determined according to a= (Rt-Rp) /Rp; when Rt ^Rp (1+Ya), the first fast playback amplitude is determined according to a=Ya ;
其中, a为所述第一快速播放幅度, Rp为所述播放速率, Rt为所述网络传 输速率, Ya为所述第一快速播放幅度对应的第一预设阀值。 Wherein, a is the first fast playback amplitude, Rp is the playback rate, Rt is the network transmission rate, and Ya is the first preset threshold corresponding to the first fast playback amplitude.
20、 根据权利要求 15至 19 中任一项所述的系统, 其特征在于, 所述检测 装置位于 0TT视频服务器设备、 或者位于终端设备、 或者位于网络设备; 20. The system according to any one of claims 15 to 19, characterized in that the detection device is located in an OTT video server device, or in a terminal device, or in a network device;
所述播放装置位于所述 0TT视频服务器设备、 或者位于所述终端设备、 或 者位于所述网络设备。 The playback device is located in the OTT video server device, or in the terminal device, or in the network device.
PCT/CN2014/073651 2013-03-26 2014-03-19 Method, apparatus and system for over the top (ott) direct broadcasting WO2014154102A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310101250.X 2013-03-26
CN201310101250.XA CN104079955B (en) 2013-03-26 2013-03-26 More push up OTT live method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2014154102A1 true WO2014154102A1 (en) 2014-10-02

Family

ID=51600962

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073651 WO2014154102A1 (en) 2013-03-26 2014-03-19 Method, apparatus and system for over the top (ott) direct broadcasting

Country Status (2)

Country Link
CN (1) CN104079955B (en)
WO (1) WO2014154102A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639977B (en) * 2015-02-05 2018-05-08 小米科技有限责任公司 The method and device that program plays
CN105025344A (en) * 2015-07-22 2015-11-04 无锡天脉聚源传媒科技有限公司 Inter-cut method and device
CN106851427B (en) * 2015-12-04 2019-11-22 腾讯科技(深圳)有限公司 A kind of transfer control method and device of game live video
CN106899863B (en) 2016-06-28 2019-10-25 阿里巴巴集团控股有限公司 A kind of data processing method and device
CN106851340B (en) * 2017-02-10 2020-05-05 聚好看科技股份有限公司 Video plug-streaming method and device
CN107396171A (en) * 2017-07-24 2017-11-24 广州酷狗计算机科技有限公司 Live network broadcast method, device and storage medium
CN108259964B (en) * 2018-01-23 2020-05-29 浙江国视科技有限公司 Video playing rate adjusting method and system
CN110166834B (en) * 2018-02-11 2021-08-31 腾讯科技(深圳)有限公司 Data playing method, device and storage medium
CN108235136B (en) * 2018-03-15 2021-06-01 青岛海信传媒网络技术有限公司 Data playing method and terminal equipment
CN109194975B (en) * 2018-11-02 2021-04-20 深圳市云威物联科技有限公司 Audio and video live broadcast stream following method and device
CN112752109B (en) 2019-10-30 2022-05-17 上海哔哩哔哩科技有限公司 Video playing control method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050084237A1 (en) * 2003-10-16 2005-04-21 Kellner Charles R.Jr. Systems and methods for managing frame rates during multimedia playback
CN101547108A (en) * 2008-03-28 2009-09-30 华为技术有限公司 Method for switching streaming media service, playing device and server
CN101583025A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Streaming media playing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100858762B1 (en) * 1999-11-22 2008-09-16 소니 가부시끼 가이샤 Videotape recording and playback device, and videotape player
US7133486B2 (en) * 2002-06-21 2006-11-07 Thomson Licensing Ever-increasing quality for stored video streaming in a mobile wireless interworking environment
FI20021527A0 (en) * 2002-08-27 2002-08-27 Oplayo Oy A method and system for adjusting bandwidth of a media stream
CN101662676B (en) * 2009-09-30 2011-09-28 四川长虹电器股份有限公司 Processing method for streaming media buffer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050084237A1 (en) * 2003-10-16 2005-04-21 Kellner Charles R.Jr. Systems and methods for managing frame rates during multimedia playback
CN101547108A (en) * 2008-03-28 2009-09-30 华为技术有限公司 Method for switching streaming media service, playing device and server
CN101583025A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Streaming media playing method and device

Also Published As

Publication number Publication date
CN104079955B (en) 2017-12-15
CN104079955A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
WO2014154102A1 (en) Method, apparatus and system for over the top (ott) direct broadcasting
EP3806477B1 (en) Video transcoding system and method, apparatus, and storage medium
US8935736B2 (en) Channel switching method, channel switching device, and channel switching system
EP3108639B1 (en) Transport accelerator implementing extended transmission control functionality
JP5421346B2 (en) High-speed transmission method and apparatus for unicast stream in high-speed channel change
US8010863B2 (en) Method and apparatus for synchronizing multiple multimedia streams
US20050254508A1 (en) Cooperation between packetized data bit-rate adaptation and data packet re-transmission
WO2017092259A1 (en) Transmission control method and apparatus for game live video
EP2696595A2 (en) Channel switching processing method, system, and related devices
EP3384617B1 (en) Data rate adaptation for multicast delivery of streamed content
WO2010088836A1 (en) Packet loss compensation method and apparatus in user datagram protocol transmission mode
US11050805B2 (en) Method of controlling stream buffer in media playback device and related buffering device
CN111866526B (en) Live broadcast service processing method and device
CN105245946B (en) Method, device and system for controlling flow of variable-code-rate media stream
WO2011095118A1 (en) Method, apparatus and system for processing network time shift
JP6475559B2 (en) Encoding device, decoding device and program thereof

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: 14774876

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: 14774876

Country of ref document: EP

Kind code of ref document: A1