CN109523977A - Backlight adjusting method, device, mobile terminal and storage medium - Google Patents
Backlight adjusting method, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN109523977A CN109523977A CN201811505587.6A CN201811505587A CN109523977A CN 109523977 A CN109523977 A CN 109523977A CN 201811505587 A CN201811505587 A CN 201811505587A CN 109523977 A CN109523977 A CN 109523977A
- Authority
- CN
- China
- Prior art keywords
- terminal
- light sensation
- sensation value
- brightness
- backlight
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000003860 storage Methods 0.000 title claims abstract description 22
- 230000035807 sensation Effects 0.000 claims abstract description 173
- 230000007613 environmental effect Effects 0.000 claims abstract description 84
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 48
- 238000012544 monitoring process Methods 0.000 claims abstract description 45
- 238000005286 illumination Methods 0.000 claims abstract description 43
- 230000003287 optical effect Effects 0.000 claims description 44
- 230000001133 acceleration Effects 0.000 claims description 40
- 230000001105 regulatory effect Effects 0.000 claims description 27
- 230000006870 function Effects 0.000 claims description 23
- 230000008859 change Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 3
- 238000004088 simulation Methods 0.000 abstract description 6
- 238000012545 processing Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 13
- 230000006854 communication Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000009711 regulatory function Effects 0.000 description 7
- 208000003443 Unconsciousness Diseases 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000000052 comparative effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012067 mathematical method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Classifications
-
- 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of backlight adjusting method, device, mobile terminal and storage medium, the application is when terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored, when the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, judge whether the terminal is in use state, if the terminal is in use state, then using default calibration algorithm simulated environment brightness, then, the backlight illumination of the terminal is adjusted according to the environmental light brightness;The program is monitored by light sensation value to the terminal and position angle, using default calibration algorithm simulated environment brightness when monitoring that variation meets preset condition and in use state, and the backlight illumination of terminal is adjusted according to the environmental light brightness of simulation, the power consumption penalty of terminal can be effectively reduced.
Description
Technical field
This application involves fields of communication technology, and in particular to a kind of backlight adjusting method, device, mobile terminal and storage are situated between
Matter.
Background technique
The evolution iteration of adjoint network mechanics of communication, the Mobile portables formula equipment such as mobile phone, plate is as modern communications technology
Carrier, be increasingly becoming people's daily life, communication tool indispensable in work.
As consumer products, the visual experience of mobile device is more demanding.Due to structure, hardware arrangement, manufacturing process with
And user, using factors such as angles, the screen intensity of the terminals such as mobile phone, plate is acquired generally according to optical sensor currently on the market
Environmental light brightness automatic backlight adjust, usually there is mistuning, lead to the power consumption penalty of terminal.
Summary of the invention
The embodiment of the present application provides a kind of backlight adjusting method, device, mobile terminal and storage medium, can effectively subtract
The power consumption penalty of few terminal.
The embodiment of the present application provides a kind of backlight adjusting method, comprising:
When terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored;
When the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, the end is judged
Whether end is in use state;
If the terminal is in use state, using default calibration algorithm simulated environment brightness;
The backlight illumination of the terminal is adjusted according to the environmental light brightness.
Optionally, in some embodiments, in the backlight adjusting method, to the light sensation value and position angle of the terminal
The step of degree is monitored, comprising:
Open optical sensor and acceleration transducer;
Real-time monitoring is carried out using light sensation value of the optical sensor to the terminal;
Real-time monitoring is carried out using position angle of the acceleration transducer to the terminal.
Optionally, in some embodiments, in the backlight adjusting method, monitor the terminal light sensation value and/
Or the variation of position angle the step of meeting preset condition, comprising:
When the light sensation value and/or position angle that monitor the terminal change, the light sensation value of the terminal is obtained
And/or the size of position angle changing value;
If the light sensation value changing value of the terminal is greater than the first preset threshold and/or position angle changing value is greater than second
Preset threshold then meets preset condition.
Optionally, in some embodiments, in the backlight adjusting method, using default calibration algorithm simulated environment light
The step of brightness, comprising:
Obtain the current light sensation value and current location angle of the terminal;
According to the current light sensation value and current location angle, the environment light of the terminal is simulated using default calibration algorithm
Brightness.
Optionally, in some embodiments, in the backlight adjusting method, according to the current light sensation value and present bit
Angle setting degree, the step of environmental light brightness of the terminal is simulated using default calibration algorithm, comprising:
According to the current light sensation value and current location angle, using the corresponding environment bright of preset data table lookup
Degree.
Optionally, in some embodiments, in the backlight adjusting method, using default calibration algorithm simulated environment light
Before brightness, further includes:
Multiple groups reference data is obtained, the reference data includes the light sensation value and position angle of sample terminal;
According to the environmental light brightness of the reference data analog sample terminal;
Data form is established using the corresponding relationship of the reference data and the environmental light brightness.
Optionally, in some embodiments, in the backlight adjusting method, the reference data and the environment are utilized
The corresponding relationship of brightness is established after data form, further includes:
Functional relation is established using the corresponding relationship of the reference data and the environmental light brightness.
Optionally, in some embodiments, in the backlight adjusting method, according to the current light sensation value and present bit
Angle setting degree, after the environmental light brightness that the terminal is simulated using default calibration algorithm, further includes:
According to the current light sensation value and current location angle, corresponding environment bright is calculated using preset function relationship
Degree.
Correspondingly, the embodiment of the present application also provides a kind of backlight regulating device, comprising:
One or more processors;
Memory;And
One or more application program, wherein one or more of application programs are stored in the memory, and
It is configured to be executed by the processor;
Monitoring modular, for when terminal is opened automatic backlight and is adjusted, light sensation value and position angle to the terminal into
Row monitoring;
Judgment module, for meeting preset condition when the variation of the light sensation value and/or position angle that monitor the terminal
When, judge whether the terminal is in use state;
Calibration module, if being in use state for the terminal, using default calibration algorithm simulated environment brightness;
Adjustment module, for adjusting the backlight illumination of the terminal according to the environmental light brightness.
Optionally, in some embodiments, in the backlight regulating device, the monitoring modular includes opening submodule
Block, the first monitoring submodule and the second monitoring submodule, it is as follows
The unlatching submodule, for opening optical sensor and acceleration transducer;
The first monitoring submodule, for being supervised in real time using light sensation value of the optical sensor to the terminal
It surveys;
The second monitoring submodule, it is real for being carried out using position angle of the acceleration transducer to the terminal
When monitor.
Optionally, in some embodiments, in the backlight regulating device, the judgment module includes the first acquisition
Module and Comparative sub-module are as follows:
First acquisition submodule monitors that the light sensation value of the terminal and/or position angle change for working as
When, obtain the light sensation value of the terminal and/or the size of position angle changing value;
The Comparative sub-module, if the light sensation value changing value for the terminal is greater than the first preset threshold and/or position
Angle change value is greater than the second preset threshold, it is determined that the light sensation value of the terminal and/or the variation of position angle meet default item
Part.
Optionally, in some embodiments, in the backlight regulating device, the calibration module includes the second acquisition
Module and calibration submodule, as follows:
Second acquisition submodule, for obtaining the current light sensation value of the terminal and current location angle;
The calibration submodule is used for according to the current light sensation value and current location angle, using default calibration algorithm
Simulate the environmental light brightness of the terminal.
Optionally, in some embodiments, in the backlight regulating device, the calibration submodule is specifically used for root
According to the current light sensation value and current location angle, using the corresponding environmental light brightness of preset data table lookup.
Optionally, in some embodiments, in the backlight regulating device, further include obtain module, analog module and
Data form module is as follows:
The acquisition module, for obtaining multiple groups reference data, the reference data include sample terminal light sensation value and
Position angle;
The analog module, for the environmental light brightness according to the reference data analog sample terminal;
The data form module, for establishing number using the corresponding relationship of the reference data and the environmental light brightness
According to table.
Optionally, in some embodiments, further include functional relation module in the backlight regulating device:
The functional relation module, for establishing letter using the corresponding relationship of the reference data and the environmental light brightness
Number relationship.
The calibration submodule, specifically: according to the current light sensation value and current location angle, closed using preset function
System calculates corresponding environmental light brightness.
In addition, the embodiment of the present application also provides a kind of mobile terminal, the mobile terminal includes processor and memory, institute
It states and is stored with computer program in memory, the processor is by calling the computer journey stored in the memory
Sequence, for executing any backlight adjusting method provided by the embodiments of the present application.
In addition, the embodiment of the present application also provides a kind of storage medium, the storage medium is stored with a plurality of instruction, the finger
It enables and being loaded suitable for processor, to execute the step in any backlight adjusting method provided by the embodiments of the present application.
The embodiment of the present application when terminal is opened automatic backlight and is adjusted, can light sensation value to the terminal and position angle into
Whether row monitoring, when the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, judge the terminal
In use state, if the terminal is in use state, using default calibration algorithm simulated environment brightness, then, according to
The environmental light brightness adjusts the backlight illumination of the terminal;The program by the self-contained acceleration transducer of terminal by obtaining
The position angle of user mobile phone obtains light sensation value in conjunction with optical sensor, and designs calibration algorithm and carry out light sensation data calibration, simulation
The actual environment brightness of the terminal used based on user adjusts the backlight illumination of terminal, and capable of eliminating equipment, to receive light sensation inclined
Difference uses the influence of angle with user.Since the more accurate screen intensity of realization is adjusted, and avoid because of unconscious shaking screen
And the unnecessary screen automatic backlight carried out under unused state is adjusted, and efficiently reduces the power consumption penalty of terminal, it can
It obtains better terminal screen automatic backlight and adjusts experience.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the schematic diagram of a scenario of backlight adjusting method provided by the embodiments of the present application;
Fig. 2 is the first pass schematic diagram of backlight adjusting method provided by the embodiments of the present application;
Fig. 3 is the second procedure schematic diagram of backlight adjusting method provided by the embodiments of the present application;
Fig. 4 is the first structure diagram of backlight regulating device provided by the embodiments of the present application;
Fig. 5 is the second structural schematic diagram of backlight regulating device provided by the embodiments of the present application;
Fig. 6 is the third structural schematic diagram of backlight regulating device provided by the embodiments of the present application;
Fig. 7 is the 4th structural schematic diagram of backlight regulating device provided by the embodiments of the present application;
Fig. 8 is the 5th structural schematic diagram of backlight regulating device provided by the embodiments of the present application;
Fig. 9 is the 6th structural schematic diagram of backlight regulating device provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall in the protection scope of this application.
In the following description, the specific embodiment of the application will refer to the step as performed by one or multi-section computer
And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is executed by computer, this paper institute
The computer execution of finger includes by representing with the computer processing unit of the electronic signal of the data in a structuring pattern
Operation.This operation is converted at the data or the position being maintained in the memory system of the computer, reconfigurable
Or in addition change the running of the computer in mode known to the tester of this field.The maintained data structure of the data
For the provider location of the memory, there is the specific feature as defined in the data format.But the application principle is with above-mentioned text
Word illustrates that be not represented as a kind of limitation, this field tester will appreciate that plurality of step and behaviour as described below
Also it may be implemented in hardware.
The principle of the application is grasped using many other wide usages or specific purpose operation, communication environment or configuration
Make.The known example suitable for the arithmetic system of the application, environment and configuration may include (but being not limited to) hold phone,
Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer
Border, which includes any above system or devices.
Term " first ", " second " and " third " in the application etc. are for distinguishing different objects, rather than for retouching
State particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.
The embodiment of the present application provides a kind of backlight adjusting method, device, mobile terminal and storage medium.
Wherein, the backlight regulating device specifically can integrate such as mobile phone, tablet computer, palm PC (PDA,
PersonalDigital Assistant) etc. in terminals.For example, with reference to Fig. 1, user when opening automatic backlight regulatory function,
After terminal receives automatic backlight adjusting request, the light sensation value and position angle of the terminal are monitored;When monitoring the end
When the light sensation value at end and/or the variation of position angle meet preset condition, judge whether the terminal is in use state;If the end
End is in use state, then using default calibration algorithm simulated environment brightness;The terminal is adjusted according to the environmental light brightness
The power consumption penalty of terminal can be effectively reduced in backlight illumination.
It is described in detail separately below.It should be noted that the sequence of following embodiment is not as preferably suitable to embodiment
The restriction of sequence.
In the present embodiment, it will be described from the angle of backlight regulating device, which can integrate
Such as mobile phone, tablet computer, in palm PC terminal.
The embodiment of the present application provides a kind of backlight adjusting method, comprising: when terminal is opened automatic backlight and adjusted, to the end
The light sensation value and position angle at end are monitored;When the variation for the light sensation value and/or position angle for monitoring the terminal meets in advance
If when condition, judging whether the terminal is in use state;If the terminal is in use state, using default calibration algorithm mould
Quasi- environmental light brightness;The backlight illumination of the terminal is adjusted according to the environmental light brightness.
Referring to Fig. 2, Fig. 2 is the first pass schematic diagram of backlight adjusting method provided by the embodiments of the present application.
The detailed process of this method can be such that
101, when terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored.
For example, specifically can open optical sensor and acceleration transducer when terminal is opened automatic backlight and adjusted, utilize
The optical sensor carries out real-time monitoring to the light sensation value of the terminal, using the acceleration transducer to the position angle of the terminal into
Row real-time monitoring;If terminal does not open automatic backlight regulatory function, the backlight illumination of terminal is remained unchanged.
Wherein, light sensation value refers to that the optical sensor of terminal receives the value for being radiated at the luminous intensity of terminal, i.e. terminal connects
The illuminance received describes the illuminance that terminal receives with light inductance value here, that is, usually said for convenience
Lux degree (lux) indicates the luminous flux being subject on shot subject surface unit area.1 Lux be equivalent to 1 lumen/square
Rice, i.e., on the area of every square metre of shot subject, by one meter of distance, the light source that luminous intensity is 1 candle light, the light of vertical irradiation is logical
Amount.Light can refer to sunlight, light and candle light etc..Position angle refers to spatial position locating for terminal and putting angle
Degree, wherein spatial position can establish coordinate system by geographical coordinate, latitude and longitude information, or by mathematical method to describe
Etc., and placement angle can then be indicated by object relative to the tilt angle or other modes of plane.
It should be noted that optical sensor is a kind of sensing device in the embodiment of the present application, typically referring to can be sensitive by purple
Light energy and is converted into the device of electric signal to the light energy of infrared light by outer light, is mainly made of light-sensitive element, optical sensor
Predominantly ambient light sensor, infrared light transducer[sensor, sun optical sensor or ultraviolet light transducer etc., do not limit specifically herein
It is fixed.
And acceleration transducer then refers to a kind of sensor that can measure acceleration.Usually by mass block, damper,
The parts such as elastic element, sensing element and suitable tune circuit form.According to the difference of sensor sensing element, common acceleration is passed
Sensor includes condenser type, inductance type, strain-type, pressure resistance type or piezoelectric type etc..It, can by measuring the acceleration due to caused by gravity
To calculate the tilt angle of equipment with respect to the horizontal plane.By analyzing dynamic acceleration, the mobile side of equipment can analyze out
Formula.Etc..
102, when the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, judge the end
Whether end is in use state, if so, 103 are thened follow the steps, if it is not, then the backlight illumination of terminal remains unchanged.
For example, specifically the terminal can be obtained when the light sensation value and/or position angle for monitoring the terminal change
Light sensation value and/or position angle changing value size;If the light sensation value changing value of the terminal be greater than the first preset threshold, and/
Or position angle changing value is greater than the second preset threshold, it is determined that the light sensation value of the terminal and/or the variation of position angle meet
Preset condition.At this point, judging whether the terminal is in use state.
Wherein, the setting means of preset threshold can there are many kinds of, for example, can flexibly be set according to the demand of practical application
It sets, storage can also be pre-set in the terminal.In addition, preset threshold can be built in terminal, alternatively, can also save
In memory and be sent to terminal, etc..
Wherein, judge the terminal whether be in use state mode can there are many, for example, when terminal screen be blank screen
When, it is believed that terminal screen is in sleep state or dormant state (i.e. unused state), when user is to terminal unlocking or user
When the screen or terminal for lighting terminal operate etc., it is believed that terminal enters use state, etc..
If 103, the terminal is in use state, using default calibration algorithm simulated environment brightness.
If for example, when the terminal is in use state the actual environment of terminal can be simulated using default calibration algorithm
Brightness, the so-called actual environmental light brightness of terminal refer to that the practical brightness in environment locating for terminal, i.e. step " are adopted
With default calibration algorithm simulated environment brightness " may include:
(1) the current light sensation value of the terminal and current location angle are obtained.
For example, the optical sensor that can use unlatching obtains the current light sensation value of the terminal, and utilize the acceleration opened
Degree sensor obtains current location angle of the terminal, etc..
(2) according to the current light sensation value and current location angle, the environment light of the terminal is simulated using default calibration algorithm
Brightness.
Wherein, which can be configured according to the demand of practical application, for example, can be by searching for pre-
If data form obtains the environmental light brightness of the terminal, i.e., step " according to the current light sensation value and current location angle, uses
Default calibration algorithm simulates the environmental light brightness of the terminal " it is specifically as follows:
According to the current light sensation value and current location angle, using the corresponding environmental light brightness of preset data table lookup.
Wherein, which can be configured by operation maintenance personnel according to experimental data in advance, can also be by the backlight
Regulating device is voluntarily established, i.e., before step " using the corresponding environmental light brightness of preset data table lookup ", the back
Light regulation method can also include:
(1) multiple groups reference data is obtained, which includes the light sensation value and position angle of sample terminal;
For example, the optical sensor that can use the unlatching of sample terminal obtains the current light sensation value of the sample terminal, Yi Jili
The current location angle of the sample terminal is obtained with the acceleration transducer that sample terminal is opened.
(2) according to the environmental light brightness of the reference data analog sample terminal;
For example, can use the environmental light brightness in ambient light sensor collecting sample terminal local environment, sample terminal
Sample is simulated according to the environmental light brightness in the reference data and ambient light sensor collecting sample terminal local environment got
The actual environment brightness of this terminal, so obtain the actual environment brightness of the sample terminal, the light sensation value of sample terminal, with
And the corresponding relationship (i.e. the corresponding relationship of the reference data and the environmental light brightness) between the tilt angle of sample terminal.
(3) data form is established using the corresponding relationship of the reference data and the environmental light brightness.
Wherein, the pattern of the data form can be flexibly configured according to the demand of practical application, in addition, the tables of data
Lattice can be built in terminal, alternatively, can also save in memory and be sent to terminal, etc..
It optionally,, can ring locating for accurate simulation terminal when terminal is in various states in order in various environment
The actual light intensity degree in border, therefore, after establishing data form using the corresponding relationship of the reference data and the environmental light brightness
It can be with: establishing functional relation using the corresponding relationship of the reference data and the environmental light brightness.
Correspondingly, simulating the ring of the terminal using default calibration algorithm according to the current light sensation value and current location angle
Border brightness, can be with are as follows: according to the current light sensation value and current location angle, calculates corresponding environment using preset function relationship
Brightness.
For example, obtaining the current light sensation value of the terminal using the optical sensor of unlatching if the terminal is in use state
It, can be according to current light sensation value and present bit angle setting and after the acceleration transducer opened obtains the current location angle of the terminal
Degree quickly obtains the actual environment brightness of terminal by searching for preset data table, does not fall within data form in the data of acquisition
The actual environment brightness of the quick computing terminal of functional relation can also be passed through when middle;If the terminal is not in use state,
Any processing is not carried out to terminal.
104, the backlight illumination of the terminal is adjusted according to the environmental light brightness.
For example, the terminal can be adjusted according to the corresponding relationship of environmental light brightness preset in terminal and backlight illumination
Backlight illumination, the corresponding relationship of the environmental light brightness and backlight illumination is built-in adjusting terminal in the terminal before factory
Backlight illumination, subsequent can also reset.
From the foregoing, it will be observed that the present embodiment terminal open automatic backlight adjust when, to the light sensation value and position angle of the terminal
It is monitored, then, when the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, judgement should
Whether terminal is in use state, then, bright using default calibration algorithm simulated environment if the terminal is in use state
Degree, subsequently, the backlight illumination of the terminal is adjusted according to the environmental light brightness;The program by terminal is self-contained by adding
Velocity sensor obtains the position angle of user mobile phone, obtains light sensation value in conjunction with optical sensor, and designs calibration algorithm and carry out light
Feel data calibration, simulates the actual environment brightness of the terminal used based on user to adjust the backlight illumination of terminal, can disappear
The influence of angle is used except equipment receives light sensation deviation and user.Since the more accurate screen intensity of realization is adjusted, and avoid
Because the unnecessary screen automatic backlight carried out under unconscious shaking screen and unused state is adjusted, terminal is efficiently reduced
Power consumption penalty, better terminal screen automatic backlight can be obtained and adjust experience.
The method according to described in preceding embodiment will be specifically integrated in terminal with the backlight regulating device illustrate below
It is described in further detail.
It is common, since terminal (such as mobile phone) is because of unconscious shaking or under unused state, carry out screen backlight
Brightness regulation, or because of the influence that the received light sensation deviation of terminal and user use angle, cannot more accurately adjust screen
Backlight illumination is easy to cause power consumption of terminal to lose, and influences the experience of user, and automatically adjusts excessively high brightness and can produce to user
Raw certain visual stimulus, cannot protect the eyes of user well.Based on this, in the embodiment of the present application, introducing is installed on hand
Optical sensor and acceleration transducer on machine are monitored the light sensation value and position angle of mobile phone, and according to the monitoring knot
Fruit goes simulated environment brightness and then more accurately adjusts the backlight illumination of screen, efficiently reduces power consumption of terminal loss, is promoted
The experience of user.
Backlight adjusting method provided by the embodiments of the present application may include:
(1) it firstly, it is necessary to establish calibration algorithm, specifically can be such that
The foundation of calibration algorithm there are many kinds of mode, can pre-establish and it is built-in in the terminal, be also possible to it is subsequent again
Be stored in application program by terminal foundation, etc..Establishment process is as follows:
(1) multiple groups reference data is obtained, which includes the light sensation value and position angle of sample terminal.
Sample terminal acquires multiple groups reference data, which includes light sensation value and position angle of sample terminal etc..
For example, being 180lux, the tilt angle of sample terminal by the light sensation value that the optical sensor of sample terminal gets sample terminal
It is 0 °.
(2) according to the environmental light brightness of the reference data analog sample terminal.
Computer equipment is according to the actual environment brightness of the reference data analog sample terminal got, for example, specifically
It can use ambient light sensor and detect actual environment light sensation value, such as 200lux, then, computer equipment is according to sample terminal
Optical sensor get the light sensation value " 180lux " of sample terminal and tilt angle " 0 ° " goes to simulate actual environment light sensation value
200lux, and then obtain the inclination of the actual environment brightness of the sample terminal, the light sensation value of sample terminal and sample terminal
Corresponding relationship (i.e. the corresponding relationship of the reference data and the environmental light brightness) between angle.
(3) data form is established using the corresponding relationship of the reference data and the environmental light brightness.
Computer equipment establishes data form according to the corresponding relationship of the reference data and actual environment brightness, for example,
Multiple groups experimental data is specially acquired, data form is established using multiple groups experimental data, for example, wherein one group pair in data form
It should be related to that for the light sensation value 180lux of sample terminal and 0 ° of tilt angle corresponding actual environment light sensation value be 200lux.
Table 1
It can refer to table 1, table 1 is its that data form is established using the corresponding relationship of the reference data and the environmental light brightness
A kind of middle mode can also establish the corresponding relationship of reference data and environmental light brightness according to other modes.
It optionally,, can ring locating for accurate simulation terminal when terminal is in various states in order in various environment
Therefore the actual light intensity degree in border can use the corresponding relationship of reference data and the environmental light brightness in data form and establish and join
The functional relation between data and environmental light brightness is examined, establishes number using the corresponding relationship of the reference data and the environmental light brightness
After table, further includes:
Functional relation is established using the corresponding relationship of the reference data and the environmental light brightness.
(2) secondly, the backlight illumination of terminal is adjusted by the established data form and functional relation, have
Body can be found in Fig. 3.
Referring to Fig. 3, Fig. 3 is the second procedure schematic diagram of backlight adjusting method provided by the embodiments of the present application.
Detailed process can be such that
201, the automatic backlight that terminal receives user's triggering adjusts request.
For example, terminal can be generated automatic backlight and adjust request when user opens automatic backlight regulatory function.Work as terminal
When detecting that user opens automatic backlight regulatory function, step 202 is executed;If terminal does not open automatic backlight regulatory function,
The backlight illumination of terminal remains unchanged.
202, terminal opens optical sensor and acceleration transducer, then after receiving the automatic backlight and adjusting request
Execute step 203.
For example, terminal after receiving the automatic backlight and adjusting request, can be adjusted according to the automatic backlight and be requested, generate
It opens optical sensor instruction and opens acceleration transducer instruction, instructed according to the unlatching optical sensor and open optical sensor, with
And it is instructed according to the unlatching acceleration transducer and opens acceleration transducer.
Wherein, which may include ambient light sensor, infrared light transducer[sensor, sun optical sensor or ultraviolet light
Sensor etc. is not especially limited herein.And acceleration transducer may include condenser type, inductance type, strain-type, pressure drag
Formula, piezoelectric type etc., are not especially limited herein.
203, terminal is monitored the light sensation value and position angle of itself (i.e. the terminal).
Real-time monitoring is carried out to the light sensation value of the terminal for example, specifically can use the optical sensor, utilizes the acceleration
Sensor carries out real-time monitoring to the position angle of the terminal.For example, the light sensation value of a certain moment optical sensor monitoring terminal is
170lux, acceleration transducer monitor that the position angle of terminal is 5 °.
204, when the light sensation value and/or position angle that monitor the terminal change, terminal obtains itself (i.e. end
End) light sensation value and/or position angle changing value size.
For example, obtaining light sensation value and the position of the terminal when monitoring that the light sensation value of the terminal and position angle change
The size of angle setting degree changing value, or the light sensation value or position angle when changing of the terminal, obtain the light sensation value of the terminal
With the size of position angle changing value.For example, it is 0 ° that the light sensation value of the terminal, which becomes 180lux and the position angle of terminal, then
The changing value size of the light sensation value of the terminal is 10lux, and the changing value size of the position angle of the terminal is 5 °.
If 205, the light sensation value changing value of the terminal is greater than the first preset threshold and/or position angle changing value and is greater than the
Two preset thresholds, then terminal judges whether itself (i.e. the terminal) is in use state, if so, 206 are thened follow the steps, if it is not,
Then the backlight illumination of terminal remains unchanged.
Wherein, the setting means of preset threshold can there are many kinds of, for example, can flexibly be set according to the demand of practical application
It sets, storage can also be pre-set in the terminal.In addition, preset threshold can be built in terminal, alternatively, can also save
In memory and be sent to terminal, etc..For example, the first preset threshold of setting is 5lux, the first preset threshold of setting is 3 °,
If the light sensation value changing value of the terminal is greater than the first preset threshold and position angle changing value is greater than the second preset threshold, judge
Whether the terminal is in use state, alternatively, if the light sensation value changing value of the terminal is greater than the first preset threshold or position angle
Changing value is greater than the second preset threshold, then judges whether the terminal is in use state.
Wherein, judge the terminal whether be in use state mode can there are many, for example, when terminal screen be blank screen
When, it is believed that terminal screen is in sleep state or dormant state (i.e. unused state), when user is to terminal unlocking or user
When the screen or terminal for lighting terminal operate etc., it is believed that terminal enters use state, etc..
If 206, the terminal is in use state, terminal obtains itself (i.e. the terminal) current light sensation value and current location
Angle.
For example, the current light sensation value of the terminal is obtained using the optical sensor of unlatching if the terminal is in use state, benefit
The current location angle of the terminal is obtained with the acceleration transducer of unlatching.For example, the current light sensation value of the terminal got
The current location angle " 0 ° " of " 180lux " and the terminal.
207, according to the current light sensation value and current location angle, terminal uses default calibration algorithm to simulate itself and (is somebody's turn to do
Terminal) environmental light brightness.
Wherein, if the current light sensation value of the terminal got and current location angle use in preset data table
Default calibration algorithm simulates the environmental light brightness of the terminal, can be with are as follows: quickly searches corresponding environment using preset data table
Brightness.
For example, according to the current light sensation value " 180lux " of the terminal got and the current location angle of the terminal
" 0 ° " then uses preset data table (such as table 1) to search corresponding environmental light brightness quickly as 200lux.
Correspondingly, if the current light sensation value of the terminal got and current location angle not in preset data table,
According to the current light sensation value and current location angle, corresponding environmental light brightness is calculated using preset function relationship.
For example, if the current light sensation value " 190lux " of the terminal got and the current location angle " 5 ° " of the terminal,
Then use the corresponding environmental light brightness of preset function relationship calculating for 210lux, and so on, etc..
208, terminal adjusts the backlight illumination of itself (i.e. the terminal) according to the environmental light brightness.
For example, the terminal can be adjusted according to the corresponding relationship of environmental light brightness preset in terminal and backlight illumination
Backlight illumination, the corresponding relationship of the environmental light brightness and backlight illumination is built-in adjusting terminal in the terminal before factory
Backlight illumination, subsequent can also reset.
From the foregoing, it will be observed that the terminal of the present embodiment after the automatic backlight for receiving user's triggering adjusts request, is opened light and is passed
Sensor and acceleration transducer, and the light sensation value and position angle of itself (i.e. the terminal) are monitored, then, when monitoring
When the light sensation value and/or position angle of the terminal change, terminal obtains the light sensation value and/or position of itself (i.e. the terminal)
The size of angle change value, then, if the light sensation value changing value of the terminal is greater than the first preset threshold and/or position angle becomes
Change value is greater than the second preset threshold, then terminal judges itself (i.e. the terminal) whether in use state, subsequently, if the terminal
In use state, then terminal obtains itself (i.e. the terminal) current light sensation value and current location angle, and using default calibration
The environmental light brightness of algorithm simulation itself (i.e. the terminal), followed by adjusting itself (i.e. the terminal) according to the environmental light brightness
Backlight illumination;The program passes through the position angle by the self-contained acceleration transducer acquisition user mobile phone of terminal, knot
Light combination sensor obtains light sensation value, and designs calibration algorithm and carry out light sensation data calibration, simulates the terminal used based on user
Actual environment brightness adjusts the backlight illumination of terminal, can eliminate the shadow that equipment receives light sensation deviation and user uses angle
It rings.Since the more accurate screen intensity of realization is adjusted, and avoid because being carried out under unconscious shaking screen and unused state
Unnecessary screen automatic backlight adjust, efficiently reduce the power consumption penalty of terminal, can obtain better terminal screen from
Dynamic backlight adjusts experience.
In order to better implement backlight adjusting method provided by the embodiments of the present application, the embodiment of the present application also provides a kind of back
Light regulating device, the backlight regulating device specifically can integrate in the terminals such as such as mobile phone, tablet computer, palm PC.Wherein
The meaning of noun is identical with above-mentioned backlight adjusting method, and specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the first structure diagram of backlight regulating device provided by the embodiments of the present application, the backlight
Regulating device 300 include memory 310, one or more processors 320 and one or more application program, wherein this one
A or multiple application programs are stored in the memory 310, and are configured to be executed by the processor 320;The processor 320 can
To include monitoring modular 321, judgment module 322, calibration module 323 and adjustment module 324.For example, the above all parts
Structure and connection relationship can be such that
Memory 310 can be used for storing application program and data.It include that can hold in the application program that memory 310 stores
Line code.Application program can form various functional modules.Processor 320 is stored in the application journey of memory 310 by operation
Sequence, thereby executing various function application and data processing.In addition, memory 310 may include high-speed random access memory,
It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited
Memory device.Correspondingly, memory 310 can also include Memory Controller, to provide visit of the processor 320 to memory 310
It asks.
Processor 320 is the control centre of device, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the application program being stored in memory 310, and call the data being stored in memory 310, execute
The various functions and processing data of device, to carry out integral monitoring to device.Optionally, processor 320 may include one or
Multiple processing cores;Preferably, processor 320 can integrate application processor and modem processor, wherein application processor
Main processing operation system, user interface and application program etc..
Specifically in the present embodiment, processor 320 can be according to following instruction, by one or more application program
The corresponding executable code of process be loaded into memory 310, and run by processor 320 storage in memory 310
Application program, to realize various functions:
(1) monitoring modular 321;
Monitoring modular 321, for when terminal is opened automatic backlight and is adjusted, light sensation value and position angle to the terminal into
Row monitoring.
In the embodiment of the present application, light sensation value refers to that the optical sensor of terminal receives the luminous intensity for being radiated at terminal
Value, light can refer to sunlight, light and candle light etc..Position angle refers to spatial position locating for terminal and putting angle
Degree.For example, terminal opens automatic backlight regulatory function first, i.e., automatic backlight, which is adjusted, is in initiate mode;Then, to terminal
Light sensation value and position angle are monitored.If terminal does not open automatic backlight regulatory function, the backlight illumination of terminal is kept
It is constant.
For example, as shown in figure 5, the monitoring modular 321 can be used for being monitored the light sensation value and position angle of terminal
Embodiment have very much, in some embodiments, monitoring modular 321 may include open submodule 3211, first monitor
Submodule 3212 and the second monitoring submodule 3213:
Submodule 3211 is opened, can be used for opening optical sensor and acceleration transducer.
First monitoring submodule 3212, can be used for being supervised in real time using light sensation value of the optical sensor to the terminal
It surveys.
Second monitoring submodule 3213 can be used for carrying out using position angle of the acceleration transducer to the terminal real
When monitor.
For example, opening terminal included optical sensor and acceleration transducer, benefit when terminal is opened automatic backlight and adjusted
Real-time monitoring is carried out with light sensation value of the optical sensor to the terminal, using the acceleration transducer to the position angle of the terminal
Carry out real-time monitoring.
(2) judgment module 322;
Judgment module 322, for meeting preset condition when the variation of the light sensation value and/or position angle that monitor the terminal
When, judge whether the terminal is in use state.
Wherein, judge the terminal whether be in use state mode can there are many, for example, in the embodiment of the present application
In, when terminal screen be blank screen when, it is believed that terminal screen is in sleep state or dormant state (i.e. unused state), when with
The screen of terminal to be lighted to terminal unlocking or user or when terminal operate etc. in family, it is believed that terminal enters use state, etc.
Deng.
For example, judgment module 322, specifically can be used for when the variation of the light sensation value and position angle that monitor the terminal is full
When sufficient preset condition, alternatively, judgement should when the variation of the light sensation value or position angle that monitor the terminal meets preset condition
Whether terminal is in use state.
For example, as shown in fig. 6, in some embodiments, judgment module 322 may include the first acquisition submodule 3221
With Comparative sub-module 3222:
First acquisition submodule 3221 can be used for monitor that the light sensation value of the terminal and/or position angle become
When change, the light sensation value of the terminal and/or the size of position angle changing value are obtained;
Comparative sub-module 3222, if the light sensation value changing value that can be used for the terminal is greater than the first preset threshold and/or position
Angle setting degree changing value is greater than the second preset threshold, it is determined that the light sensation value of the terminal and/or the variation satisfaction of position angle are default
Condition.
Wherein, the setting means of preset threshold can there are many kinds of, for example, can flexibly be set according to the demand of practical application
It sets, storage can also be pre-set in the terminal.In addition, preset threshold can be built in terminal, alternatively, can also save
In memory and be sent to terminal, etc..
(3) calibration module 323;
Calibration module 323, it is bright using default calibration algorithm simulated environment if being in use state for the terminal
Degree.
For example, calibration module 323 can be using default calibration algorithm if being specifically used for the terminal is in use state
The actual environmental light brightness of terminal is simulated, the so-called actual environmental light brightness of terminal refers to the reality in environment locating for terminal
Border brightness.
For example, as shown in fig. 7, in some embodiments, calibration module 323 may include the second acquisition submodule 3231
With calibration submodule 3232:
Second acquisition submodule 3231 can be used for obtaining the current light sensation value of the terminal and current location angle;
Such as: the second acquisition submodule 3231 specifically can be used for obtaining working as the terminal using the optical sensor opened
Preceding light sensation value, and obtain using the acceleration transducer of unlatching the current location angle, etc. of the terminal.
Submodule 3232 is calibrated, can be used for being calculated according to the current light sensation value and current location angle using default calibration
Method simulates the environmental light brightness of the terminal.
Wherein, which can be configured according to the demand of practical application, for example, can be by searching for pre-
If data form obtains the environmental light brightness of the terminal, i.e. calibration submodule 3232 is specifically as follows: according to the current light sensation
Value and current location angle, using the corresponding environmental light brightness of preset data table lookup.
For example, the second acquisition submodule 3231 is obtained using the optical sensor opened if the terminal is in use state
It, can be by calibration after the current light sensation value of the terminal and the acceleration transducer of unlatching obtain the current location angle of the terminal
Module 3232 quickly searches by searching for preset data table according to current light sensation value and current position angle and obtains terminal
Actual environment brightness.
Wherein, which can be configured by operation maintenance personnel according to experimental data in advance, can also be by the backlight
Regulating device is voluntarily established, i.e., can also include obtaining module 325, mould as shown in figure 8, in the backlight regulating device
Quasi- module 326 and data table module 327, as follows:
Module 325 is obtained, for obtaining multiple groups reference data, which includes light sensation value and the position of sample terminal
Angle;
For example, obtaining module 325, can be used for obtaining working as the sample terminal using the optical sensor that sample terminal is opened
Preceding light sensation value, and the current location angle of the sample terminal is obtained using the acceleration transducer that sample terminal is opened.
Analog module 326, for the environmental light brightness according to the reference data analog sample terminal;
For example, analog module 326, can be used for utilizing the environment in ambient light sensor collecting sample terminal local environment
Brightness, sample terminal is according to the ring in the reference data and ambient light sensor collecting sample terminal local environment got
The actual environment brightness of border brightness analog sample terminal, and then obtain the actual environment brightness of the sample terminal, sample
Corresponding relationship (the i.e. reference data and the environmental light brightness between the light sensation value of terminal and the tilt angle of sample terminal
Corresponding relationship).
Data form module 327, for establishing tables of data using the corresponding relationship of the reference data and the environmental light brightness
Lattice.
Wherein, the pattern of the data form can be flexibly configured according to the demand of practical application, in addition, the tables of data
Lattice can be built in terminal, alternatively, can also save in memory and be sent to terminal, etc..
It optionally,, can ring locating for accurate simulation terminal when terminal is in various states in order in various environment
The actual light intensity degree in border, as shown in figure 9, can also include functional relation module 328 in the backlight regulating device:
Functional relation module 328 is closed for establishing function using the corresponding relationship of the reference data and the environmental light brightness
System.
Correspondingly, calibration submodule 3232, specifically can be used for being used according to the current light sensation value and current location angle
Preset function relationship calculates corresponding environmental light brightness.
For example, being obtained in the second acquisition submodule 3231 using the optical sensor of unlatching if the terminal is in use state
It, can be by calibrating after the acceleration transducer of the current light sensation value and unlatching that take the terminal obtains the current location angle of the terminal
Submodule 3232 passes through the actual environment of the quick computing terminal of functional relation according to current light sensation value and current position angle
Brightness can also pass through the actual environment of the quick computing terminal of functional relation when the data of acquisition are not fallen in data form
Brightness;If the terminal is not in use state, any processing is not carried out to terminal.
(4) adjustment module 324;
Adjustment module 324, for adjusting the backlight illumination of the terminal according to the environmental light brightness.
For example, adjustment module 324, can be used for pair according to environmental light brightness and backlight illumination preset in terminal
It should be related to the backlight illumination for adjusting the terminal, the corresponding relationship of the environmental light brightness and backlight illumination is to be built in the end before factory
The backlight illumination for adjusting the terminal in end, subsequent can also reset.
It will be understood by those skilled in the art that the restriction of the not structure twin installation of backlight regulating device shown in Fig. 4, it can
To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
From the foregoing, it will be observed that the monitoring modular 321 of the backlight regulating device of the present embodiment terminal open automatic backlight adjust when,
Can light sensation value to the terminal and position angle be monitored, then, by judgment module 322 when the light sensation that monitor the terminal
When the variation of value and/or position angle meets preset condition, judge whether the terminal is in use state, then, by calibrating die
If block 323 executes the terminal and is in use state, using default calibration algorithm simulated environment brightness, subsequently, by adjusting
Module 324 adjusts the backlight illumination of the terminal according to the environmental light brightness;The program passes through the acceleration self-contained by terminal
The position angle that sensor obtains user mobile phone is spent, obtains light sensation value in conjunction with optical sensor, and designs calibration algorithm and carries out light sensation
Data calibration is simulated the actual environment brightness of the terminal used based on user to adjust the backlight illumination of terminal, can eliminated
Equipment receives light sensation deviation and user uses the influence of angle.Due to realizing that more accurate screen intensity is adjusted, and avoid because
The unconscious unnecessary screen automatic backlight carried out under screen and unused state that shakes is adjusted, and efficiently reduces terminal
Power consumption penalty can obtain better terminal screen automatic backlight and adjust experience.
Correspondingly, the embodiment of the present application also provides a kind of terminal, as shown in Figure 10, which can be used for implementing above-mentioned reality
The backlight adjusting method and device provided in example is provided.The terminal may include radio frequency (RF, Radio Frequency) circuit 401,
It includes one or more the memory 402 of computer readable storage medium, input unit 403, display unit 404, pass
Sensor 405, Wireless Fidelity (WiFi, Wireless Fidelity) module 407, includes one or one at voicefrequency circuit 406
The components such as the processor 408 and power supply 409 of a above processing core.It will be understood by those skilled in the art that being shown in Figure 10
Terminal structure not structure paired terminal restriction, may include than illustrating more or fewer components, or the certain portions of combination
Part or different component layouts.Wherein:
RF circuit 401 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 408 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuit 401 can also by wireless communication with network and its
He communicates equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 402 can be used for storing software program and module, and processor 408 is stored in memory 402 by operation
Software program and module, thereby executing various function application and data processing.Memory 402 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 402 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 402 can also include Memory Controller, to provide processor 408 and input unit 403 to memory 402
Access.
Input unit 403 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 403 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 408, and can reception processing
Order that device 408 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 403 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick etc. are a variety of.
Display unit 404 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 404 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 408 is followed by subsequent processing device 408 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and defeated as two independent components in Figure 10
Enter function, but in some embodiments it is possible to touch sensitive surface and display panel is integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 406, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can
By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 406, then
After the processing of audio data output processor 408, it is sent to such as another terminal through RF circuit 401, or by audio data
Output is further processed to memory 402.Voicefrequency circuit 406 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 407
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 10 is shown
WiFi module 407, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 408 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 402, and call and be stored in memory 402
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 408 can wrap
Include one or more processing cores;Preferably, processor 408 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 408.
Terminal further includes the power supply 409 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 408 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 409 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the processor 408 in terminal can be corresponding by the process of one or more application program according to following instruction
Executable file is loaded into memory 402, and the application program being stored in memory 402 is run by processor 408, from
And realize various functions:
When terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored;When monitoring
When the light sensation value of the terminal and/or the variation of position angle meet preset condition, judge whether the terminal is in use state;If
The terminal is in use state, then using default calibration algorithm simulated environment brightness;The end is adjusted according to the environmental light brightness
The backlight illumination at end.
Optionally, the light sensation value and position angle of the terminal are monitored, can specifically open optical sensor and acceleration
Spend sensor;Real-time monitoring is carried out using light sensation value of the optical sensor to the terminal;Using the acceleration transducer to the end
The position angle at end carries out real-time monitoring.
Optionally, the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, specifically can wrap
It includes: when the light sensation value and/or position angle that monitor the terminal change, obtaining light sensation value and/or the position of the terminal
The size of angle change value;If the light sensation value changing value of the terminal is greater than the first preset threshold and/or position angle changing value is big
In the second preset threshold, then meet preset condition.
Optionally, it using default calibration algorithm simulated environment brightness, can specifically include: obtaining the current light of the terminal
Inductance value and current location angle;According to the current light sensation value and current location angle, which is simulated using default calibration algorithm
Environmental light brightness.
Correspondingly, simulating the ring of the terminal using default calibration algorithm according to the current light sensation value and current location angle
Border brightness, can according to the current light sensation value and current location angle, using the corresponding environment of preset data table lookup
Brightness.
It optionally, can also include: to obtain multiple groups reference number before using default calibration algorithm simulated environment brightness
According to the reference data includes the light sensation value and position angle of sample terminal;According to the environment of the reference data analog sample terminal
Brightness;Data form is established using the corresponding relationship of the reference data and the environmental light brightness.
It, can be with after establishing data form using the corresponding relationship of the reference data and the environmental light brightness are as follows: utilize
The corresponding relationship of the reference data and the environmental light brightness establishes functional relation.
Correspondingly, simulating the ring of the terminal using default calibration algorithm according to the current light sensation value and current location angle
It, can be with after the brightness of border are as follows: according to the current light sensation value and current location angle, calculated using preset function relationship corresponding
Environmental light brightness.
Above each operation is for details, reference can be made to the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that the terminal of the present embodiment is when itself opening automatic backlight and adjusting, can light sensation value to itself and
Position angle is monitored, then, when the light sensation value and/or the variation of position angle that monitor itself meet preset condition,
Judge whether itself is in use state, then, if itself being in use state, using default calibration algorithm simulated environment light
Brightness subsequently adjusts the backlight illumination of itself according to the environmental light brightness;The program by terminal is self-contained by adding
Velocity sensor obtains the position angle of user mobile phone, obtains light sensation value in conjunction with optical sensor, and designs calibration algorithm and carry out light
Feel data calibration, simulates the actual environment brightness of the terminal used based on user to adjust the backlight illumination of terminal, can disappear
The influence of angle is used except equipment receives light sensation deviation and user.Since the more accurate screen intensity of realization is adjusted, and avoid
Because the unnecessary screen automatic backlight carried out under unconscious shaking screen and unused state is adjusted, terminal is efficiently reduced
Power consumption penalty, better terminal screen automatic backlight can be obtained and adjust experience.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present application provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be processed
Device is loaded, to execute any network flow resource sharing side for being applied to share terminal provided by the embodiment of the present application
Step in method.For example, the instruction can execute following steps:
When terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored;When monitoring
When the light sensation value of the terminal and/or the variation of position angle meet preset condition, judge whether the terminal is in use state;If
The terminal is in use state, then using default calibration algorithm simulated environment brightness;The end is adjusted according to the environmental light brightness
The backlight illumination at end
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any provided by the embodiment of the present application be applied to can be executed
Step in backlight adjusting method, it is thereby achieved that any provided by the embodiment of the present application be applied to backlight adjusting side
Beneficial effect achieved by method is detailed in the embodiment of front, and details are not described herein.
Above to a kind of backlight adjusting method, device, mobile terminal and storage medium provided by the embodiment of the present application into
It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (10)
1. a kind of backlight adjusting method characterized by comprising
When terminal is opened automatic backlight and adjusted, the light sensation value and position angle of the terminal are monitored;
When the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition, judge that the terminal is
It is no to be in use state;
If the terminal is in use state, using default calibration algorithm simulated environment brightness;
The backlight illumination of the terminal is adjusted according to the environmental light brightness.
2. backlight adjusting method according to claim 1, which is characterized in that the light sensation value and position angle to the terminal
Degree is monitored, comprising:
Open optical sensor and acceleration transducer;
Real-time monitoring is carried out using light sensation value of the optical sensor to the terminal;
Real-time monitoring is carried out using position angle of the acceleration transducer to the terminal.
3. backlight adjusting method according to claim 1, which is characterized in that the light sensation value for monitoring the terminal and/
Or the variation of position angle meets preset condition, comprising:
When the light sensation value and/or position angle that monitor the terminal change, obtain the terminal light sensation value and/or
The size of position angle changing value;
If the light sensation value changing value of the terminal is greater than the first preset threshold and/or position angle changing value is greater than second and presets
Threshold value, it is determined that the light sensation value of the terminal and/or the variation of position angle meet preset condition.
4. backlight adjusting method according to claim 1, which is characterized in that described using default calibration algorithm simulated environment light
Brightness, comprising:
Obtain the current light sensation value and current location angle of the terminal;
According to the current light sensation value and current location angle, the environment bright of the terminal is simulated using default calibration algorithm
Degree.
5. backlight adjusting method according to claim 4, which is characterized in that described according to the current light sensation value and present bit
Angle setting degree simulates the environmental light brightness of the terminal using default calibration algorithm, comprising:
According to the current light sensation value and current location angle, using the corresponding environmental light brightness of preset data table lookup.
6. according to claim 1 to any one of 5 backlight adjusting methods, which is characterized in that described using default calibration algorithm
Before simulated environment brightness, further includes:
Multiple groups reference data is obtained, the reference data includes the light sensation value and position angle of sample terminal;
According to the environmental light brightness of the reference data analog sample terminal;
Data form is established using the corresponding relationship of the reference data and the environmental light brightness.
7. backlight adjusting method according to claim 6, which is characterized in that described to utilize the reference data and the environment
The corresponding relationship of brightness is established after data form, further includes:
Functional relation is established using the corresponding relationship of the reference data and the environmental light brightness.
It is described according to the current light sensation value and current location angle, the environment light of the terminal is simulated using default calibration algorithm
Brightness, specifically: according to the current light sensation value and current location angle, corresponding environment light is calculated using preset function relationship
Brightness.
8. a kind of backlight regulating device characterized by comprising
One or more processors;
Memory;And
One or more application program wherein one or more of application programs are stored in the memory, and configures
To be executed by the processor;
Monitoring modular, for being supervised to the light sensation value and position angle of the terminal when terminal is opened automatic backlight and adjusted
It surveys;
Judgment module, for sentencing when the variation of the light sensation value and/or position angle that monitor the terminal meets preset condition
Whether the terminal of breaking is in use state;
Calibration module, if being in use state for the terminal, using default calibration algorithm simulated environment brightness;
Adjustment module, for adjusting the backlight illumination of the terminal according to the environmental light brightness.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and memory, is stored in the memory
There is computer program, the processor is used for perform claim by calling the computer program stored in the memory
It is required that 1 to 7 described in any item backlight adjusting methods.
10. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, and described instruction is suitable for processor
It is loaded, the step in 1 to 7 described in any item backlight adjusting methods is required with perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811505587.6A CN109523977A (en) | 2018-12-10 | 2018-12-10 | Backlight adjusting method, device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811505587.6A CN109523977A (en) | 2018-12-10 | 2018-12-10 | Backlight adjusting method, device, mobile terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109523977A true CN109523977A (en) | 2019-03-26 |
Family
ID=65795179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811505587.6A Pending CN109523977A (en) | 2018-12-10 | 2018-12-10 | Backlight adjusting method, device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109523977A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110660087A (en) * | 2019-08-16 | 2020-01-07 | 深圳市万普拉斯科技有限公司 | Light perception correction method, device, electronic device and storage medium |
CN112525340A (en) * | 2020-12-01 | 2021-03-19 | 珠海格力电器股份有限公司 | Method and device for acquiring light intensity value, storage medium and electronic equipment |
CN112783858A (en) * | 2021-01-04 | 2021-05-11 | 北京小米移动软件有限公司 | Brightness adjusting method and device, display equipment and medium |
CN113108904A (en) * | 2021-04-20 | 2021-07-13 | 武汉华星光电技术有限公司 | Ambient light monitoring method and device, storage medium and mobile terminal |
CN113612882A (en) * | 2021-08-17 | 2021-11-05 | RealMe重庆移动通信有限公司 | Screen brightness adjusting method and device, storage medium and terminal |
CN115831076A (en) * | 2021-09-17 | 2023-03-21 | 北京小米移动软件有限公司 | Screen brightness adjusting method and device, terminal and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002199256A (en) * | 2000-10-31 | 2002-07-12 | Hewlett Packard Co <Hp> | Display device with lighting and how to use |
US20060187233A1 (en) * | 2003-09-29 | 2006-08-24 | Diefenbaugh Paul S | Dynamic image luminance adjustment based on backlight and/or ambient brightness |
CN102097056A (en) * | 2009-12-11 | 2011-06-15 | 宏达国际电子股份有限公司 | Electronic device and method for controlling backlight brightness thereof |
CN102946459A (en) * | 2012-11-01 | 2013-02-27 | 广东欧珀移动通信有限公司 | Rapid regulation method for screen backlight brightness and mobile terminal |
CN103117044A (en) * | 2013-01-07 | 2013-05-22 | 华为终端有限公司 | Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal |
CN103458110A (en) * | 2013-08-17 | 2013-12-18 | 广东欧珀移动通信有限公司 | Method and mobile terminal for adjusting display screen backlight in combination with acceleration sensor |
CN104469022A (en) * | 2014-12-03 | 2015-03-25 | 北京元心科技有限公司 | Backlight lamp regulation method and system and handheld terminal |
CN104464650A (en) * | 2014-12-29 | 2015-03-25 | 合肥宝龙达光电技术有限公司 | Automatic control system and method for display brightness |
CN104464686A (en) * | 2013-09-17 | 2015-03-25 | 联想(北京)有限公司 | Display brilliance control method and electronic device |
CN105895053A (en) * | 2016-04-08 | 2016-08-24 | 广东欧珀移动通信有限公司 | Method and device for adjusting backlight brightness of terminal screen |
CN106506831A (en) * | 2016-10-26 | 2017-03-15 | 广东欧珀移动通信有限公司 | Control method and control device |
CN108833670A (en) * | 2018-04-28 | 2018-11-16 | Oppo广东移动通信有限公司 | Backlight adjustment method and related device |
-
2018
- 2018-12-10 CN CN201811505587.6A patent/CN109523977A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002199256A (en) * | 2000-10-31 | 2002-07-12 | Hewlett Packard Co <Hp> | Display device with lighting and how to use |
US20060187233A1 (en) * | 2003-09-29 | 2006-08-24 | Diefenbaugh Paul S | Dynamic image luminance adjustment based on backlight and/or ambient brightness |
CN102097056A (en) * | 2009-12-11 | 2011-06-15 | 宏达国际电子股份有限公司 | Electronic device and method for controlling backlight brightness thereof |
CN102946459A (en) * | 2012-11-01 | 2013-02-27 | 广东欧珀移动通信有限公司 | Rapid regulation method for screen backlight brightness and mobile terminal |
CN103117044A (en) * | 2013-01-07 | 2013-05-22 | 华为终端有限公司 | Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal |
CN103458110A (en) * | 2013-08-17 | 2013-12-18 | 广东欧珀移动通信有限公司 | Method and mobile terminal for adjusting display screen backlight in combination with acceleration sensor |
CN104464686A (en) * | 2013-09-17 | 2015-03-25 | 联想(北京)有限公司 | Display brilliance control method and electronic device |
CN104469022A (en) * | 2014-12-03 | 2015-03-25 | 北京元心科技有限公司 | Backlight lamp regulation method and system and handheld terminal |
CN104464650A (en) * | 2014-12-29 | 2015-03-25 | 合肥宝龙达光电技术有限公司 | Automatic control system and method for display brightness |
CN105895053A (en) * | 2016-04-08 | 2016-08-24 | 广东欧珀移动通信有限公司 | Method and device for adjusting backlight brightness of terminal screen |
CN106506831A (en) * | 2016-10-26 | 2017-03-15 | 广东欧珀移动通信有限公司 | Control method and control device |
CN108833670A (en) * | 2018-04-28 | 2018-11-16 | Oppo广东移动通信有限公司 | Backlight adjustment method and related device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110660087A (en) * | 2019-08-16 | 2020-01-07 | 深圳市万普拉斯科技有限公司 | Light perception correction method, device, electronic device and storage medium |
CN110660087B (en) * | 2019-08-16 | 2022-05-13 | 深圳市万普拉斯科技有限公司 | Light sensation correction method and device, electronic equipment and storage medium |
CN112525340A (en) * | 2020-12-01 | 2021-03-19 | 珠海格力电器股份有限公司 | Method and device for acquiring light intensity value, storage medium and electronic equipment |
CN112525340B (en) * | 2020-12-01 | 2021-12-14 | 珠海格力电器股份有限公司 | Method and device for acquiring light intensity value, storage medium and electronic equipment |
CN112783858A (en) * | 2021-01-04 | 2021-05-11 | 北京小米移动软件有限公司 | Brightness adjusting method and device, display equipment and medium |
CN112783858B (en) * | 2021-01-04 | 2024-08-09 | 北京小米移动软件有限公司 | Brightness adjusting method and device, display equipment and medium |
CN113108904A (en) * | 2021-04-20 | 2021-07-13 | 武汉华星光电技术有限公司 | Ambient light monitoring method and device, storage medium and mobile terminal |
CN113612882A (en) * | 2021-08-17 | 2021-11-05 | RealMe重庆移动通信有限公司 | Screen brightness adjusting method and device, storage medium and terminal |
CN115831076A (en) * | 2021-09-17 | 2023-03-21 | 北京小米移动软件有限公司 | Screen brightness adjusting method and device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109523977A (en) | Backlight adjusting method, device, mobile terminal and storage medium | |
CN105487649B (en) | A kind of reminding method and mobile terminal | |
CN104166614B (en) | The frame per second detection method and relevant apparatus of a kind of mobile device | |
CN104572690B (en) | A kind of methods, devices and systems obtaining web data | |
CN105224556B (en) | Waterfall stream interface display methods and device | |
CN104077211B (en) | A kind of test method and test system of mobile terminal software | |
CN104363988B (en) | A kind of management method and device of multi-core processor | |
CN109348067A (en) | A kind of method, mobile terminal and computer readable storage medium adjusting screen display brightness | |
WO2021129147A1 (en) | Proximity sensor anomaly detection method and apparatus and mobile terminal | |
CN103399657B (en) | The control method of mouse pointer, device and terminal unit | |
CN103530115A (en) | Application program display method and device and terminal equipment | |
CN107948404A (en) | A kind of method, terminal device and computer-readable recording medium for handling message | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN109246291A (en) | Mobile terminal and sleep based reminding method, device | |
CN108989570A (en) | Mobile terminal and the method, apparatus for determining screen starting brightness value | |
CN109743867A (en) | Heat dissipating method, mobile terminal and the computer readable storage medium of mobile terminal | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN108920306A (en) | What is managed based on memory restarts localization method, mobile terminal and readable storage medium storing program for executing | |
CN110413363A (en) | A kind of screenshot method and terminal device | |
CN105807908B (en) | A kind of method and apparatus of switching working mode | |
CN107103074A (en) | The processing method and mobile terminal of a kind of sharing information | |
CN109816679A (en) | Image processing method and terminal device | |
CN108268232A (en) | A kind of image display method, device, system and storage medium | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
CN110413639A (en) | Data check method and device, electronic equipment and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190326 |