CN110362185A - Control method, terminal and the computer readable storage medium that screen intensity is adjusted - Google Patents
Control method, terminal and the computer readable storage medium that screen intensity is adjusted Download PDFInfo
- Publication number
- CN110362185A CN110362185A CN201810311763.6A CN201810311763A CN110362185A CN 110362185 A CN110362185 A CN 110362185A CN 201810311763 A CN201810311763 A CN 201810311763A CN 110362185 A CN110362185 A CN 110362185A
- Authority
- CN
- China
- Prior art keywords
- application program
- terminal
- screen intensity
- frequency values
- adjusted
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention provides the control methods that a kind of screen intensity is adjusted, the screen intensity adjust control method the following steps are included: application program on startup, obtain the frequency values of application program, for frequency values for characterizing application program in the process of running, terminal executes the frequency of the automatic adjustment operation of screen intensity;Whether determination frequency value is more than or equal to predeterminated frequency value;If so, the automatic regulation function of the screen intensity of terminal is disabled;The present invention also provides a kind of terminal and computer readable storage mediums, through the above scheme, application program is on startup, first judge application program in the process of running, terminal executes the frequency values of the automatic adjustment operation of screen intensity, if the frequency values are greater than predeterminated frequency value, then think the application program during follow-up operation, the automatic adjustment of screen luminance of terminal can frequently be caused, then the automatic regulation function of the screen intensity of terminal is disabled, to reduce the power consumption of terminal, the electricity of terminal is saved.
Description
Technical field
The present invention relates to field of terminal technology, the control methods adjusted more specifically to a kind of screen intensity, terminal
And computer readable storage medium.
Background technique
As the large-scale use of the terminals such as smart phone, tablet computer is universal and what user installed in the terminal answers
More and more with the quantity of program, more stringent requirements are proposed for usage experience of the user to terminal.
Currently, light sensor is provided in terminal greatly, light sensor be normally at terminal screen top and/or
Lower section, it can automatically adjust the brightness of terminal screen, bring most to user according to the light luminance of the current local environment of terminal
While good visual effect, moreover it is possible to the electricity of intelligent saving terminal;Such as in dark conditions, terminal screen backlight lamp
Will be automatic dimmed, it is otherwise very dazzling, while also saving the electricity of terminal.
It however, certain application programs are in the process of running, may frequently cause the automatic adjustment of screen luminance of terminal, consume
The power consumption for taking terminal wastes the electricity of terminal.
Summary of the invention
It is a primary object of the present invention to propose control method, terminal that a kind of screen intensity adjusts and computer-readable deposit
Storage media, it is intended to solve in the prior art, application program in the process of running, may frequently cause oneself of screen luminance of terminal
It is dynamic to adjust, the problem of expending the power consumption of terminal, waste the electricity of terminal.
In order to solve the above technical problems, the present invention provides a kind of control method that screen intensity is adjusted, screen intensity is adjusted
Control method the following steps are included:
Application program on startup, obtains the frequency values of application program, and frequency values were being run for characterizing application program
Cheng Zhong, terminal execute the frequency of the automatic adjustment operation of screen intensity;
Whether determination frequency value is more than or equal to predeterminated frequency value;
If so, the automatic regulation function of the screen intensity of terminal is disabled.
Optionally, application program on startup, it is further comprising the steps of before the frequency values for obtaining application program:
Obtain the user operation habits information of application program in the process of running;
According to user operation habits information, the frequency values of application program are determined;
The frequency values of application program are saved.
Optionally, the user operation habits information of application program in the process of running is obtained;Believed according to user operation habits
Breath, determines that the frequency values of application program include:
Obtaining application program, user blocks frequency values to the history of light sensor in terminal in the process of running;
Frequency values are blocked according to the history of acquisition, determine the frequency values of application program.
Optionally, frequency values are blocked according to the history of acquisition, determines that the mode of the frequency values of application program includes following
It anticipates one kind:
Mode one: frequency values are blocked to each history of acquisition and carry out mean value calculation, using average value as application program
Frequency values;
Mode two: blocking frequency values to each of acquisition and calculate according to default weight coefficient, using calculated result as
The frequency values of application program.
Optionally, further comprising the steps of: to detect after by the automatic regulation function of the screen intensity of terminal disabling
When discharging the touch-control response frequency of resource and/or screen lower than preset touch response frequency value to system, automatic starting terminal
The automatic regulation function of screen intensity.
Optionally, further comprising the steps of after by the automatic regulation function of the screen intensity of terminal disabling: to apply journey
When sequence is out of service, the automatic regulation function of the automatic screen intensity for starting terminal.
Optionally, the resource that system is occupied when application program includes operation is greater than default resource value, and/or opens high frame per second
The game class application program of operation mode.
Optionally, application program on startup, it is further comprising the steps of before the frequency values for obtaining application program:
Set interface is shown according to user's operation, includes the unlatching choosing for the control function that screen intensity is adjusted in set interface
Select item;
Receive the selected operation to options is opened;
According to selected operation, the control function that screen intensity is adjusted is opened.
Further, the present invention provides a kind of terminal, and terminal includes processor, memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize that screen intensity as above is adjusted
Control method the step of.
Further, the present invention provides a kind of computer readable storage medium, and computer-readable recording medium storage has one
A or multiple programs, one or more program can be executed by one or more processor, to realize a kind of screen as above
The step of control method of curtain brightness regulation.
Beneficial effect
The present invention provides control method, terminal and computer readable storage medium that a kind of screen intensity is adjusted, the screens
The control method of curtain brightness regulation is the following steps are included: application program on startup, obtains the frequency values of application program, frequency values
For characterizing application program in the process of running, terminal executes the frequency of the automatic adjustment operation of screen intensity;Determination frequency value
Whether predeterminated frequency value is more than or equal to;If so, the automatic regulation function of the screen intensity of terminal is disabled;Pass through above-mentioned side
Case, application program on startup, first judge application program in the process of running, and terminal executes the automatic adjustment operation of screen intensity
Frequency values, if the frequency values are greater than predeterminated frequency value, then it is assumed that the application program, can be frequent during follow-up operation
Cause the automatic adjustment of screen luminance of terminal, then disables the automatic regulation function of the screen intensity of terminal, to reduce terminal
Power consumption saves the electricity of terminal.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional terminal to realize the present invention;
Fig. 2 is the basic flow chart for the control method that a kind of screen intensity that first embodiment of the invention provides is adjusted;
Fig. 3 is the schematic diagram that a kind of set interface that first embodiment of the invention provides is shown;
Fig. 4 is the schematic diagram that another set interface that first embodiment of the invention provides is shown;
Fig. 5 is the schematic diagram that another set interface that first embodiment of the invention provides is shown;
Fig. 6 is a kind of schematic diagram of the light sensor setting for terminal that first embodiment of the invention provides;
Fig. 7 is that the light sensor below a kind of terminal screen that first embodiment of the invention provides is shown by what user was blocked
It is intended to;
Fig. 8 is the basic flow chart for the control method that a kind of screen intensity that second embodiment of the invention provides is adjusted;
Fig. 9 is a kind of schematic diagram for terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no specific meanings.Therefore, " module " can mixedly make with " component "
With.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, camera, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA),
Portable media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, step counting
The fixed terminals such as the mobile terminals such as device, and number TV, desktop computer.
It will be appreciated by those skilled in the art that other than the element for being used in particular for mobile purpose, it is according to the present invention
The construction of embodiment can also apply to the terminal of fixed type.
Referring to Fig. 1, the hardware structural diagram of its each embodiment one optional terminal to realize the present invention, the end
End 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109 and processor 110.It will be understood by those skilled in the art that terminal structure shown in Fig. 1 is not constituted pair
The restriction of terminal, terminal may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
It is specifically introduced below with reference to all parts of the Fig. 1 to terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA1000 (Code
Division Multiple Access 1000, CDMA 1000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100
It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear
1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the user with terminal 100
Setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 and
Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module
The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end
Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal 100, utilizes each of various interfaces and the entire terminal 100 of connection
Part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in memory
Data in 109 execute the various functions and processing data of terminal 100, to carry out integral monitoring to terminal 100.Processor
110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
In order to solve in the prior art, application program in the process of running, may frequently cause screen luminance of terminal
Automatic adjustment, the problem of expending the power consumption of terminal, waste the electricity of terminal, the present embodiment will provide what a kind of screen intensity was adjusted
Control method, the control method that the screen intensity of the present embodiment is adjusted are applied in terminal, wherein terminal include smart phone,
Tablet computer, computer, reader, intelligent wearable device etc., wherein intelligent wearable device such as smartwatch, Intelligent bracelet etc.;
Referring to fig. 2, Fig. 2 is the basic flow chart for the control method that a kind of screen intensity provided in this embodiment is adjusted, the screen intensity
The control method of adjusting the following steps are included:
S201: application program on startup, obtains the frequency values of application program, and frequency values are being transported for characterizing application program
During row, terminal executes the frequency of the automatic adjustment operation of screen intensity;
Optionally, the control function that screen intensity provided in this embodiment is adjusted can use default setting as the side opened
Formula;It can also be on or off for selection by the user, by user, according to the wish of itself, that it is determined whether to enable screens is bright completely
The control function adjusted is spent, a kind of concrete implementation mode is given below:
S201 application program on startup, obtain the frequency values of application program, frequency values exist for characterizing application program
It is further comprising the steps of before terminal executes the frequency of automatic adjustment operation of screen intensity in operational process:
Set interface is shown according to user's operation, includes the unlatching choosing for the control function that screen intensity is adjusted in set interface
It selects item and closes options;
Receive the selected operation to options is opened;
According to selected operation, the control function that screen intensity is adjusted is opened;
After the control function for opening screen intensity adjusting, the step of S201-S204 can be executed;
If screen intensity adjust control function be close, will not enter S201 the step of, that is, even if using journey
Sequence on startup, will not go the frequency values for obtaining application program, the step of subsequent S202-S204 is more not carried out.
Referring to Fig. 3, Fig. 3 is a kind of schematic diagram that set interface is shown provided in this embodiment, and in Fig. 3, user is clicked
It opens options and then represents the control function for opening screen intensity adjusting, user clicks closing options and then represents and close
The control function that screen intensity is adjusted;Referring to fig. 4, Fig. 4 is the schematic diagram that another set interface provided in this embodiment is shown;
In Fig. 4, when virtual push button shows " unlatching " two word, then the control function for opening screen intensity adjusting is represented, virtual push button is aobvious
(not shown) when showing " closing " two word then represents the control function for closing screen intensity adjusting.
The control function that screen intensity is adjusted can be all application programs covered in terminal, be also possible to for system
The application program of default setting can also be for application program set by the user;
For example, the application program one in terminal shares application program A, application program B, application program C, application program D, answers
With program E, application program F, application program G, application program H this 8 application programs, system default is provided that this 8 applications
The control function that program can use screen intensity to adjust;And user thinks, user uses application program G's and application program H
Frequency is relatively low, and/or, for user when using application program G and application program H, each use duration is all shorter, and/
Or, a possibility that user when using application program G and application program H, causes the automatic adjustment of screen intensity very little, then user
Think, application program G and application program H are without the use of the control function that screen intensity is adjusted, then user can be by application program G
The control function that disabling screen intensity is adjusted is set as with application program H.
In set interface, in addition to display screen brightness regulation control function unlatching options and close options with
Outside, it can also show which is applied after the unlatching options and closing options for the control function that screen intensity is adjusted
Program allows the control function adjusted using screen intensity;Referring to Fig. 5, Fig. 5 is another set interface provided in this embodiment
The schematic diagram of display;For example, the application program one in terminal share application program A, application program B, application program C, using journey
This 8 application programs of sequence D, application program E, application program F, application program G, application program H in Fig. 5, show application program
A, application program B, application program C, application program D, application program E, application program F are the controls for allowing to adjust using screen intensity
Function processed, and application program G and application program H are the control functions for disabling screen intensity and adjusting.
The control function for whether allowing a certain application program that screen intensity is used to adjust can be and start for the first time in user
User setting is reminded when the application program, if user has selected to allow using subsequent user starts the application program every time
When, it can all enable the control function of screen intensity adjusting.
In S201, application program includes game class application program, social category application program, payment class application program, video
Class application program, office class application program, news category application program, shopping class application program etc.;
Wherein, game class application program can be without accessing the game that network just can be played, and be also possible to that network need to be accessed
The game that could be played.
Game class application program includes: danger spot is sought survival, king's honor, the happy, QQ that happily disappears dazzle dance, QQ driving, happy bucket
Landlord etc.;
Social category application program includes: wechat, Tencent QQ, microblogging etc.;
Payment class application program includes: wechat, Alipay etc.;
Video class application program includes: Tencent's video, iqiyi.com, youku.com, potato etc.;
Office class application program includes: nail nail, WPS Office etc.;
News category application program includes: Netease's news, today's tops, Sohu's news, CCTV news etc.;
Shopping class application program includes: Taobao, Jingdone district, when the purchase of, Netease koala sea, Suning easily purchases, only product can wait.
Application program launching can be the starting application program triggered manually by user, is also possible to by user setting or is
The application program of the booting self-starting of system default setting.
Application program on startup, obtains the frequency values of application program, and frequency values were being run for characterizing application program
Cheng Zhong, terminal execute the frequency of the automatic adjustment operation of screen intensity;
Application program can be detected in the process of running by the light sensor of terminal, light sensor is by the hand of user
The number that blocks and per the interval duration between twice, the number blocked by light sensor by the hand of user and every
Interval duration between twice can obtain the frequency that light sensor is blocked by the hand of user;The light sensor quilt of terminal
It blocks once, terminal will execute the automatic adjustment operation an of screen intensity;And the light sensor of terminal is from the shape that is blocked
State becomes not occlusion state, and terminal can also execute the automatic adjustment operation an of screen intensity;Application program in the process of running,
The frequency that terminal executes the automatic adjustment operation of screen intensity can be counted.
The frequency values of application program can be to be got from the frequency values of pre-stored application program, is also possible to
When application program launching, get in real time.
Optionally, the source of the frequency values of application program may include following manner in S201:
S201 application program on startup, it is further comprising the steps of before the frequency values for obtaining application program:
Obtain the user operation habits information of application program in the process of running;
According to user operation habits information, the frequency values of application program are determined;
The frequency values of application program are saved.
The frequency values of application program are saved, for being obtained in S201 step.
When the frequency values of application program have update, need to save in the updated.
Optionally, the user operation habits information of application program in the process of running is obtained;Believed according to user operation habits
Breath, determines that the frequency values of application program include:
Obtaining application program, user blocks frequency values to the history of light sensor in terminal in the process of running;
Frequency values are blocked according to history, determine the frequency values of application program.
Obtain application program in the process of running, light sensor is taken second place by the number that the hand of user blocks and every two
Between interval duration, the number blocked by light sensor by the hand of user and per the interval duration between twice
Frequency values are blocked to obtain light sensor by the frequency namely history that the hand of user blocks.
For example, with reference to Fig. 6, Fig. 6 is a kind of schematic diagram of the light sensor setting of terminal provided in this embodiment, Fig. 6
In, the light sensor of terminal is arranged in above and below terminal screen, and application program A is game class application program, user
When playing game A, transverse screen is needed to operate, and there are 3 virtual keys on the right side of game picture, had between this 3 virtual keys certain
It is spaced, it is closer with a distance from this light sensor of 3 virtual keys from the lower section of terminal screen;User is when playing game A, operation
The frequency of this 3 virtual keys is higher, and the right hand of user often can sense line-and not obstruct the light sensor obstructing the light
Switch between state;Referring to Fig. 7, Fig. 7 is that the light sensor below a kind of terminal screen provided in this embodiment is hidden by user
The schematic diagram of gear;So user, which every time when playing game A, counts each user, blocks frequency to light sensor in terminal
Value.It can be statistics whithin a period of time, for user every time when playing game A, user blocks frequently light sensor in terminal
Rate value blocks frequency values according to the history got in this period of time, determines the frequency values of application program.
Optionally, frequency values are blocked according to the history of acquisition, determines that the mode of the frequency values of application program includes following
It anticipates one kind:
Mode one: frequency values are blocked to each history of acquisition and carry out mean value calculation, using average value as application program
Frequency values;
So that calculated result really causes the frequency values of the automatic adjustment of screen luminance of terminal close to user.
Mode two: blocking frequency values to each of acquisition and calculate according to default weight coefficient, using calculated result as
The frequency values of application program.
Default weight coefficient can use default setting;Optionally, it when nearest n times application program can be run, obtains
To history block the weight coefficients of frequency values and be set as higher, for example, in 2 days, count on user and play the number of game A and be
5 times, and counted this 5 users and frequency values are blocked to the history of light sensor in terminal, then will can count on recently 2
Secondary weight coefficient is arranged higher than 3 weight coefficients counted at first, so that calculated result is really drawn close to user
Play the frequency values of the automatic adjustment of screen luminance of terminal.
S202: whether determination frequency value is more than or equal to predeterminated frequency value;If so, into S203;If it is not, then entering
S204;
Predeterminated frequency value can be configured according to actual needs, can use default setting.
S203: the automatic regulation function of the screen intensity of terminal is disabled.
If the frequency values of application program are more than or equal to predeterminated frequency value, by the automatic regulation function of the screen intensity of terminal
Disabling;
The implementation that the automatic regulation function of the screen intensity of terminal disables can be any one in following two
Kind:
The first: closing light sensor namely light sensor does not work;
Second: even if light sensor detects that itself is blocked, or non-occlusion state is become from the state of being blocked,
Terminal does not execute the automatic adjustment operation of screen intensity yet.
S204: process terminates.
Optionally, further comprising the steps of after S203 disables the automatic regulation function of the screen intensity of terminal:
When detecting that the touch-control response frequency of system release resource and/or screen is lower than preset touch response frequency value, automatic starting is eventually
The automatic regulation function of the screen intensity at end.
Preset touch response frequency value can be configured according to actual needs, can use default setting.
For example, occupying system resources can be very big when hand trip picture element is more, the high frame per second operation of mobile phone can be enabled automatically
Mode occupies a large amount of CPU processing and GPU rendering resources suddenly, relatively high to the requirement of screen intensity at this time, and exists at this time
User can further frequently to the screen operator of mobile phone when system resource occupies larger, i.e. the touch screen response events of mobile phone can become at this time
Rapidly with it is multiple, while also indicating that user can frequently shut out the light sensor, in that case, by mobile phone screen from
Dynamic brightness control function disabling;Waiting system discharges resource and the touch-control response frequency of screen is lower than preset touch response frequency value
When automatically terminate disabling, to not only save mobile telephone power consumption, but also do not influence the happy sense that user plays large-scale hand trip, improve user's
Game experiencing.Hand is swum in the process of running, if user is whithin a period of time in operation display, unexpected user carries out on-hook, is
System generation practice etc., then will appear system release resource and screen touch-control response frequency be lower than preset touch response frequency value feelings
Condition.
Optionally, further comprising the steps of: to answer after S203 disables the automatic regulation function of the screen intensity of terminal
When out of service with program, the automatic regulation function of the automatic screen intensity for starting terminal.The electricity for saving terminal of intelligence,
Meet user demand again simultaneously.
Optionally, the resource that system is occupied when application program includes operation is greater than default resource value, and/or opens high frame per second
The game class application program of operation mode.
Default resource value can be configured according to the actual conditions of terminal, can basis when default resource value is arranged
Memory information, Internet resources of terminal of terminal etc. are configured;Default setting can be used.
High frame per second operation mode, which was generally in one second, refreshes 60 subframes.
Optionally, further comprising the steps of after S203 disables the automatic regulation function of the screen intensity of terminal:
Set interface is shown according to user's operation, and set interface includes the closing options of application program update function;
Receive the selected operation to options is closed;
According to selected operation, application program update function is closed.
If user is not desired to enable the control function that screen intensity is adjusted, it can realize what disabling screen intensity was adjusted with a key
Control function, namely the closing options for the control function that screen intensity is adjusted is clicked in set interface, screen can be disabled
The control function of curtain brightness regulation.For example, the application program one in terminal shares application program A, application program B, application program
C, this 8 application programs of application program D, application program E, application program F, application program G, application program H, wherein only answer
With program G and application program H by user setting be disable screen intensity adjust control function, application program A, application program B,
Application program C, application program D, application program E, application program F are the control functions for enabling screen intensity and adjusting, if user thinks
The screen intensity of application program A, application program B, application program C, application program D, application program E, application program F are adjusted
Control function all disable, then can be disabled in the closing options that set interface clicks the control function that screen intensity is adjusted
The control function that screen intensity is adjusted.
By the implementation of the present embodiment, application program on startup, first judges application program in the process of running, terminal is held
The frequency values of the automatic adjustment operation of row screen intensity, if the frequency values are greater than predeterminated frequency value, then it is assumed that the application program exists
During follow-up operation, it can frequently cause the automatic adjustment of screen luminance of terminal, then by the automatic of the screen intensity of terminal
Regulatory function disabling, to reduce the power consumption of terminal, saves the electricity of terminal.
Second embodiment
In the prior art, with the prevalence for setting about trip, more and more users are played games with mobile phone, and hand trip itself is in order to more
Good game effect, the picture mostly made is very exquisite, and there are many element, but the light sensor of mobile phone is typically in the upper of mobile phone
Lower two sides, and in transverse screen operating handset, always accidentally gear arrives light sensor to user, so that screen luminance of mobile phone
It is dimmed, cause game picture not see Chu, it has not been convenient to user's operation.To solve the above-mentioned problems, the present embodiment with game A this
For application program, terminal are mobile phone, the control method that a kind of screen intensity is adjusted is provided;It is the present embodiment referring to Fig. 8, Fig. 8
The basic flow chart for the control method that a kind of screen intensity provided is adjusted, the control method which is adjusted includes following
Step:
S801: whithin a period of time, user is every time when transverse screen plays game A to statistics, and user is to light sensor in mobile phone
Block frequency values;
The light sensor of mobile phone is in the two sides up and down of mobile phone;
S802: frequency values are blocked according to the history got in this period of time, trip is calculated using average algorithm
The frequency values of play A, and save;
S803: game A on startup, obtains the frequency values of game A, and the frequency values of game A application program are more than or equal to pre-
If frequency values;
S804: the automatic regulation function of the screen intensity of mobile phone is disabled;
S805: when game A is out of service, the automatic regulation function of the screen intensity of mobile phone is opened.
By the implementation of the present embodiment, mobile telephone power consumption has been saved, the sensor even if user frequently shuts out the light will not
The automatic adjustment for carrying out screen intensity, avoids and the hair that game picture does not see Chu and leads to inconvenient user's operation situation occurs
It is raw, the happy sense that user plays large-scale hand trip is not influenced, improves the game experiencing of user.
3rd embodiment
In order to solve in the prior art, application program in the process of running, may frequently cause screen luminance of terminal
Automatic adjustment, the problem of expending the power consumption of terminal, waste the electricity of terminal, the present embodiment provides a kind of terminals, referring to Fig. 9, Fig. 9
For a kind of schematic diagram of terminal provided in this embodiment, which includes processor 901, memory 902 and communication bus 903,
Wherein:
Communication bus 903 is for realizing the connection communication between processor 901 and memory 902;
Processor 901 is shielded for executing the one or more programs stored in memory 902 with realizing in first embodiment
The step of control method of curtain brightness regulation.
By the implementation of the present embodiment, application program on startup, first judges application program in the process of running, terminal is held
The frequency values of the automatic adjustment operation of row screen intensity, if the frequency values are greater than predeterminated frequency value, then it is assumed that the application program exists
During follow-up operation, it can frequently cause the automatic adjustment of screen luminance of terminal, then by the automatic of the screen intensity of terminal
Regulatory function disabling, to reduce the power consumption of terminal, saves the electricity of terminal.
Fourth embodiment
In order to solve in the prior art, application program in the process of running, may frequently cause screen luminance of terminal
Automatic adjustment, the problem of expending the power consumption of terminal, waste the electricity of terminal, the present embodiment provides a kind of computer-readable storage mediums
Matter, computer-readable recording medium storage have one or more program, one or more program can be by one or more
Processor executes, the step of to realize control method that screen intensity in first embodiment is adjusted.
By the implementation of the present embodiment, application program on startup, first judges application program in the process of running, terminal is held
The frequency values of the automatic adjustment operation of row screen intensity, if the frequency values are greater than predeterminated frequency value, then it is assumed that the application program exists
During follow-up operation, it can frequently cause the automatic adjustment of screen luminance of terminal, then by the automatic of the screen intensity of terminal
Regulatory function disabling, to reduce the power consumption of terminal, saves the electricity of terminal.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) method that executes each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. the control method that a kind of screen intensity is adjusted, which is characterized in that the control method that the screen intensity is adjusted include with
Lower step:
Application program on startup, obtains the frequency values of the application program, the frequency values are for characterizing the application program
In the process of running, terminal executes the frequency of the automatic adjustment operation of screen intensity;
Judge whether the frequency values are more than or equal to predeterminated frequency value;
If so, the automatic regulation function of the screen intensity of the terminal is disabled.
2. the control method that screen intensity as described in claim 1 is adjusted, which is characterized in that starting in the application program
When, it is further comprising the steps of before the frequency values for obtaining the application program:
Obtain the user operation habits information of the application program in the process of running;
According to the user operation habits information, the frequency values of the application program are determined;
The frequency values of the application program are saved.
3. the control method that screen intensity as claimed in claim 2 is adjusted, which is characterized in that described to obtain the application program
User operation habits information in the process of running;According to the user operation habits information, the frequency of the application program is determined
Rate value includes:
Obtaining the application program, user blocks frequency values to the history of light sensor in terminal in the process of running;
Frequency values are blocked according to the history of acquisition, determine the frequency values of the application program.
4. the control method that screen intensity as claimed in claim 3 is adjusted, which is characterized in that described to be gone through according to acquisition
History blocks frequency values, determines that the mode of the frequency values of the application program includes any of the following:
Mode one: frequency values are blocked to each history of acquisition and carry out mean value calculation, using average value as the application program
Frequency values;
Mode two: blocking frequency values to each of acquisition and calculate according to default weight coefficient, calculated result is used as described in
The frequency values of application program.
5. the control method adjusted such as the described in any item screen intensitys of Claims 1-4, which is characterized in that described by institute
It is further comprising the steps of after the automatic regulation function disabling for stating the screen intensity of terminal: resource is discharged in the system that detects,
And/or the touch-control response frequency of screen be lower than preset touch response frequency value when, start the screen intensity of the terminal automatically
Automatic regulation function.
6. the control method adjusted such as the described in any item screen intensitys of Claims 1-4, which is characterized in that described by institute
It is further comprising the steps of after the automatic regulation function disabling for stating the screen intensity of terminal: when the application program is out of service,
Automatically start the automatic regulation function of the screen intensity of the terminal.
7. the control method adjusted such as the described in any item screen intensitys of Claims 1-4, which is characterized in that described to apply journey
The resource that system is occupied when sequence includes operation is greater than default resource value, and/or opens the game class application of high frame per second operation mode
Program.
8. the control method adjusted such as the described in any item screen intensitys of Claims 1-4, which is characterized in that in the application
Program is on startup, further comprising the steps of before the frequency values for obtaining the application program:
Set interface is shown according to user's operation, includes the unlatching choosing for the control function that screen intensity is adjusted in the set interface
Select item;
It receives to the selected operation for opening options;
According to the selected operation, the control function that screen intensity is adjusted is opened.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing one or more program stored in the memory, to realize such as claim 1 to 8
The step of control method that described in any item screen intensitys are adjusted.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in screen intensity adjust control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810311763.6A CN110362185B (en) | 2018-04-09 | 2018-04-09 | Control method for screen brightness adjustment, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810311763.6A CN110362185B (en) | 2018-04-09 | 2018-04-09 | Control method for screen brightness adjustment, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110362185A true CN110362185A (en) | 2019-10-22 |
CN110362185B CN110362185B (en) | 2021-03-30 |
Family
ID=68211979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810311763.6A Active CN110362185B (en) | 2018-04-09 | 2018-04-09 | Control method for screen brightness adjustment, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110362185B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078314A (en) * | 2019-12-09 | 2020-04-28 | Oppo广东移动通信有限公司 | Function control method and related equipment |
CN111273774A (en) * | 2020-01-19 | 2020-06-12 | 惠州Tcl移动通信有限公司 | Terminal device display screen control method and system, storage medium and terminal device |
CN113040993A (en) * | 2020-12-29 | 2021-06-29 | 重庆医科大学附属第一医院 | Vertebra reduction bed |
CN113889056A (en) * | 2021-10-26 | 2022-01-04 | 深圳电器公司 | Brightness adjusting method and related device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179271A (en) * | 2013-02-28 | 2013-06-26 | 深圳市中兴移动通信有限公司 | Method and device for preventing misoperation of brightness adjustment to mobile terminal screen |
CN106652922A (en) * | 2017-01-04 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and system for controlling screen luminance |
CN107329664A (en) * | 2017-06-27 | 2017-11-07 | 广东欧珀移动通信有限公司 | reading processing method and related product |
US20170328767A1 (en) * | 2016-05-16 | 2017-11-16 | Apple Inc. | Color Ambient Light Sensor Circuitry For Electronic Devices |
CN107566635A (en) * | 2017-08-30 | 2018-01-09 | 努比亚技术有限公司 | Screen intensity method to set up, mobile terminal and computer-readable recording medium |
CN107731146A (en) * | 2017-10-20 | 2018-02-23 | 广东欧珀移动通信有限公司 | Brightness adjusting method and related product |
-
2018
- 2018-04-09 CN CN201810311763.6A patent/CN110362185B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179271A (en) * | 2013-02-28 | 2013-06-26 | 深圳市中兴移动通信有限公司 | Method and device for preventing misoperation of brightness adjustment to mobile terminal screen |
US20170328767A1 (en) * | 2016-05-16 | 2017-11-16 | Apple Inc. | Color Ambient Light Sensor Circuitry For Electronic Devices |
CN106652922A (en) * | 2017-01-04 | 2017-05-10 | 珠海市魅族科技有限公司 | Method and system for controlling screen luminance |
CN107329664A (en) * | 2017-06-27 | 2017-11-07 | 广东欧珀移动通信有限公司 | reading processing method and related product |
CN107566635A (en) * | 2017-08-30 | 2018-01-09 | 努比亚技术有限公司 | Screen intensity method to set up, mobile terminal and computer-readable recording medium |
CN107731146A (en) * | 2017-10-20 | 2018-02-23 | 广东欧珀移动通信有限公司 | Brightness adjusting method and related product |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078314A (en) * | 2019-12-09 | 2020-04-28 | Oppo广东移动通信有限公司 | Function control method and related equipment |
CN111078314B (en) * | 2019-12-09 | 2023-05-02 | Oppo广东移动通信有限公司 | Function control method and related equipment |
CN111273774A (en) * | 2020-01-19 | 2020-06-12 | 惠州Tcl移动通信有限公司 | Terminal device display screen control method and system, storage medium and terminal device |
CN113040993A (en) * | 2020-12-29 | 2021-06-29 | 重庆医科大学附属第一医院 | Vertebra reduction bed |
CN113040993B (en) * | 2020-12-29 | 2023-08-11 | 重庆医科大学附属第一医院 | Vertebra reduction bed |
CN113889056A (en) * | 2021-10-26 | 2022-01-04 | 深圳电器公司 | Brightness adjusting method and related device |
CN113889056B (en) * | 2021-10-26 | 2023-01-31 | 深圳电器公司 | Brightness adjusting method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN110362185B (en) | 2021-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271121A (en) | A kind of application display method and mobile terminal | |
CN108391025A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN109901695B (en) | Screen power-saving display method, mobile terminal and computer-readable storage medium | |
CN108540358A (en) | Control method, mobile terminal and the computer readable storage medium of household appliance | |
CN110362185A (en) | Control method, terminal and the computer readable storage medium that screen intensity is adjusted | |
CN107577332A (en) | A kind of power consumption control method, mobile terminal and computer-readable recording medium | |
CN108415781A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN108762861A (en) | A kind of application interface display methods, terminal and computer readable storage medium | |
CN110174993A (en) | A kind of display control method, terminal device and computer readable storage medium | |
CN109144441A (en) | A kind of screen adjustment method, terminal and computer readable storage medium | |
CN110457086A (en) | A kind of control method of application program, mobile terminal and server | |
CN106775680A (en) | Suspend processing method, device and the mobile terminal for notifying | |
CN110045890A (en) | The display methods and terminal device of application identities | |
CN109547633A (en) | A kind of based reminding method, terminal and computer readable storage medium | |
CN108744495A (en) | A kind of control method of virtual key, terminal and computer storage media | |
CN108733424A (en) | Using wake-up control method, equipment and computer-readable storage media | |
CN108776600A (en) | Application program pretrigger method, mobile terminal and computer readable storage medium | |
CN112612598A (en) | Anti-addiction method, mobile terminal and computer-readable storage medium | |
CN109819458A (en) | A kind of method for connecting network, terminal device and computer readable storage medium | |
CN108536529A (en) | A kind of multitask regulation and control method, equipment and computer readable storage medium | |
CN108958932A (en) | A kind of control method of background application, terminal and computer readable storage medium | |
CN108628511A (en) | A kind of program starts method and mobile terminal | |
CN108646966A (en) | One kind, which is gone out, shields time adjusting method and device | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN108235084A (en) | A kind of video broadcasting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |