WO2017201894A1 - 智能电视视频帧率的控制方法及装置 - Google Patents
智能电视视频帧率的控制方法及装置 Download PDFInfo
- Publication number
- WO2017201894A1 WO2017201894A1 PCT/CN2016/095988 CN2016095988W WO2017201894A1 WO 2017201894 A1 WO2017201894 A1 WO 2017201894A1 CN 2016095988 W CN2016095988 W CN 2016095988W WO 2017201894 A1 WO2017201894 A1 WO 2017201894A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame rate
- video frame
- preset
- data
- value
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing 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/234381—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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/4402—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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/4402—Processing 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/440281—Processing 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
Definitions
- the present invention relates to the field of smart television technologies, and in particular, to a method and an apparatus for controlling a video frame rate of a smart television.
- Smart TV is a new product based on the impact of the Internet wave. Its purpose is to bring users a more convenient experience, which has become a trend of TV.
- a smart TV provides a frame rate mode of 50 frames, 60 frames, or 120 frames, and the user can only select a video frame rate from an existing frame rate mode. Therefore, how to dynamically adjust the video frame rate to meet the user's demand for different video frame rates is an urgent problem to be solved.
- the main object of the present invention is to provide a method and a device for controlling the video frame rate of a smart TV, aiming at solving the technical problem that the dynamic adjustment of the video frame rate cannot be realized in the prior art.
- the present invention provides a method for controlling a video rate of a smart television video, the method comprising:
- Transmitting the change value of the video frame rate to the smart TV so that the smart TV adjusts the video according to the change value of the video frame rate, and plays the image by using the adjusted video.
- the present invention also provides a control device for a smart television video frame rate, the device comprising:
- a first acquiring module configured to acquire data that is sensed by a motion sensor in the device and meets a preset condition
- a first determining module configured to determine, according to the data, a change value of a video frame rate
- a sending module configured to send the change value of the video frame rate to the smart TV, so that the smart TV adjusts a video according to a change value of the video frame rate, and uses the adjusted video to play.
- the present invention provides a method for controlling a video rate of a smart television video.
- the method includes: acquiring data that satisfies a preset condition sensed by a motion sensor in the device, and determining a change value of the video frame rate according to the data, and setting a video frame rate.
- the change value is sent to the smart TV, so that the smart TV adjusts the video according to the change value of the video frame rate, and uses the adjusted video to play.
- 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 flowchart of a refinement step of step 102 in the first embodiment of the present invention
- step 3 is a schematic flowchart of a refinement step of step 102 in the first embodiment of the present invention
- step 4 is a schematic flowchart of a refinement step of step 102 in the first embodiment of the present invention.
- FIG. 5 is a schematic flowchart diagram of a method for controlling a video frame rate of a smart television according to a second embodiment of the present invention.
- the user can only select the video frame rate from the existing video frame rate, and cannot dynamically adjust the video frame rate, which cannot meet the user's use requirements.
- the present invention proposes a control method for the video rate of the smart television, which can effectively realize the dynamic adjustment of the video frame rate and meet the user's use requirements.
- 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, including:
- Step 101 Acquire data that is received by a motion sensor in the device and meets a preset condition.
- the smart TV can be connected to the slave device in a state of being powered on and working normally, and the slave device can send an instruction to the smart TV to control the play of the smart TV.
- the slave device has a video frame rate control function, and after the slave device turns on the video frame rate control function, the user can control the video frame rate of the smart television by performing operations on the slave device, and the operation may be Shake the operation.
- the motion sensor is set in the device, and the data sensed by the motion sensor is detected in real time. If the data sensed by the motion sensor is found to satisfy the preset condition, the data satisfying the preset condition is acquired. Specifically, the sensing data obtained from the motion sensor is obtained, and a curve formed by the sensing data is obtained, and data in a curve segment whose amplitude or frequency is greater than a preset amplitude or frequency is selected as the above-mentioned data satisfying the preset condition. . Wherein, the condition that satisfies the preset is that the amplitude or the frequency is greater than a preset amplitude or frequency.
- the slave device controls the intelligence based on the data in the curve segment whose amplitude or frequency is greater than the preset amplitude or frequency.
- the frame rate of the TV 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 controls the intelligence based on the data in the curve segment whose amplitude or frequency is greater than the preset amplitude or frequency.
- the slave device may be a mobile terminal with a motion sensor connected to the smart TV through a network, such as a mobile phone or a PAD.
- the motion sensor is an original component that converts a change in non-electricity (such as speed and pressure) into a change in power, and is a component and an accessory for performing measurement and control instruments and equipment.
- the motion sensor is 3 Axial acceleration sensor (3-axis accelerometer), gyroscope, or geomagnetic sensor.
- a startup gesture of the video frame rate control function may be set on the slave device or a start button may be set in the pull-down bar of the slave device display interface.
- Step 102 Determine a change value of a video frame rate according to the data.
- 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 the corresponding number of pictures needs to be deleted from the original video frame rate of the currently played video.
- the frame picture, the added value of the video frame rate indicates that it is necessary to increase the corresponding number of frames in the original video frame rate of the currently played video.
- Step 103 Send a change value of the video frame rate to the smart TV, so that the smart TV adjusts the video according to the change value of the video frame rate, and uses the adjusted video to play.
- the slave device after determining the change value of the video frame rate, sends the change value of the video frame rate to the smart TV, and after receiving the change value of the video frame rate, the smart TV according to the video
- the change of the frame rate adjusts the video, and the adjusted video is used for playing, so as to realize the dynamic adjustment and control of the video frame rate of the smart TV from the device.
- the smart TV reduces the frame rate of the currently playing video, it will realize fast playback. If the frame rate of the currently played video is increased, slow playback will be realized.
- the smart TV receives the added value of the video frame rate, determining the position of the added video frame according to the principle of uniform insertion based on the current video frame rate and the added value of the video frame rate, and copying
- the previous frame of the video frame or the next frame of the video frame, 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 video frame rate is increased.
- a value of 3 determines that a video frame needs to be added between the 20th frame and the 21st frame, between the 40th frame and the 41st frame, and after the 60th frame, and the 20th frame is copied, and the copied video frame is inserted into the first frame.
- the 40th frame is copied, the copied video frame is inserted between the 40th frame and the 41st frame, the 60th frame is copied, and the copied video frame is placed after the 60th frame.
- the video frame rate to be deleted is determined according to the current video frame rate and the reduced value of the video frame rate according to the principle of uniform deletion, so as to delete the video frame rate. For example, if the current video frame rate is 60 frames and the video frame rate reduction value is 4, it can be determined that the 15th frame, the 30th frame, the 45th frame, and the 60th frame need to be deleted, and deleted.
- the data that satisfies the preset condition sensed by the motion sensor in the device 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 TV, so that the smart TV is
- the video frame rate change value adjusts the video and uses the adjusted video for playback.
- the slave device obtains the data that meets the preset condition and obtains the change value of the video frame rate based on the data, and sends the change value to the smart TV, so that the dynamic adjustment of the frame rate of the smart TV can be effectively implemented, and the user is satisfied.
- the user needs to use the demand, and the user can perform the operation of the slave device so that the data sensed by the motion sensor satisfies the preset condition, thereby realizing the control of the frame rate of the smart TV, enhancing the interest and improving the user experience.
- step 102 is a schematic flowchart of a refinement step of step 102 in the first embodiment of the present invention, including:
- Step 201 Perform a first number of occurrences of peaks and valleys in pairs in a preset first time period according to data statistics, and a second number of occurrences of peaks and valleys in pairs in a preset second time period, the first time period The duration is less than the duration of the second period of time;
- the slave device after obtaining the data that meets the preset condition, the slave device counts the number of occurrences of the peaks and valleys in the preset first time period and the preset second time period according to the data. .
- the duration of the first time period is less than the duration of the second time period.
- the slave device can establish two threads, and the first thread processes the data in the first time period obtained from the foregoing data, and determines the first occurrence of the peaks and valleys in the data in the first time period.
- the second thread obtains the data in the preset second time period from the above data, and determines the second number of occurrences of the peak trough in the data in the second time period, for example, the first time period is 10 ms
- the first thread of the slave device acquires data of a 10 ms duration that satisfies the preset condition from the motion sensor, and processes the data of the 10 ms duration by the first thread to determine the first number of occurrences of the peaks and valleys in the 10 ms pair.
- the second time period is 1 s
- the second thread from the device acquires data of the 1 s duration that satisfies the preset condition from the motion sensor, and the second thread processes the data within the 1 s duration to determine the peak and valley of the 1 s.
- the second number of occurrences in pairs is 1 s
- Step 202 Determine a change value of the video frame rate according to the data, the first number of times, and the second number of times.
- the slave device determines a change value of the video frame rate according to the data that satisfies the preset condition, the first number of times, and the second number of times. Specifically, there are several situations:
- the change value of the video frame rate is a preset value.
- the first time and the second time are independently processed by two threads, and when the first thread determines that the first number is less than the first preset number, the slave device will have a negative value for the first time period.
- the decremented data is processed to determine the reduction in the video frame rate.
- the data of the negative decrement in the first time period may be determined as follows: all the trough values of the acquired data in the first time period are determined, and the average value of all the trough values is calculated, and 0 is to the average
- the value is determined as data with a negative decrement during the first time period. For example, if the obtained data has a trough value of -12, -9, -8, -11 in the first time period, then the average value is determined to be -10, indicating that the range of the decremented data is from 0. To -10.
- the data of the negative decrement in the first time period may be determined as follows: determining all the trough values of the acquired data in the first time period, and using 0 to the maximum value of all the trough values as the first
- the data of the negative value decrement in a period of time, or the minimum value of 0 to all the trough values is used as the data decremented by the negative value in the first period of time. For example, if the obtained data has a valley value of -12, -9, -8, -11 in the first time period, it is determined that the negative value is in the range of 0 to -12, or 0 to -8.
- the method for determining the data of the negative decrement in the first time period may be set according to specific needs, which is not limited this time.
- determining the decrease value of the video frame rate based on the data of the negative value decrement in the first time period specifically includes: dividing the difference between the maximum value and the minimum value in the data decremented by the negative value by a preset value, and the calculation result is The reduction in the video frame rate.
- the data with negative decrement is 0 to -15
- the difference between the minimum value and the maximum value in the negative decrement data is 15, and 15 is divided by a preset value of 5.
- the result of the calculation is 3, which is a video frame. The reduction in the rate.
- the result of the calculation is not an integer
- the largest integer smaller than the calculation result or the smallest integer larger than the calculation result or the integer determined according to the rounding manner is determined as the decrease value of the video frame rate according to the calculation result. For example, if the result of the calculation is 3.4, it can be determined that the reduction value of the video frame rate is 3 or 4.
- the data when the second number of times is greater than or equal to the first preset number of times, the data is processed according to the positive value in the second time period in the acquired data, and the added value of the video frame rate is determined.
- the positive value increasing data in the second time period may be determined as follows: determining all the wave peaks of the acquired data in the second time period, and calculating an average value of all the wave peaks, and the average value is 0. It is determined that the data is positively increasing in the second time period. For example, if the acquired data has peaks of 15, 14, 13, 14, and 14 in the second time period, respectively, the average value of the peaks is determined to be 14, Then it is determined that the positive value increment data is 0 to 14.
- the positive value increasing data in the second time period may be determined as follows: determining all the peak values of the acquired data in the second time period, and using 0 to the maximum value of all the wave peaks as the first The data of positive value increases in two time periods, or the minimum value of 0 to all the peak values is used as the data of positive value increase in the second time period. For example, if the acquired data has peaks of 15, 14, 13, 14, and 14 in the second time period, respectively, it is determined that the positive value of the data in the second time period is 0 to 13, or 0 to 15 .
- determining, according to the positive value increasing data in the second time period, the increasing value of the video frame rate comprises: dividing the difference between the maximum value and the minimum value in the positive value increasing data by a preset value, and the calculated result is The added value of the video frame rate.
- the positive value of the second data is 0 to 15
- the difference between the maximum value and the minimum value in the positive value data is 15, and 15 is divided by a preset value of 5.
- the result of the calculation is the video frame rate. Value Added.
- the result of the calculation is not an integer, determining, according to the result of the calculation, a largest integer smaller than the calculation result or a minimum integer larger than the calculation result or an integer determined according to the rounding manner as a decrease value of the video frame rate, for example, if the calculation The result is 4.5, and it is determined that the increase in the video frame rate is 4 or 5.
- the preset value is preferably 0.
- determining, by the device, the change value of the video frame rate according to the data that meets the preset condition, the first time, and the second time may be: determining whether the first time is greater than or equal to the first If the first number of times is greater than or equal to the third preset number of times, determining a decrease value of the video frame rate according to the second number of times, if the first number of times is less than the third preset number of times, And determining an increase value of the video frame rate according to the second number of times.
- the first number is 6 and the second number is 8
- the third preset number is 9, it may be determined that the first number 6 is smaller than the third preset number 9, and the video frame is determined according to the second number of times.
- the value of the rate increase may be specifically obtained by multiplying the second number 8 by a preset coefficient to obtain an increase value of the video frame rate. If the preset coefficient is 0.5, the video frame rate is increased by 4.
- the third preset number is 5, it may be determined that the first number of times 6 is greater than the third preset number of times 5, and the reduction value of the video frame rate is determined according to the second number of times, and the second number of times 8 may be preset The coefficient is multiplied to obtain an increase value of the video frame rate. If the preset coefficient is 1, the video frame rate is reduced by 8.
- the user's demand for fast play is greater than the demand for slow play, and the first time that the peak trough of the first time period appears can determine whether fast play is needed in a short time, so as to quickly satisfy User needs.
- the first number of occurrences of the peaks and valleys in pairs in the preset first time period and the second number of occurrences of the peaks and valleys in the preset second time period are obtained according to the data statistics, And using the data, the first number of times, and the second number of times to determine a change value of the video frame rate, so that the adjustment of the smart TV frame rate can be implemented based on the change value of the video frame rate.
- FIG. 3 is a schematic flowchart of the refinement step of step 102 in the first embodiment of the present invention, including:
- Step 301 Perform a third number of occurrences of peaks and valleys in pairs in a preset third time period according to the data statistics
- Step 302 If the third number of times is greater than or equal to the second preset number of times, acquiring an end value sensed by the motion sensor at an end time point of the third time period;
- the slave device after acquiring the data satisfying the preset condition, the slave device will calculate the third number of occurrences of the peaks and valleys in pairs according to the data.
- the operation of the user is effective, and the end value sensed by the motion sensor at the end time of the third time period is obtained from the device, for example, if The length of the third time period is 30 ms, and the end time point of the third time period is 30 ms. If the number of peaks and valleys appearing in pairs is less than the second preset number, the user's operation is invalid.
- the third time period may be a time period in which the continuous data satisfying the preset condition is formed in time.
- Step 303 If the end value is greater than the preset value, determine a decrease value of the video frame rate according to the end value. If the end value is less than the preset value, determine an increase value of the video frame rate according to the end value.
- the reduction value of the video frame rate is determined according to the end value, specifically Yes: Divide the end value by the preset constant and use the resulting quotient as the reduction of the video frame rate. If the end value is less than the preset value, the value of the video frame rate is determined according to the end value. Specifically, the absolute value of the end value is divided by the preset constant, and the obtained quotient is used as the added value of the video frame rate. .
- the end value sensed by the acquisition motion sensor at the end time point of the third time period is 12, the end value is greater than the preset value 8, and the end value is divided by the preset constant 4, and 3 is calculated, that is, the video frame rate.
- the reduction value is 3.
- the change value of the video frame rate is determined according to the end value, so that The change of the video frame rate can be used to adjust the video frame rate of the currently played video of the smart TV, and the user does not need to operate the smart TV to affect the user's viewing experience, which increases the interest and enhances the user experience.
- FIG. 4 is a schematic flowchart of a refinement step of step 102 in the first embodiment of the present invention, including:
- Step 401 Calculate, according to the data, a fourth number of peaks and valleys in pairs in a preset fifth time period, and an amplitude of each pair of peak troughs;
- Step 402 Determine a change mode of a video frame rate according to a magnitude relationship between the fourth number of times and a fourth preset number, and determine a change value of the video frame rate according to an average value of amplitudes of each pair of peak troughs. .
- the slave device acquires the data, according to the data, the fourth number of peaks and valleys appearing in pairs in the preset fifth time period, and the amplitude of each pair of peak troughs, and The magnitude relationship between the fourth number of times and the fourth preset number determines a change pattern of the video frame rate, which may be increased or decreased, and the change is determined according to the average of the amplitudes of each pair of play troughs.
- the value of the video frame rate in the mode is a change pattern of the video frame rate, which may be increased or decreased, and the change is determined according to the average of the amplitudes of each pair of play troughs.
- the step 402 may specifically include: determining that the change mode of the video frame rate is increasing the video frame rate, and determining the video according to the average value of the amplitudes of each pair of peak troughs, if the fourth number is greater than or equal to the fourth preset number of times. The increase in frame rate. If the fourth number is less than the fourth preset number of times, determining a change mode of the video frame rate is decreasing the video frame rate, and determining a decrease value of the video frame rate according to an average value of the amplitudes of each pair of peak troughs.
- step 402 may be: if the fourth number is greater than or equal to the fourth preset number of times, determining a change mode of the video frame rate is to reduce a video frame rate, and determining a video according to an average value of amplitudes of each pair of peak troughs.
- a reduction rate of the frame rate if the fourth number is less than the fourth preset number of times, determining a change mode of the video frame rate is increasing the video frame rate, and determining an increase of the video frame rate according to an average value of the amplitudes of each pair of peak troughs value.
- FIG. 5 is a schematic flowchart of a method for controlling a video frame rate of a smart television according to a second embodiment of the present invention, including:
- Step 501 Acquire data that is received by a motion sensor in the device and meets a preset condition.
- Step 502 Determine a change value of a video frame rate according to the data.
- Step 503 Send a change value of the video frame rate to the smart TV, so that the smart TV adjusts the video according to the change value of the video frame rate, and uses the adjusted video to play;
- Steps 501, 502, and 503 are similar to those described in step 101, step 102, and step 103 in the first embodiment shown in FIG. 1, and are not described herein again.
- Step 504 If it is detected that the amplitude of any pair of peaks and valleys in the data sensed by the motion sensor in the preset fourth time period is less than a preset amplitude, send an instruction to restore the video frame rate to the smart television, so that the smart television is initially The video is played.
- the smart television after the change value of the video frame rate is sent to the smart television, if the amplitude of any pair of peaks and valleys detected by the motion sensor in the preset fourth time period is less than the preset amplitude, Sending a command to restore the video frame rate to the smart TV, so that the smart TV plays according to the original video, so that the user can adjust the video frame rate of the smart TV when performing the operation, and restore the original frame when the user stops operating. Rate, interactivity and fun to improve the user experience.
- the smart TV plays the video according to the frame rate adjusted according to the change value, and if the user needs to restore the initial frame rate,
- the instruction to restore the video frame rate may also be sent to the smart TV by clicking a preset close button on the interface of the mobile terminal, so that the smart TV will always adjust based on the change value after receiving the video frame rate change value.
- the video frame rate plays the video until the instruction to restore the video frame rate sent by the user through the click operation is received, and the initial frame rate is restored.
- the device for controlling the video frame rate of the smart TV in the third embodiment of the present invention includes a first obtaining module 601, a first determining module 602, and a sending module 603.
- the first obtaining module 601 is configured to acquire data that is received by the motion sensor in the device and meets a preset condition
- the smart TV can be connected to the slave device in a state of being powered on and working normally, and the slave device can send an instruction to the smart TV to control the play of the smart TV.
- the slave device has a video frame rate control function, and after the slave device turns on the video frame rate control function, the user can control the video frame rate of the smart television by performing operations on the slave device, and the operation may be Shake the operation.
- the motion sensor is configured to detect the data sensed by the motion sensor in real time. If it is detected that the data sensed by the motion sensor meets the preset condition, the first acquiring module 601 acquires the preset condition. data. Specifically, the sensing data obtained from the motion sensor is obtained, and a curve formed by the sensing data is obtained, and data in a curve segment whose amplitude or frequency is greater than a preset amplitude or frequency is selected as the above-mentioned data satisfying the preset condition. . Wherein, the condition that satisfies the preset is that the amplitude or the frequency is greater than a preset amplitude or frequency.
- the slave device controls the intelligence based on the data in the curve segment whose amplitude or frequency is greater than the preset amplitude or frequency.
- the frame rate of the TV 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 controls the intelligence based on the data in the curve segment whose amplitude or frequency is greater than the preset amplitude or frequency.
- the slave device may be a mobile terminal with a motion sensor connected to the smart TV through a network, such as a mobile phone or a PAD.
- the motion sensor is an original component that converts a change in non-electricity (such as speed and pressure) into a change in power, and is a component and an accessory for performing measurement and control instruments and equipment.
- the motion sensor is 3 Axial acceleration sensor (3-axis accelerometer), gyroscope, or geomagnetic sensor.
- a startup gesture of the video frame rate control function may be set on the slave device or a start button may be set in the pull-down bar of the slave device display interface.
- the first determining module 602 is configured to determine a change value of the video frame rate according to the data
- the first determining module 602 determines the 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 the corresponding number of pictures needs to be deleted from the original video frame rate of the currently played video.
- the frame picture, the added value of the video frame rate indicates that it is necessary to increase the corresponding number of frames in 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 TV, so that the smart TV adjusts the video according to the change value of the video frame rate, and uses the adjusted video to play.
- the sending module 603 sends the change value of the video frame rate to the smart TV, and after receiving the change value of the video frame rate, the smart TV according to the The change value of the video frame rate adjusts the video frame of the currently played video, and uses the adjusted video to play, thereby realizing dynamic adjustment and control of the video frame rate of the smart TV from the device.
- the smart TV reduces the frame rate of the currently playing video, it will realize fast playback. If the frame rate of the currently played video is increased, slow playback will be realized.
- the smart TV receives the added value of the video frame rate, determining the position of the added video frame according to the principle of uniform insertion based on the current video frame rate and the added value of the video frame rate, and copying
- the previous frame of the video frame or the next frame of the video frame, 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 video frame rate is increased.
- a value of 3 determines that a video frame needs to be added between the 20th frame and the 21st frame, between the 40th frame and the 41st frame, and after the 60th frame, and the 20th frame is copied, and the copied video frame is inserted into the first frame.
- the 40th frame is copied, the copied video frame is inserted between the 40th frame and the 41st frame, the 60th frame is copied, and the copied video frame is placed after the 60th frame.
- the video frame rate to be deleted is determined according to the current video frame rate and the reduced value of the video frame rate according to the principle of uniform deletion, so as to delete the video frame rate. For example, if the current video frame rate is 60 frames and the video frame rate reduction value is 4, it can be determined that the 15th frame, the 30th frame, the 45th frame, and the 60th frame need to be deleted, and deleted.
- the first obtaining module 601 acquires data that is received by the motion sensor in the device and meets the preset condition
- the first determining module 602 determines a change value of the video frame rate according to the data
- the sending module 603 outputs the video.
- the change value of the frame rate is sent to the smart TV, so that the smart TV adjusts the video according to the change value of the video frame rate, and uses the adjusted video to play.
- the slave device obtains the data satisfying the preset condition and 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 TV can be effectively realized, and the user is satisfied.
- the usage requirements, and the user can control the video frame rate of the smart TV by controlling the operation of the slave device, enhance the interest and improve the user experience.
- the first determining module 602 in the third embodiment of the present invention includes a first statistic module 701 and a second determining module 702.
- the first statistic module 701 is configured to perform, according to the data statistics, a first number of occurrences of peaks and valleys in a preset first time period and a second frequency of occurrence of peaks and valleys in a preset second time period.
- the duration of the first time period is less than the duration of the second time period;
- the first statistic module 701 is configured to pair the peaks and valleys in the preset first time period and the preset second time period according to the data statistics.
- the duration of the first time period is less than the duration of the second time period.
- the slave device can establish two threads, and the first thread processes the data in the first time period obtained from the foregoing data, and determines the first occurrence of the peaks and valleys in the data in the first time period.
- the second thread obtains the data in the preset second time period from the above data, and determines the second number of occurrences of the peak trough in the data in the second time period, for example, the first time period is 10 ms
- the first thread of the slave device acquires data of a 10 ms duration that satisfies the preset condition from the motion sensor, and processes the data of the 10 ms duration by the first thread to determine the first number of occurrences of the peaks and valleys in the 10 ms pair.
- the second time period is 1 s
- the second thread from the device acquires data of the 1 s duration that satisfies the preset condition from the motion sensor, and the second thread processes the data within the 1 s duration to determine the peak and valley of the 1 s.
- the second number of occurrences in pairs is 1 s
- the second determining module 702 is 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.
- the second determining module 702 determines a change value of the video frame rate according to the data that satisfies the preset condition, the first number of times, and the second number of times. Specifically, there are several situations:
- the second determining module 702 processes the data decremented by the negative value in the first time period in the data to determine the reduced value of the video frame rate;
- the second determining module 702 determines an increase value of the video frame rate according to the positive value increasing data in the second time period in the data;
- the second determining module 702 determines that the change value of the video frame rate is a preset value.
- the first number of times and the second number of times are independently processed by two threads.
- the first thread determines that the first number of times is less than the first preset number of times
- the second determining module 702 will treat the first time period.
- the data with decreasing internal negative values is processed to determine the reduction value of the video frame rate.
- the data of the negative decrement in the first time period may be determined as follows: all the trough values of the acquired data in the first time period are determined, and the average value of all the trough values is calculated, and 0 is to the average
- the value is determined as data with a negative decrement during the first time period. For example, if the obtained data has a trough value of -12, -9, -8, -11 in the first time period, then the average value is determined to be -10, indicating that the range of the decremented data is from 0. To -10.
- the data of the negative decrement in the first time period may be determined as follows: determining all the trough values of the acquired data in the first time period, and using 0 to the maximum value of all the trough values as the first
- the data of the negative value decrement in a period of time, or the minimum value of 0 to all the trough values is used as the data decremented by the negative value in the first period of time. For example, if the obtained data has a valley value of -12, -9, -8, -11 in the first time period, it is determined that the negative value is in the range of 0 to -12, or 0 to -8.
- the method for determining the data of the negative decrement in the first time period may be set according to specific needs, which is not limited this time.
- determining the decrease value of the video frame rate based on the data of the negative value decrement in the first time period specifically includes: dividing the difference between the maximum value and the minimum value in the data decremented by the negative value by a preset value, and the calculation result is The reduction in the video frame rate.
- the data with negative decrement is 0 to -15
- the difference between the minimum value and the maximum value in the negative decrement data is 15, and 15 is divided by a preset value of 5.
- the result of the calculation is 3, which is a video frame. The reduction in the rate.
- the result of the calculation is not an integer
- the largest integer smaller than the calculation result or the smallest integer larger than the calculation result or the integer determined according to the rounding manner is determined as the decrease value of the video frame rate according to the calculation result. For example, if the result of the calculation is 3.4, it can be determined that the reduction value of the video frame rate is 3 or 4.
- the second determining module 702 processes the data according to the positive value in the second time period in the acquired data to determine the video frame. The added value of the rate.
- the positive value increasing data in the second time period may be determined as follows: determining all the wave peaks of the acquired data in the second time period, and calculating an average value of all the wave peaks, and the average value is 0. It is determined that the data is positively increasing in the second time period. For example, if the acquired data has peaks of 15, 14, 13, 14, and 14 in the second time period, respectively, the average value of the peaks is determined to be 14, Then it is determined that the positive value increment data is 0 to 14.
- the positive value increasing data in the second time period may be determined as follows: determining all the peak values of the acquired data in the second time period, and using 0 to the maximum value of all the wave peaks as the first The data of positive value increases in two time periods, or the minimum value of 0 to all the peak values is used as the data of positive value increase in the second time period. For example, if the acquired data has peaks of 15, 14, 13, 14, and 14 in the second time period, respectively, it is determined that the positive value of the data in the second time period is 0 to 13, or 0 to 15 .
- determining, according to the positive value increasing data in the second time period, the increasing value of the video frame rate comprises: dividing the difference between the maximum value and the minimum value in the positive value increasing data by a preset value, and the calculated result is The added value of the video frame rate.
- the positive value of the second data is 0 to 15
- the difference between the maximum value and the minimum value in the positive value data is 15, and 15 is divided by a preset value of 5.
- the result of the calculation is the video frame rate. Value Added.
- the result of the calculation is not an integer, determining, according to the result of the calculation, a largest integer smaller than the calculation result or a minimum integer larger than the calculation result or an integer determined according to the rounding manner as a decrease value of the video frame rate, for example, if the calculation The result is 4.5, and it is determined that the increase in the video frame rate is 4 or 5.
- the second determining module 702 determines the video.
- the change in the frame rate is a preset value, and the preset value is preferably 0.
- the determining, by the second determining module 702, the change value of the video frame rate according to the data that meets the preset condition, the first number of times, and the second number of times may be: determining whether the first number of times is greater than Or equal to the third preset number, if the first number is greater than or equal to the third preset number, determining a decrease value of the video frame rate according to the second number, if the first number is smaller than the third preset The number of times is set, and the added value of the video frame rate is determined according to the second number of times.
- the first number is 6 and the second number is 8
- the third preset number is 9, it may be determined that the first number 6 is smaller than the third preset number 9, and the video frame is determined according to the second number of times.
- the value of the rate increase may be specifically obtained by multiplying the second number 8 by a preset coefficient to obtain an increase value of the video frame rate. If the preset coefficient is 0.5, the video frame rate is increased by 4.
- the third preset number is 5, it may be determined that the first number of times 6 is greater than the third preset number of times 5, and the reduction value of the video frame rate is determined according to the second number of times, and the second number of times 8 may be preset The coefficient is multiplied to obtain an increase value of the video frame rate. If the preset coefficient is 1, the video frame rate is reduced by 8.
- the user's demand for fast play is greater than the demand for slow play, and the first time that the peak trough of the first time period appears can determine whether fast play is needed in a short time, so as to quickly satisfy User needs.
- the first number of occurrences of the peaks and valleys in pairs in the preset first time period and the second number of occurrences of the peaks and valleys in the preset second time period are obtained according to the data statistics, And determining, by using the data, the first time and the second time, a change value of the video frame rate, so that the adjustment of the video frame rate of the currently played video of the smart TV can be implemented based on the change value of the video frame rate.
- the first determining module 602 of the third embodiment of the present invention includes a second statistic module 801, a second obtaining module 802, and a third determining module 803.
- the second statistic module 801 is configured to perform a third number of occurrences of the peaks and valleys in pairs according to the data statistics;
- the second obtaining module 802 is configured to acquire 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 the second preset number of times;
- the second statistic module 801 counts the third number of occurrences of the peaks and valleys in pairs according to the data.
- the second acquisition module 802 acquires the end value sensed by the motion sensor at the end time of the third time period, if the third occurrence of the peaks of the peaks is greater than or equal to the second preset number of times. For example, if the length of the third time period is 30 ms, the end time point of the third time period is 30 ms. If the number of peaks and valleys appearing in pairs is less than the second preset number, the user's operation is invalid.
- the third time period may be a time period in which the continuous data satisfying the preset condition is formed in time.
- the third determining module 803 is configured to: if the end value is greater than the preset value, process the end value to determine a decrease value of the video frame rate, and if the end value is less than the preset value, process the end value to determine an increase of the video frame rate. value.
- the third determining module 803 determines the video frame rate according to the end value.
- the value of the reduction may be specifically: dividing the end value by a preset constant, and using the obtained quotient value as a decrease value of the video frame rate. If the end value is less than the preset value, the third determining module 803 determines an increase value of the video frame rate according to the end value, which may be: dividing the absolute value of the end value by a preset constant, and using the obtained quotient as a video. The increase in frame rate.
- the end value sensed by the acquisition motion sensor at the end time point of the third time period is 12, the end value is greater than the preset value 8, and the end value is divided by the preset constant 4, and 3 is calculated, that is, the video frame rate.
- the reduction value is 3.
- the change value of the video frame rate is determined according to the end value, so that The change of the video frame rate can be used to adjust the video frame rate of the currently played video of the smart TV, and the user does not need to operate the smart TV to affect the user's viewing experience, which increases the interest and enhances the user experience.
- the first determining module 602 in the third embodiment of the present invention includes:
- a third statistic module 901 configured to calculate, according to the data, a fourth number of peaks and valleys in pairs in a preset fifth time period, and an amplitude of each pair of peak troughs;
- a fourth determining module 902 configured to determine a change mode of a video frame rate according to a size relationship between the fourth number of times and a fourth preset number, and determine the video according to an average value of amplitudes of each pair of peak troughs The change in frame rate.
- the third statistic module 901 calculates, according to the data, a fourth number of occurrences of the peaks and valleys in the preset fifth time period, and the amplitude of each pair of peaks and valleys, and
- the fourth determining module 902 determines a change mode of the video frame rate according to the size relationship between the fourth number of times and the fourth preset number, and the change mode may be increased or decreased, and the amplitude of the trough is played according to each pair.
- the average value determines the change value of the video frame rate in the above change mode.
- the fourth determining module 902 is specifically configured to: if the fourth number is greater than or equal to the fourth preset number of times, determine that the change mode of the video frame rate is to increase the video frame rate, and according to the amplitude of each pair of peak troughs. The average determines the increase in the video frame rate. If the fourth number is less than the fourth preset number of times, determining a change mode of the video frame rate is decreasing the video frame rate, and determining a decrease value of the video frame rate according to an average value of the amplitudes of each pair of peak troughs.
- the fourth determining module 902 may be specifically configured to: if the fourth number is greater than or equal to the fourth preset number, determine that the change mode of the video frame rate is to reduce the video frame rate, and according to the amplitude of each pair of peak troughs The average value determines a decrease value of the video frame rate. If the fourth number is less than the fourth preset number, determining a change mode of the video frame rate is increasing the video frame rate, and determining the video according to an average value of the amplitudes of each pair of peak troughs. The increase in frame rate.
- the first determining module 602 may include all the refinement function modules in the foregoing.
- the device for controlling the video frame rate of the smart TV in the fourth embodiment of the present invention includes the first acquiring module 601, the first determining module 602, and the sending module 603, and the content described in the third embodiment is similar, and is no longer Narration.
- control device for the smart TV video frame rate further includes:
- the recovery control module 1001 is configured to: when detecting that the amplitude of any pair of peak troughs in the data sensed by the motion sensor is less than a preset amplitude in the preset fourth time period, send a resume video frame rate to the smart television The instructions cause the smart TV to play in accordance with the initial video.
- the recovery control module 801 sends an instruction to restore the video frame rate to the smart TV, so that the smart TV plays according to the original video, so that the user can adjust the video frame rate of the smart TV when the operation is performed, and when the user stops operating, Restore the initial frame rate, interactive and fun, and improve the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明提供一种智能电视视频帧率的控制方法,该方法包括:获取从设备中的运动传感器感应到的满足预置条件的数据,根据数据确定视频帧率的变化值,将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放。本发明还提供一种智能电视视频帧率的控制装置,使得能够基于从设备的运动传感器感应到的满足条件的数据确定视频帧率的变化值,并将该变化值发送给智能电视,有效实现对智能电视的帧率进行调整的目的。
Description
技术领域
本发明涉及智能电视技术领域,尤其涉及一种智能电视视频帧率的控制方法及装置。
背景技术
智能电视是基于互联网浪潮冲击形成的新产品,其目的是带给用户更便捷的体验,目前已经成为电视的潮流趋势。现有技术中智能电视提供50帧、60帧或120帧等帧率模式,用户只能从已有的帧率模式中选择视频帧率。因此,如何动态的调整视频帧率,以满足用户对不同视频帧率的需求是目前亟待解决的问题。
发明内容
本发明的主要目的在于提供一种智能电视视频帧率的控制方法及装置,旨在解决现有技术中无法实现视频帧率的动态调整的技术问题。
为实现上述目的,本发明提供的一种智能电视视频帧率的控制方法,所述方法包括:
获取从设备中运动传感器感应到的满足预置条件的数据;
根据所述数据确定视频帧率的变化值;
将所述视频帧率的变化值发送至所述智能电视,使得所述智能电视根据所述视频帧率的变化值调整视频,并利用调整后的视频进行播放。
为实现上述目的,本发明还提供一种智能电视视频帧率的控制装置,所述装置包括:
第一获取模块,用于获取从设备中运动传感器感应到的满足预置条件的数据;
第一确定模块,用于根据所述数据确定视频帧率的变化值;
发送模块,用于将所述视频帧率的变化值发送至所述智能电视,使得所述智能电视根据所述视频帧率的变化值调整视频,并利用调整后的视频进行播放。
本发明提供一种智能电视视频帧率的控制方法,该方法包括:获取从设备中的运动传感器感应到的满足预置条件的数据,并根据数据确定视频帧率的变化值,将视频帧率的变化值发送至智能电视,使得智能电视根据该视频帧率的变化值调整视频,并利用调整后的视频进行播放。通过从运动传感器获取满足预置条件的数据,并基于该数据确定视频帧率的变化值,使得能够有效实现对智能电视当前播放视频的视频帧率的动态调整,满足用户使用需求。
附图说明
图1为本发明第一实施例中智能电视视频帧率的控制方法的流程示意图;
图2为本发明第一实施例中步骤102的细化步骤的流程示意图;
图3为本发明第一实施例中步骤102的细化步骤的流程示意图;
图4为本发明第一实施例中步骤102的细化步骤的流程示意图;
图5为本发明第二实施例中智能电视视频帧率的控制方法的流程示意图。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
由于现有技术中,用户只能从已有的视频帧率中选择视频帧率,而无法实现对视频帧率的动态调整,不能满足用户的使用需求。
为此本发明提出一种智能电视视频帧率的控制方法,能够有效实现视频帧率的动态调整,满足用户使用需求。
请参阅图1,为本发明第一实施例中智能电视视频帧率的控制方法的流程示意图,包括:
步骤101、获取从设备中的运动传感器感应到的满足预置条件的数据;
在本发明实施例中,智能电视在开机且正常工作的状态下,能够与从设备连接,且从设备能够向该智能电视发送指令,以控制该智能电视的播放。在本发明实施例中,从设备具备视频帧率控制功能,且从设备在开启该视频帧率控制功能之后,用户可以通过对从设备执行操作以控制智能电视的视频帧率,该操作可以是晃动操作。
其中,从设备内设置运动传感器,将实时对运动传感器感应到的数据进行检测,若检测到该运动传感器感应到的数据满足预置的条件,则获取该满足预置条件的数据。具体的:从运动传感器中获取感应到的感应数据,并得到该感应数据构成的曲线,选取曲线幅度或者频率大于预设的幅度或频率的曲线段内的数据作为上述的满足预置条件的数据。其中,满足预置的条件为幅度或者频率大于预设的幅度或频率。例如,用户对从设备执行晃动操作,且该晃动操作的幅度或者频率大于预设的幅度或频率时,从设备将基于该幅度或者频率大于预设的幅度或频率的曲线段内的数据控制智能电视的帧率。
其中,从设备可以是手机、PAD等通过网络与智能电视相连的具有运动传感器的移动终端。
其中,运动传感器是一种将非电量(如速度、压力)的变化转变为电量变化的原件,是进行测量、控制仪器及设备的零件、附件,在本发明实施例中,该运动传感器为3轴加速度传感器(3轴加速度计)、陀螺仪、或者地磁传感器。
为了防止用户的无意识操作导致智能电视的视频帧率的改变,可以在从设备上设置视频帧率控制功能的启动手势或者在从设备显示界面的下拉栏内设置启动按钮。
步骤102、根据数据确定视频帧率的变化值;
在本发明实施例中,在获取到运动传感器感应到的满足预置条件的数据后,根据该数据确定视频帧率的变化值。
其中,视频帧率的变化值可以是视频帧率的减少值或者视频帧率的增加值,其中,视频帧率的减少值表示需要从当前播放的视频的原始视频帧率中删除相应张数的帧画面,视频帧率的增加值表示需要在当前播放的视频的原始视频帧率中增加相应张数的帧画面。
步骤103、将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放。
在本发明实施例中,在确定视频帧率的变化值后,从设备将该视频帧率的变化值发送给智能电视,智能电视在接收到该视频帧率的变化值之后,将根据该视频帧率的变化值调整视频,并利用调整后的视频进行播放,实现从设备对智能电视的视频帧率的动态调整及控制。
其中,智能电视若减少当前播放视频的帧率,则将实现快播放,若增加当前播放视频的帧率,则将实现慢播放。
在本发明实施例中,若智能电视接收到的是视频帧率的增加值,则基于当前的视频帧率及该视频帧率的增加值按照均匀插入的原则确定增加视频帧的位置,且复制该位置的前一帧视频帧或者后一帧视频帧,并将复制的视频帧插入该位置,以实现视频帧的增加,例如,若当前的视频帧率为60帧,且视频帧率的增加值为3,则可确定需要在第20帧与第21帧之间、第40帧与第41帧之间、第60帧之后增加视频帧,且复制第20帧,将复制的视频帧插入第20帧与第21帧之间,复制第40帧,将复制的视频帧插入第40帧与第41帧之间,复制第60帧,将复制的视频帧放置在第60帧之后。
若智能电视接收到的是视频帧率的减少值,则将基于当前的视频帧率及该视频帧率的减少值按照均匀删除的原则确定需要删除的视频帧,以实现视频帧率的删除,例如,若当前的视频帧率为60帧,且视频帧率的减少值为4,则可确定需要删除第15帧、第30帧、第45帧、第60帧,且进行删除。
在本发明实施例中,获取从设备中的运动传感器感应到的满足预置条件的数据,根据数据确定视频帧率的变化值,将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放。从设备通过获取满足预置条件的数据并基于该数据得到视频帧率的变化值,且将该变化值发送给智能电视,使得能够有效的实现对智能电视的帧率的动态调整,满足用户的使用需求,且用户可通过对从设备的执行操作以使得运动传感器感应到的数据满足预置条件,以实现智能电视的帧率的控制,增强趣味性,改善用户体验。
请参阅图2,为本发明第一实施例中步骤102的细化步骤的流程示意图,包括:
步骤201、根据数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,第一时间段的时长小于第二时间段的时长;
在本发明实施例中,从设备在获取到满足预置条件的数据之后,根据该数据统计在预置的第一时间段内及预置的第二时间段内的波峰波谷成对出现的次数。其中,第一时间段的时长小于第二时间段的时长。具体的:从设备可以建立两个线程,第一个线程处理从上述数据中获取预置的第一时间段内的数据,并确定该第一时间段内的数据中波峰波谷出现的第一次数,第二个线程从上述数据中获取预置的第二时间段内的数据,并确定该第二时间段内的数据中波峰波谷出现的第二次数,例如第一时间段为10ms,则从设备的第一线程从运动传感器中获取满足预置条件的10ms时长的数据,并由第一线程对该10ms时长的数据进行处理,确定该10ms内波峰波谷成对出现的第一次数。第二时间段为1s,则从设备中的第二线程从运动传感器获取满足预置条件的1s时长的数据,并由第二线程对该1s时长内的数据进行处理,确定该1s内波峰波谷成对出现的第二次数。
步骤202、根据数据、第一次数及第二次数确定视频帧率的变化值。
在本发明实施例中,在获取第一次数及第二次数之后,从设备根据满足预置条件的数据、第一次数及第二次数确定视频帧率的变化值。具体的,有以下几种情况:
若第一次数小于第一预置次数,则对数据中第一时间段内负值递减的数据进行处理,确定视频帧率的减少值;
若第二次数大于或者等于第一预置次数,则根据数据中第二时间段内的正值递增的数据确定视频帧率的增加值;
若第一次数大于或者等于第一预置次数,或者,若第二次数小于第一预置次数,则确定视频帧率的变化值为预设值。
在本发明实施例中,第一次数和第二次数由两个线程独立处理,第一线程在确定第一次数小于第一预置次数时,从设备将对第一时间段内负值递减的数据进行处理,确定视频帧率的减少值。
其中,可以按照如下方式确定第一时间段内负值递减的数据:确定获取到的数据在第一时间段内所有的波谷值,并计算该所有的波谷值的平均值,将0至该平均值确定为第一时间段内负值递减的数据。例如,若获取到的数据在第一时间段内的波谷值分别为-12,-9,-8,-11,则确定该平均值为-10,说明负值递减的数据的范围是从0至-10。或者,还可以按照如下方式确定第一时间段内负值递减的数据:确定获取到的数据在第一时间段内所有的波谷值,将0至该所有的波谷值中的最大值作为该第一时间段内负值递减的数据,或者,将0至该所有的波谷值中的最小值作为该第一时间段内负值递减的数据。例如:若获取到的数据在第一时间段内的波谷值分别为-12,-9,-8,-11,则确定负值递减的范围为0至-12,或者0至-8。在实际应用中,可以根据具体的需要设置第一时间段内负值递减的数据的确定方式,此次不做限定。
其中,基于第一时间段内负值递减的数据确定视频帧率的减少值具体包括:将负值递减的数据中最大值与最小值的差值除以一个预置数值,计算的结果即为视频帧率的减少值。例如,负值递减的数据为0至-15,负值递减的数据中最小值与最大值的差值为15,将15除以一个预置数值5,计算的结果为3,即为视频帧率的减少值。且若计算的结果不为整数,则根据计算的结果确定小于该计算结果的最大整数或者大于该计算结果的最小整数或者按照四舍五入的方式确定的整数作为视频帧率的减少值。例如,若得到的计算结果为3.4,则可确定视频帧率的减少值为3或4。
在本发明实施例中,在第二次数大于或者等于第一预置次数时,则根据获取到的数据中第二时间段内的正值递增的数据进行处理,确定视频帧率的增加值。
其中,可以按照如下方式确定第二时间内正值递增的数据:确定获取到的数据在第二时间段内所有的波峰值,并计算该所有的波峰值的平均值,将该平均值至0确定为第二时间段内正值递增的数据,例如,若获取到的数据在第二时间段内的波峰值分别为15、14、13、14、14,则确定波峰的平均值为14,则确定正值递增的数据为0至14。或者,还可以按照如下方式确定第二时间段内正值递增的数据:确定获取到的数据在第二时间段内的所有波峰值,将0至该所有的波峰值中的最大值作为该第二时间段内正值递增的数据,或者将0至该所有波峰值中的最小值作为该第二时间段内正值递增的数据。例如,若获取到的数据在第二时间段内的波峰值分别为15、14、13、14、14,则确定第二时间段内的正值递增的数据为0至13,或者0至15。
其中,基于第二时间段内正值递增的数据确定视频帧率的增加值具体包括:将正值递增的数据中最大值与最小值的差值除以一个预置数值,计算的结果即为视频帧率的增加值。例如,正值递增的第二数据为0至15,正值递增的数据中最大值与最小值的差值为15,将15除以一个预置数值5,计算的结果即为视频帧率的增加值。且若计算的结果不为整数,则根据计算的结果确定小于该计算结果的最大整数或者大于该计算结果的最小整数或者按照四舍五入的方式确定的整数作为视频帧率的减少值,例如,若计算的结果为4.5,则确定视频帧率的增加值为4或5。
在本发明实施例中,在第一次数大于或者等于第一预置次数,或者,若第二次数小于第一预置次数,则确定用户的操作为无效操作,确定视频帧率的变化值为预设值,该预设值优选为0。
或者,在本发明实施例中,从设备根据满足预置条件的数据、第一次数及第二次数确定视频帧率的变化值具体可以是:判断所述第一次数是否大于或等于第三预置次数,若该第一次数大于或等于第三预置次数,则根据所述第二次数确定视频帧率的减少值,若该第一次数小于所述第三预置次数,则根据所述第二次数确定视频帧率的增加值。
例如,在该第一次数为6,第二次数为8时,若第三预置次数为9,则可确定第一次数6小于第三预置次数9,根据第二次数确定视频帧率的增加值,具体可将第二次数8与预先设置的系数相乘得到视频帧率的增加值,若该预先设置的系数为0.5,则该视频帧率的增加值为4。或者,若第三预置次数为5,则可确定第一次数6大于该第三预置次数5,根据第二次数确定视频帧率的减少值,具体可以将第二次数8与预先设置的系数相乘得到视频帧率的增加值,若该预先设置的系数为1,则该视频帧率的减少值为8。
在本发明实施例中,用户对快播放的需求大于对慢播放的需求,通过第一时间段的波峰波谷出现的第一次数能够在较短的时间内确定是否需要快播放,以便快速满足用户的需求。
在本发明实施例中,通过根据数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,且利用该数据、第一次数及第二次数确定视频帧率的变化值,使得能够基于该视频帧率的变化值实现对智能电视帧率的调整。
请参阅图3,为本发明第一实施例中步骤102的细化步骤的流程示意图,包括:
步骤301、根据数据统计在预置的第三时间段内波峰波谷成对出现的第三次数;
步骤302、若第三次数大于或者等于第二预置次数,则获取所述运动传感器在所述第三时间段的结束时间点感应到的结束值;
在本发明实施例中,从设备在获取到满足预置条件的数据后,将根据该数据统计波峰波谷成对出现的第三次数。
其中,若波峰波谷成对出现的第三次数大于或者等于第二预置次数,则用户的操作有效,从设备获取运动传感器在第三时间段的结束时间点感应到的结束值,例如,若该第三时间段的长度为30ms,则该第三时间段的结束时间点为第30ms。若波峰波谷成对出现的次数小于第二预置次数,则用户的操作无效。
其中,优选的,该第三时间段可以是该连续的且满足预设条件的数据在时间上构成的时间段。
步骤303、若结束值大于预置数值,则根据结束值确定视频帧率的减少值,若结束值小于预置数值,则根据结束值确定视频帧率的增加值。
在本发明实施例中,在获取运动传感器在第三时间段的结束时间点感应到的结束值后,若结束值大于预置数值,则根据该结束值确定视频帧率的减少值,具体可以是:将该结束值除以预设常数,将得到的商值作为视频帧率的减少值。若结束值小于预置数值,则根据该结束值确定视频帧率的增加值,具体可以是:将该结束值的绝对值除以预设常数,将得到的商值作为视频帧率的增加值。例如,获取运动传感器在第三时间段的结束时间点感应到的结束值为12,该结束值大于预设数值8,将该结束值除以预置常数4,计算得到3,即视频帧率的减少值为3。
在本发明实施例中,若第三次数大于或者等于第二预置次数,获取运动传感器在第三时间段的结束时间点感应到的结束值,根据结束值确定视频帧率的变化值,使得能够利用该视频帧率的变化值实现对智能电视当前播放视频的视频帧率的调整,且不需要用户对智能电视进行操作从而影响用户的观看体验,增加了趣味性,增强用户体验。
请参阅图4,为本发明第一实施例中步骤102的细化步骤的流程示意图,包括:
步骤401、根据所述数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度;
步骤402、根据所述第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,根据所述每一对波峰波谷的幅度的平均值确定所述视频帧率的变化值。
在本发明实施例中,从设备在获取数据之后,根据该数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度,且将根据该第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,该变化模式可以是增加,也可以是减少,且根据每一对播放波谷的幅度的平均值确定在上述变化模式下视频帧率的变化值。
其中,步骤402具体可以包括:若该第四次数大于或等于第四预置次数,则确定视频帧率的变化模式是增加视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的增加值。若该第四次数小于第四预置次数,则确定视频帧率的变化模式是减少视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的减少值。需要说明的是,上述只是基于第四次数、第四预置次数及每一对波峰波谷的幅度的平均值确定视频帧率的变化值的可行的一种方式,在实际应用中还可以是其他的方式。例如:步骤402还可以是:若该第四次数大于或等于第四预置次数,则确定视频帧率的变化模式是减少视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的减少值,若该第四次数小于第四预置次数,则确定视频帧率的变化模式是增加视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的增加值。
在本发明实施例中,在得到第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度之后,根据该第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,且根据该每一对波峰波谷的幅度的平均值确定该视频帧率的变化值,使得能够利用该视频帧率的变化值实现对智能电视的视频的调整,增强用户体验。
请参阅图5,为本发明第二实施例中智能电视视频帧率的控制方法的流程示意图,包括:
步骤501、获取从设备中的运动传感器感应到的满足预置条件的数据;
步骤502、根据数据确定视频帧率的变化值;
步骤503、将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放;
步骤501、步骤502及步骤503分别与图一所示第一实施例中的步骤101、步骤102及步骤103描述的内容相似,此处不再赘述。
步骤504、若检测到预置的第四时间段内运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向智能电视发送恢复视频帧率的指令,使得智能电视按照初始的视频进行播放。
在本发明实施例中,在将视频帧率的变化值发送给智能电视之后,若检测到预置的第四时间段内运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向智能电视发送恢复视频帧率的指令,以使得智能电视按照原始的视频进行播放,使得用户在执行操作时即可调整智能电视的视频帧率,且在用户停止操作时恢复初始的帧率,互动性及趣味性强,改善用户体验。
可选地,在本发明实施例中,从设备向智能电视发送视频帧率的变化值后,智能电视按照基于该变化值调整后的帧率播放视频,且若用户需要恢复初始的帧率,还可以通过在移动终端的界面上点击预置的关闭按钮,以向智能电视发送恢复视频帧率的指令,使得智能电视在接收到视频帧率变化值之后,将一直基于该变化值调整后的视频帧率播放视频,直至接收到用户通过点击操作发送的恢复视频帧率的指令,才恢复初始的帧率。
本发明第三实施例中智能电视视频帧率的控制装置,该装置包括第一获取模块601、第一确定模块602、发送模块603。
第一获取模块601,用于获取从设备中的运动传感器感应到的满足预置条件的数据;
在本发明实施例中,智能电视在开机且正常工作的状态下,能够与从设备连接,且从设备能够向该智能电视发送指令,以控制该智能电视的播放。在本发明实施例中,从设备具备视频帧率控制功能,且从设备在开启该视频帧率控制功能之后,用户可以通过对从设备执行操作以控制智能电视的视频帧率,该操作可以是晃动操作。
其中,从设备内设置运动传感器,将实时对运动传感器感应到的数据进行检测,若检测到该运动传感器感应到的数据满足预置的条件,则第一获取模块601获取该满足预置条件的数据。具体的:从运动传感器中获取感应到的感应数据,并得到该感应数据构成的曲线,选取曲线幅度或者频率大于预设的幅度或频率的曲线段内的数据作为上述的满足预置条件的数据。其中,满足预置的条件为幅度或者频率大于预设的幅度或频率。例如,用户对从设备执行晃动操作,且该晃动操作的幅度或者频率大于预设的幅度或频率时,从设备将基于该幅度或者频率大于预设的幅度或频率的曲线段内的数据控制智能电视的帧率。
其中,从设备可以是手机、PAD等通过网络与智能电视相连的具有运动传感器的移动终端。其中,运动传感器是一种将非电量(如速度、压力)的变化转变为电量变化的原件,是进行测量、控制仪器及设备的零件、附件,在本发明实施例中,该运动传感器为3轴加速度传感器(3轴加速度计)、陀螺仪、或者地磁传感器。
为了防止用户的无意识操作导致智能电视的视频帧率的改变,可以在从设备上设置视频帧率控制功能的启动手势或者在从设备显示界面的下拉栏内设置启动按钮。
第一确定模块602,用于根据数据确定视频帧率的变化值;
在本发明实施例中,第一获取模块601在获取到运动传感器感应到的满足预置条件的数据后,第一确定模块602根据该数据确定视频帧率的变化值。
其中,视频帧率的变化值可以是视频帧率的减少值或者视频帧率的增加值,其中,视频帧率的减少值表示需要从当前播放的视频的原始视频帧率中删除相应张数的帧画面,视频帧率的增加值表示需要在当前播放的视频的原始视频帧率中增加相应张数的帧画面。
发送模块603,用于将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放。
在本发明实施例中,在确定视频帧率的变化值后,发送模块603将该视频帧率的变化值发送给智能电视,智能电视在接收到该视频帧率的变化值之后,将根据该视频帧率的变化值调整当前播放视频的视频帧,并利用调整后的视频进行播放,实现从设备对智能电视的视频帧率的动态调整及控制。
其中,智能电视若减少当前播放视频的帧率,则将实现快播放,若增加当前播放视频的帧率,则将实现慢播放。
在本发明实施例中,若智能电视接收到的是视频帧率的增加值,则基于当前的视频帧率及该视频帧率的增加值按照均匀插入的原则确定增加视频帧的位置,且复制该位置的前一帧视频帧或者后一帧视频帧,并将复制的视频帧插入该位置,以实现视频帧的增加,例如,若当前的视频帧率为60帧,且视频帧率的增加值为3,则可确定需要在第20帧与第21帧之间、第40帧与第41帧之间、第60帧之后增加视频帧,且复制第20帧,将复制的视频帧插入第20帧与第21帧之间,复制第40帧,将复制的视频帧插入第40帧与第41帧之间,复制第60帧,将复制的视频帧放置在第60帧之后。
若智能电视接收到的是视频帧率的减少值,则将基于当前的视频帧率及该视频帧率的减少值按照均匀删除的原则确定需要删除的视频帧,以实现视频帧率的删除,例如,若当前的视频帧率为60帧,且视频帧率的减少值为4,则可确定需要删除第15帧、第30帧、第45帧、第60帧,且进行删除。
在本发明实施例中,第一获取模块601获取从设备中的运动传感器感应到的满足预置条件的数据,第一确定模块602根据数据确定视频帧率的变化值,且发送模块603将视频帧率的变化值发送至智能电视,使得智能电视根据视频帧率的变化值调整视频,并利用调整后的视频进行播放。从设备通过获取满足预置条件的数据并基于该数据得到视频帧率的变化值,及将该变化值发送给智能电视,使得能够有效的实现对智能电视的视频帧率的动态调整,满足用户的使用需求,且用户可通过对从设备的操作控制智能电视的视频帧率,增强趣味性,改善用户体验。
本发明第三实施例中第一确定模块602,包括第一统计模块701、第二确定模块702。其中第一统计模块701,用于根据数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,第一时间段的时长小于第二时间段的时长;
在本发明实施例中,在获取到满足预置条件的数据之后,第一统计模块701根据该数据统计在预置的第一时间段内及预置的第二时间段内的波峰波谷成对出现的次数。其中,第一时间段的时长小于第二时间段的时长。具体的:从设备可以建立两个线程,第一个线程处理从上述数据中获取预置的第一时间段内的数据,并确定该第一时间段内的数据中波峰波谷出现的第一次数,第二个线程从上述数据中获取预置的第二时间段内的数据,并确定该第二时间段内的数据中波峰波谷出现的第二次数,例如第一时间段为10ms,则从设备的第一线程从运动传感器中获取满足预置条件的10ms时长的数据,并由第一线程对该10ms时长的数据进行处理,确定该10ms内波峰波谷成对出现的第一次数。第二时间段为1s,则从设备中的第二线程从运动传感器获取满足预置条件的1s时长的数据,并由第二线程对该1s时长内的数据进行处理,确定该1s内波峰波谷成对出现的第二次数。
第二确定模块702,用于根据数据、第一次数及第二次数确定视频帧率的变化值。
在本发明实施例中,在获取第一次数及第二次数之后,第二确定模块702根据满足预置条件的数据、第一次数及第二次数确定视频帧率的变化值。具体的,有以下几种情况:
若第一次数小于第一预置次数,则第二确定模块702对数据中第一时间段内负值递减的数据进行处理,确定视频帧率的减少值;
若第二次数大于或者等于第一预置次数,则第二确定模块702根据数据中第二时间段内的正值递增的数据确定视频帧率的增加值;
若第一次数大于或者等于第一预置次数,或者,若第二次数小于第一预置次数,则第二确定模块702确定视频帧率的变化值为预设值。
在本发明实施例中,第一次数和第二次数由两个线程独立处理,第一线程在确定第一次数小于第一预置次数时,第二确定模块702将对第一时间段内负值递减的数据进行处理,确定视频帧率的减少值。
其中,可以按照如下方式确定第一时间段内负值递减的数据:确定获取到的数据在第一时间段内所有的波谷值,并计算该所有的波谷值的平均值,将0至该平均值确定为第一时间段内负值递减的数据。例如,若获取到的数据在第一时间段内的波谷值分别为-12,-9,-8,-11,则确定该平均值为-10,说明负值递减的数据的范围是从0至-10。或者,还可以按照如下方式确定第一时间段内负值递减的数据:确定获取到的数据在第一时间段内所有的波谷值,将0至该所有的波谷值中的最大值作为该第一时间段内负值递减的数据,或者,将0至该所有的波谷值中的最小值作为该第一时间段内负值递减的数据。例如:若获取到的数据在第一时间段内的波谷值分别为-12,-9,-8,-11,则确定负值递减的范围为0至-12,或者0至-8。在实际应用中,可以根据具体的需要设置第一时间段内负值递减的数据的确定方式,此次不做限定。
其中,基于第一时间段内负值递减的数据确定视频帧率的减少值具体包括:将负值递减的数据中最大值与最小值的差值除以一个预置数值,计算的结果即为视频帧率的减少值。例如,负值递减的数据为0至-15,负值递减的数据中最小值与最大值的差值为15,将15除以一个预置数值5,计算的结果为3,即为视频帧率的减少值。且若计算的结果不为整数,则根据计算的结果确定小于该计算结果的最大整数或者大于该计算结果的最小整数或者按照四舍五入的方式确定的整数作为视频帧率的减少值。例如,若得到的计算结果为3.4,则可确定视频帧率的减少值为3或4。
在本发明实施例中,在第二次数大于或者等于第一预置次数时,则第二确定模块702根据获取到的数据中第二时间段内的正值递增的数据进行处理,确定视频帧率的增加值。
其中,可以按照如下方式确定第二时间内正值递增的数据:确定获取到的数据在第二时间段内所有的波峰值,并计算该所有的波峰值的平均值,将该平均值至0确定为第二时间段内正值递增的数据,例如,若获取到的数据在第二时间段内的波峰值分别为15、14、13、14、14,则确定波峰的平均值为14,则确定正值递增的数据为0至14。或者,还可以按照如下方式确定第二时间段内正值递增的数据:确定获取到的数据在第二时间段内的所有波峰值,将0至该所有的波峰值中的最大值作为该第二时间段内正值递增的数据,或者将0至该所有波峰值中的最小值作为该第二时间段内正值递增的数据。例如,若获取到的数据在第二时间段内的波峰值分别为15、14、13、14、14,则确定第二时间段内的正值递增的数据为0至13,或者0至15。
其中,基于第二时间段内正值递增的数据确定视频帧率的增加值具体包括:将正值递增的数据中最大值与最小值的差值除以一个预置数值,计算的结果即为视频帧率的增加值。例如,正值递增的第二数据为0至15,正值递增的数据中最大值与最小值的差值为15,将15除以一个预置数值5,计算的结果即为视频帧率的增加值。且若计算的结果不为整数,则根据计算的结果确定小于该计算结果的最大整数或者大于该计算结果的最小整数或者按照四舍五入的方式确定的整数作为视频帧率的减少值,例如,若计算的结果为4.5,则确定视频帧率的增加值为4或5。
在本发明实施例中,在第一次数大于或者等于第一预置次数,或者,若第二次数小于第一预置次数,则确定用户的操作为无效操作,第二确定模块702确定视频帧率的变化值为预设值,该预设值优选为0。
或者,在本发明实施例中,第二确定模块702根据满足预置条件的数据、第一次数及第二次数确定视频帧率的变化值具体可以是:判断所述第一次数是否大于或等于第三预置次数,若该第一次数大于或等于第三预置次数,则根据所述第二次数确定视频帧率的减少值,若该第一次数小于所述第三预置次数,则根据所述第二次数确定视频帧率的增加值。
例如,在该第一次数为6,第二次数为8时,若第三预置次数为9,则可确定第一次数6小于第三预置次数9,根据第二次数确定视频帧率的增加值,具体可将第二次数8与预先设置的系数相乘得到视频帧率的增加值,若该预先设置的系数为0.5,则该视频帧率的增加值为4。或者,若第三预置次数为5,则可确定第一次数6大于该第三预置次数5,根据第二次数确定视频帧率的减少值,具体可以将第二次数8与预先设置的系数相乘得到视频帧率的增加值,若该预先设置的系数为1,则该视频帧率的减少值为8。
在本发明实施例中,用户对快播放的需求大于对慢播放的需求,通过第一时间段的波峰波谷出现的第一次数能够在较短的时间内确定是否需要快播放,以便快速满足用户的需求。
在本发明实施例中,通过根据数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,且利用该数据、第一次数及第二次数确定视频帧率的变化值,使得能基于该视频帧率的变化值实现对智能电视的当前播放视频的视频帧率的调整。
本发明第三实施例中第一确定模块602,包括第二统计模块801、第二获取模块802及第三确定模块803。
其中第二统计模块801,用于根据数据统计波峰波谷成对出现的第三次数;
第二获取模块802,用于若第三次数大于或者等于第二预置次数,则获取所述运动传感器在所述第三时间段的结束时间点感应到的结束值;
在本发明实施例中,从设备在获取到满足预置条件的数据后,第二统计模块801根据该数据统计波峰波谷成对出现的第三次数。
其中,若波峰波谷成对出现的第三次数大于或者等于第二预置次数,则用户的操作有效,第二获取模块802获取运动传感器在第三时间段的结束时间点感应到的结束值,例如,若该第三时间段的长度为30ms,则该第三时间段的结束时间点为第30ms。若波峰波谷成对出现的次数小于第二预置次数,则用户的操作无效。
其中,优选的,该第三时间段可以是该连续的且满足预设条件的数据在时间上构成的时间段。
第三确定模块803,用于若结束值大于预置数值,对结束值进行处理,确定视频帧率的减少值,若结束值小于预置数值,对结束值进行处理,确定视频帧率的增加值。
在本发明实施例中,在获取运动传感器在第三时间段的结束时间点感应到的结束值后,若结束值大于预置数值,则第三确定模块803根据该结束值确定视频帧率的减少值,具体可以是:将该结束值除以预设常数,将得到的商值作为视频帧率的减少值。若结束值小于预置数值,则第三确定模块803根据该结束值确定视频帧率的增加值,具体可以是:将该结束值的绝对值除以预设常数,将得到的商值作为视频帧率的增加值。例如,获取运动传感器在第三时间段的结束时间点感应到的结束值为12,该结束值大于预设数值8,将该结束值除以预置常数4,计算得到3,即视频帧率的减少值为3。
在本发明实施例中,若第三次数大于或者等于第二预置次数,获取运动传感器在第三时间段的结束时间点感应到的结束值,根据结束值确定视频帧率的变化值,使得能够利用该视频帧率的变化值实现对智能电视当前播放视频的视频帧率的调整,且不需要用户对智能电视进行操作从而影响用户的观看体验,增加了趣味性,增强用户体验。
本发明第三实施例中第一确定模块602,包括:
第三统计模块901,用于根据所述数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度;
第四确定模块902,用于根据所述第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,根据所述每一对波峰波谷的幅度的平均值确定所述视频帧率的变化值。
在本发明实施例中,在获取数据之后,第三统计模块901根据该数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度,且第四确定模块902根据该第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,该变化模式可以是增加,也可以是减少,且根据每一对播放波谷的幅度的平均值确定在上述变化模式下视频帧率的变化值。
其中,第四确定模块902具体可以用于:若该第四次数大于或等于第四预置次数,则确定视频帧率的变化模式是增加视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的增加值。若该第四次数小于第四预置次数,则确定视频帧率的变化模式是减少视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的减少值。
或者,第四确定模块902具体可以用于:若该第四次数大于或等于第四预置次数,则确定视频帧率的变化模式是减少视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的减少值,若该第四次数小于第四预置次数,则确定视频帧率的变化模式是增加视频帧率,且根据每一对波峰波谷的幅度的平均值确定视频帧率的增加值。
在本发明实施例中,在得到第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度之后,根据该第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,且根据该每一对波峰波谷的幅度的平均值确定该视频帧率的变化值,使得能够利用该视频帧率的变化值实现对智能电视的视频的调整,增强用户体验。
需要说明的是,本发明第三实施例中第一确定模块602可以同时包括前述中的全部细化功能模块。
本发明第四实施例中智能电视视频帧率的控制装置,包括前述的第一获取模块601、第一确定模块602及发送模块603,且第三实施例中描述的内容相似,此处不再赘述。
在本发明实施例中,智能电视视频帧率的控制装置还包括:
恢复控制模块1001,用于若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
在本发明实施例中,在将视频帧率的变化值发送给智能电视之后,若检测到预置的第四时间段内运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则恢复控制模块801向智能电视发送恢复视频帧率的指令,以使得智能电视按照原始的视频进行播放,使得用户在执行操作时即可调整智能电视的视频帧率,且在用户停止操作时恢复初始的帧率,互动性及趣味性强,改善用户体验。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (18)
- 一种智能电视视频帧率的控制方法,其特征在于,所述方法包括:获取从设备中运动传感器感应到的满足预置条件的数据;根据所述数据确定视频帧率的变化值;将所述视频帧率的变化值发送至所述智能电视,使得所述智能电视根据所述视频帧率的变化值调整视频,并利用调整后的视频进行播放。
- 根据权利要求1所述的方法,其特征在于,所述根据所述数据确定视频帧率的变化值的步骤包括:根据所述数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,所述第一时间段的时长小于所述第二时间段的时长;根据所述数据、所述第一次数及所述第二次数确定所述视频帧率的变化值。
- 根据权利要求1所述的方法,其特征在于,所述根据所述数据确定视频帧率的变化值的步骤包括:根据所述数据统计在预置的第三时间段内波峰波谷成对出现的第三次数;若所述第三次数大于或者等于第二预置次数,则获取所述运动传感器在所述第三时间段的结束时间点感应到的结束值;若所述结束值大于预置数值,则根据所述结束值确定所述视频帧率的减少值;若所述结束值小于预置数值,则根据所述结束值确定所述视频帧率的增加值。
- 根据权利要求1所述的方法,其特征在于,所述根据所述数据确定视频帧率的变化值的步骤包括:根据所述数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度;根据所述第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,根据所述每一对波峰波谷的幅度的平均值确定所述视频帧率的变化值。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 根据权利要求3所述的方法,其特征在于,所述方法还包括:若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 根据权利要求1所述的方法,其特征在于,所述获取从设备中运动传感器感应到的满足预置条件的数据的步骤包括:从运动传感器中获取感应到的感应数据,并得到该感应数据构成的曲线,选取曲线幅度或者频率大于预设的幅度或频率的曲线段内的数据作为满足预置条件的数据。
- 一种智能电视视频帧率的控制装置,其特征在于,所述装置包括:第一获取模块,用于获取从设备中运动传感器感应到的满足预置条件的数据;第一确定模块,用于根据所述数据确定视频帧率的变化值;发送模块,用于将所述视频帧率的变化值发送至所述智能电视,使得所述智能电视根据所述视频帧率的变化值调整视频,并利用调整后的视频进行播放。
- 根据权利要求10所述的装置,其特征在于,所述第一确定模块包括:第一统计模块,根据所述数据统计在预置的第一时间段内波峰波谷成对出现的第一次数及在预置的第二时间段内波峰波谷成对出现的第二次数,所述第一时间段的时长小于所述第二时间段的时长;第二确定模块,用于根据所述数据、所述第一次数及所述第二次数确定所述视频帧率的变化值。
- 根据权利要求10所述的装置,其特征在于,所述第一确定模块包括:第二统计模块,用于根据所述数据统计在预置的第三时间段内波峰波谷成对出现的第三次数;第二获取模块,用于若所述第三次数大于或者等于第二预置次数,则获取所述运动传感器在所述第三时间段的结束时间点感应到的结束值;第三确定模块,用于若所述结束值大于预置数值,则根据所述结束值确定所述视频帧率的减少值,若所述结束值小于预置数值,则根据所述结束值确定所述视频帧率的增加值。
- 根据权利要求10所述的装置,其特征在于,所述第一确定模块包括:第三统计模块,用于根据所述数据统计在预置的第五时间段内波峰波谷成对出现的第四次数,及每一对波峰波谷的幅度;第四确定模块,用于根据所述第四次数及第四预置次数之间的大小关系确定视频帧率的变化模式,根据所述每一对波峰波谷的幅度的平均值确定所述视频帧率的变化值。
- 权利要求10所述的装置,其特征在于,所述装置还包括:恢复控制模块,用于若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 权利要求11所述的装置,其特征在于,所述装置还包括:恢复控制模块,用于若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 权利要求12所述的装置,其特征在于,所述装置还包括:恢复控制模块,用于若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 权利要求13所述的装置,其特征在于,所述装置还包括:恢复控制模块,用于若检测到预置的第四时间段内所述运动传感器感应到的数据中任意一对波峰波谷的幅度小于预设幅度,则向所述智能电视发送恢复视频帧率的指令,使得所述智能电视按照初始的视频进行播放。
- 权利要求10所述的装置,其特征在于,所述第一获取模块,还用于从运动传感器中获取感应到的感应数据,并得到该感应数据构成的曲线,选取曲线幅度或者频率大于预设的幅度或频率的曲线段内的数据作为满足预置条件的数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610349987.7 | 2016-05-24 | ||
| CN201610349987.7A CN106028059B (zh) | 2016-05-24 | 2016-05-24 | 智能电视视频帧率的控制方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017201894A1 true WO2017201894A1 (zh) | 2017-11-30 |
Family
ID=57094818
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/095988 Ceased WO2017201894A1 (zh) | 2016-05-24 | 2016-08-19 | 智能电视视频帧率的控制方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106028059B (zh) |
| WO (1) | WO2017201894A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024050804A1 (en) * | 2022-09-09 | 2024-03-14 | Qualcomm Incorporated | Dynamically varying time slice periods in a computer processor unit |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107800989B (zh) * | 2017-10-16 | 2021-01-05 | 深圳市天视通电子科技有限公司 | 基于动态帧率检测的视频显示方法、系统及网络录像机 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102377730A (zh) * | 2010-08-11 | 2012-03-14 | 中国电信股份有限公司 | 音视频信号的处理方法及移动终端 |
| US20140307166A1 (en) * | 2006-08-31 | 2014-10-16 | Ati Technologies Ulc | Dynamic frame rate adjustment |
| CN104580969A (zh) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | 录像帧率调整方法和装置 |
| CN105117191A (zh) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种移动终端的显示控制方法及装置 |
| CN105141943A (zh) * | 2015-09-08 | 2015-12-09 | 深圳Tcl数字技术有限公司 | 视频帧率的调节方法及装置 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102854976B (zh) * | 2011-06-30 | 2015-10-14 | 鸿富锦精密工业(深圳)有限公司 | 手持装置及其控制多媒体终端的方法 |
| CN103605532A (zh) * | 2013-10-30 | 2014-02-26 | 小米科技有限责任公司 | 程序操控方法、装置和系统 |
| CN103686322A (zh) * | 2013-12-11 | 2014-03-26 | 深圳市同洲电子股份有限公司 | 一种照明方法、移动终端及数字电视终端 |
-
2016
- 2016-05-24 CN CN201610349987.7A patent/CN106028059B/zh active Active
- 2016-08-19 WO PCT/CN2016/095988 patent/WO2017201894A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140307166A1 (en) * | 2006-08-31 | 2014-10-16 | Ati Technologies Ulc | Dynamic frame rate adjustment |
| CN102377730A (zh) * | 2010-08-11 | 2012-03-14 | 中国电信股份有限公司 | 音视频信号的处理方法及移动终端 |
| CN104580969A (zh) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | 录像帧率调整方法和装置 |
| CN105117191A (zh) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | 一种移动终端的显示控制方法及装置 |
| CN105141943A (zh) * | 2015-09-08 | 2015-12-09 | 深圳Tcl数字技术有限公司 | 视频帧率的调节方法及装置 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024050804A1 (en) * | 2022-09-09 | 2024-03-14 | Qualcomm Incorporated | Dynamically varying time slice periods in a computer processor unit |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106028059A (zh) | 2016-10-12 |
| CN106028059B (zh) | 2020-01-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017088427A1 (zh) | 音频输出控制方法及装置 | |
| WO2018166224A1 (zh) | 全景视频的目标追踪显示方法、装置及存储介质 | |
| WO2017107378A1 (zh) | 基于hls流媒体的视频数据加速下载方法及装置 | |
| WO2017045435A1 (zh) | 控制电视播放方法和装置 | |
| WO2017121066A1 (zh) | 应用程序显示方法和系统 | |
| WO2013097487A1 (zh) | 简易空中鼠标的实现方法、视频终端及系统 | |
| WO2019051905A1 (zh) | 空调器控制方法、空调器及计算机可读存储介质 | |
| WO2016165556A1 (zh) | 一种视频流的数据处理方法、装置和系统 | |
| WO2017113614A1 (zh) | 视频播放过程中插播广告的方法及装置 | |
| WO2018036057A1 (zh) | 软件后台自适应升级方法及装置 | |
| WO2018018681A1 (zh) | 视频节目预览方法及装置 | |
| WO2014187158A1 (zh) | 终端数据云分享的控制方法、服务器及终端 | |
| WO2018113187A1 (zh) | 一种显示控制方法及显示装置 | |
| WO2019051909A1 (zh) | 空调器运行参数调整方法、空调器及计算机可读存储介质 | |
| WO2019051903A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
| WO2014048231A1 (zh) | 触摸屏智能设备文字处理方法和装置 | |
| WO2017045441A1 (zh) | 基于智能电视的音频播放方法及装置 | |
| WO2017020649A1 (zh) | 音视频播放控制方法及装置 | |
| WO2017041537A1 (zh) | 视频帧率的调节方法及装置 | |
| WO2018223602A1 (zh) | 显示终端、画面对比度提高方法及计算机可读存储介质 | |
| WO2017190452A1 (zh) | 背光自适应调节方法及装置 | |
| WO2017024871A1 (zh) | 应用显示的方法及电视机 | |
| WO2018032679A1 (zh) | 电视定时开关机的设置方法和装置 | |
| WO2018006581A1 (zh) | 智能电视的播放方法及装置 | |
| WO2016101252A1 (zh) | 智能电视的频道信息显示方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16902880 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.04.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16902880 Country of ref document: EP Kind code of ref document: A1 |