CN107333147B - Video buffer control method, terminal and storage device - Google Patents

Video buffer control method, terminal and storage device Download PDF

Info

Publication number
CN107333147B
CN107333147B CN201710482139.8A CN201710482139A CN107333147B CN 107333147 B CN107333147 B CN 107333147B CN 201710482139 A CN201710482139 A CN 201710482139A CN 107333147 B CN107333147 B CN 107333147B
Authority
CN
China
Prior art keywords
video
time
buffering
exceeds
judging whether
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
CN201710482139.8A
Other languages
Chinese (zh)
Other versions
CN107333147A (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.)
Yibin Tianlong Communication Co.,Ltd.
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
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 Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Mobile Technology Co Ltd
Priority to CN201710482139.8A priority Critical patent/CN107333147B/en
Publication of CN107333147A publication Critical patent/CN107333147A/en
Application granted granted Critical
Publication of CN107333147B publication Critical patent/CN107333147B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • 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
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network

Abstract

The invention discloses a video buffer control method, a terminal and a storage device, wherein the method comprises the steps of playing a video and monitoring the buffer time of the video; judging whether the buffering time of the video exceeds a first threshold value; when the buffering time of the video exceeds a first threshold, the downloading speed of the video is reduced. The invention can reduce the waste of data flow and bandwidth resources while ensuring smooth video playing.

Description

Video buffer control method, terminal and storage device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a video buffering control method, a terminal, and a storage device.
Background
In the past, when people watch videos through a mobile terminal, the whole video file is generally downloaded and stored in the mobile terminal, and then the videos are watched. However, as the popularity and speed of mobile networks have increased, online viewing of videos has become a trend. In order to ensure the fluency of online video playing, a buffering technology is usually adopted, and a situation that playing is frozen when a video is watched is avoided by buffering certain stream data.
The inventor of the present application found in long-term research and development that the probability that the user abandons playing halfway when watching a video online is high, which results in the waste of data that is not played in the buffer. Bandwidth resources are at a premium in wireless networks, and this data waste will increase the load on the network ecosystem, and will also increase the traffic cost of the user and the power consumption of the terminal, which is not favorable for maintaining the endurance of the terminal.
Disclosure of Invention
The invention mainly solves the technical problem of providing a video buffer control method, a terminal and a storage device, which can solve the problem of data flow and bandwidth resource waste caused by giving up playing midway when a user watches videos on line.
In order to solve the above technical problem, one technical solution adopted by the present invention is to provide a video buffering control method, including:
playing a video and monitoring the buffering time of the video;
judging whether the buffering time of the video exceeds a first threshold value;
and if so, reducing the downloading speed of the video.
In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a terminal for controlling video buffering, comprising a display screen and a processor coupled to each other;
the processor is used for controlling the display screen to play videos, monitoring the buffering time of the videos and judging whether the buffering time of the videos exceeds a first threshold value or not;
the processor is further configured to reduce a download speed of the video when a buffering time of the video exceeds a first threshold.
In order to solve the above technical problem, another technical solution of the present invention is to provide a storage device storing program data, which can be executed to implement the above method.
According to the invention, by monitoring the buffering time of the video, the downloading speed of the video is reduced when the buffering time of the video exceeds the first threshold, the current playing of the video can be ensured to be smooth when the buffering time reaches the first threshold, and meanwhile, the data flow and bandwidth resources required by video buffering can be reduced by reducing the downloading speed of the video, so that even if a user abandons playing the video, the wasted data flow and bandwidth resources can be correspondingly reduced.
Drawings
FIG. 1 is a flow chart illustrating a video buffering control method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a video buffering control method according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating a video buffering control method according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of a terminal for controlling video buffering according to the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of a memory device according to the invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Referring to fig. 1, an embodiment of a video buffering control method according to the present invention includes:
s1, playing the video and monitoring the buffering time of the video;
optionally, the video may be a video that can be played by a terminal such as a mobile phone and a tablet computer.
In this embodiment, the buffering time is counted from the time when the video is turned on as the starting point of the counting. The buffering time can be judged by monitoring the time display of the video software, and can also be timed by the timing software of the terminal.
S2, judging whether the buffering time of the video exceeds a first threshold value;
optionally, the first threshold may be a default first threshold, or may be set by a user. For example, the first threshold may be 5 minutes, 10 minutes, etc.
And S3, if yes, reducing the downloading speed of the video.
Optionally, the reduced downloading speed may be a default downloading speed, may also be a downloading speed preset by the user, and may also be adjusted according to the normally buffered downloading speed. For example, the reduced download speed is set to be 100kB/s (kilobyte/s) and 200kB/s, or the download speed of the normal buffer is set to be 600kB/s, and the reduced download speed is half of the download speed of the normal buffer (300kB/s) or 1/3(200kB/s), and so on.
According to the embodiment of the invention, by monitoring the buffering time of the video, the downloading speed of the video is reduced when the buffering time of the video exceeds the first threshold, the current playing of the video can be ensured to be smooth when the buffering time reaches the first threshold, and meanwhile, the data flow and bandwidth resources required by video buffering can be reduced by reducing the downloading speed of the video, so that even if a user abandons playing the video, the wasted data flow and bandwidth resources can be correspondingly reduced.
Referring to fig. 2, another embodiment of the video buffering control method of the present invention comprises:
s101, judging whether the terminal is connected with a mobile network or not;
optionally, whether the terminal is connected to the mobile network may be determined by detecting whether a mobile network function of the terminal is turned on, whether data traffic is generated, and the like.
Optionally, the terminal may be a terminal capable of playing video, such as a mobile phone and a tablet computer.
S102, if yes, acquiring the total duration of the video;
optionally, the total duration of the video may be obtained by time display of video software or by detecting the file size and resolution of the video.
S103, if not, normally buffering the video;
optionally, the normal buffering may be a default buffering time, or may be set by a user. For example, the buffering time is within 2 minutes and 5 minutes from the playback point.
S104, judging whether the total duration of the video exceeds a second threshold value or not;
optionally, the second threshold may be a default second threshold, or may be set by a user. For example, the second threshold may be 15 minutes, 30 minutes, etc.
S105, if yes, playing the video and monitoring the buffering time of the video, otherwise, normally buffering the video;
in this embodiment, the buffering time is counted from the time when the video is turned on as the starting point of the counting. The buffering time can be judged by monitoring the time display of the video software, and can also be timed by the timing software of the terminal.
S106, judging whether the buffering time of the video exceeds a first threshold value;
optionally, the first threshold may be a default first threshold, or may be set by a user. For example, the first threshold may be 5 minutes, 10 minutes, etc.
S107, if yes, reducing the downloading speed of the video, otherwise, normally buffering the video;
the optional reduced download speed may be a default download speed, may also be a download speed preset by the user, and may also be adjusted according to the download speed of the normal buffer. For example, the reduced download speed is set to be 100kB/s (kilobyte/s) and 200kB/s, or the download speed of the normal buffer is set to be 600kB/s, and the reduced download speed is half of the download speed of the normal buffer (300kB/s) or 1/3(200kB/s), and so on.
S108, judging whether the playing time of the video exceeds a third threshold value;
optionally, the third threshold may be a default third threshold, or may be set by a user. For example, the third threshold may be 10 minutes, 20 minutes, etc.
And S103, if so, normally buffering the video, otherwise, returning to the step S107, and continuing to buffer the video at the reduced video downloading speed.
Referring to fig. 3, another embodiment of the video buffering control method of the present invention comprises:
s201, playing a video and monitoring the buffering time of the video;
s202, detecting whether a fast forward operation aiming at a video is received in real time;
optionally, whether the fast forward operation for the video is received may be determined by detecting whether the fast forward operation is displayed in the video software or determining whether a time difference between a playing point of the video and a last playing point is greater than a threshold.
S203, if yes, judging whether the time length between the time point of the fast forward operation and the timing starting point exceeds a first threshold value;
s204, if the fast forward operation aiming at the video is not detected, the video is normally buffered;
in this embodiment, if the duration between the time point after the fast forward operation and the starting point of the timer exceeds the first threshold, the time point after the fast forward operation exceeds the range for determining whether the download speed of the video needs to be reduced, and the buffering time of the video cannot be monitored at the starting point of the timer.
S205, when the time length between the time point of the fast forward operation and the timing starting point exceeds a first threshold value, updating the timing starting point to the time point of the fast forward operation to monitor the buffering time of the video again, otherwise, buffering the video normally;
s206, judging whether the buffering time for re-monitoring exceeds a first threshold value;
s207, if yes, reducing the downloading speed of the video, and otherwise, normally buffering the video;
s208, judging whether the playing time monitored again exceeds a third threshold value;
and S204, if so, normally buffering the video, otherwise, returning to the step S207, and continuing to buffer the video at the reduced download speed of the control video.
In this embodiment, the playing method of monitoring the video again is similar to the above-mentioned method of starting monitoring from video playing, and is not described herein again.
According to the embodiment of the invention, by monitoring the buffering time of the video, the downloading speed of the video is reduced when the buffering time of the video exceeds the first threshold, the current playing of the video can be ensured to be smooth when the buffering time reaches the first threshold, and meanwhile, the data flow and bandwidth resources required by video buffering can be reduced by reducing the downloading speed of the video, so that even if a user abandons playing the video, the wasted data flow and bandwidth resources can be correspondingly reduced.
Referring to fig. 4, an embodiment of the terminal for controlling video buffering according to the present invention includes a display 401 and a processor 402 coupled to each other;
the processor 402 is configured to control the display screen 401 to play a video, monitor buffering time of the video, and determine whether the buffering time of the video exceeds a first threshold;
the processor 402 is further configured to reduce the download speed of the video when the buffering time of the video exceeds a first threshold.
Specifically, the method for implementing video buffering control according to the embodiment of the present invention refers to the above-mentioned embodiment of the video buffering control method, and details thereof are not repeated herein.
According to the embodiment of the invention, by monitoring the buffering time of the video, the downloading speed of the video is reduced when the buffering time of the video exceeds the first threshold, the current playing of the video can be ensured to be smooth when the buffering time reaches the first threshold, and meanwhile, the data flow and bandwidth resources required by video buffering can be reduced by reducing the downloading speed of the video, so that even if a user abandons playing the video, the wasted data flow and bandwidth resources can be correspondingly reduced.
Referring to fig. 5, the storage device 50 of the present invention stores program data 501, and the program data 501 can be executed to implement the above-mentioned method for controlling video buffering.
The device with storage function of the embodiment can be, but is not limited to, a usb disk, an SD card, a PD optical drive, a removable hard disk, a high-capacity floppy drive, a flash memory, a multimedia memory card, or a server.
Specifically, the method for implementing video buffering control according to the embodiment of the present invention refers to the above-mentioned embodiment of the video buffering control method, and details thereof are not repeated herein.
According to the embodiment of the invention, by monitoring the buffering time of the video, the downloading speed of the video is reduced when the buffering time of the video exceeds the first threshold, the current playing of the video can be ensured to be smooth when the buffering time reaches the first threshold, and meanwhile, the data flow and bandwidth resources required by video buffering can be reduced by reducing the downloading speed of the video, so that even if a user abandons playing the video, the wasted data flow and bandwidth resources can be correspondingly reduced.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (3)

1. A video buffering control method, comprising: playing a video and monitoring the buffering time of the video;
judging whether the buffering time of the video exceeds a first threshold value; if so, reducing the downloading speed of the video;
the method further comprises:
detecting whether a fast forward operation aiming at the video is received or not in real time, wherein whether the fast forward operation aiming at the video is received or not is judged by judging whether the time difference between a playing point of the video and the last playing point is larger than a threshold value or not;
judging whether the time length between the time point of the fast forward operation and the timing starting point exceeds the first threshold value, if so, updating the timing starting point to the time point of the fast forward operation so as to monitor the buffering time of the video again;
judging whether the buffering time monitored again exceeds a first threshold value, if so, reducing the downloading speed of the video;
judging whether the playing time monitored again exceeds a third threshold value, if so, buffering the video normally;
the playing the video and monitoring the buffering time of the video further comprises:
judging whether the terminal is connected with a mobile network, if so, acquiring the total duration of the video;
and judging whether the total duration of the video exceeds a second threshold value, and if so, starting to monitor the buffering time of the video.
2. A terminal for controlling video buffering, comprising a display screen and a processor coupled to each other;
the processor is used for controlling the display screen to play videos, monitoring the buffering time of the videos and judging whether the buffering time of the videos exceeds a first threshold value or not; the processor is further configured to reduce a download speed of the video when a buffering time of the video exceeds a first threshold;
the processor is further configured to:
detecting whether a fast forward operation aiming at the video is received or not in real time, wherein whether the fast forward operation aiming at the video is received or not is judged by judging whether the time difference between a playing point of the video and the last playing point is larger than a threshold value or not;
judging whether the time length between the time point of the fast forward operation and the timing starting point exceeds the first threshold value, if so, updating the timing starting point to the time point of the fast forward operation so as to monitor the buffering time of the video again;
judging whether the buffering time monitored again exceeds a first threshold value, if so, reducing the downloading speed of the video;
judging whether the playing time monitored again exceeds a third threshold value, if so, buffering the video normally;
the processor is further used for judging whether the terminal is connected with a mobile network or not, and when the terminal is connected with the mobile network, the total duration of the video is obtained;
the processor is further configured to determine whether the total duration of the video exceeds a second threshold, and start monitoring the buffering time of the video when the total duration of the video exceeds the second threshold.
3. A storage device, characterized in that program data are stored which can be executed by a processor to implement the method as claimed in claim 1.
CN201710482139.8A 2017-06-22 2017-06-22 Video buffer control method, terminal and storage device Active CN107333147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710482139.8A CN107333147B (en) 2017-06-22 2017-06-22 Video buffer control method, terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710482139.8A CN107333147B (en) 2017-06-22 2017-06-22 Video buffer control method, terminal and storage device

Publications (2)

Publication Number Publication Date
CN107333147A CN107333147A (en) 2017-11-07
CN107333147B true CN107333147B (en) 2021-01-08

Family

ID=60194301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710482139.8A Active CN107333147B (en) 2017-06-22 2017-06-22 Video buffer control method, terminal and storage device

Country Status (1)

Country Link
CN (1) CN107333147B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067916B (en) * 2018-09-21 2021-05-11 深圳市九洲电器有限公司 Online multimedia file downloading method and device and electronic equipment
CN109525887B (en) * 2018-12-27 2021-06-18 长沙理工大学 Self-adjusting playing method, system and device of online video
CN114051270A (en) * 2021-11-19 2022-02-15 展讯通信(上海)有限公司 Network connection method and device, computer readable storage medium and terminal equipment
CN113891170B (en) * 2021-11-23 2024-05-03 维沃移动通信有限公司 Downloading method, downloading device, electronic equipment and storage medium
CN114745572B (en) * 2022-04-14 2023-06-13 中国联合网络通信集团有限公司 Video cache control method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112009005313B4 (en) * 2009-10-13 2016-07-21 Mitsubishi Electric Corporation Wireless vehicle communication device and wireless vehicle communication system
CN102802075B (en) * 2012-08-24 2015-05-20 乐视致新电子科技(天津)有限公司 Online play buffering system and method
CN106231412A (en) * 2016-07-27 2016-12-14 宇龙计算机通信科技(深圳)有限公司 Video buffer intelligent control method and system

Also Published As

Publication number Publication date
CN107333147A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107333147B (en) Video buffer control method, terminal and storage device
CN108495142B (en) Video coding method and device
CN110611829B (en) Video preloading method and device, electronic equipment and storage medium
CN107943409B (en) Touch screen control method and device
US9674063B2 (en) Managing data usage of a computing device
US20100231735A1 (en) Methods, Apparatuses, and Computer Program Products for Facilitating Concurrent Video Recording and Still Image Capture
US20170171278A1 (en) Method and electronic device for continuously playing video
CN108989832B (en) Image data processing method and equipment, storage medium and terminal thereof
RU2619089C2 (en) Method and device for multiple videos reproduction
WO2017101393A1 (en) Method and device for continuously playing video
US20180082340A1 (en) Pausing an advertisement
CN109327716A (en) Delay control method, delay control device and computer readable storage medium
KR20170012461A (en) Method for reducing pre-fetching of multimedia streaming data with minimal impact on playback user experience
US10116763B2 (en) Method for operating a cache arranged along a transmission path between client terminals and at least one server, and corresponding cache
CN113645481B (en) Video recording method, camera equipment, control terminal and video recording system
US20150268808A1 (en) Method, Device and System for Multi-Speed Playing
US20170257658A1 (en) Method for automatically pushing video based on analysis of user behavior and electronic device
CN111107438B (en) Video loading method and device and electronic equipment
US20120050575A1 (en) Method and apparatus for capturing image in portable terminal
CN107734356B (en) Video image quality adjusting method and device, terminal equipment and storage medium
CN109005455B (en) Video data processing method and device
KR101342210B1 (en) Device and method for controlling screen brightness in wireless terminal
CN109348280B (en) Network television program switching method, intelligent television and computer readable storage medium
CN105338401A (en) Playing method and system of multimedia file
CN106921886B (en) Multimedia data playing method and device of terminal

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
TR01 Transfer of patent right

Effective date of registration: 20211011

Address after: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee after: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

Patentee after: Tinno Mobile Technology Corp.

Patentee after: Yibin Tianlong Communication Co.,Ltd.

Address before: 518053 H3 501B, east industrial area of overseas Chinese town, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN TINNO WIRELESS TECHNOLOGY Co.,Ltd.

Patentee before: Tinno Mobile Technology Corp.

TR01 Transfer of patent right