CN106028059B - Method and device for controlling video frame rate of smart television - Google Patents

Method and device for controlling video frame rate of smart television Download PDF

Info

Publication number
CN106028059B
CN106028059B CN201610349987.7A CN201610349987A CN106028059B CN 106028059 B CN106028059 B CN 106028059B CN 201610349987 A CN201610349987 A CN 201610349987A CN 106028059 B CN106028059 B CN 106028059B
Authority
CN
China
Prior art keywords
frame rate
video frame
value
preset
time period
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
CN201610349987.7A
Other languages
Chinese (zh)
Other versions
CN106028059A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201610349987.7A priority Critical patent/CN106028059B/en
Priority to PCT/CN2016/095988 priority patent/WO2017201894A1/en
Publication of CN106028059A publication Critical patent/CN106028059A/en
Application granted granted Critical
Publication of CN106028059B publication Critical patent/CN106028059B/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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234381Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the temporal resolution, e.g. decreasing the frame rate by frame skipping
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping

Landscapes

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

Abstract

The invention provides a method for controlling a video frame rate of an intelligent television, which comprises the following steps: the method comprises the steps of acquiring data meeting preset conditions sensed by a motion sensor in the slave device, determining a change value of a video frame rate according to the data, sending the change value of the video frame rate to the smart television, enabling the smart television to adjust a video according to the change value of the video frame rate, and playing the video by using the adjusted video. The invention also provides a device for controlling the video frame rate of the intelligent television, which can determine the change value of the video frame rate based on the data which is sensed by the motion sensor of the slave equipment and meets the condition, and send the change value to the intelligent television, thereby effectively achieving the purpose of adjusting the frame rate of the intelligent television.

Description

Method and device for controlling video frame rate of smart television
Technical Field
The invention relates to the technical field of intelligent televisions, in particular to a method and a device for controlling a video frame rate of an intelligent television.
Background
The smart television is a new product formed based on internet wave impact, aims to bring more convenient experience to users, and has become the trend of televisions at present. In the prior art, the smart television provides frame rate modes such as 50 frames, 60 frames or 120 frames, and the user can only select a video frame rate from the existing frame rate modes. Therefore, how to dynamically adjust the video frame rate to meet the user's requirements for different video frame rates is a problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a method and a device for controlling a video frame rate of an intelligent television, and aims to solve the technical problem that the dynamic adjustment of the video frame rate cannot be realized in the prior art.
In order to achieve the above object, the present invention provides a method for controlling a video frame rate of a smart television, where the method includes:
acquiring data which is sensed by a motion sensor in slave equipment and meets preset conditions;
determining a change value of a video frame rate according to the data;
and sending the change value of the video frame rate to the intelligent television, so that the intelligent television adjusts the video according to the change value of the video frame rate, and playing the video by using the adjusted video.
Preferably, the step of determining a variation value of the video frame rate according to the data comprises:
counting a first frequency of paired occurrence of wave crests and wave troughs in a preset first time period and a second frequency of paired occurrence of wave crests and wave troughs in a preset second time period according to the data, wherein the duration of the first time period is less than that of the second time period;
and determining the change value of the video frame rate according to the data, the first times and the second times.
Preferably, the step of determining a variation value of the video frame rate according to the data comprises:
counting a third number of times of paired peak and valley in a preset third time period according to the data;
if the third time is greater than or equal to a second preset time, acquiring an end value sensed by the motion sensor at the end time point of the third time period;
if the end value is larger than a preset value, determining a reduction value of the video frame rate according to the end value;
and if the end value is smaller than a preset value, determining the increase value of the video frame rate according to the end value.
Preferably, the step of determining a variation value of the video frame rate according to the data comprises:
counting fourth times of paired peak-valley occurrence in a preset fifth time period and amplitude of each pair of peak-valley according to the data;
determining a change mode of the video frame rate according to the magnitude relation between the fourth times and a fourth preset time, and determining a change value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs.
Preferably, the method further comprises:
if the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in a preset fourth time period is detected to be smaller than the preset amplitude, an instruction for restoring the video frame rate is sent to the intelligent television, and the intelligent television is enabled to play according to the initial video.
In order to achieve the above object, the present invention further provides a device for controlling a video frame rate of a smart tv, where the device includes:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring data which is sensed by a motion sensor in the device and meets preset conditions;
the first determining module is used for determining a change value of the video frame rate according to the data;
and the sending module is used for sending the change value of the video frame rate to the intelligent television, so that the intelligent television adjusts the video according to the change value of the video frame rate, and the adjusted video is played.
Preferably, the first determining module comprises:
the first counting module counts a first frequency of paired occurrence of wave crests and wave troughs in a preset first time period and a second frequency of paired occurrence of wave crests and wave troughs in a preset second time period according to the data, wherein the duration of the first time period is less than that of the second time period;
and the second determining module is used for determining the change value of the video frame rate according to the data, the first times and the second times.
Preferably, the first determining module comprises:
the second counting module is used for counting third times of paired occurrence of wave peak and wave valley in a preset third time period according to the data;
a second obtaining module, configured to obtain an end value sensed by the motion sensor at an end time point of the third time period if the third time is greater than or equal to a second preset time;
a third determining module, configured to determine, if the end value is greater than a preset value, a decrease value of the video frame rate according to the end value, and if the end value is less than the preset value, determine, according to the end value, an increase value of the video frame rate.
Preferably, the first determining module comprises:
the third statistical module is used for counting the fourth times of paired occurrence of peaks and troughs in a preset fifth time period and the amplitude of each pair of peaks and troughs according to the data;
and the fourth determining module is used for determining a change mode of the video frame rate according to the magnitude relation between the fourth times and a fourth preset time, and determining a change value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs.
Preferably, the apparatus further comprises:
and the recovery control module is used for sending a video frame rate recovery instruction to the smart television if the fact that the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in a preset fourth time period is smaller than a preset amplitude is detected, so that the smart television plays the video according to the initial video.
The invention provides a method for controlling a video frame rate of an intelligent television, which comprises the following steps: the method comprises the steps of obtaining data which are sensed by a motion sensor in the slave device and meet preset conditions, determining a change value of a video frame rate according to the data, sending the change value of the video frame rate to the smart television, enabling the smart television to adjust a video according to the change value of the video frame rate, and playing the video by using the adjusted video. By acquiring the data meeting the preset conditions from the motion sensor and determining the change value of the video frame rate based on the data, the dynamic adjustment of the video frame rate of the currently played video of the smart television can be effectively realized, and the use requirements of users are met.
Drawings
Fig. 1 is a schematic flowchart of a method for controlling a video frame rate of a smart television according to a first embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a refinement step of step 102 in the first embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a refinement step of step 102 in the first embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a refinement step of step 102 in the first embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for controlling a video frame rate of a smart television according to a second embodiment of the present invention;
fig. 6 is a functional block diagram of a device for controlling video frame rate of a smart tv according to a third embodiment of the present invention;
FIG. 7 is a diagram illustrating the refinement function of the first determining module 602 according to a third embodiment of the present invention;
FIG. 8 is a diagram illustrating the refinement function of the first determining module 602 according to a third embodiment of the present invention;
FIG. 9 is a diagram illustrating the refinement function of the first determining module 602 according to the third embodiment of the present invention;
fig. 10 is a functional block diagram of a device for controlling video frame rate of an intelligent television according to a fourth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the prior art, a user can only select a video frame rate from existing video frame rates, but cannot dynamically adjust the video frame rate, and cannot meet the use requirements of the user.
Therefore, the invention provides a method for controlling the video frame rate of the smart television, which can effectively realize the dynamic adjustment of the video frame rate and meet the use requirements of users.
Referring to fig. 1, a schematic flow chart of a method for controlling a video frame rate of a smart television according to a first embodiment of the present invention includes:
step 101, acquiring data which is sensed by a motion sensor in slave equipment and meets preset conditions;
in the embodiment of the invention, the smart television can be connected with the slave equipment in a state of being started and normally working, and the slave equipment can send an instruction to the smart television so as to control the playing of the smart television. In the embodiment of the invention, the slave device has a video frame rate control function, and after the slave device starts the video frame rate control function, a user can control the video frame rate of the smart television by performing an operation on the slave device, wherein the operation may be a shaking operation.
The slave device is internally provided with a motion sensor, detects data sensed by the motion sensor in real time, and acquires the data meeting preset conditions if the data sensed by the motion sensor meets preset conditions. Specifically, the method comprises the following steps: and acquiring sensed sensing data from the motion sensor, acquiring a curve formed by the sensing data, and selecting data in a curve section of which the curve amplitude or frequency is greater than the preset amplitude or frequency as the data meeting the preset condition. The condition that the preset condition is met is that the amplitude or the frequency is larger than the preset amplitude or frequency. For example, when the user performs a shaking operation on the slave device, and the amplitude or frequency of the shaking operation is greater than a preset amplitude or frequency, the slave device will control the frame rate of the smart television based on data in a curve segment in which the amplitude or frequency is greater than the preset amplitude or frequency.
The slave device can be a mobile terminal with a motion sensor, such as a mobile phone, a PAD and the like, which are connected with the smart television through a network.
The motion sensor is an original element for converting the change of non-electric quantity (such as speed and pressure) into the change of electric quantity, and is a part and an accessory for measuring and controlling instruments and equipment.
In order to prevent the video frame rate of the smart television from being changed due to the unintentional operation of the user, a start gesture of the video frame rate control function may be set on the slave device or a start button may be set in a drop-down bar of the slave device display interface.
Step 102, determining a change value of a video frame rate according to data;
in the embodiment of the invention, after the data meeting the preset condition and sensed by the motion sensor is acquired, the change value of the video frame rate is determined according to the data.
The change value of the video frame rate may be a decrease value of the video frame rate or an increase value of the video frame rate, where the decrease value of the video frame rate indicates that a corresponding number of frame pictures needs to be deleted from the original video frame rate of the currently played video, and the increase value of the video frame rate indicates that a corresponding number of frame pictures needs to be added to the original video frame rate of the currently played video.
And 103, sending the change value of the video frame rate to the smart television, so that the smart television adjusts the video according to the change value of the video frame rate, and playing the video by using the adjusted video.
In the embodiment of the invention, after the change value of the video frame rate is determined, the slave device sends the change value of the video frame rate to the smart television, and after the smart television receives the change value of the video frame rate, the slave device adjusts the video according to the change value of the video frame rate and plays the video by using the adjusted video, so that the slave device dynamically adjusts and controls the video frame rate of the smart television.
If the frame rate of the currently played video is reduced, the fast playing is realized, and if the frame rate of the currently played video is increased, the slow playing is realized.
In the embodiment of the present invention, if the smart television receives an increased value of the video frame rate, the position of the increased video frame is determined according to the principle of uniform insertion based on the current video frame rate and the increased value of the video frame rate, and the previous frame video frame or the next frame video frame at the position is copied, and the copied video frame is inserted into the position to achieve the increase of the video frame, for example, if the current video frame rate is 60 frames, and the increased value of the video frame rate is 3, it may be determined that the video frame needs to be added between the 20 th frame and the 21 st frame, between the 40 th frame and the 41 th frame, and after the 60 th frame, and the 20 th frame is copied, the copied video frame is inserted between the 20 th frame and the 21 st frame, the 40 th frame is copied, the copied video frame is inserted between the 40 th frame and the 41 th frame, the 60 th frame is copied, and the copied video frame is placed after the 60 th frame.
If the smart television receives a reduced value of the video frame rate, determining the video frames to be deleted according to a uniform deletion rule based on the current video frame rate and the reduced value of the video frame rate to delete the video frame rate, for example, if the current video frame rate is 60 frames and the reduced value of the video frame rate is 4, determining that the 15 th frame, the 30 th frame, the 45 th frame and the 60 th frame need to be deleted, and deleting the frames.
In the embodiment of the invention, data which is sensed by a motion sensor in the slave equipment and meets the preset condition is acquired, the change value of the video frame rate is determined according to the data, and the change value of the video frame rate is sent to the smart television, so that the smart television adjusts the video according to the change value of the video frame rate and plays the video by using the adjusted video. The slave device obtains the data meeting the preset conditions, obtains the change value of the video frame rate based on the data, and sends the change value to the smart television, so that the dynamic adjustment of the frame rate of the smart television can be effectively realized, the use requirements of users are met, and the users can execute the operation on the slave device to enable the data sensed by the motion sensor to meet the preset conditions, so that the control of the frame rate of the smart television is realized, the interestingness is enhanced, and the user experience is improved.
Referring to fig. 2, a flowchart of a step 102 of the first embodiment of the present invention is shown, which includes:
step 201, counting a first number of times of paired occurrence of wave crests and wave troughs in a preset first time period and a second number of times of paired occurrence of wave crests and wave troughs in a preset second time period according to data, wherein the duration of the first time period is less than that of the second time period;
in the embodiment of the invention, after the slave device acquires the data meeting the preset condition, the number of times of paired occurrence of wave crests and wave troughs in the preset first time period and the preset second time period is counted according to the data. And the duration of the first time period is less than that of the second time period. Specifically, the method comprises the following steps: the slave device may establish two threads, a first thread processes data obtained from the data in a preset first time period and determines a first number of times that peaks and troughs appear in the data in the first time period, a second thread obtains data in a preset second time period from the data and determines a second number of times that peaks and troughs appear in the data in the second time period, for example, if the first time period is 10ms, the first thread of the slave device obtains data of a duration of 10ms satisfying a preset condition from a motion sensor, processes the data of the duration of 10ms by the first thread, and determines a first number of times that peaks and troughs appear in pairs in the 10 ms. And if the second time period is 1s, acquiring data of 1s time length meeting preset conditions from the motion sensor by a second thread in the slave device, processing the data in the 1s time length by the second thread, and determining a second frequency of paired occurrence of wave peak and wave trough in the 1 s.
Step 202, determining a variation value of the video frame rate according to the data, the first times and the second times.
In the embodiment of the invention, after the first time and the second time are acquired, the slave device determines the change value of the video frame rate according to the data meeting the preset condition, the first time and the second time. Specifically, there are several cases as follows:
if the first time is less than the first preset time, processing the data with the decreasing negative value in the first time period in the data, and determining the decreasing value of the video frame rate;
if the second time is greater than or equal to the first preset time, determining an increase value of the video frame rate according to data with increasing positive values in the data within a second time period;
and if the first time is greater than or equal to the first preset time, or if the second time is less than the first preset time, determining that the change value of the video frame rate is a preset value.
In the embodiment of the invention, the first time and the second time are independently processed by two threads, and when the first time is determined to be less than a first preset time, the slave device processes data with a decreasing negative value in a first time period to determine a reduction value of the video frame rate.
Wherein, the data with decreasing negative value in the first time period can be determined as follows: determining all the wave valley values of the acquired data in the first time period, calculating the average value of all the wave valley values, and determining the average value from 0 to the average value as data with a decreasing negative value in the first time period. For example, if the acquired data have a valley value of-12, -9, -8, -11 in the first time period, respectively, the average value is determined to be-10, indicating that the data with decreasing negative values range from 0 to-10. Alternatively, the data with decreasing negative values in the first time period may also be determined as follows: determining all the wave bottom values of the acquired data in a first time period, and taking the maximum value from 0 to all the wave bottom values as data with a decreasing negative value in the first time period, or taking the minimum value from 0 to all the wave bottom values as data with a decreasing negative value in the first time period. For example: if the valley values of the acquired data in the first time period are-12, -9, -8, -11, respectively, the decreasing negative value is determined to be in the range of 0 to-12, or 0 to-8. In practical applications, the determination manner of the data with decreasing negative values in the first time period may be set according to specific needs, which is not limited here.
The determining the reduction value of the video frame rate based on the data with decreasing negative values in the first time period specifically includes: and dividing the difference value between the maximum value and the minimum value in the data with the decreasing negative value by a preset value, wherein the calculated result is the reduction value of the video frame rate. For example, the data with decreasing negative values is 0 to-15, the difference between the minimum value and the maximum value in the data with decreasing negative values is 15, the difference is divided by a preset value of 5 for 15, and the calculated result is 3, which is the reduction value of the video frame rate. And if the calculation result is not an integer, determining a maximum integer smaller than the calculation result or a minimum integer larger than the calculation result or an integer determined in a rounding manner according to the calculation result as the reduction value of the video frame rate. For example, if the obtained calculation result is 3.4, it is determined that the reduction value of the video frame rate is 3 or 4.
In the embodiment of the invention, when the second number is greater than or equal to the first preset number, processing is performed according to data with increasing positive values in the second time period in the acquired data, and the increase value of the video frame rate is determined.
Wherein the data with increasing positive values in the second time may be determined as follows: determining all the wave peak values of the acquired data in the second time period, calculating an average value of all the wave peak values, and determining that the average value to 0 is data with increasing positive values in the second time period, for example, if the wave peak values of the acquired data in the second time period are respectively 15, 14, 13, 14 and 14, determining that the average value of the wave peaks is 14, and determining that the data with increasing positive values is 0 to 14. Alternatively, the data with increasing positive values in the second time period may also be determined as follows: and determining all wave peak values of the acquired data in the second time period, and taking the maximum value from 0 to all the wave peak values as data with increasing positive values in the second time period, or taking the minimum value from 0 to all the wave peak values as data with increasing positive values in the second time period. For example, if the peak values of the acquired data in the second time period are 15, 14, 13, 14, and 14, respectively, the data in which the positive values in the second time period are incremented is determined to be 0 to 13, or 0 to 15.
The determining of the increased value of the video frame rate based on the data with the increasing positive value in the second time period specifically includes: and dividing the difference value between the maximum value and the minimum value in the data with the increasing positive value by a preset value, wherein the calculated result is the increased value of the video frame rate. For example, the second data with increasing positive values is 0 to 15, the difference between the maximum value and the minimum value in the data with increasing positive values is 15, the difference is divided by a preset value of 5 for 15, and the calculated result is the increased value of the video frame rate. And if the result of the calculation is not an integer, determining a maximum integer smaller than the result of the calculation or a minimum integer larger than the result of the calculation or an integer determined in a rounding manner as a reduction value of the video frame rate according to the result of the calculation, for example, if the result of the calculation is 4.5, determining an increase value of the video frame rate to be 4 or 5.
In the embodiment of the present invention, when the first number is greater than or equal to the first preset number, or if the second number is less than the first preset number, it is determined that the operation of the user is an invalid operation, and it is determined that the change value of the video frame rate is a preset value, where the preset value is preferably 0.
Or,
in this embodiment of the present invention, the determining, by the slave device, the change value of the video frame rate according to the data satisfying the preset condition, the first number of times, and the second number of times may specifically be: and judging whether the first time is greater than or equal to a third preset time, if so, determining a reduction value of the video frame rate according to the second time, and if the first time is less than the third preset time, determining an increase value of the video frame rate according to the second time.
For example, when the first number is 6 and the second number is 8, if the third preset number is 9, it may be determined that the first number is 6 smaller than the third preset number 9, and the increased value of the video frame rate is determined according to the second number, specifically, the second number 8 may be multiplied by a preset coefficient to obtain an increased value of the video frame rate, and if the preset coefficient is 0.5, the increased value of the video frame rate is 4. Or, if the third preset number is 5, it may be determined that the first number 6 is greater than the third preset number 5, and a decrease value of the video frame rate is determined according to the second number, specifically, the second number 8 may be multiplied by a preset coefficient to obtain an increase value of the video frame rate, and if the preset coefficient is 1, the decrease value of the video frame rate is 8.
In the embodiment of the invention, the requirement of the user on fast playing is greater than that of slow playing, and whether the fast playing is required or not can be determined in a short time by the first number of times of appearance of the wave crests and the wave troughs in the first time period so as to quickly meet the requirement of the user.
In the embodiment of the invention, the first times of paired appearance of wave peaks and wave troughs in the preset first time period and the second times of paired appearance of wave peaks and wave troughs in the preset second time period are counted according to data, and the data, the first times and the second times are utilized to determine the change value of the video frame rate, so that the adjustment of the frame rate of the smart television can be realized based on the change value of the video frame rate.
Referring to fig. 3, a flowchart of a step 102 of the first embodiment of the present invention is shown, which includes:
step 301, counting a third number of times of paired peak and valley in a preset third time period according to data;
step 302, if the third time is greater than or equal to a second preset time, acquiring an end value sensed by the motion sensor at an end time point of the third time period;
in the embodiment of the invention, after the slave device acquires the data meeting the preset condition, the third times of paired occurrence of peaks and troughs is counted according to the data.
If the third time of the paired appearance of the wave crests and the wave troughs is greater than or equal to the second preset time, the operation of the user is effective, and the slave device acquires an end value sensed by the motion sensor at the end time point of the third time period, for example, if the length of the third time period is 30ms, the end time point of the third time period is 30 ms. And if the number of times of paired occurrence of the wave crests and the wave troughs is less than a second preset number of times, the operation of the user is invalid.
Preferably, the third time period may be a time period formed by the continuous data satisfying the preset condition in time.
Step 303, if the ending value is greater than the preset value, determining a decreasing value of the video frame rate according to the ending value, and if the ending value is less than the preset value, determining an increasing value of the video frame rate according to the ending value.
In the embodiment of the present invention, after acquiring the end value sensed by the motion sensor at the end time point of the third time period, if the end value is greater than the preset value, the decrease value of the video frame rate is determined according to the end value, which may specifically be: and dividing the ending value by a preset constant, and taking the obtained quotient value as a reduction value of the video frame rate. If the ending value is smaller than the preset value, determining the video frame rate increase value according to the ending value, which may specifically be: and dividing the absolute value of the ending value by a preset constant, and taking the obtained quotient as the added value of the video frame rate. For example, an end value sensed by the motion sensor at the end time point of the third time period is obtained as 12, the end value is greater than a preset value of 8, the end value is divided by a preset constant of 4, and 3 is calculated, that is, the reduction value of the video frame rate is 3.
In the embodiment of the invention, if the third time is greater than or equal to the second preset time, the end value sensed by the motion sensor at the end time point of the third time period is obtained, and the change value of the video frame rate is determined according to the end value, so that the adjustment of the video frame rate of the currently played video of the smart television can be realized by using the change value of the video frame rate, and the user does not need to operate the smart television so as to influence the watching experience of the user, thereby increasing the interest and enhancing the user experience.
Referring to fig. 4, a flowchart of a step 102 of the first embodiment of the present invention is shown, which includes:
step 401, counting fourth times of paired occurrence of peaks and troughs in a preset fifth time period and amplitude of each pair of peaks and troughs according to the data;
step 402, determining a change mode of the video frame rate according to the magnitude relation between the fourth frequency and a fourth preset frequency, and determining a change value of the video frame rate according to an average value of the amplitudes of each pair of peaks and troughs.
In the embodiment of the present invention, after acquiring data, the slave device counts a fourth number of times that peaks and troughs appear in pairs in a preset fifth time period and an amplitude of each pair of peaks and troughs according to the data, and determines a change pattern of the video frame rate according to a magnitude relationship between the fourth number of times and the fourth preset number of times, where the change pattern may be an increase or a decrease, and determines a change value of the video frame rate in the change pattern according to an average value of the amplitudes of each pair of playing troughs.
Wherein, step 402 may specifically include: if the fourth time is greater than or equal to the fourth preset time, determining that the change mode of the video frame rate is the video frame rate increase, and determining the video frame rate increase value according to the average value of the amplitudes of each pair of peaks and troughs. If the fourth time is less than the fourth preset time, determining that the change mode of the video frame rate is the video frame rate reduction, and determining the reduction value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs. It should be noted that, the above is only one possible way to determine the variation value of the video frame rate based on the fourth number, the fourth preset number and the average value of the amplitudes of each pair of peaks and troughs, and other ways may also be used in practical applications. For example: step 402 may also be: if the fourth number is greater than or equal to the fourth preset number, determining that the change mode of the video frame rate is the video frame rate reduction, determining the reduction value of the video frame rate according to the average value of the amplitudes of each pair of wave crests and wave troughs, if the fourth number is less than the fourth preset number, determining that the change mode of the video frame rate is the video frame rate increase, and determining the increase value of the video frame rate according to the average value of the amplitudes of each pair of wave crests and wave troughs.
In the embodiment of the invention, after the fourth times of paired occurrence of peaks and troughs in the fifth time period and the amplitude of each pair of peaks and troughs are obtained, the change mode of the video frame rate is determined according to the magnitude relation between the fourth times and the fourth preset times, and the change value of the video frame rate is determined according to the average value of the amplitudes of each pair of peaks and troughs, so that the video of the smart television can be adjusted by using the change value of the video frame rate, and the user experience is enhanced.
Referring to fig. 5, a flowchart of a method for controlling a video frame rate of a smart television according to a second embodiment of the present invention includes:
501, acquiring data which is sensed by a motion sensor in slave equipment and meets preset conditions;
502, determining a change value of a video frame rate according to data;
step 503, sending the change value of the video frame rate to the smart television, so that the smart television adjusts the video according to the change value of the video frame rate, and playing the video by using the adjusted video;
step 501, step 502, and step 503 are similar to the content described in step 101, step 102, and step 103 in the first embodiment shown in fig. 1, and are not repeated here.
Step 504, if it is detected that the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in the preset fourth time period is smaller than the preset amplitude, an instruction for restoring the video frame rate is sent to the smart television, so that the smart television plays the video according to the initial video.
In the embodiment of the invention, after the change value of the video frame rate is sent to the smart television, if it is detected that the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in the preset fourth time period is smaller than the preset amplitude, an instruction for restoring the video frame rate is sent to the smart television, so that the smart television plays according to the original video, the video frame rate of the smart television can be adjusted by a user when the user executes an operation, the initial frame rate is restored when the user stops the operation, the interactivity and the interestingness are strong, and the user experience is improved.
Optionally, in the embodiment of the present invention, after the slave device sends the change value of the video frame rate to the smart television, the smart television plays the video according to the frame rate adjusted based on the change value, and if the user needs to recover the initial frame rate, the smart television may further send an instruction for recovering the video frame rate to the smart television by clicking a preset close button on an interface of the mobile terminal, so that after the smart television receives the change value of the video frame rate, the video is played at the video frame rate adjusted based on the change value until the instruction for recovering the video frame rate sent by the user through a clicking operation is received, and the initial frame rate is recovered.
Referring to fig. 6, a functional module diagram of a device for controlling a video frame rate of an intelligent television according to a third embodiment of the present invention is shown, where the device includes a first obtaining module 601, a first determining module 602, and a sending module 603.
A first obtaining module 601, configured to obtain data that meets a preset condition and is sensed by a motion sensor in a device;
in the embodiment of the invention, the smart television can be connected with the slave equipment in a state of being started and normally working, and the slave equipment can send an instruction to the smart television so as to control the playing of the smart television. In the embodiment of the invention, the slave device has a video frame rate control function, and after the slave device starts the video frame rate control function, a user can control the video frame rate of the smart television by performing an operation on the slave device, wherein the operation may be a shaking operation.
The slave device is provided with a motion sensor, and detects data sensed by the motion sensor in real time, and if the data sensed by the motion sensor meets preset conditions, the first obtaining module 601 obtains the data meeting the preset conditions. Specifically, the method comprises the following steps: and acquiring the sensed sensing data from the motion sensor, acquiring a curve formed by the sensing data, and selecting data in a curve segment of which the curve amplitude or frequency is greater than the preset amplitude or frequency as the data meeting the preset condition. The condition that the preset condition is met is that the amplitude or the frequency is larger than the preset amplitude or frequency. For example, when the user performs a shaking operation on the slave device, and the amplitude or frequency of the shaking operation is greater than a preset amplitude or frequency, the slave device will control the frame rate of the smart television based on data in a curve segment in which the amplitude or frequency is greater than the preset amplitude or frequency.
The slave device can be a mobile terminal with a motion sensor, such as a mobile phone, a PAD and the like, which are connected with the smart television through a network.
The motion sensor is an original element for converting the change of non-electric quantity (such as speed and pressure) into the change of electric quantity, and is a part and an accessory for measuring and controlling instruments and equipment.
In order to prevent the video frame rate of the smart television from being changed due to the unintentional operation of the user, a start gesture of the video frame rate control function may be set on the slave device or a start button may be set in a drop-down bar of the slave device display interface.
A first determining module 602, configured to determine a change value of a video frame rate according to the data;
in this embodiment of the present invention, after the first obtaining module 601 obtains data that satisfies a preset condition and is sensed by the motion sensor, the first determining module 602 determines a change value of the video frame rate according to the data.
The change value of the video frame rate may be a decrease value of the video frame rate or an increase value of the video frame rate, where the decrease value of the video frame rate indicates that a corresponding number of frame pictures needs to be deleted from the original video frame rate of the currently played video, and the increase value of the video frame rate indicates that a corresponding number of frame pictures needs to be added to the original video frame rate of the currently played video.
The sending module 603 is configured to send the change value of the video frame rate to the smart television, so that the smart television adjusts the video according to the change value of the video frame rate, and plays the video using the adjusted video.
In the embodiment of the present invention, after determining the change value of the video frame rate, the sending module 603 sends the change value of the video frame rate to the smart television, and after receiving the change value of the video frame rate, the smart television adjusts the video frame of the currently played video according to the change value of the video frame rate, and plays the video by using the adjusted video, thereby implementing dynamic adjustment and control of the slave device on the video frame rate of the smart television.
If the frame rate of the currently played video is reduced, the fast playing is realized, and if the frame rate of the currently played video is increased, the slow playing is realized.
In the embodiment of the present invention, if the smart television receives an increased value of the video frame rate, the position of the increased video frame is determined according to the principle of uniform insertion based on the current video frame rate and the increased value of the video frame rate, and the previous frame video frame or the next frame video frame at the position is copied, and the copied video frame is inserted into the position to achieve the increase of the video frame, for example, if the current video frame rate is 60 frames, and the increased value of the video frame rate is 3, it may be determined that the video frame needs to be added between the 20 th frame and the 21 st frame, between the 40 th frame and the 41 th frame, and after the 60 th frame, and the 20 th frame is copied, the copied video frame is inserted between the 20 th frame and the 21 st frame, the 40 th frame is copied, the copied video frame is inserted between the 40 th frame and the 41 th frame, the 60 th frame is copied, and the copied video frame is placed after the 60 th frame.
If the smart television receives a reduced value of the video frame rate, determining the video frames to be deleted according to a uniform deletion rule based on the current video frame rate and the reduced value of the video frame rate to delete the video frame rate, for example, if the current video frame rate is 60 frames and the reduced value of the video frame rate is 4, determining that the 15 th frame, the 30 th frame, the 45 th frame and the 60 th frame need to be deleted, and deleting the frames.
In the embodiment of the present invention, the first obtaining module 601 obtains data meeting a preset condition, which is sensed by a motion sensor in a device, the first determining module 602 determines a change value of a video frame rate according to the data, and the sending module 603 sends the change value of the video frame rate to the smart television, so that the smart television adjusts a video according to the change value of the video frame rate, and plays the video by using the adjusted video. The slave device obtains the data meeting the preset conditions, obtains the change value of the video frame rate based on the data, and sends the change value to the smart television, so that the dynamic adjustment of the video frame rate of the smart television can be effectively realized, the use requirements of users are met, the video frame rate of the smart television can be controlled by the operation of the slave device by the users, the interestingness is enhanced, and the user experience is improved.
Referring to fig. 7, a detailed functional block diagram of the first determining module 602 according to the third embodiment of the present invention includes a first counting module 701 and a second determining module 702.
The first statistical module 701 is configured to count, according to data, a first number of paired occurrences of peaks and troughs in a preset first time period and a second number of paired occurrences of peaks and troughs in a preset second time period, where a duration of the first time period is less than a duration of the second time period;
in the embodiment of the present invention, after acquiring data meeting a preset condition, the first statistical module 701 counts the number of paired occurrences of peaks and troughs in a preset first time period and a preset second time period according to the data. And the duration of the first time period is less than that of the second time period. Specifically, the method comprises the following steps: the slave device may establish two threads, a first thread processes data obtained from the data in a preset first time period and determines a first number of times that peaks and troughs appear in the data in the first time period, a second thread obtains data in a preset second time period from the data and determines a second number of times that peaks and troughs appear in the data in the second time period, for example, if the first time period is 10ms, the first thread of the slave device obtains data of a duration of 10ms satisfying a preset condition from a motion sensor, processes the data of the duration of 10ms by the first thread, and determines a first number of times that peaks and troughs appear in pairs in the 10 ms. And if the second time period is 1s, acquiring data of 1s time length meeting preset conditions from the motion sensor by a second thread in the slave device, processing the data in the 1s time length by the second thread, and determining a second frequency of paired occurrence of wave peak and wave trough in the 1 s.
A second determining module 702, configured to determine a change value of the video frame rate according to the data, the first number of times, and the second number of times.
In this embodiment of the present invention, after the first number and the second number are obtained, the second determining module 702 determines the change value of the video frame rate according to the data meeting the preset condition, the first number and the second number. Specifically, there are several cases as follows:
if the first time is less than the first preset time, the second determining module 702 processes the data with decreasing negative value in the data within the first time period, and determines a decreasing value of the video frame rate;
if the second number is greater than or equal to the first preset number, the second determining module 702 determines the increased value of the video frame rate according to the data with the increased positive value in the second time period in the data;
if the first number is greater than or equal to the first preset number, or if the second number is less than the first preset number, the second determining module 702 determines that the change value of the video frame rate is a preset value.
In this embodiment of the present invention, the first number and the second number are processed by two threads independently, and when the first thread determines that the first number is smaller than the first preset number, the second determining module 702 processes data with decreasing negative values in the first time period, and determines a reduction value of the video frame rate.
Wherein, the data with decreasing negative value in the first time period can be determined as follows: determining all the wave valley values of the acquired data in the first time period, calculating the average value of all the wave valley values, and determining the average value from 0 to the average value as data with a decreasing negative value in the first time period. For example, if the acquired data have a valley value of-12, -9, -8, -11 in the first time period, respectively, the average value is determined to be-10, indicating that the data with decreasing negative values range from 0 to-10. Alternatively, the data with decreasing negative values in the first time period may also be determined as follows: determining all the wave bottom values of the acquired data in a first time period, and taking the maximum value from 0 to all the wave bottom values as data with a decreasing negative value in the first time period, or taking the minimum value from 0 to all the wave bottom values as data with a decreasing negative value in the first time period. For example: if the valley values of the acquired data in the first time period are-12, -9, -8, -11, respectively, the decreasing negative value is determined to be in the range of 0 to-12, or 0 to-8. In practical applications, the determination manner of the data with decreasing negative values in the first time period may be set according to specific needs, which is not limited here.
The determining the reduction value of the video frame rate based on the data with decreasing negative values in the first time period specifically includes: and dividing the difference value between the maximum value and the minimum value in the data with the decreasing negative value by a preset value, wherein the calculated result is the reduction value of the video frame rate. For example, the data with decreasing negative values is 0 to-15, the difference between the minimum value and the maximum value in the data with decreasing negative values is 15, the difference is divided by a preset value of 5 for 15, and the calculated result is 3, which is the reduction value of the video frame rate. And if the calculation result is not an integer, determining a maximum integer smaller than the calculation result or a minimum integer larger than the calculation result or an integer determined in a rounding manner according to the calculation result as the reduction value of the video frame rate. For example, if the obtained calculation result is 3.4, it is determined that the reduction value of the video frame rate is 3 or 4.
In this embodiment of the present invention, when the second number is greater than or equal to the first preset number, the second determining module 702 performs processing according to data that is obtained in a second time period and has an increasing positive value, and determines an increase value of the video frame rate.
Wherein the data with increasing positive values in the second time may be determined as follows: determining all the wave peak values of the acquired data in the second time period, calculating an average value of all the wave peak values, and determining that the average value to 0 is data with increasing positive values in the second time period, for example, if the wave peak values of the acquired data in the second time period are respectively 15, 14, 13, 14 and 14, determining that the average value of the wave peaks is 14, and determining that the data with increasing positive values is 0 to 14. Alternatively, the data with increasing positive values in the second time period may also be determined as follows: and determining all wave peak values of the acquired data in the second time period, and taking the maximum value from 0 to all the wave peak values as data with increasing positive values in the second time period, or taking the minimum value from 0 to all the wave peak values as data with increasing positive values in the second time period. For example, if the peak values of the acquired data in the second time period are 15, 14, 13, 14, and 14, respectively, the data in which the positive values in the second time period are incremented is determined to be 0 to 13, or 0 to 15.
The determining of the increased value of the video frame rate based on the data with the increasing positive value in the second time period specifically includes: and dividing the difference value between the maximum value and the minimum value in the data with the increasing positive value by a preset value, wherein the calculated result is the increased value of the video frame rate. For example, the second data with increasing positive values is 0 to 15, the difference between the maximum value and the minimum value in the data with increasing positive values is 15, the difference is divided by a preset value of 5 for 15, and the calculated result is the increased value of the video frame rate. And if the result of the calculation is not an integer, determining a maximum integer smaller than the result of the calculation or a minimum integer larger than the result of the calculation or an integer determined in a four-round-five-in manner as a reduction value of the video frame rate according to the result of the calculation, for example, if the result of the calculation is 4.5, determining an increase value of the video frame rate to be 4 or 5.
In this embodiment of the present invention, when the first number is greater than or equal to the first preset number, or if the second number is less than the first preset number, it is determined that the operation of the user is an invalid operation, and the second determining module 702 determines that the change value of the video frame rate is a preset value, where the preset value is preferably 0.
Or,
in this embodiment of the present invention, the determining, by the second determining module 702, the change value of the video frame rate according to the data meeting the preset condition, the first number of times and the second number of times may specifically be: and judging whether the first time is greater than or equal to a third preset time, if so, determining a reduction value of the video frame rate according to the second time, and if the first time is less than the third preset time, determining an increase value of the video frame rate according to the second time.
For example, when the first number is 6 and the second number is 8, if the third preset number is 9, it may be determined that the first number is 6 smaller than the third preset number 9, and the increased value of the video frame rate is determined according to the second number, specifically, the second number 8 may be multiplied by a preset coefficient to obtain an increased value of the video frame rate, and if the preset coefficient is 0.5, the increased value of the video frame rate is 4. Or, if the third preset number is 5, it may be determined that the first number 6 is greater than the third preset number 5, and a decrease value of the video frame rate is determined according to the second number, specifically, the second number 8 may be multiplied by a preset coefficient to obtain an increase value of the video frame rate, and if the preset coefficient is 1, the decrease value of the video frame rate is 8.
In the embodiment of the invention, the requirement of the user on fast playing is greater than that of slow playing, and whether the fast playing is required or not can be determined in a short time by the first number of times of appearance of the wave crests and the wave troughs in the first time period so as to quickly meet the requirement of the user.
In the embodiment of the invention, the first times of paired occurrence of the wave peaks and the wave troughs in the preset first time period and the second times of paired occurrence of the wave peaks and the wave troughs in the preset second time period are counted according to the data, and the change value of the video frame rate is determined by utilizing the data, the first times and the second times, so that the adjustment of the video frame rate of the currently played video of the smart television can be realized based on the change value of the video frame rate.
Referring to fig. 8, a schematic diagram of a refinement function module of the first determining module 602 in the third embodiment of the present invention includes a second statistics module 801, a second obtaining module 802, and a third determining module 803.
The second statistical module 801 is configured to count a third number of paired peaks and troughs according to the data;
a second obtaining module 802, configured to obtain an end value sensed by the motion sensor at an end time point of the third time period if the third time is greater than or equal to a second preset time;
in the embodiment of the present invention, after the slave device acquires data meeting the preset condition, the second counting module 801 counts the third number of times that the peaks and the troughs appear in pairs according to the data.
If the third time of the paired peaks and troughs is greater than or equal to the second preset time, the operation of the user is valid, and the second obtaining module 802 obtains the end value sensed by the motion sensor at the end time point of the third time period, for example, if the length of the third time period is 30ms, the end time point of the third time period is 30 ms. And if the number of times of paired occurrence of the wave crests and the wave troughs is less than a second preset number of times, the operation of the user is invalid.
Preferably, the third time period may be a time period formed by the continuous data satisfying the preset condition in time.
A third determining module 803, configured to process the end value and determine a reduced value of the video frame rate if the end value is greater than the preset value, and process the end value and determine an increased value of the video frame rate if the end value is less than the preset value.
In this embodiment of the present invention, after acquiring an end value sensed by the motion sensor at an end time point of the third time period, if the end value is greater than a preset value, the third determining module 803 determines a reduction value of the video frame rate according to the end value, which may specifically be: and dividing the ending value by a preset constant, and taking the obtained quotient value as a reduction value of the video frame rate. If the ending value is smaller than the preset value, the third determining module 803 determines the video frame rate increase value according to the ending value, which may specifically be: and dividing the absolute value of the ending value by a preset constant, and taking the obtained quotient as the added value of the video frame rate. For example, an end value sensed by the motion sensor at the end time point of the third time period is obtained as 12, the end value is greater than a preset value of 8, the end value is divided by a preset constant of 4, and 3 is calculated, that is, the reduction value of the video frame rate is 3.
In the embodiment of the invention, if the third time is greater than or equal to the second preset time, the end value sensed by the motion sensor at the end time point of the third time period is obtained, and the change value of the video frame rate is determined according to the end value, so that the adjustment of the video frame rate of the currently played video of the smart television can be realized by using the change value of the video frame rate, and the user does not need to operate the smart television so as to influence the watching experience of the user, thereby increasing the interest and enhancing the user experience.
Referring to fig. 9, which is a schematic diagram of a detailed functional module of the first determining module 602 according to the third embodiment of the present invention, the first determining module 602 includes:
a third statistical module 901, configured to count, according to the data, a fourth number of times that peaks and troughs appear in pairs in a preset fifth time period, and an amplitude of each pair of peaks and troughs;
a fourth determining module 902, configured to determine a change mode of the video frame rate according to a magnitude relationship between the fourth number of times and a fourth preset number of times, and determine a change value of the video frame rate according to an average value of amplitudes of each pair of peaks and troughs.
In the embodiment of the present invention, after acquiring data, the third counting module 901 counts, according to the data, a fourth number of times that peaks and troughs appear in pairs in a preset fifth time period, and an amplitude of each pair of peaks and troughs, and the fourth determining module 902 determines a change pattern of the video frame rate according to a magnitude relationship between the fourth number of times and the fourth preset number of times, where the change pattern may be an increase or a decrease, and determines a change value of the video frame rate in the change pattern according to an average value of the amplitudes of each pair of playing troughs.
The fourth determining module 902 may specifically be configured to: if the fourth time is greater than or equal to the fourth preset time, determining that the change mode of the video frame rate is the video frame rate increase, and determining the video frame rate increase value according to the average value of the amplitudes of each pair of peaks and troughs. If the fourth time is less than the fourth preset time, determining that the change mode of the video frame rate is the video frame rate reduction, and determining the reduction value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs.
Or,
the fourth determining module 902 may specifically be configured to: if the fourth number is greater than or equal to the fourth preset number, determining that the change mode of the video frame rate is the video frame rate reduction, determining the reduction value of the video frame rate according to the average value of the amplitudes of each pair of wave crests and wave troughs, if the fourth number is less than the fourth preset number, determining that the change mode of the video frame rate is the video frame rate increase, and determining the increase value of the video frame rate according to the average value of the amplitudes of each pair of wave crests and wave troughs.
In the embodiment of the invention, after the fourth times of paired occurrence of peaks and troughs in the fifth time period and the amplitude of each pair of peaks and troughs are obtained, the change mode of the video frame rate is determined according to the magnitude relation between the fourth times and the fourth preset times, and the change value of the video frame rate is determined according to the average value of the amplitudes of each pair of peaks and troughs, so that the video of the smart television can be adjusted by using the change value of the video frame rate, and the user experience is enhanced.
It should be noted that the first determining module 602 in the third embodiment of the present invention may include the detailed functional modules in fig. 7, fig. 8, and fig. 9.
Please refer to fig. 10, which is a schematic diagram of functional modules of a device for controlling a video frame rate of a smart television according to a fourth embodiment of the present invention, including a first obtaining module 601, a first determining module 602, and a sending module 603 shown in fig. 6, and similar to the contents described in the third embodiment shown in fig. 6, which are not repeated herein.
In this embodiment of the present invention, the apparatus for controlling a video frame rate of a smart television further includes:
the recovery control module 1001 is configured to send an instruction to recover a video frame rate to the smart television if it is detected that an amplitude of any pair of peaks and troughs in the data sensed by the motion sensor in a preset fourth time period is smaller than a preset amplitude, so that the smart television plays according to an initial video.
In the embodiment of the present invention, after the change value of the video frame rate is sent to the smart television, if it is detected that the amplitude of any pair of peaks and troughs in the data sensed by the motion sensor in the preset fourth time period is smaller than the preset amplitude, the recovery control module 801 sends an instruction to recover the video frame rate to the smart television, so that the smart television plays according to the original video, so that the user can adjust the video frame rate of the smart television when performing an operation, and recover the initial frame rate when stopping the operation, which is strong in interactivity and interestingness, and improves user experience.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred 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, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for controlling video frame rate of a smart television is characterized by comprising the following steps:
acquiring sensing data sensed by a motion sensor in slave equipment, acquiring a curve formed by the sensing data, and selecting data in a curve section of which the curve amplitude is larger than a preset amplitude or the frequency is larger than a preset frequency;
determining a change value of a video frame rate according to the selected data;
sending the change value of the video frame rate to the smart television, so that the smart television adjusts the video according to the change value of the video frame rate, and playing the video by using the adjusted video;
if the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in a preset fourth time period is detected to be smaller than the preset amplitude, an instruction for restoring the video frame rate is sent to the intelligent television, and the intelligent television is enabled to play according to the initial video.
2. The method of claim 1, wherein the step of determining a change value of a video frame rate according to the selected data comprises:
counting a first frequency of paired occurrence of wave crests and wave troughs in a preset first time period and a second frequency of paired occurrence of wave crests and wave troughs in a preset second time period according to the selected data, wherein the duration of the first time period is less than that of the second time period;
and determining the change value of the video frame rate according to the selected data, the first times and the second times.
3. The method of claim 1, wherein the step of determining a change value of a video frame rate according to the selected data comprises:
counting a third number of times of paired peak and valley in a preset third time period according to the selected data;
if the third time is greater than or equal to a second preset time, acquiring an end value sensed by the motion sensor at the end time point of the third time period;
if the end value is larger than a preset value, determining a reduction value of the video frame rate according to the end value;
and if the end value is smaller than a preset value, determining the increase value of the video frame rate according to the end value.
4. The method of claim 1, wherein the step of determining a change value of a video frame rate according to the selected data comprises:
counting fourth times of paired occurrence of peaks and troughs in a preset fifth time period and the amplitude of each pair of peaks and troughs according to the selected data;
determining a change mode of the video frame rate according to the magnitude relation between the fourth times and a fourth preset time, and determining a change value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs.
5. An apparatus for controlling video frame rate of a smart tv, the apparatus comprising:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring sensing data sensed by a motion sensor in the device, acquiring a curve formed by the sensing data, and selecting data in a curve section of which the curve amplitude is larger than a preset amplitude or the frequency is larger than a preset frequency;
the first determining module is used for determining a change value of the video frame rate according to the selected data;
the sending module is used for sending the change value of the video frame rate to the intelligent television, so that the intelligent television adjusts the video according to the change value of the video frame rate and plays the video by using the adjusted video;
and the recovery control module is used for sending a video frame rate recovery instruction to the smart television if the fact that the amplitude of any pair of wave crests and wave troughs in the data sensed by the motion sensor in a preset fourth time period is smaller than a preset amplitude is detected, so that the smart television plays the video according to the initial video.
6. The apparatus of claim 5, wherein the first determining module comprises:
the first counting module counts a first frequency of paired occurrence of wave crests and wave troughs in a preset first time period and a second frequency of paired occurrence of wave crests and wave troughs in a preset second time period according to the selected data, wherein the duration of the first time period is less than that of the second time period;
and the second determining module is used for determining the change value of the video frame rate according to the selected data, the first times and the second times.
7. The apparatus of claim 5, wherein the first determining module comprises:
the second counting module is used for counting a third frequency of the paired peak valleys in a preset third time period according to the selected data;
a second obtaining module, configured to obtain an end value sensed by the motion sensor at an end time point of the third time period if the third time is greater than or equal to a second preset time;
a third determining module, configured to determine, if the end value is greater than a preset value, a decrease value of the video frame rate according to the end value, and if the end value is less than the preset value, determine, according to the end value, an increase value of the video frame rate.
8. The apparatus of claim 5, wherein the first determining module comprises:
the third statistical module is used for counting the fourth times of paired occurrence of wave peaks and wave troughs in a preset fifth time period and the amplitude of each pair of wave peaks and wave troughs according to the selected data;
and the fourth determining module is used for determining a change mode of the video frame rate according to the magnitude relation between the fourth times and a fourth preset time, and determining a change value of the video frame rate according to the average value of the amplitudes of each pair of peaks and troughs.
CN201610349987.7A 2016-05-24 2016-05-24 Method and device for controlling video frame rate of smart television Active CN106028059B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610349987.7A CN106028059B (en) 2016-05-24 2016-05-24 Method and device for controlling video frame rate of smart television
PCT/CN2016/095988 WO2017201894A1 (en) 2016-05-24 2016-08-19 Method and apparatus for controlling video frame rate of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610349987.7A CN106028059B (en) 2016-05-24 2016-05-24 Method and device for controlling video frame rate of smart television

Publications (2)

Publication Number Publication Date
CN106028059A CN106028059A (en) 2016-10-12
CN106028059B true CN106028059B (en) 2020-01-14

Family

ID=57094818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610349987.7A Active CN106028059B (en) 2016-05-24 2016-05-24 Method and device for controlling video frame rate of smart television

Country Status (2)

Country Link
CN (1) CN106028059B (en)
WO (1) WO2017201894A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800989B (en) * 2017-10-16 2021-01-05 深圳市天视通电子科技有限公司 Video display method and system based on dynamic frame rate detection and network video recorder
WO2024050804A1 (en) * 2022-09-09 2024-03-14 Qualcomm Incorporated Dynamically varying time slice periods in a computer processor unit

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854976A (en) * 2011-06-30 2013-01-02 鸿富锦精密工业(深圳)有限公司 Handheld device and multimedia terminal control method thereof
CN103605532A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Program control method, device and system
CN103686322A (en) * 2013-12-11 2014-03-26 深圳市同洲电子股份有限公司 Illumination method, mobile terminal and digital television terminal
CN105117191A (en) * 2015-09-08 2015-12-02 广东欧珀移动通信有限公司 Method and apparatus for controlling display of mobile terminal
CN105141943A (en) * 2015-09-08 2015-12-09 深圳Tcl数字技术有限公司 Adjusting method and device for video frame rate

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080055318A1 (en) * 2006-08-31 2008-03-06 Glen David I J Dynamic frame rate adjustment
CN102377730A (en) * 2010-08-11 2012-03-14 中国电信股份有限公司 Audio/video signal processing method and mobile terminal
CN104580969A (en) * 2013-10-23 2015-04-29 中兴通讯股份有限公司 Video frame rate adjusting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854976A (en) * 2011-06-30 2013-01-02 鸿富锦精密工业(深圳)有限公司 Handheld device and multimedia terminal control method thereof
CN103605532A (en) * 2013-10-30 2014-02-26 小米科技有限责任公司 Program control method, device and system
CN103686322A (en) * 2013-12-11 2014-03-26 深圳市同洲电子股份有限公司 Illumination method, mobile terminal and digital television terminal
CN105117191A (en) * 2015-09-08 2015-12-02 广东欧珀移动通信有限公司 Method and apparatus for controlling display of mobile terminal
CN105141943A (en) * 2015-09-08 2015-12-09 深圳Tcl数字技术有限公司 Adjusting method and device for video frame rate

Also Published As

Publication number Publication date
CN106028059A (en) 2016-10-12
WO2017201894A1 (en) 2017-11-30

Similar Documents

Publication Publication Date Title
CN105323607B (en) Show equipment and its operating method
CN106507202B (en) play control method and device
CN104035721A (en) Method and device for adjusting video playing parameters by means of fingerprint identification
CN105117131B (en) A kind of progress bar control method and device
US20140201633A1 (en) Progress adjustment method and electronic device
WO2017032007A1 (en) Screen brightness adjusting method and mobile terminal
CN109754866A (en) Attention training method, device and computer readable storage medium
CN106921883B (en) Video playing processing method and device
CN103500061A (en) Method and equipment for controlling displayer
US20100066855A1 (en) Image display apparatus and detection method
CN106028059B (en) Method and device for controlling video frame rate of smart television
CN106131657A (en) Video playing control method and device
CN107483401B (en) Multimedia data transmission method and equipment, storage medium and server thereof
CN103425401B (en) Method of adjustment and the electric terminal of angle play by a kind of file
CN104080006B (en) A kind of video process apparatus and method
CN105183314B (en) A kind of bright screen duration adjusting method and mobile terminal
CN111061412A (en) Playing control method and device for multimedia resources
CN105867796A (en) Method and device for adjusting audio/video content playing parameter
JP2018531564A6 (en) Method, apparatus and system for obtaining video data and computer-readable storage medium
WO2017054142A1 (en) Video data acquisition method, apparatus and system, and computer readable storage medium
CN103366744A (en) Voice-based control method and device for portable terminal
CN111078011A (en) Gesture control method and device, computer readable storage medium and electronic equipment
CN106507201A (en) A kind of video playing control method and device
CN108376030B (en) Electronic equipment control method and device and electronic equipment
CN112445358A (en) Adjusting method, terminal and computer storage medium

Legal Events

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