CN105739936B - A kind of user terminal control method and user terminal - Google Patents

A kind of user terminal control method and user terminal Download PDF

Info

Publication number
CN105739936B
CN105739936B CN201610053654.XA CN201610053654A CN105739936B CN 105739936 B CN105739936 B CN 105739936B CN 201610053654 A CN201610053654 A CN 201610053654A CN 105739936 B CN105739936 B CN 105739936B
Authority
CN
China
Prior art keywords
user terminal
picture
frame rate
light intensity
frame data
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
CN201610053654.XA
Other languages
Chinese (zh)
Other versions
CN105739936A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610053654.XA priority Critical patent/CN105739936B/en
Publication of CN105739936A publication Critical patent/CN105739936A/en
Application granted granted Critical
Publication of CN105739936B publication Critical patent/CN105739936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention discloses a kind of user terminal control method and user terminals, comprising: after detecting for the switching command of the picture to be shown in preset time period;The light intensity value of the available current environment of user terminal;And whether the light intensity value for detecting current environment is greater than default intensity threshold;If the light intensity value of current environment is greater than default intensity threshold, the display screen that user terminal is controlled in the case of the current frame rate of user terminal remains unchanged shows picture to be shown.In embodiments of the present invention, user terminal is when the light intensity value for detecting current environment is greater than default intensity threshold, the display screen that user terminal can be controlled in the case of the current frame rate of user terminal remains unchanged shows picture to be shown, occurs the probability of screen flicker in the process so as to reduce, since spectrum change is obvious, to cause to browse webpage using mobile phone terminal or play video under strong light.

Description

A kind of user terminal control method and user terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of user terminal control method and user terminals.
Background technique
With the fast development of electronic technology and the rapid proliferation of user terminal, the function of user terminal is improved day by day, By taking mobile phone terminal as an example, user can use mobile phone terminal browsing webpage, play video etc..In practical applications, when utilize hand The problem of machine terminal browses webpage or plays video, can usually be related to frame per second adjustment, that is, being browsed using mobile phone terminal Webpage or play video during, frame per second is not a fixed value, but one with display content switching and The value of variation.However, when under strong light, if frame per second is adjusted so as to smaller, in the terminal unit time handled picture just compared with It is few, and this Light intensity is larger, then it can be obvious because of spectrum change, cause using mobile phone terminal browsing webpage or plays view During frequency, there is the case where screen flicker.
Summary of the invention
The embodiment of the invention provides a kind of user terminal control method and user terminals, can reduce user terminal appearance The probability of screen flicker.
In a first aspect, the embodiment of the invention discloses a kind of user terminal control methods, comprising:
Switching command of the detection for the picture to be shown in preset time period;
The light intensity value of current environment is obtained to respond the switching command;
Whether the light intensity value for detecting the current environment is greater than default intensity threshold;
If the light intensity value for detecting the current environment is greater than the default intensity threshold, in the current of user terminal Frame per second controls user terminal display screen in the case of remaining unchanged shows the picture to be shown, the user terminal Frame per second is used for the picture number for describing to handle in the unit time.
Implementation with reference to first aspect can also include in the first possible implementation of the first aspect Following steps:
If the light intensity value for detecting the current environment is less than the default intensity threshold, according to the picture to be shown Determine the target frame rate of the user terminal;
Set the target frame rate to the current frame rate of the user terminal;
The display screen for controlling the user terminal shows the picture to be shown under frame per second situation adjusted.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the target frame rate that the user terminal is determined according to the picture to be shown, comprising:
Obtain the frame data of the picture to be shown;
The target of the user terminal is determined according to the variation tendency between the different corresponding frame data of picture to be shown Frame per second.
The possible implementation of second with reference to first aspect, in the third possible implementation of first aspect In, the frame data for obtaining the picture to be shown, comprising:
Obtain the corresponding frame data of picture to be shown of the default serial number in the preset time period;
The variation tendency according between the different corresponding frame data of picture to be shown determines the user terminal Target frame rate, comprising:
Calculate every two closest to serial number the corresponding frame data of picture to be shown diversity factor;
Target frame rate is determined according to the diversity factor.
Implementation with reference to first aspect, it is in a fourth possible implementation of the first aspect, described described It is described to be shown that the current frame rate of user terminal controls user terminal display screen in the case of remaining unchanged refreshes display Picture, comprising:
Obtain the frame data of the picture to be shown;
Whether matched according to the current frame rate that the frame data of the picture to be shown detect the user terminal;
If being matched according to the current frame rate that the frame data of the picture to be shown detect the user terminal, in the use The current frame rate of family terminal controls user terminal display screen in the case of remaining unchanged, which refreshes, shows the figure to be shown Piece.
Second aspect, the embodiment of the invention also discloses a kind of user terminals, comprising:
Detection module, for detecting the switching command for the picture to be shown being directed in preset time period;
Module is obtained, for obtaining the light intensity value of current environment to respond the switching command;
Whether the detection module, the light intensity value for being also used to detect the current environment are greater than default intensity threshold;
Control module, if the light intensity value for the detection module to detect the current environment is greater than the default light intensity Spend threshold value, then controlled in the case of the current frame rate of user terminal remains unchanged the user terminal display screen show described in Picture to be shown, the picture number that the frame per second of the user terminal is used to describe to handle in the unit time.
In conjunction with the user terminal of second aspect, in the first possible user terminal of second aspect, the user is whole End further include:
Determining module, if the light intensity value for the detection module to detect the current environment is less than the default light intensity Threshold value is spent, the target frame rate of the user terminal is determined according to the picture to be shown;
Setup module, for setting the target frame rate to the current frame rate of the user terminal;
The control module, the display screen for being also used to control the user terminal show institute under frame per second situation adjusted State picture to be shown.
In conjunction with the first possible user terminal of second aspect, in second of possible user terminal of second aspect In, the determining module includes:
First acquisition unit, for obtaining the frame data of the picture to be shown;
Determination unit, for determining the use according to the variation tendency between the different corresponding frame data of picture to be shown The target frame rate of family terminal.
In conjunction with second of possible user terminal of second aspect, in the third possible user terminal of second aspect In, the first acquisition unit obtains the specific embodiment of the frame data of the picture to be shown to obtain when described default Between default serial number in section the corresponding frame data of picture to be shown;
Wherein, the determination unit determines institute according to the variation tendency between the different corresponding frame data of picture to be shown The specific embodiment for stating the target frame rate of user terminal is the corresponding frame of picture to be shown for calculating every two closest to serial number The diversity factor of data;Target frame rate is determined according to the diversity factor.
In conjunction with the user terminal of second aspect, in the 4th kind of possible user terminal of second aspect, the control mould Block includes:
Second acquisition unit, for obtaining the frame data of the picture to be shown;
Detection unit, for detected according to the frame data of the picture to be shown the user terminal current frame rate whether Matching;
Control unit, if detecting the user terminal according to the frame data of the picture to be shown for the detection unit Current frame rate matching, then the aobvious of the user terminal is controlled in the case of the current frame rate of the user terminal remains unchanged Display screen, which refreshes, shows the picture to be shown.
In the embodiment of the present invention, after detecting for the switching command of the picture to be shown in preset time period;User The light intensity value of the available current environment of terminal is to respond switching command;And whether the light intensity value for detecting current environment is greater than Default intensity threshold;If the light intensity value for detecting current environment is greater than default intensity threshold, in the current of user terminal Frame per second controls user terminal display screen in the case of remaining unchanged shows picture to be shown, and the frame per second of user terminal is for describing The picture number handled in unit time.In embodiments of the present invention, user terminal is big in the light intensity value of detection current environment When default intensity threshold, the display of user terminal can be controlled in the case of the current frame rate of user terminal remains unchanged Screen shows picture to be shown, so as to reduce under strong light since spectrum change is obvious, causes to browse net using mobile phone terminal There is the probability of screen flicker during page or broadcasting video.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of user terminal control method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another user terminal control method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of user terminal control method and user terminals, in embodiments of the present invention, use Family terminal can be protected when the light intensity value for detecting current environment is greater than default intensity threshold in the current frame rate of user terminal Hold it is constant in the case of control user terminal display screen show picture to be shown, so as to reduce under strong light due to spectrum Variation is obvious, causes to browse webpage using mobile phone terminal or the probability of screen flicker occurs during playing video.Divide below It is not described in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of user terminal control method disclosed by the embodiments of the present invention, In, method shown in FIG. 1 can be adapted for smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC And mobile internet device (Mobile Internet Devices, MID), PAD etc. are configured with the user terminal of display screen In.As shown in Figure 1, the user terminal control method may comprise steps of:
101, switching command of the detection for the picture to be shown in preset time period.
In the embodiment of the present invention, user terminal is exactly by the picture comprising data information when showing data information in fact It is shown in the display screen of user terminal, that is, user terminal will include that the picture of data information is shown in the aobvious of user terminal When display screen, the picture to be shown in preset time period can be obtained in advance, and (such as to be shown according to the identification information of picture to be shown The serial number etc. of picture) picture to be shown is sequentially displayed on the display screen of user terminal.
Wherein, above-mentioned preset time period can be user and set as needed;Be also possible to user terminal according to The history setting record at family is set;It can also be user terminal according to the hardware information of user terminal (such as user terminal The information such as the speed of service of central processing unit) it is set;Can also be user terminal according to the type of current display picture come Setting;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, user terminal meeting real-time detection refers to for the switching of the picture to be shown in preset time period It enables, wherein the corresponding operation of the switching command can be the picture that will currently show and switch to another picture, be also possible to brush The picture newly currently shown.
102, the light intensity value of current environment is obtained to respond switching command.
In the embodiment of the present invention, user terminal detection for the picture to be shown in preset time period switching command it Afterwards, then the light intensity value of the available current environment of user terminal to respond switching command.
103, whether the light intensity value for detecting current environment is greater than default intensity threshold, if the light intensity of detection current environment Angle value is greater than default intensity threshold, thens follow the steps 104, if the light intensity value of detection current environment is less than default luminous intensity threshold Value, then terminate this operation.
In the embodiment of the present invention, a default intensity threshold can be preset in the user terminal, wherein the default light intensity Degree threshold value can be user and set as needed, is also possible to user terminal and is set according to the history of user setting record It is fixed, it can also be user terminal according to the average value of the luminous intensity got within a preset period of time to set;The present invention is implemented Example is not construed as limiting.
Specifically, user terminal sets above-mentioned default according to the average value of the luminous intensity got within a preset period of time When intensity threshold, it may comprise steps of:
11) pre-stored light intensity value is obtained, above-mentioned light intensity value is that user terminal is got within a preset period of time Luminous intensity;
12) average value of the light intensity value got in above-mentioned preset time period is calculated;
13) above-mentioned default intensity threshold is set to the average value with above-mentioned light intensity value according to preset rules Matched value.
Wherein, above-mentioned default intensity threshold is being set to flat with above-mentioned light intensity value according to preset rules When the value of mean match, it can be and add or subtract a range value on the basis of average value of light intensity value, wherein should Range value, which can according to need, to be set.
Specifically, after the light intensity value for obtaining current environment is to respond switching command, then user terminal can continue Whether the light intensity value of detection current environment is greater than default intensity threshold.
If the light intensity value for 104, detecting current environment is greater than default intensity threshold, in the current frame rate of user terminal The display screen that user terminal is controlled in the case of remaining unchanged shows picture to be shown.
In the embodiment of the present invention, the frame per second of user terminal is used to describe the picture number of processing in the unit time.
In the embodiment of the present invention, if the light intensity value of detection current environment is greater than default intensity threshold, illustrate current The light intensity value of environment is larger, if if continue at this time adjust user terminal frame per second when, can cause adjustment frame per second with Current light intensity angle value mismatches, and the phenomenon that splashette occurs, and therefore, user terminal can be kept in the current frame rate of user terminal The display screen that user terminal is controlled in the case of constant shows picture to be shown.For example, it if current frame rate is 60HZ, controls User terminal processed shows picture to be shown according to 60HZ, i.e., refreshes 60 times in 1 second.
In Fig. 1, it is described in detail after detecting for the switching command of the picture to be shown in preset time period;With The light intensity value of the available current environment of family terminal is to respond switching command;And whether the light intensity value for detecting current environment is big In default intensity threshold;If the light intensity value for detecting current environment is greater than default intensity threshold, in working as user terminal Preceding frame per second controls user terminal display screen in the case of remaining unchanged shows picture to be shown, and the frame per second of user terminal is for retouching State the picture number handled in the unit time.In embodiments of the present invention, light intensity value of the user terminal in detection current environment When greater than default intensity threshold, the aobvious of user terminal can be controlled in the case of the current frame rate of user terminal remains unchanged Display screen shows picture to be shown, so as to reduce under strong light since spectrum change is obvious, causes to browse using mobile phone terminal There is the probability of screen flicker during webpage or broadcasting video.
Referring to Fig. 2, Fig. 2 is the flow diagram of another user terminal control method disclosed by the embodiments of the present invention. As shown in Fig. 2, the user terminal control method may comprise steps of:
201, switching command of the detection for the picture to be shown in preset time period.
202, the light intensity value of current environment is obtained to respond switching command.
203, whether the light intensity value for detecting current environment is greater than default intensity threshold.
If the light intensity value for 204, detecting current environment is greater than default intensity threshold, in the current frame rate of user terminal The display screen that user terminal is controlled in the case of remaining unchanged shows picture to be shown, if the light intensity value of detection current environment is small In default intensity threshold, 205 are thened follow the steps.
In the embodiment of the present invention, the frame per second of user terminal is used to describe the picture number of processing in the unit time.
In the embodiment of the present invention, if the light intensity value of detection current environment is greater than default intensity threshold, illustrate current The light intensity value of environment is larger, if if continue at this time adjust user terminal frame per second when, can cause adjustment frame per second with Current light intensity angle value mismatches, and the phenomenon that splashette occurs, and therefore, user terminal can be kept in the current frame rate of user terminal The display screen that user terminal is controlled in the case of constant shows picture to be shown.
Specifically, the display screen that user terminal is controlled in the case of the current frame rate of user terminal remains unchanged, which refreshes, to be shown Show that picture to be shown can specifically include: obtaining the frame data of picture to be shown;It is detected and is used according to the frame data of picture to be shown Whether the current frame rate of family terminal matches;If being matched according to the current frame rate that the frame data of picture to be shown detect user terminal, The display screen that user terminal is then controlled in the case of the current frame rate of user terminal remains unchanged, which refreshes, shows picture to be shown.
205, the target frame rate of user terminal is determined according to picture to be shown.
In the embodiment of the present invention, if the light intensity value of detection current environment is less than default intensity threshold, illustrate current Even if the frame per second of user terminal is the value of a variation, then will not occur because spectrum change is obvious, and causes user terminal The phenomenon that splashette.But more continuous, smooth in order to the picture for enabling user terminal to show, then user terminal can also close The frame per second of the adjustment user terminal of reason.
Specifically, if the light intensity value of detection current environment is less than default intensity threshold, user terminal can basis Picture to be shown determines the target frame rate of user terminal.
As an alternative embodiment, step 205 determines that the target frame rate of user terminal can according to picture to be shown With specifically includes the following steps:
21) frame data of picture to be shown are obtained;
22) target frame of user terminal is determined according to the variation tendency between the different corresponding frame data of picture to be shown Rate.
In the embodiment of the present invention, frame data specifically can a complete frame show the corresponding data content of picture.It is shown in 1 second Display screen needs to show that multiframe shows picture, and multiframe shows that the corresponding frame number of picture is frame per second.For example, frame per second is 60HZ, it is equivalent to 1 60 frame pictures are shown in second, i.e., display screen refreshes 60 times in 1 second.When obtaining the frame data of picture to be shown, can obtain all The frame data of picture to be shown, can also fetching portion picture to be shown frame data.
In the embodiment of the present invention, multiple candidate frame per second can be preset, and establish different variation tendency and candidate frame it Between corresponding relationship, specifically can by system default be arranged or user be configured as needed.For example, preset candidate Frame per second is 40HZ and 120HZ, corresponding when the variation tendency between the different corresponding frame data of display picture is to change slower Candidate frame per second be 40HZ.For measuring the standard of variation tendency, those skilled in the art can set according to the actual situation, The embodiment of the present invention is not construed as limiting.
Further, the specific embodiment that step 21) obtains the frame data of picture to be shown predominantly obtains when default Between default serial number in section the corresponding frame data of picture to be shown.For example, if the duration of preset time period is arranged to 1 Second, current frame rate 60HZ then includes 60 frame pictures, the serial number being corresponding in turn to No. 1 to No. 60, it is assumed that opened from 0 second in 1 second Begin, 0 second to 1 second is first time period, and picture sequence numbers to be shown therein can successively be labeled as 1-1,1-2,1-3 ... 1-60;1 second It was second time period to 2 seconds, wherein picture sequence numbers to be shown can be followed successively by 2-1,2-2,2-3 ... 2-60;The sequence of subsequent time period Number can with and so on.
In embodiments of the present invention, the picture to be shown that user terminal obtains default serial number within a preset period of time corresponds to Frame data, wherein the quantity of picture to be shown can be adjusted according to actual conditions.Wherein, which can be Continuous serial number is also possible to the serial number at interval.For example, if the quantity of picture to be shown is 6, it is with first time period Example, then the serial number of picture to be shown can be 1-1,1-2,1-3,1-4,1-5 and 1-6, or 1-1,1-2,1-5,1- 7,1-8 and 1-10 can also be 1-1,1-2,1-3,1-58,1-59 and 1-60, can also be and be randomly provided 6.
Further, step 22) determines user according to the variation tendency between the different corresponding frame data of picture to be shown The target frame rate of terminal can with specifically includes the following steps:
31) calculate every two closest to serial number the corresponding frame data of picture to be shown diversity factor;
32) target frame rate is determined according to diversity factor.
In the embodiment of the present invention, to every two closest to the middle former frame in the corresponding frame data of picture to be shown of serial number Data and latter frame data are compared, and determine the variance data in preceding a burst of data according to comparison result, calculate former frame Proportion of the variance data in previous frame data in data, and the ratio is denoted as previous frame data and latter frame data Diversity factor.
For example, when the corresponding picture to be shown of the frame data got be it is continuous, such as 1-1,1-2,1-3,1-4, 1-5 and 1-6, then calculate separately 1-1,1-2,1-3, the difference of the frame data of the picture to be shown of 1-4,1-5 and 1-6 Degree.When the corresponding picture to be shown of the frame data got be it is discontinuous, such as 1-1,1-2,1-5,1-7,1-8 and 1-10, So calculate separately 1-1 and 1-2,1-2 and 1-5,1-5 and 1-7, the diversity factor of 1-7 and 1-8 and 1-8 and 1-10.Calculating 1- When the diversity factor of No. 1 frame data corresponding with No. 1-2 picture to be shown, the corresponding frame data of No. 1-1 picture to be shown are previous Frame data, the corresponding frame data of No. 1-2 picture to be shown are latter frame data, two groups of data are compared, previous frame data In with different data in latter frame data be denoted as the variance data in previous frame data, then calculate the variance data above-mentioned Ratio in previous frame data, and the ratio is denoted as to the diversity factor of previous frame data Yu latter frame data.
In the embodiment of the present invention, the size relation of above-mentioned diversity factor Yu default diversity factor threshold value is judged, and tie according to judgement The corresponding frame per second grade of fruit, current frame rate and candidate frame per second rank list determine target frame rate.For example, it can be preset Default candidate's frame per second rank list.For example, three grades, the corresponding time of the first estate can be arranged in candidate frame per second rank list Selecting frame per second is 30Hz;The corresponding candidate frame per second of second grade is 60Hz;The corresponding candidate frame per second of the tertiary gradient is 120Hz.Wherein, The numerical value of the corresponding candidate frame per second of number of degrees and each grade in candidate frame per second rank list can be adjusted according to the actual situation It is whole, it is not specifically limited herein.
206, target frame rate is set to the current frame rate of user terminal.
In the embodiment of the present invention, after user terminal determines the target frame rate of user terminal according to picture to be shown, then User terminal can set target frame rate to the current frame rate of user terminal.For example, if target frame rate is 60HZ, and work as Preceding frame per second is 40HZ, then can replace 40HZ with 60HZ.
207, the display screen for controlling user terminal shows picture to be shown under frame per second situation adjusted.
In the embodiment of the present invention, after the current frame rate for setting target frame rate to user terminal, then user terminal control The display screen of user terminal processed shows picture to be shown under frame per second situation adjusted.For example, if target frame rate will be used After 60HZ replaces current frame rate 40HZ, then the display screen for controlling user terminal shows picture to be shown when frame per second is 60HZ.
In Fig. 2, it is described in detail when the light intensity value for detecting current environment is less than default intensity threshold, user is whole End can determine the target frame rate of user terminal according to picture to be shown;Set target frame rate to the present frame of user terminal Rate;The display screen for finally controlling user terminal shows picture to be shown under frame per second situation adjusted.By implementing the invention Embodiment can be shown on a display screen with the frame per second of flexibly adjustment user terminal display screen so as to improve user terminal The fluency of picture.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, for executing State user terminal control method.Wherein, user terminal shown in Fig. 3 can include but is not limited to smart phone (such as Android hand Machine, iOS mobile phone etc.), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), PAD etc. is configured with the user terminal of display screen.Wherein, as shown in figure 3, the user terminal may include: detection module 301, module 302 and control module 303 are obtained, wherein
Detection module 301, for detecting the switching command for the picture to be shown being directed in preset time period.
In the embodiment of the present invention, user terminal is exactly by the picture comprising data information when showing data information in fact It is shown in the display screen of user terminal, that is, user terminal will include that the picture of data information is shown in the aobvious of user terminal When display screen, can in advance obtain preset time period in all pictures to be shown, and according to the identification information of picture to be shown (such as to Show the serial number etc. of picture) picture to be shown is sequentially displayed on the display screen of user terminal.
Wherein, above-mentioned preset time period can be user and set as needed;Be also possible to user terminal according to The history setting record at family is set;It can also be user terminal according to the hardware information of user terminal (such as user terminal The information such as the speed of service of central processing unit) it is set;Can also be user terminal according to the type of current display picture come Setting;The embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, detection module 301 can real-time detection cutting for the picture to be shown in preset time period Change instruction, wherein the corresponding operation of the switching command can be the picture that will currently show and switch to another picture, can also be with It is to refresh the picture currently shown.
Module 302 is obtained, for obtaining the light intensity value of current environment to respond switching command.
In the embodiment of the present invention, refer in the detection of detection module 301 for the switching of the picture to be shown in preset time period After order, then the light intensity value of the available current environment of module 302 is obtained to respond switching command.
Whether detection module 301, the light intensity value for being also used to detect current environment are greater than default intensity threshold.
In the embodiment of the present invention, a default intensity threshold can be preset in the user terminal, wherein the default light intensity Degree threshold value can be user and set as needed, is also possible to user terminal and is set according to the history of user setting record It is fixed, it can also be user terminal according to the average value of the luminous intensity got within a preset period of time to set;The present invention is implemented Example is not construed as limiting.
Specifically, user terminal sets above-mentioned default according to the average value of the luminous intensity got within a preset period of time When intensity threshold, it may comprise steps of:
11) pre-stored light intensity value is obtained, above-mentioned light intensity value is that user terminal is got within a preset period of time Luminous intensity;
12) average value of the light intensity value got in above-mentioned preset time period is calculated;
13) above-mentioned default intensity threshold is set to the average value with above-mentioned light intensity value according to preset rules Matched value.
Wherein, above-mentioned default intensity threshold is being set to flat with above-mentioned light intensity value according to preset rules When the value of mean match, it can be and add or subtract a range value on the basis of average value of light intensity value, wherein should Range value, which can according to need, to be set.
Specifically, after the light intensity value for obtaining the acquisition current environment of module 302 is to respond switching command, detection module Whether 301 light intensity values that can also continue to detection current environment are greater than default intensity threshold.
Control module 303, if being greater than default luminous intensity threshold for the light intensity value that detection module 301 detects current environment Value, the then display screen that user terminal is controlled in the case of the current frame rate of user terminal remains unchanged show picture to be shown, The frame per second of user terminal is used for the picture number for describing to handle in the unit time.
In the embodiment of the present invention, the frame per second of user terminal is used to describe the picture number of processing in the unit time.
In the embodiment of the present invention, if the light intensity value that detection module 301 detects current environment is greater than default intensity threshold, Then illustrate that the light intensity value of current environment is larger, if if can cause to adjust when continuing to adjust the frame per second of user terminal at this time Whole frame per second and current light intensity angle value mismatches, and the phenomenon that splashette occurs, and therefore, control module 303 can be in user terminal Current frame rate remain unchanged in the case of control user terminal display screen show picture to be shown.For example, if currently Frame per second is 60HZ, then controls user terminal and show picture to be shown according to 60HZ, i.e., refreshes 60 times in 1 second.
In Fig. 3, the switching in the detection of detection module 301 for the picture to be shown in preset time period is described in detail After instruction;The light intensity value of the available current environment of module 302 is obtained to respond switching command;Detection module 301 is simultaneously examined Whether the light intensity value for surveying current environment is greater than default intensity threshold;If the luminous intensity of the detection current environment of detection module 301 Value is greater than default intensity threshold, then control module 303 can be controlled in the case of the current frame rate of user terminal remains unchanged The display screen of user terminal processed shows picture to be shown, the picture number that the frame per second of user terminal is used to describe to handle in the unit time Amount.In embodiments of the present invention, user terminal is when the light intensity value for detecting current environment is greater than default intensity threshold, control The display screen that module 303 can control user terminal in the case of the current frame rate of user terminal remains unchanged shows to be shown Picture causes using mobile phone terminal browsing webpage so as to reduce under strong light since spectrum change is obvious or plays view Occurs the probability of screen flicker during frequency.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing Above-mentioned user terminal control method.Wherein, Fig. 4 is that further refinement obtains on the basis of Fig. 3, except including institute shown in Fig. 3 Have outside module, can also comprise determining that module 304 and setup module 305, wherein
Determining module 304, if being less than default luminous intensity threshold for the light intensity value that detection module 301 detects current environment Value, the target frame rate of user terminal is determined according to picture to be shown.
Setup module 305, for setting target frame rate to the current frame rate of user terminal.
Control module 303, be also used to control user terminal display screen shown under frame per second situation adjusted it is to be shown Picture.
Further, determining module 304 can be refined further including first acquisition unit 3040 and determination unit 3041, Wherein,
First acquisition unit 3040, for obtaining the frame data of picture to be shown.
Determination unit 3041 is used for being determined according to the variation tendency between the different corresponding frame data of picture to be shown The target frame rate of family terminal.
In the embodiment of the present invention, the specific embodiment that first acquisition unit 3040 obtains the frame data of picture to be shown is Obtain the corresponding frame data of picture to be shown of default serial number within a preset period of time;
It is used wherein it is determined that unit 3041 is determined according to the variation tendency between the different corresponding frame data of picture to be shown The specific embodiment of the target frame rate of family terminal is the corresponding frame data of picture to be shown for calculating every two closest to serial number Diversity factor;Target frame rate is determined according to diversity factor.
Further, control module 303 can further refine include: second acquisition unit 3030, detection unit 3031 with And control unit 3032, wherein
Second acquisition unit 3030, for obtaining the frame data of picture to be shown.
Detection unit 3031, for according to the frame data of picture to be shown detect user terminal current frame rate whether Match.
Control unit 3032, if detecting working as user terminal according to the frame data of picture to be shown for detection unit 3031 Preceding frame per second matching, the then display screen that user terminal is controlled in the case of the current frame rate of user terminal remains unchanged refresh display The picture to be shown.
By implementing embodiment shown in Fig. 4, the fluency that user terminal shows picture on a display screen can be improved.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing Above-mentioned user terminal control method.Wherein, as shown in figure 5, the user terminal 500 may include: at least one processor 501, At least one input unit 502, at least one output device 503, the equal components of memory 504.Wherein, these components pass through one Or multiple bus 505 is communicatively coupled.It will be understood by those skilled in the art that the structure of user terminal shown in Fig. 5 is simultaneously Do not constitute the restriction to the embodiment of the present invention, it is also possible to hub-and-spoke configuration either busbar network, can also include than More or fewer components are illustrated, certain components or different component layouts are perhaps combined.Wherein:
Processor 501 is the control centre of user terminal, utilizes each of various interfaces and the entire user terminal of connection A part by running or execute the program and/or module that are stored in memory 504, and calls and is stored in memory 504 Interior data, to execute the various functions and processing data of user terminal.Processor 501 can be by integrated circuit (Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection The encapsulation IC of identical function or different function and form.For example, processor 501 can only include central processing unit (Central Processing Unit, abbreviation CPU) is also possible to CPU, digital signal processor (digital signal Processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and various control chips Combination.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.
Input unit 502 may include the touch screen of standard, keyboard etc., also may include wireline interface, wireless interface etc..
Output device 503 may include display screen, loudspeaker etc., also may include wireline interface, wireless interface etc..
Memory 504 can be used for storing software program and module, processor 501, input unit 502 and output device 503 by calling the software program and module that are stored in memory 504, thereby executing the various function applications of user terminal And realize data processing.Memory 504 mainly includes program storage area and data storage area, wherein program storage area can be deposited Application program needed for storing up operating system, at least one function etc.;Data storage area, which can be stored, uses institute according to user terminal The data etc. of creation.In embodiments of the present invention, operating system can be android system, iOS system or Windows operation System etc..
Specifically, processor 501 calls the application program being stored in memory 504, for performing the following operations:
Switching command of the detection of processor 501 for the picture to be shown in preset time period;
Processor 501 obtains the light intensity value of current environment to respond switching command;
Whether the light intensity value that processor 501 detects current environment is greater than default intensity threshold;
If the light intensity value that processor 501 detects current environment is greater than default intensity threshold, in working as user terminal Preceding frame per second controls user terminal display screen in the case of remaining unchanged shows picture to be shown, and the frame per second of user terminal is for retouching State the picture number handled in the unit time.
In the present invention, processor 501 calls the application program being stored in memory 504, is also used to execute following operation:
If the light intensity value that processor 501 detects current environment is less than default intensity threshold, processor 501 is according to aobvious Diagram piece determines the target frame rate of user terminal;
Processor 501 sets target frame rate to the current frame rate of user terminal;
The display screen that processor 501 controls user terminal shows the picture to be shown under frame per second situation adjusted.
In the present invention, processor 501 calls the application program being stored in memory 504, executes step according to be shown Picture determines the target frame rate of user terminal, comprising:
Processor 501 obtains the frame data of picture to be shown;
Processor 501 determines user terminal according to the variation tendency between the different corresponding frame data of picture to be shown Target frame rate.
In the present invention, processor 501 calls the application program being stored in memory 504, and it is to be shown to execute step acquisition The frame data of picture, comprising:
Processor 501 obtains the corresponding frame data of picture to be shown of default serial number within a preset period of time;
Step processor 501 determines user's end according to the variation tendency between the different corresponding frame data of picture to be shown The target frame rate at end, comprising:
Processor 501 calculate every two closest to serial number the corresponding frame data of picture to be shown diversity factor;
Processor 501 determines target frame rate according to diversity factor.
In the present invention, processor 501 calls the application program being stored in memory 504, executes step in user terminal Current frame rate remain unchanged in the case of control the display screen of user terminal and refresh and show picture to be shown, comprising:
Processor 501 obtains the frame data of picture to be shown;
Whether processor 501 matches according to the current frame rate that the frame data of picture to be shown detect user terminal;
If processor 501 is matched according to the current frame rate that the frame data of picture to be shown detect user terminal, in user The current frame rate of terminal controls user terminal display screen in the case of remaining unchanged, which refreshes, shows picture to be shown.
Specifically, the use that the present invention combines Fig. 1, Fig. 2 introduction can be implemented in the user terminal introduced in the embodiment of the present invention Process some or all of in the terminal control method embodiment of family.
Module or submodule in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) it realizes.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of user terminal control method characterized by comprising
Switching command of the detection for the picture to be shown in preset time period;
The light intensity value of current environment is obtained to respond the switching command;
Whether the light intensity value for detecting the current environment is greater than default intensity threshold;
If the light intensity value for detecting the current environment is greater than the default intensity threshold, in the current frame rate of user terminal The display screen that the user terminal is controlled in the case of remaining unchanged shows the picture to be shown, to prevent from adjusting the frame per second Frame per second afterwards is mismatched with spectrum change in the current light intensity angle value and is flashed, wherein the frame per second of the user terminal For describing the picture number handled in the unit time.
2. the method according to claim 1, wherein the method also includes:
If the light intensity value for detecting the current environment is less than the default intensity threshold, determined according to the picture to be shown The target frame rate of the user terminal;
Set the target frame rate to the current frame rate of the user terminal;
The display screen for controlling the user terminal shows the picture to be shown under frame per second situation adjusted.
3. according to the method described in claim 2, it is characterized in that, described determine that the user is whole according to the picture to be shown The target frame rate at end, comprising:
Obtain the frame data of the picture to be shown;
The target frame rate of the user terminal is determined according to the variation tendency between the different corresponding frame data of picture to be shown.
4. according to the method described in claim 3, it is characterized in that, the frame data for obtaining the picture to be shown, comprising:
Obtain the corresponding frame data of picture to be shown of the default serial number in the preset time period;
The variation tendency according between the different corresponding frame data of picture to be shown determines the target of the user terminal Frame per second, comprising:
Calculate every two closest to serial number the corresponding frame data of picture to be shown diversity factor;
Target frame rate is determined according to the diversity factor.
5. the method according to claim 1, wherein the current frame rate in the user terminal remains unchanged In the case of control the display screen of the user terminal and refresh and show the picture to be shown, comprising:
Obtain the frame data of the picture to be shown;
Whether matched according to the current frame rate that the frame data of the picture to be shown detect the user terminal;
It is whole in the user if being matched according to the current frame rate that the frame data of the picture to be shown detect the user terminal The current frame rate at end controls user terminal display screen in the case of remaining unchanged, which refreshes, shows the picture to be shown.
6. a kind of user terminal characterized by comprising
Detection module, for detecting the switching command for the picture to be shown being directed in preset time period;
Module is obtained, for obtaining the light intensity value of current environment to respond the switching command;
Whether the detection module, the light intensity value for being also used to detect the current environment are greater than default intensity threshold;
Control module, if the light intensity value for the detection module to detect the current environment is greater than the default luminous intensity threshold Value, then controlled in the case of the current frame rate of user terminal remains unchanged the user terminal display screen show it is described wait show Diagram piece is mismatched with spectrum change in the current light intensity angle value and is dodged to prevent from adjusting the frame per second after the frame per second It is bright, wherein the frame per second of the user terminal is used for the picture number for describing to handle in the unit time.
7. user terminal according to claim 6, which is characterized in that the user terminal further include:
Determining module, if the light intensity value for the detection module to detect the current environment is less than the default luminous intensity threshold Value, the target frame rate of the user terminal is determined according to the picture to be shown;
Setup module, for setting the target frame rate to the current frame rate of the user terminal;
The control module, be also used to control the user terminal display screen shown under frame per second situation adjusted it is described to Show picture.
8. user terminal according to claim 7, which is characterized in that the determining module includes:
First acquisition unit, for obtaining the frame data of the picture to be shown;
Determination unit, for determining that the user is whole according to the variation tendency between the different corresponding frame data of picture to be shown The target frame rate at end.
9. user terminal according to claim 8, which is characterized in that the first acquisition unit obtains the figure to be shown The specific embodiment of the frame data of piece is that the picture to be shown of default serial number of the acquisition in the preset time period is corresponding Frame data;
Wherein, the determination unit determines the use according to the variation tendency between the different corresponding frame data of picture to be shown The specific embodiment of the target frame rate of family terminal is the corresponding frame data of picture to be shown for calculating every two closest to serial number Diversity factor;Target frame rate is determined according to the diversity factor.
10. user terminal according to claim 6, which is characterized in that the control module includes:
Second acquisition unit, for obtaining the frame data of the picture to be shown;
Detection unit, for detected according to the frame data of the picture to be shown the user terminal current frame rate whether Match;
Control unit, if detecting working as the user terminal according to the frame data of the picture to be shown for the detection unit Preceding frame per second matching, then control the display screen of the user terminal in the case of current frame rate of the user terminal remains unchanged Refresh and shows the picture to be shown.
CN201610053654.XA 2016-01-26 2016-01-26 A kind of user terminal control method and user terminal Active CN105739936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610053654.XA CN105739936B (en) 2016-01-26 2016-01-26 A kind of user terminal control method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610053654.XA CN105739936B (en) 2016-01-26 2016-01-26 A kind of user terminal control method and user terminal

Publications (2)

Publication Number Publication Date
CN105739936A CN105739936A (en) 2016-07-06
CN105739936B true CN105739936B (en) 2019-01-29

Family

ID=56246722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610053654.XA Active CN105739936B (en) 2016-01-26 2016-01-26 A kind of user terminal control method and user terminal

Country Status (1)

Country Link
CN (1) CN105739936B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919358B (en) * 2017-03-10 2021-03-09 Oppo广东移动通信有限公司 Display control method and device of mobile terminal and mobile terminal
WO2019041324A1 (en) * 2017-09-01 2019-03-07 深圳传音通讯有限公司 Shooting frame rate selection method for terminal, terminal, and computer readable storage medium
CN107864352A (en) * 2017-10-10 2018-03-30 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage medium for eliminating video frames cycle vibration
CN116723410B (en) * 2022-09-16 2024-03-22 荣耀终端有限公司 Method and device for adjusting frame interval

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202033A (en) * 2006-12-13 2008-06-18 辉达公司 System, method and computer program product for adjusting a refresh rate of a display
TW201216236A (en) * 2010-10-08 2012-04-16 Acer Inc 3D display and adjustment method for vertical refresh rate thereof
CN102790862A (en) * 2012-07-30 2012-11-21 成都西可科技有限公司 Method for dynamically improving effect of cell phone front camera
CN105117191A (en) * 2015-09-08 2015-12-02 广东欧珀移动通信有限公司 Method and apparatus for controlling display of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202033A (en) * 2006-12-13 2008-06-18 辉达公司 System, method and computer program product for adjusting a refresh rate of a display
TW201216236A (en) * 2010-10-08 2012-04-16 Acer Inc 3D display and adjustment method for vertical refresh rate thereof
CN102790862A (en) * 2012-07-30 2012-11-21 成都西可科技有限公司 Method for dynamically improving effect of cell phone front camera
CN105117191A (en) * 2015-09-08 2015-12-02 广东欧珀移动通信有限公司 Method and apparatus for controlling display of mobile terminal

Also Published As

Publication number Publication date
CN105739936A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
US10460643B2 (en) Method, device and non-transitory computer-readable storage medium for controlling frame rate of mobile terminal
CN105718875B (en) A kind of visual fatigue detection method and user terminal
CN105739936B (en) A kind of user terminal control method and user terminal
CN103543925B (en) A kind of method and apparatus for operating picture
CN106941563A (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
CN105807997B (en) A kind of touch screen sensitivity regulation method and device
EP3373281B1 (en) Method for controlling image display and terminal
EP3584677A1 (en) Method and device for controlling mobile terminal, and mobile terminal
CN106649639A (en) Page display method and device
US10747387B2 (en) Method, apparatus and user terminal for displaying and controlling input box
CN108762831A (en) Application program preloads method, apparatus, storage medium and terminal
CN106896899A (en) A kind of control method of mobile terminal Image Rendering, device and mobile terminal
CN105573603A (en) Method and device for adjusting screen darkening time of terminal
CN112905134A (en) Method and device for refreshing display and electronic equipment
CN106528163A (en) Page switching method and device
CN109343778A (en) Display method and device and electronic equipment
CN109189301A (en) A kind of method and device of screenshot capture
CN108845838A (en) Application program preloads method, apparatus, storage medium and terminal
CN104102367B (en) A kind of information processing method and device
CN109656463A (en) The generation method of individual character expression, apparatus and system
CN109343770A (en) Interaction feedback method, equipment and recording medium
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal
CN107168606A (en) Dialog control display methods, device and user terminal
CN109091866B (en) Display control method and device, computer readable medium and electronic equipment
CN106528149A (en) Screen locking method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant