CN109525887B - Self-adjusting playing method, system and device of online video - Google Patents

Self-adjusting playing method, system and device of online video Download PDF

Info

Publication number
CN109525887B
CN109525887B CN201811613582.5A CN201811613582A CN109525887B CN 109525887 B CN109525887 B CN 109525887B CN 201811613582 A CN201811613582 A CN 201811613582A CN 109525887 B CN109525887 B CN 109525887B
Authority
CN
China
Prior art keywords
video
buffer
playing
played
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811613582.5A
Other languages
Chinese (zh)
Other versions
CN109525887A (en
Inventor
张经宇
钟思琪
王进
李文军
王斐
何施茗
邝利丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
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 Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN201811613582.5A priority Critical patent/CN109525887B/en
Publication of CN109525887A publication Critical patent/CN109525887A/en
Application granted granted Critical
Publication of CN109525887B publication Critical patent/CN109525887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a self-adjusting playing method, a system and a device of an online video, comprising the following steps: after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, increasing the buffer threshold value at a first increasing speed; if so, increasing the buffer threshold value at a second increasing speed until the buffer threshold value reaches a preset buffer extreme value, so as to realize the control of the periodic downloading of the video segment of the pre-playing video through the increased buffer threshold value. Therefore, the purpose of self-adjusting and optimizing the energy consumption of the battery is achieved by dynamically adjusting the threshold value of the buffer, and the waste situation of network bandwidth is reduced to a certain extent when the user behavior is unstable.

Description

Self-adjusting playing method, system and device of online video
Technical Field
The invention relates to the technical field of computer networks, in particular to a self-adjusting playing method, a system and a device of an online video.
Background
At present, the online video service technology is widely applied to a mobile phone network, and becomes an indispensable important component in a computer mobile network. However, for the terminal device, the power consumption during online video playing is large, so that the optimization technology of online video power consumption is developed. In the prior art, a method for optimizing merging and downloading of video segments is generally adopted to reduce the power consumption of terminal equipment. Specifically, in the prior art, a video segment merging amount (greater than the video segment merging amount before optimization) is set in advance, so that the merging and downloading of the video segments are always realized based on a larger video segment merging amount in the process of playing the online video, and the power consumption of the terminal device is reduced by saving the downloading time of the video segments. However, the optimization method neglects the behavior pattern of the user, and if the behavior of the user is in an unstable pattern, a large number of merged downloaded video segments are usually discarded, and the discarded video segments are not played at the client, thereby causing a serious problem of wasting network bandwidth and consuming extra battery energy.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a self-adjusting playing method, a system and a device of an online video, which achieve the purpose of self-adjusting and optimizing battery energy consumption by dynamically adjusting a buffer threshold value and reduce the waste situation of network bandwidth to a certain extent when user behaviors are unstable.
In order to solve the technical problem, the invention provides a self-adjusting playing method of an online video, which comprises the following steps:
after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; wherein the buffer threshold characterizes a number of one-time merge downloaded video segments;
starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value;
if not, increasing the buffer threshold value at a first increasing speed; if so, increasing the buffer threshold value at a second increasing speed until the buffer threshold value reaches a preset buffer extreme value, so as to realize that the periodical downloading of the video segment of the pre-playing video is controlled through the increased buffer threshold value; wherein the first growth rate is less than the second growth rate.
Preferably, the self-adjusting playing method further comprises:
and solving the residual capacity of the buffer area in real time, and expanding the total capacity of the buffer area when the residual capacity is smaller than a preset capacity threshold value until the total capacity reaches a preset capacity extreme value.
Preferably, after the playing of the pre-play video is started, the self-adjusting playing method further includes:
the played video segment is purged from the buffer.
Preferably, the self-adjusting playing method further comprises:
and after receiving a closing request of the pre-played video, closing the pre-played video, clearing the buffer zone, and initializing all playing parameters.
Preferably, the self-adjusting playing method further comprises:
and clearing the buffer zone after the pre-played video is played, and initializing all playing parameters.
Preferably, the self-adjusting playing method further comprises:
and after a jump request of the pre-played video is received, clearing the buffer area, initializing all playing parameters, and re-executing the step of filling a group of video segments of the pre-played video into the preset buffer area so as to continuously play the pre-played video at a jump position.
In order to solve the above technical problem, the present invention further provides a self-adjusting playing system for online video, comprising:
the buffer area filling module is used for filling a group of video sections of the pre-playing video into a preset buffer area after receiving an online video playing request, and controlling the periodic downloading of the video sections of the pre-playing video through a preset buffer threshold value; wherein the buffer threshold characterizes a number of one-time merge downloaded video segments;
the preheating judgment module is used for starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time and judging whether the continuous online playing time exceeds a preset preheating time threshold value or not; if not, executing a first threshold value adjusting module; if yes, executing a second threshold adjusting module;
the first threshold adjusting module is used for increasing the buffer threshold at a first increasing speed so as to control the periodical downloading of the video segment of the pre-playing video through the increased buffer threshold;
the second threshold adjusting module is configured to increase the buffer threshold at a second increasing speed until the buffer threshold reaches a preset buffer extremum, so as to control the periodic downloading of the video segment of the pre-played video through the increased buffer threshold; wherein the first growth rate is less than the second growth rate.
Preferably, the self-adjusting playing system further comprises:
and the capacity adjusting module is used for solving the residual capacity of the buffer area in real time, and when the residual capacity is smaller than a preset capacity threshold value, expanding the total capacity of the buffer area until the total capacity reaches a preset capacity extreme value.
Preferably, the self-adjusting playing system further comprises:
and the buffer clearing module is used for clearing the played video segment from the buffer after the pre-played video begins to be played.
In order to solve the above technical problem, the present invention further provides a self-adjusting playing device for an online video, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the online video self-adjusting playing methods when the computer program is executed.
The invention provides a self-adjusting playing method of an online video, which comprises the following steps: after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; wherein the buffer threshold value represents the number of the one-time merging downloading video segments; starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, increasing the buffer threshold value at a first increasing speed; if so, increasing the buffer threshold value at a second increasing speed until the buffer threshold value reaches a preset buffer extreme value, so as to realize the control of the periodic downloading of the video segment of the pre-playing video through the increased buffer threshold value; wherein the first growth rate is less than the second growth rate.
Therefore, the method and the device consider that the behavior mode of the user is extremely unstable in the initial stage of video playing; and as the continuous online playing time of the video increases, the behavior mode of the user gradually tends to be stable. Therefore, the initial value of the buffer threshold is set to be low, the buffer threshold is slowly increased at the initial stage of video playing, and the buffer threshold is rapidly increased after the continuous online playing time of the video reaches a certain value, so that the purpose of self-adjusting and optimizing the energy consumption of the battery is achieved by dynamically adjusting the buffer threshold, and the waste situation of network bandwidth is reduced to a certain extent when the user behavior is unstable.
The invention also provides a self-adjusting playing system and a self-adjusting playing device of the online video, and the system and the device have the same beneficial effects as the self-adjusting playing method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a method for self-adjusting playing of an online video according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a self-adjusting playing system of an online video according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a self-adjusting playing method, a system and a device of an online video, the purpose of self-adjusting and optimizing the energy consumption of a battery is realized by dynamically adjusting the threshold value of a buffer, and the waste situation of network bandwidth is reduced to a certain extent when the user behavior is unstable.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for self-adjusting playing of an online video according to an embodiment of the present invention.
The self-adjusting playing method of the online video comprises the following steps:
step S1: after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; wherein the buffer threshold characterizes the number of video segments downloaded at one merge.
In particular, merging and downloading a larger number of video segments is advantageous for reducing the power consumption of the terminal device in case the user's behavior pattern is in a steady state (in which the user neither jumps to another part of the current video nor exits the playing of the current video, i.e. the user is likely to watch the video online for a relatively long time). However, once the user's behavior pattern enters an unstable state (in this mode, even if the current video is not played completely, the user often jumps to another part of the current video, and may exit the playing of the current video, that is, the duration of time for the user to watch the same video is relatively short), a large number of merged downloaded video segments may be discarded, and these discarded video segments are not played at the client, which may cause a serious problem of wasting network bandwidth, and consume additional battery power. Merging and downloading a smaller number of video segments helps to reduce power consumption of the terminal device when the user's behavior pattern is in an unstable state.
Based on this, the present application sets the buffer threshold (representing the number of video segments downloaded in one merge) as an adjustable parameter, and sets a small initial value for the buffer threshold in advance (which may be the same as the amount of merging of video segments before optimization in the prior art). It should be noted that, before playing a new video each time, all the playing parameters should be initialized to prepare for waiting for the online video playing request of the user. This means that when an online video playing request comes, a new video will be played online or the playing jumps to a new video playing position using the original playing strategy.
After an online video playing request of a user is received, a group of video segments of a pre-played video corresponding to the online video playing request are immediately filled into a preset buffer zone at one time (called a buffer zone pre-fetching stage, the buffer zone is significant in that in order to prevent the situations of blocking and the like in the playing process of the video, a buffer zone is set in advance to be responsible for downloading and storing the video segments), so that the smooth playing of the pre-played video is realized. For downloading the later video segment of the pre-playing video, the present application controls the periodical downloading through the current buffer threshold.
Step S2: starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, go to step S3; if yes, go to step S4.
Specifically, considering that the behavior pattern of the user is extremely unstable in the initial stage of video playback (referred to as the warm-up stage), the user is likely to jump to the playback of the video; with the increase of the continuous online playing time of the video, the user is more and more likely to watch the current online video for a long time (i.e. the behavior mode of the user is more likely to be continuously in a stable state), so that the online playing strategy is not suitable to be adjusted greatly when the video is in the preheating stage; after the video is in the preheating stage, the online playing strategy is suitable to be adjusted to a larger extent.
Based on this, the application sets a preheating time threshold (as a critical value for the online playing strategy change) in advance to distinguish the preheating stage of the pre-playing video. More specifically, the method and the device start timing when the pre-playing video starts to be played, and the timing time is the continuous online playing time of the pre-playing video. Meanwhile, judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, indicating that the pre-played video is in the pre-heating stage, not performing large adjustment on the online playing strategy (step S3); if yes, it indicates that the pre-played video is in the pre-heating stage, then the online playing policy is adjusted to a larger extent (step S4).
Step S3: the buffer threshold is incremented at a first growth rate to enable control of the periodic downloading of the video segments of the pre-play video by the incremented buffer threshold.
Specifically, the method sets a first low increasing speed in advance, and when the pre-played video is in the preheating stage, the method slowly increases the buffer threshold at the first increasing speed. The buffer threshold is slowly increased to realize the merging and downloading of the video segments at a slower speed, so that the energy consumption of the tail part of RRC (Radio Resource Control) is reduced by merging and downloading the video segments to achieve the aim of saving the energy of the battery.
More specifically, the main functions of RRC include establishment and release of radio resource connection, broadcast function of system information, radio access point establishment, reconfiguration and release. In a terminal device network, the establishment and release of radio frequency resource connection may affect the energy consumption of the terminal device accessing the network. And RRC tail energy consumption: when the video segment is downloaded each time, a video segment downloading session is started, and after the video segment downloading session completes downloading the video segment, the terminal equipment maintains a high-energy-consumption state for a period of time, and then enters a low-energy-consumption state. The high energy consumption of the no-download state caused by the part is the RRC tail energy consumption.
By increasing the buffer threshold (which means that more video segments will be downloaded in one merge at a time in each subsequent video segment download session), the merged video segment download session achieves a more efficient power consumption mode, and the unnecessary RRC tail energy after each video segment download session is naturally reduced after merging.
Step S4: increasing the buffer threshold at a second increase speed until the buffer threshold reaches a preset buffer extreme value, so as to realize that the periodical downloading of the video segment of the pre-playing video is controlled through the increased buffer threshold; wherein the first growth rate is less than the second growth rate.
Specifically, the method sets a higher second growth speed in advance, and when the pre-played video is after the pre-heating stage, the method increases the buffer threshold value at the second growth speed quickly until the buffer threshold value is increased to a preset buffer extreme value. The buffer threshold is rapidly increased, so that the video segments are merged and downloaded at a higher speed, and the energy consumption of the RRC tail part is reduced by merging and downloading the video segments, so that the aim of saving energy of the battery is fulfilled.
It can be seen that the present application uses an "incremental" strategy to adjust the buffer threshold, and analyzes and evaluates the current behavior pattern of the user through the continuous online playing time, so as to schedule online video playing by adopting different optimization strategies according to different behavior patterns of the user. That is, a unified framework is provided for different behavior patterns of the user through the mechanism, and the aim of self-adjusting and optimizing the battery energy consumption is achieved by dynamically and flexibly merging the video segment downloading sessions.
The invention provides a self-adjusting playing method of an online video, which comprises the following steps: after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; wherein the buffer threshold value represents the number of the one-time merging downloading video segments; starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, increasing the buffer threshold value at a first increasing speed; if so, increasing the buffer threshold value at a second increasing speed until the buffer threshold value reaches a preset buffer extreme value, so as to realize the control of the periodic downloading of the video segment of the pre-playing video through the increased buffer threshold value; wherein the first growth rate is less than the second growth rate.
Therefore, the method and the device consider that the behavior mode of the user is extremely unstable in the initial stage of video playing; and as the continuous online playing time of the video increases, the behavior mode of the user gradually tends to be stable. Therefore, the initial value of the buffer threshold is set to be low, the buffer threshold is slowly increased at the initial stage of video playing, and the buffer threshold is rapidly increased after the continuous online playing time of the video reaches a certain value, so that the purpose of self-adjusting and optimizing the energy consumption of the battery is achieved by dynamically adjusting the buffer threshold, and the waste situation of network bandwidth is reduced to a certain extent when the user behavior is unstable.
On the basis of the above-described embodiment:
as an optional embodiment, the self-adjusting playing method further includes:
and (4) solving the residual capacity of the buffer area in real time, and expanding the total capacity of the buffer area when the residual capacity is smaller than a preset capacity threshold value until the total capacity reaches a preset capacity extreme value.
Further, typically, the greater the total capacity of the buffer, the greater the number of video segments that are allowed to be downloaded during the buffer pre-fetch phase, and thus, the number of subsequent video segment download sessions during the buffer maintenance phase will be reduced. It is known that the buffer pre-fetching phase can generally achieve a higher network download speed than the buffer maintenance phase, thereby saving the time consumed for data download, so that a larger buffer capacity can save energy consumption on the terminal device. However, the behavior mode of the user is neglected in a pure buffer expansion optimization manner, and if the behavior of the user is in an unstable mode, a large number of cached video segments are usually cleared, and the cleared video segments are not played at the client, so that a serious problem of network bandwidth waste is caused, and extra battery energy consumption is consumed.
It can be seen that a larger buffer capacity is advantageous for reducing the power consumption of the terminal device when the behavior pattern of the user is in a steady state. And in the unstable state of the behavior mode of the user, the smaller buffer capacity is beneficial to reducing the power consumption of the terminal equipment.
Based on this, the present application also sets the buffer capacity as an adjustable parameter and sets a smaller initial value for the buffer capacity in advance. It should be noted that, during the period when the buffer threshold is slowly increased, the initial capacity of the buffer is sufficient for downloading the video segment. In the phase of a rapid increase in the buffer threshold, there may be insufficient initial capacity of the buffer. Therefore, at the stage of increasing the buffer threshold, the method and the device solve the residual capacity of the buffer area in real time, compare the residual capacity of the buffer area with the preset capacity threshold, and expand the total capacity of the buffer area when the residual capacity of the buffer area is smaller than the preset capacity threshold. After the buffer zone is expanded, the residual capacity of the buffer zone is still obtained in real time, when the residual capacity of the buffer zone is smaller than a preset capacity threshold value, the total capacity of the buffer zone is expanded again (the capacity value of each expansion can be set in advance), and the total capacity of the buffer zone is stopped being expanded until the total capacity of the buffer zone reaches a preset capacity extreme value.
Therefore, the dynamic adjustment of the capacity of the buffer area is realized in the video playing process, and the purpose of optimizing the battery energy consumption by using different buffer area capacities according to different behavior modes of a user is achieved.
As an optional embodiment, after the playing of the pre-play video is started, the self-adjusting playing method further includes:
the played video segment is purged from the buffer.
Further, in the process of playing the pre-played video, the played video segment is cleared from the buffer area, so that sufficient storage space is provided for the subsequent video segment.
As an optional embodiment, the self-adjusting playing method further includes:
and after receiving a closing request of the pre-played video, closing the pre-played video, clearing the buffer area, and initializing all playing parameters.
Further, according to the method and the device, after a closing request of the pre-played video is received, the pre-played video is immediately closed, meanwhile, the buffer area is cleared, and all playing parameters (including the buffer threshold value and the buffer area capacity) are initialized to prepare for receiving a new online video playing request.
As an optional embodiment, the self-adjusting playing method further includes:
and after the pre-played video is played, clearing the buffer zone and initializing all playing parameters.
Further, the method and the device clear the buffer area after the pre-played video is played, and initialize all the playing parameters to prepare for receiving a new online video playing request.
As an optional embodiment, the self-adjusting playing method further includes:
and after a jump request of the pre-played video is received, clearing the buffer area, initializing all playing parameters, and re-executing the step of filling a group of video segments of the pre-played video into the preset buffer area so as to continuously play the pre-played video at the jump position.
Further, after a skip request (corresponding to a skip position of the pre-played video) of the pre-played video is received, the buffer area is immediately cleared, all playing parameters are initialized, and meanwhile, a step of filling a group of video segments of the pre-played video into the preset buffer area is executed again (the unplayed video after the skip position is taken as the current pre-played video), so that the pre-played video is continuously played at the skip position.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an online video self-adjusting playing system according to an embodiment of the present invention.
The self-adjusting playing system of the online video comprises:
the buffer area filling module 1 is used for filling a group of video sections of the pre-played video into a preset buffer area after receiving an online video playing request, and controlling the periodic downloading of the video sections of the pre-played video through a preset buffer threshold value; wherein the buffer threshold value represents the number of the one-time merging downloading video segments;
the preheating judgment module 2 is used for starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value; if not, executing a first threshold value adjusting module; if yes, executing a second threshold adjusting module;
a first threshold adjusting module 3, configured to increase the buffer threshold at a first increase speed, so as to control the periodic downloading of the video segment of the pre-played video through the increased buffer threshold;
the second threshold adjusting module 4 is configured to increase the buffer threshold at a second increasing speed until the buffer threshold reaches a preset buffer extremum, so as to control the periodic downloading of the video segment of the pre-played video through the increased buffer threshold; wherein the first growth rate is less than the second growth rate.
As an optional embodiment, the self-adjusting playing system further comprises:
and the capacity adjusting module is used for solving the residual capacity of the buffer area in real time, and when the residual capacity is smaller than a preset capacity threshold value, expanding the total capacity of the buffer area until the total capacity reaches a preset capacity extreme value.
As an optional embodiment, the self-adjusting playing system further comprises:
and the buffer clearing module is used for clearing the played video segment from the buffer after the playing of the pre-played video is started.
For introduction of the self-adjusting playing system provided in the present application, please refer to the above-mentioned embodiment of the self-adjusting playing method, which is not described herein again.
The application also provides a self-adjusting playing device of the online video, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the online video self-adjusting playing methods when executing the computer program.
For introduction of the self-adjusting playing apparatus provided in the present application, please refer to the above-mentioned embodiment of the self-adjusting playing method, which is not described herein again.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A self-adjusting playing method of an online video is characterized by comprising the following steps:
after receiving an online video playing request, filling a group of video segments of a pre-played video into a preset buffer area, and controlling the periodic downloading of the video segments of the pre-played video through a preset buffer threshold value; wherein the buffer threshold characterizes a number of one-time merge downloaded video segments;
starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time, and judging whether the continuous online playing time exceeds a preset preheating time threshold value;
if not, increasing the buffer threshold value at a first increasing speed; if so, increasing the buffer threshold value at a second increasing speed until the buffer threshold value reaches a preset buffer extreme value, so as to realize that the periodical downloading of the video segment of the pre-playing video is controlled through the increased buffer threshold value; wherein the first growth rate is less than the second growth rate.
2. The method for self-adjusting playback of online video as recited in claim 1, wherein the method further comprises:
and solving the residual capacity of the buffer area in real time, and expanding the total capacity of the buffer area when the residual capacity is smaller than a preset capacity threshold value until the total capacity reaches a preset capacity extreme value.
3. The method for self-adjusting playback of an online video as recited in claim 2, wherein after the pre-playback video begins to be played, the method further comprises:
the played video segment is purged from the buffer.
4. The method for self-adjusting playback of online video as recited in claim 2, wherein the method further comprises:
and after receiving a closing request of the pre-played video, closing the pre-played video, clearing the buffer zone, and initializing all playing parameters.
5. The method for self-adjusting playback of online video as recited in claim 4, wherein the method further comprises:
and clearing the buffer zone after the pre-played video is played, and initializing all playing parameters.
6. The method for self-adjusting playback of online video as recited in claim 5, wherein the method further comprises:
and after a jump request of the pre-played video is received, clearing the buffer area, initializing all playing parameters, and re-executing the step of filling a group of video segments of the pre-played video into the preset buffer area so as to continuously play the pre-played video at a jump position.
7. A self-adjusting playback system for online video, comprising:
the buffer area filling module is used for filling a group of video sections of the pre-playing video into a preset buffer area after receiving an online video playing request, and controlling the periodic downloading of the video sections of the pre-playing video through a preset buffer threshold value; wherein the buffer threshold characterizes a number of one-time merge downloaded video segments;
the preheating judgment module is used for starting playing the pre-played video after the video segment is filled, counting the continuous online playing time of the pre-played video in real time and judging whether the continuous online playing time exceeds a preset preheating time threshold value or not; if not, executing a first threshold value adjusting module; if yes, executing a second threshold adjusting module;
the first threshold adjusting module is used for increasing the buffer threshold at a first increasing speed so as to control the periodical downloading of the video segment of the pre-playing video through the increased buffer threshold;
the second threshold adjusting module is configured to increase the buffer threshold at a second increasing speed until the buffer threshold reaches a preset buffer extremum, so as to control the periodic downloading of the video segment of the pre-played video through the increased buffer threshold; wherein the first growth rate is less than the second growth rate.
8. The system for self-adjusting playback of online video as recited in claim 7, further comprising:
and the capacity adjusting module is used for solving the residual capacity of the buffer area in real time, and when the residual capacity is smaller than a preset capacity threshold value, expanding the total capacity of the buffer area until the total capacity reaches a preset capacity extreme value.
9. The system for self-adjusting playback of online video as recited in claim 8, further comprising:
and the buffer clearing module is used for clearing the played video segment from the buffer after the pre-played video begins to be played.
10. An apparatus for self-adjusting playback of online video, comprising:
a memory for storing a computer program;
processor for implementing the steps of the method for self-adjusting playback of online video according to any of claims 1 to 6 when executing said computer program.
CN201811613582.5A 2018-12-27 2018-12-27 Self-adjusting playing method, system and device of online video Active CN109525887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811613582.5A CN109525887B (en) 2018-12-27 2018-12-27 Self-adjusting playing method, system and device of online video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811613582.5A CN109525887B (en) 2018-12-27 2018-12-27 Self-adjusting playing method, system and device of online video

Publications (2)

Publication Number Publication Date
CN109525887A CN109525887A (en) 2019-03-26
CN109525887B true CN109525887B (en) 2021-06-18

Family

ID=65797461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811613582.5A Active CN109525887B (en) 2018-12-27 2018-12-27 Self-adjusting playing method, system and device of online video

Country Status (1)

Country Link
CN (1) CN109525887B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072146B (en) * 2019-04-17 2021-07-16 长沙理工大学 Power-saving method and device for playing online video by mobile terminal and storage medium
CN111866549B (en) * 2019-04-29 2023-03-24 腾讯科技(深圳)有限公司 Video processing method and device, terminal and storage medium
CN110740374B (en) * 2019-10-31 2022-03-11 广州市网星信息技术有限公司 Multimedia data processing method and device, computer equipment and storage medium
CN113765886B (en) * 2021-08-04 2023-07-25 深圳Tcl新技术有限公司 Multimedia playing method and device, storage medium and electronic equipment
CN114584826B (en) * 2022-03-08 2024-04-12 抖音视界有限公司 Video dynamic downloading method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724585A (en) * 2012-06-29 2012-10-10 Tcl集团股份有限公司 Preloading method and device for network video playing of terminal equipment
CN102892041A (en) * 2012-10-18 2013-01-23 中山大学 Video stream buffer optimization method and system applied for mobile equipment
CN103402136A (en) * 2013-07-29 2013-11-20 重庆大学 Self-adaptive cache adjustment control method and device and self-adaptive player
CN103475932A (en) * 2013-09-05 2013-12-25 深圳Tcl新技术有限公司 Seamless on-line playing method and device of network video and network television system
KR101352917B1 (en) * 2012-08-13 2014-01-20 주식회사 금영 Method and system playing received video content synchronized with audio content
CN105430475A (en) * 2015-11-04 2016-03-23 北京奇虎科技有限公司 Buffering method and device of video data
CN107743253A (en) * 2017-11-03 2018-02-27 中广热点云科技有限公司 For the video transmission rate adaptation method in wireless network
CN108206969A (en) * 2016-12-16 2018-06-26 北京酷我科技有限公司 A kind of video playing quick start method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962637B2 (en) * 2006-11-03 2011-06-14 Apple Computer, Inc. Dynamic adjustments of video streams
CN105898536A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Video play method and device
CN107529097A (en) * 2016-06-20 2017-12-29 北京信威通信技术股份有限公司 A kind of method and device of adaptive regulating video buffer size
CN106131657A (en) * 2016-06-29 2016-11-16 乐视控股(北京)有限公司 Video playing control method and device
CN107333147B (en) * 2017-06-22 2021-01-08 深圳天珑无线科技有限公司 Video buffer control method, terminal and storage device
CN108184152B (en) * 2018-01-03 2020-01-24 湖北大学 Two-stage client code rate selection method for DASH transmission system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724585A (en) * 2012-06-29 2012-10-10 Tcl集团股份有限公司 Preloading method and device for network video playing of terminal equipment
KR101352917B1 (en) * 2012-08-13 2014-01-20 주식회사 금영 Method and system playing received video content synchronized with audio content
CN102892041A (en) * 2012-10-18 2013-01-23 中山大学 Video stream buffer optimization method and system applied for mobile equipment
CN103402136A (en) * 2013-07-29 2013-11-20 重庆大学 Self-adaptive cache adjustment control method and device and self-adaptive player
CN103475932A (en) * 2013-09-05 2013-12-25 深圳Tcl新技术有限公司 Seamless on-line playing method and device of network video and network television system
CN105430475A (en) * 2015-11-04 2016-03-23 北京奇虎科技有限公司 Buffering method and device of video data
CN108206969A (en) * 2016-12-16 2018-06-26 北京酷我科技有限公司 A kind of video playing quick start method and system
CN107743253A (en) * 2017-11-03 2018-02-27 中广热点云科技有限公司 For the video transmission rate adaptation method in wireless network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Optimizing power consumption of mobile devices for video;jingyu zhang;《web of science》;20170720;1101-1104 *

Also Published As

Publication number Publication date
CN109525887A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525887B (en) Self-adjusting playing method, system and device of online video
CN103051955B (en) Flow media playing method and device
JP7059509B1 (en) How to deliver streaming content in a peer-to-peer network
CN101001362B (en) Method and terminal of on-line playing flow media
US10152080B2 (en) Power efficient multimedia content streaming based on media segment duration
US9020490B2 (en) Method and apparatus for caching
EP3257218B1 (en) System and method for managing bandwidth responsive to the duty cycle of an abr client
CN104811930B (en) A kind of method for controlling network flow and system of mobile terminal
WO2017049734A1 (en) Network mode switching protection method and apparatus
EP3092815B1 (en) Method for improving the power consumption of a mobile device during video streaming
RU2007110224A (en) METHOD FOR PLAYING BROADCAST DATA IN THE RECEIVER
MXPA04012868A (en) Ever-increasing quality for stored video streaming in a mobile wireless interworking environment.
JP5077233B2 (en) Wireless communication terminal, processor for the same, and power management method for wireless communication terminal
JP2017524280A (en) A method for reducing prefetching of multimedia streaming data with minimal impact on playback user experience
CN109475011B (en) UE RRC state determination method and device
US10158682B2 (en) Power efficient multimedia content streaming based on a server push
CN102014453B (en) Mobile communication service bearing control method and terminal
WO2020211291A1 (en) Power saving method and apparatus for playing back online video on mobile terminal, and storage medium
CN102904907A (en) Method and device for transferring media files
CN111443792A (en) Power consumption control method and device for processor, and electronic and storage device
US20160309210A1 (en) Video playback method, apparatus and intelligent terminal
JP2011254159A (en) Mobile communication terminal device and timer control method thereof
WO2021238406A1 (en) Network search method, electronic device, chip, and storage medium
JP5973616B1 (en) Receiving terminal and video acquisition method thereof
CN102664892A (en) Method and service nodes for automatic pulldown content dispatching

Legal Events

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