CN105825839B - A kind of brightness adjusting method, device and terminal - Google Patents
A kind of brightness adjusting method, device and terminal Download PDFInfo
- Publication number
- CN105825839B CN105825839B CN201610326253.7A CN201610326253A CN105825839B CN 105825839 B CN105825839 B CN 105825839B CN 201610326253 A CN201610326253 A CN 201610326253A CN 105825839 B CN105825839 B CN 105825839B
- Authority
- CN
- China
- Prior art keywords
- terminal
- luminous intensity
- angle
- brightness
- tilt angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of brightness adjusting method, device and terminals;The described method includes: when the tilt angle of terminal changes, obtain the changing value of tilt angle and the ambient light intensity of current environment, it obtains angle change and is worth corresponding luminous intensity compensated information, ambient light intensity is compensated according to the luminous intensity compensated information, is adjusted according to brightness of display screen of the compensated ambient light intensity to terminal;This programme can compensate ambient light intensity when the current tilt angle of terminal changes, relative to the brightness adjustment approach in existing terminal, when can change in terminal tilt angle and brightness of display screen is caused to change, brightness is compensated accordingly, improves the accuracy of brightness regulation.
Description
Technical field
The present invention relates to field of display technology, and in particular to a kind of brightness adjusting method, device and terminal.
Background technique
With the development in telecommunications field, the various electronic equipments with display screen become must not in people's daily life
Can less study, converter tools, such as mobile phone, tablet computer, laptop etc..In the prior art, display screen in electronic equipment
Brightness regulation there are mainly two types of mode: manually adjust and automatically adjust.Under automatic adjustment mode, electronic equipment passes through first
Ambient light sensor detects current ambient light intensity, then according to pair of preset ambient light intensity and display-screen brightness grading
It should be related to the brightness of automatic adjustment display screen.
In practical applications, such as under the fixed environment of an ambient light intensity, the tilt angle of electronic equipment occurs
Variation largely influences whether the luminous intensity into the light well of electronic equipment.It will lead to ambient light sensor detection in this way
The environmental light intensity angle value through light well arrived changes, and the brightness of display screen for further adjusting electronic equipment changes.But
True ambient light intensity does not change at this time, will result in the adjusting inaccuracy of brightness of display screen in this way.
From the foregoing, it will be observed that the technical problem that existing brightness of display screen regulative mode is low there are brightness regulation accuracy rate.
Summary of the invention
The embodiment of the present invention provides a kind of brightness adjusting method, device and terminal, can solve existing brightness adjustment approach
There are the low technical problems of brightness regulation accuracy rate.
The embodiment of the present invention provides a kind of brightness adjusting method, comprising:
When the tilt angle of terminal changes, the changing value and current environment of the tilt angle are obtained
Ambient light intensity;
Obtain the corresponding luminous intensity compensated information of the angle change value;
The ambient light intensity is compensated according to the luminous intensity compensated information;
It is adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal.
Further, after the changing value for obtaining the tilt angle, the corresponding light intensity of the angle change value is obtained
It spends before compensated information, the method also includes:
Judge whether the angle change value is greater than preset threshold;
The step of angle change is worth corresponding luminous intensity compensated information is obtained if so, executing.
Further, the step being adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal
Suddenly it specifically includes:
Obtain the luminous intensity difference between the compensated ambient light intensity and history luminous intensity;
The brightness of display screen of the terminal is adjusted according to the luminous intensity difference.
Further, before the tilt angle of terminal changes, the method also includes:
The setting request of reception relationship, the relationship setting request instruction need to establish the luminous intensity compensated information of mapping relations
And predetermined angle changing value;
The mapping between the luminous intensity compensated information and predetermined angle changing value is established according to relationship setting request
Relationship, to obtain mapping relations set;
Described the step of obtaining the angle change value corresponding luminous intensity compensated information, specifically includes:
Corresponding luminous intensity compensated information is obtained according to the angle change value and the mapping relations set.
Further, before the setting request of the relationship of reception, the method also includes:
Obtain predetermined angle changing value and its corresponding intensity variation ratio;
The angle change, which is obtained, according to the intensity variation ratio is worth corresponding compensated information.
Further, in embodiments of the present invention, it if the angle change value is less than preset threshold, keeps current and shows
Display screen brightness.
The embodiment of the invention also provides a kind of brightness regulating apparatus, comprising: angle obtains module, luminous intensity obtains mould
Block, compensated information obtain module, compensating module and adjustment module;
The angle obtains module, for obtaining the change of the tilt angle when the tilt angle of terminal changes
Change value;
The luminous intensity obtains module, for obtaining the ambient light intensity of current environment;
The compensated information obtains module, for obtaining the corresponding luminous intensity compensated information of the angle change value;
The compensating module, for being compensated according to the luminous intensity compensated information to the ambient light intensity;
The adjustment module, for being adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal
Section.
Further, described device further include: judgment module;
The judgment module, it is described for being obtained after module obtains the changing value of the tilt angle in the angle
Compensated information obtains the module acquisition angle change and is worth before corresponding luminous intensity compensated information, judges the angle change value
Whether it is greater than preset threshold, is worth corresponding luminous intensity if so, obtaining module by the compensated information and obtaining the angle change
Compensated information.
Wherein, the adjustment module specifically includes: acquisition submodule and adjusting submodule;
The acquisition submodule, for obtaining the luminous intensity between the compensated ambient light intensity and history luminous intensity
Difference;
The adjusting submodule, for the brightness of display screen of the terminal to be adjusted according to the luminous intensity difference.
In embodiments of the present invention, described device further include: receiving module and establish module;
The receiving module before changing for the tilt angle in terminal, receives relationship setting request, the pass
System's setting request instruction needs to establish the compensated information and angle change value of mapping relations;
It is described to establish module, for being established between the compensated information and angle change value according to relationship setting request
Mapping relations, to obtain mapping relations set;
The compensated information obtains module, is specifically used for being obtained according to the angle change value and the mapping relations set
Corresponding luminous intensity compensated information.
The embodiment of the present invention is used when the tilt angle of terminal changes, and is obtained the changing value of tilt angle and is worked as
The ambient light intensity of preceding local environment obtains angle change and is worth corresponding luminous intensity compensated information, compensated and believed according to the luminous intensity
Breath compensates ambient light intensity, is adjusted according to brightness of display screen of the compensated ambient light intensity to terminal;We
Case can compensate ambient light intensity when the current tilt angle of terminal changes, relative to the brightness tune in existing terminal
Section mode when can change in terminal tilt angle and brightness of display screen is caused to change, carries out brightness corresponding
Compensation, improves the accuracy of brightness regulation.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, 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 a kind of flow diagram for brightness adjusting method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of brightness adjusting method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for brightness regulating apparatus that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for second of brightness regulating apparatus that the embodiment of the present invention three provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of brightness adjusting method, device and terminal.It will be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of brightness regulating apparatus, which specifically can integrate at end
In end, which can be mobile internet device (such as smart phone, tablet computer), intelligent wearable device (such as smartwatch)
Etc. it is all kinds of include display screen electronic equipment.
Referring to Fig. 1, Fig. 1 is the flow diagram for the brightness adjusting method that the embodiment of the present invention one provides, the present embodiment
Brightness adjusting method include:
Step S101 obtains the changing value of terminal tilt angle and locating when the tilt angle of terminal changes
The ambient light intensity of environment.
In embodiments of the present invention, the inclination angle of terminal can be judged according to the current tilt angle of real-time detection terminal
Whether degree changes, specifically, the current tilt angle of a terminal can be obtained with every preset time period, for example, can be with
One timer is set, and setting timer obtains the current tilt angle of a terminal every 2s, wherein the time interval can be with
It is set according to actual needs, for example, can be to be divided into 0.1s, 0.2s etc. between setting time.In order to which terminal electricity can be saved
The time interval, can be set as bigger value, such as 1s, 2s etc., the present invention is not especially limit this by amount.
The history tilt angle of the tilt angle and last time acquisition that will acquire present terminal compares, if they are the same, then it represents that eventually
Current tilt angle is held not change;If it is different, then indicating that the current tilt angle of terminal is changed, i.e. judgement is whole
The step of holding current tilt angle whether to change may include:
The current tilt angle history tilt angle of terminal is obtained, and is judged whether identical;
If so, determining that the tilt angle of terminal does not change;
If not, it is determined that the tilt angle of terminal changes.
Wherein, the changing value of the tilt angle is current tilt angle and the last history tilt angle got
Between difference.
Preferably, in the embodiment of the present invention terminal tilt angle can by acceleration transducer built-in in terminal come
Obtain, due to acceleration transducer in static placement by gravity, have the acceleration of gravity of 1g, utilize this
Property can calculate the inclination angle of terminal by component of the measurement acceleration of gravity on each axis of acceleration transducer
Degree;For example, the weight component in its X-axis and Y-axis is measured using 2 axis gravity accelerometers, to measure on X-Y axial plane
Tilt angle, but in practical application, terminal is when space tilts, it is difficult to ensure that inclination is completely in X-Y axial plane
On, limitation can be had in this way by being measured using 2 axle acceleration sensors, and measurement result may be inaccurate, it is therefore preferable that
, 3 axle acceleration sensors can be used in the terminal in the embodiment of the present invention, and 3 axle acceleration sensors can measure X-axis, Y-axis
With the weight component above Z axis, to can be calculated terminal in the tilt angle in space.
When the tilt angle for determining terminal changes, the ambient light intensity of current environment can also be obtained, than
Such as, an ambient light sensor is preset in the terminal, which can obtain terminal local environment
Current light intensity, wherein the environment light can be outdoor daylight, indoor light etc..
Step S102 obtains the corresponding luminous intensity compensated information of above-mentioned angle change value.
Specifically, the embodiment of the present invention can pre-establish angle change value and the mapping of luminous intensity compensated information is closed
Assembly is closed, for example, tentative standard light source is incident vertically downward, mobile phone is lain in a horizontal plane under light source, records the light of mobile phone at this time
Intensity values, then, due to the reduction of ambient light sensor light area, environmental light intensity value will when mobile phone turns about the X axis
Reduce.It counts under differing tilt angles, the intensity of environment light.It calculates under different angle, the attenuation ratio of ambient light intensity, simultaneously
Also just having obtained should be multiplied by the great gain just available influence for reducing arrisdefect degree to light intensity value.
Certainly, in practical application, the inclined angle of terminal may be important in the X-axis, Y-axis and Z axis in space,
Therefore the mapping relations of the angle change value and luminous intensity compensated information on X-axis, Y-axis and Z axis can be established respectively,
When terminal inclination, the tilt angle may only change on an axis, such as X-axis, only be needed at this time according in X
Angle change value luminous intensity offset corresponding with the acquisition of the mapping relations of luminous intensity compensated information on axis;When terminal
For tilt angle when important in the X-axis, Y-axis and Z axis in space, then the tilt angle institute for obtaining face on each axle respectively is right
The luminous intensity offset answered, COMPREHENSIVE CALCULATING go out final luminous intensity offset, in the mapping relations set, angle change
Value is one-to-one relationship with luminous intensity compensated information.Namely the step of the corresponding luminous intensity compensated information of above-mentioned acquisition changing value
Suddenly it can specifically include:
It is compared in mapping relations set according to variation value information, to obtain comparison result;
Corresponding luminous intensity compensated information is determined according to above-mentioned comparison result.
Optionally, in above-mentioned mapping relations set, the variation range and luminous intensity that also can establish tilt angle are compensated
The corresponding relationship of information, for example, the corresponding luminous intensity of range that tilt angle is 5 ° -10 ° is 500cd, tilt angle is
10 ° -15 ° of the corresponding luminous intensity of range is 1000cd etc., can first be determined according to angle change value close in mapping at this time
Locating range in assembly conjunction is obtaining the corresponding luminous intensity compensated information of the range of tilt angles.
Step S103 compensates ambient light intensity according to above-mentioned luminous intensity compensated information.
It should be noted that the luminous intensity compensated information be divided into it is positive and negative, because of the feelings constant in current environment luminous intensity
Under condition, the change of terminal tilt angle will have a direct impact on the luminous intensity of ambient light sensor light well, so the value meeting of sensor
It changes, and point that this variation is positive and negative as the variation of terminal tilt angle also has, for example terminal tilt angle is by 0 °
(the horizontal positioned angle of angle, that is, mobile phone that mobile phone perpendicular light source is placed) becomes 20 °, the light intensity of ambient light sensor light well
Degree will be lower, this Light intensity compensated information is positive;And when terminal tilt angle becomes 0 ° from 20 °, ambient light sensor into
The luminous intensity of unthreaded hole will be got higher, this Light intensity compensated information is just negative.
Step S104 is adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal.
Optionally, the present embodiment can establish the default corresponding relationship of ambient light intensity and brightness of display screen in advance, so
Above-mentioned the step of being adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal, can specifically include:
Mesh is determined in the default corresponding relationship of ambient light intensity and brightness of display screen according to compensated ambient light intensity
Mark brightness value;
The brightness value of present terminal display screen is adjusted to target brightness value.
In embodiments of the present invention, if user's unlatching terminal manually adjusts luminance patterns, without carrying out to its brightness
Automatic adjustment specifically can be so the brightness adjustment approach can be applied to terminal in the case where opening automatic regulating lightness mode
Before judging whether tilt angle changes, can first judge whether the current brightness regulation mode of terminal is that automatic adjustment is bright
Degree mode, if so, further judging whether tilt angle changes.
Need to open sensor (acceleration transducer, ambient light sensing in terminal in view of the brightness adjustment approach
Device), it will increase the power consumption of system, and mobile phone (for example is lain in desk without opening this function in some cases by user
On see video etc.), thus setting switch, the open and close for controlling the brightness adjustment approach can also be increased.
Wherein, the terminal display screen in the present embodiment can be LED (Light Emitting Diode, light emitting diode)
Display screen, OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) display screen, LCD (Liquid
Crystal Display, liquid crystal display) display screen etc. is for the display screen in terminal electronic device.
In the embodiment of the present invention, above-mentioned terminal, which can be, but not limited to smart phone, tablet computer, laptop etc., to be had
The terminal of display screen, wherein the operating system of the terminal can be Android operation system, IOS operating system, Black
Berry operating system etc., the present invention is without limitation.
From the foregoing, it will be observed that the embodiment of the present invention is used when the tilt angle of terminal changes, the change of tilt angle is obtained
The ambient light intensity of change value and current environment obtains angle change and is worth corresponding luminous intensity compensated information, according to the light
Intensity compensation information compensates ambient light intensity, is carried out according to brightness of display screen of the compensated ambient light intensity to terminal
It adjusts;This programme can compensate ambient light intensity when the current tilt angle of terminal changes, relative to existing terminal
In brightness adjustment approach, when can change in terminal tilt angle and brightness of display screen is caused to change, to brightness
It is compensated accordingly, improves the accuracy of brightness regulation, user is facilitated to adjust brightness of display screen, promote user experience.
Embodiment two,
On the basis of the method that the present embodiment will be described in embodiment one, further Jie is done to brightness adjusting method of the invention
It continues, with reference to Fig. 2, brightness adjusting method provided in an embodiment of the present invention includes:
Step S201 obtains the changing value of terminal tilt angle and locating when the tilt angle of terminal changes
The ambient light intensity of environment.
Specifically, this programme can calculate its changing value by the current tilt angle of timing acquisition terminal, for example, setting
It sets timer and obtains the current tilt angle (can use the acceleration transducer in terminal) of a terminal every 2s, if obtaining
Tilt angle and the last tilt angle got it is not identical, then judge that the tilt angle of terminal changes, and it becomes
Change value is the difference between current tilt angle and the last tilt angle got;And its ambient light intensity can then lead to
The ambient light sensor measurement crossed in terminal obtains.
Above-mentioned angle change is used to determine corresponding luminous intensity compensated information, it is preferred that is obtaining current tilt
Before angle, the embodiment of the present invention can pre-establish the pass of the mapping between luminous intensity compensated information and angle change value
System, the step can with specifically include:
Obtain angle change value and its corresponding intensity variation ratio;
Angle change, which is obtained, according to intensity variation ratio is worth corresponding compensated information;
Reception relationship setting request, relationship setting request instruction need to establish mapping relations luminous intensity compensated information and
Angle change value;
The mapping relations between compensated information and changing value are established according to relationship setting request, to obtain mapping relations collection
It closes.
Wherein, the angle change value and corresponding intensity variation ratio can be different according to terminal in laboratory in advance
Tilt angle and respective light intensities are calculated and are obtained.
Step S202, judges whether the changing value is greater than preset threshold, if so then execute step S203, if it is not, then executing
Step S204.
In embodiments of the present invention, an angle change threshold value, such as 5 ° can be set, if above-mentioned angle change value is greater than
5 °, then further execute step S203;If angle change value is not more than 5 °, S204 is thened follow the steps.
It should be noted that above-mentioned threshold value is a preset angle change value, to realize that the tilt angle in terminal becomes
Change value is when being less than the preset threshold, it is not necessary to carry out the brightness regulation of display screen.In the present embodiment, which can pass through ability
Field technique personnel carry out actual measurement to terminal in advance, and take a reasonable value as the threshold value, and optionally, the threshold value is not only
It is limited to be arranged by technical staff in advance, in other embodiments, which can also be by user's self-setting according to demand.
Step S203 obtains angle change and is worth corresponding luminous intensity compensated information.
Wherein, which can specifically include: obtain corresponding luminous intensity according to angle change value and mapping relations set
Compensated information.
Luminous intensity compensated information in above-mentioned mapping relations set need to distinguish it is positive and negative, for example, making when terminal tilt angle
When the luminous intensity of ambient light sensor light well is lower, luminous intensity compensated information is positive, namely compensates to ambient light intensity;
When terminal tilt angle gets higher the luminous intensity of ambient light sensor light well, luminous intensity compensated information is negative, namely to ring
Border luminous intensity decays.
Step S204 keeps current brightness of display screen.
When even angle change value is not more than preset threshold, the angle change of terminal is little, so need not be to it
Brightness of display screen is adjusted, then the brightness for keeping display screen current is constant.
Step S205 compensates ambient light intensity according to light compensated information.
Step S206 obtains the light intensity difference between compensated ambient light intensity and history luminous intensity.
Wherein, above-mentioned history light intensity difference is the ambient light intensity before compensating, since compensated ambient light intensity is compared
Could possibly be higher than in history luminous intensity may also be lower than, so the light between above-mentioned compensated ambient light intensity and history luminous intensity
Intensity difference is also required to distinguish positive and negative.
Step S207 is adjusted according to brightness of display screen of the luminous intensity difference to terminal.
It is also little to the amplitude of accommodation of terminal display screen brightness accordingly in view of when luminous intensity difference is smaller, it can be with
It is ignored, optionally, the range of a luminous intensity difference can be preset in the present embodiment, then first determine whether the light
Whether strength difference is within above range, if so, brightness of display screen is adjusted, i.e., according to luminous intensity difference to terminal
Brightness of display screen the step of being adjusted can specifically include:
Judge luminous intensity difference whether within a preset range;
If so, the brightness of display screen of terminal is adjusted according to the luminous intensity difference.
In embodiments of the present invention, the luminous intensity step of the acquisition current environment in step S101, which can also be placed on, obtains angle
It spends after the corresponding luminous intensity compensated information of changing value, as long as in step S205 namely the step of compensated to ambient light intensity
The luminous intensity of current environment is obtained before, and this programme is not specifically limited the timing of this step.
From the foregoing, it will be observed that the embodiment of the present invention is used when the tilt angle of terminal changes, the change of tilt angle is obtained
The ambient light intensity of change value and current environment obtains the corresponding luminous intensity compensated information of changing value, according to the luminous intensity
Compensated information compensates ambient light intensity, is adjusted according to brightness of display screen of the compensated ambient light intensity to terminal
Section;This programme can compensate ambient light intensity when the current tilt angle of terminal changes, relative in existing terminal
Brightness adjustment approach, when can change in terminal tilt angle and brightness of display screen is caused to change, to brightness into
The corresponding compensation of row, improves the accuracy of brightness regulation, user is facilitated to adjust brightness of display screen, promote user experience, in addition,
The present embodiment method does not need to increase any device and Material Cost, implements relatively simple yet.
Embodiment three,
In order to better implement above method embodiment, the present invention also provides a kind of brightness regulating apparatus, which can
To integrate in the terminal, which can be mobile internet device (such as smart phone, tablet computer), intelligent wearable device
(such as smartwatch) all kinds of include display screen electronic equipment.
As shown in figure 3, the brightness regulating apparatus may include: that angle obtains module 301, luminous intensity obtains module 302, mends
Repay data obtaining module 303, compensating module 304 and adjustment module 305;
The angle obtains module 301, for obtaining the variation of tilt angle when the tilt angle of terminal changes
Value.
Wherein, which can calculate its changing value by the current tilt angle of timing acquisition terminal, for example, setting
Timer obtains the current tilt angle (can use the acceleration transducer in terminal) of a terminal every 2s, if obtain
Tilt angle and the tilt angle that the last time gets be not identical, then judges that the tilt angle of terminal changes, and it changes
Value is the difference between current tilt angle and the last tilt angle got.
The luminous intensity obtains module 302, for obtaining the ambient light intensity of current environment.
Such as the luminous intensity using the ambient light sensor measurement current environment in terminal.
The compensated information obtains module 303, for obtaining the corresponding luminous intensity compensated information of changing value.
Specifically, the embodiment of the present invention can pre-establish angle change value and the mapping of luminous intensity compensated information is closed
Assembly is closed, and in the mapping relations set, angle change value is one-to-one relationship with luminous intensity compensated information, the benefit
Repaying data obtaining module 303 can be compared in mapping relations set according to variation value information, corresponding with determination
Luminous intensity compensated information.
The compensating module 304, for being compensated according to the luminous intensity compensated information to the ambient light intensity.
The adjustment module 305, for being adjusted according to brightness of display screen of the compensated ambient light intensity to terminal.
A switch can also be arranged in brightness regulating apparatus provided by the embodiment of the present invention, for controlling the brightness regulation
The open and close of device.
In the embodiment of the present invention, above-mentioned terminal, which can be, but not limited to smart phone, tablet computer, laptop etc., to be had
The terminal of display screen, wherein the operating system of the terminal can be Android operation system, IOS operating system, Black
Berry operating system etc., the present invention is without limitation.
Preferably, as shown in figure 4, brightness regulating apparatus provided in an embodiment of the present invention can also include: judgment module
306;
The judgment module 306, for angle obtain module 301 obtain tilt angle changing value after, compensated information
Before acquisition module 303 obtains the corresponding luminous intensity compensated information of the changing value, judge whether changing value is greater than preset threshold,
If so, obtaining module 303 by compensated information obtains the corresponding luminous intensity compensated information of the changing value.
Wherein, the position of the judgment module 306 is located at angle acquisition module 301 in Fig. 4 and luminous intensity obtains module 302
Between, which is not determining namely judgment module 306 may be located on luminous intensity and obtain module 302 and compensated information
It obtains between module 303, this programme does not limit this.
Specifically, above-mentioned adjustment module 305 specifically includes: acquisition submodule 3051 and adjusting submodule 3052;
The acquisition submodule 3051, for obtaining the light intensity difference between compensated ambient light intensity and history luminous intensity
Value;
The adjusting submodule 3052, for being adjusted according to brightness of display screen of the luminous intensity difference to terminal.
Optionally, brightness regulating apparatus provided in an embodiment of the present invention can also include: receiving module and establish module;
The receiving module before changing for the tilt angle in terminal, receives relationship setting request, which sets
Set compensated information and changing value that request instruction needs to establish mapping relations;
This establishes module, for establishing the mapping relations between compensated information and changing value according to relationship setting request, with
Obtain mapping relations set;
Above-mentioned compensated information obtains module 303, is specifically used for obtaining corresponding light according to changing value and mapping relations set
Intensity compensation information.
From the foregoing, it will be observed that the embodiment of the present invention is used when the tilt angle of terminal changes, angle obtains module 301 and obtains
The changing value of tilt angle is taken, luminous intensity obtains the ambient light intensity that module 302 obtains current environment, obtained by compensated information
Modulus block 303 obtains angle change and is worth corresponding luminous intensity compensated information, and compensating module 304 is according to the luminous intensity compensated information pair
Ambient light intensity compensates, finally by adjustment module 305 according to compensated ambient light intensity to the brightness of display screen of terminal
It is adjusted;This programme can compensate ambient light intensity when the current tilt angle of terminal changes, relative to existing
Brightness adjustment approach in terminal is right when can change in terminal tilt angle and brightness of display screen is caused to change
Brightness is compensated accordingly, improves the accuracy of brightness regulation, and user is facilitated to adjust brightness of display screen, promotes user's body
It tests.
Example IV,
On the basis of the above embodiments, the present embodiment four provides a kind of terminal, including bright described in above-described embodiment
Spend regulating device, wherein the terminal can be mobile internet device (such as smart phone, tablet computer), intelligent wearable device
(such as smartwatch) all kinds of electronic equipments with display screen.
Terminal provided by the embodiment of the present invention, including brightness regulating apparatus provided by the embodiment of the present invention, have phase
Same function and beneficial effect.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It should be noted that those of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by program, which can store in computer-readable storage medium
It in matter, is such as stored in the memory of terminal, and is executed by least one processor in the terminal, can be wrapped in the process of implementation
Include the process of the embodiment such as information issuing method.Wherein, storage medium may include: read-only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of brightness adjusting method provided in an embodiment of the present invention, device and terminal are described in detail above,
Each functional module can integrate in a processing chip, is also possible to modules and physically exists alone, can also two or
More than two modules are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also adopt
It is realized with the form of software function module.Specific case used herein explains the principle of the present invention and embodiment
It states, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this field
Technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion
The contents of this specification are not to be construed as limiting the invention.
Claims (11)
1. a kind of brightness adjusting method, which comprises the following steps:
The history tilt angle obtained before terminal current tilt angle and preset time period is obtained, and judges whether phase
Together;
If so, determining that the tilt angle of terminal does not change;
If not, it is determined that the tilt angle of terminal changes, and obtains the changing value of the tilt angle and be presently in
The ambient light intensity of environment, the changing value of the tilt angle are that current tilt angle is inclined with the last history got
Difference between rake angle;
Obtain the corresponding luminous intensity compensated information of the angle change value;
The ambient light intensity is compensated according to the luminous intensity compensated information;
It is adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal.
2. brightness adjusting method as described in claim 1, which is characterized in that the changing value for obtaining the tilt angle it
Afterwards, before obtaining the corresponding luminous intensity compensated information of the angle change value, the method also includes:
Judge whether the angle change value is greater than preset threshold;
The step of angle change is worth corresponding luminous intensity compensated information is obtained if so, executing.
3. brightness adjusting method as described in claim 1, which is characterized in that it is described according to compensated ambient light intensity to institute
It states the step of the brightness of display screen of terminal is adjusted and specifically includes:
Obtain the luminous intensity difference between the compensated ambient light intensity and history luminous intensity;
The brightness of display screen of the terminal is adjusted according to the luminous intensity difference.
4. brightness adjusting method as described in claim 1, which is characterized in that before the tilt angle of terminal changes,
The method also includes:
The setting request of reception relationship, relationship setting request instruction need to establish mapping relations luminous intensity compensated information and
Predetermined angle changing value;
The mapping relations between the luminous intensity compensated information and predetermined angle changing value are established according to relationship setting request,
To obtain mapping relations set;
Described the step of obtaining the angle change value corresponding luminous intensity compensated information, specifically includes:
Corresponding luminous intensity compensated information is obtained according to the angle change value and the mapping relations set.
5. brightness adjusting method as claimed in claim 4, which is characterized in that before the setting request of the relationship of reception, the side
Method further include:
Obtain predetermined angle changing value and its corresponding intensity variation ratio;
The angle change, which is obtained, according to the intensity variation ratio is worth corresponding compensated information.
6. a kind of brightness regulating apparatus characterized by comprising angle obtains module, luminous intensity obtains module, compensated information obtains
Modulus block, compensating module and adjustment module;
The angle obtains module, and the history for obtaining before obtaining the current tilt angle of terminal and preset time period is inclined
Rake angle, and judge whether it is identical, if so, determine terminal tilt angle do not change, if not, it is determined that terminal is inclined
Rake angle changes, and obtains the changing value of the tilt angle, and the changing value of the tilt angle is current inclination
Difference between angle and the last history tilt angle got;
The luminous intensity obtains module, for obtaining the ambient light intensity of current environment;
The compensated information obtains module, for obtaining the corresponding luminous intensity compensated information of the angle change value;
The compensating module, for being compensated according to the luminous intensity compensated information to the ambient light intensity;
The adjustment module, for being adjusted according to brightness of display screen of the compensated ambient light intensity to the terminal.
7. brightness regulating apparatus as claimed in claim 6, which is characterized in that described device further include: judgment module;
The judgment module, for obtaining the compensation after module obtains the changing value of the tilt angle in the angle
Data obtaining module obtains the angle change and is worth before corresponding luminous intensity compensated information, whether judges the angle change value
Greater than preset threshold, it is worth corresponding luminous intensity compensation if so, obtaining module by the compensated information and obtaining the angle change
Information.
8. brightness regulating apparatus as claimed in claim 6, which is characterized in that the adjustment module specifically includes: obtaining submodule
Block and adjusting submodule;
The acquisition submodule, for obtaining the light intensity difference between the compensated ambient light intensity and history luminous intensity
Value;
The adjusting submodule, for the brightness of display screen of the terminal to be adjusted according to the luminous intensity difference.
9. brightness regulating apparatus as claimed in claim 6, which is characterized in that described device further include: receiving module and foundation
Module;
The receiving module before changing for the tilt angle in terminal, receives relationship setting request, and the relationship is set
Set luminous intensity compensated information and predetermined angle changing value that request instruction needs to establish mapping relations;
It is described to establish module, for establishing the luminous intensity compensated information and predetermined angle variation according to relationship setting request
Mapping relations between value, to obtain mapping relations set;
The compensated information obtains module, is specifically used for obtaining correspondence according to the angle change value and the mapping relations set
Luminous intensity compensated information.
10. a kind of terminal, which is characterized in that the terminal includes the described in any item brightness regulating apparatus of claim 6-9.
11. a kind of storage medium, it is characterised in that the storage medium is stored with instruction, and described instruction is executed by processor realization
Such as the step of any one of claim 1-5 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610326253.7A CN105825839B (en) | 2016-05-16 | 2016-05-16 | A kind of brightness adjusting method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610326253.7A CN105825839B (en) | 2016-05-16 | 2016-05-16 | A kind of brightness adjusting method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105825839A CN105825839A (en) | 2016-08-03 |
CN105825839B true CN105825839B (en) | 2019-03-08 |
Family
ID=56530813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610326253.7A Active CN105825839B (en) | 2016-05-16 | 2016-05-16 | A kind of brightness adjusting method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105825839B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106506831B (en) * | 2016-10-26 | 2019-09-27 | Oppo广东移动通信有限公司 | Control method and control device |
CN106851405A (en) * | 2016-12-13 | 2017-06-13 | 合网络技术(北京)有限公司 | Video broadcasting method and device based on oblique viewing angle detection |
CN107247520B (en) * | 2017-05-18 | 2022-08-19 | 联想(北京)有限公司 | Control method, electronic device and computer readable storage medium |
CN107562306B (en) * | 2017-08-08 | 2022-01-11 | 惠州Tcl移动通信有限公司 | Method for controlling display brightness of mobile terminal, mobile terminal and storage device |
CN107665698B (en) * | 2017-11-13 | 2020-01-03 | 维沃移动通信有限公司 | Ambient light intensity compensation method and device |
CN109257508A (en) * | 2018-11-21 | 2019-01-22 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and mobile terminal that automatic backlight is adjusted |
WO2020124504A1 (en) * | 2018-12-20 | 2020-06-25 | 深圳市柔宇科技有限公司 | Image quality optimization method, display device and medium |
CN111829651B (en) * | 2019-04-18 | 2023-03-14 | 北京小米移动软件有限公司 | Method, device and equipment for calibrating light intensity value and storage medium |
CN112927641B (en) * | 2019-12-06 | 2024-02-23 | 北京小米移动软件有限公司 | Screen brightness adjusting method and device, terminal equipment and storage medium |
CN111785218B (en) * | 2020-07-17 | 2022-03-25 | 昆山龙腾光电股份有限公司 | Electronic equipment and backlight brightness adjusting method |
CN111857368B (en) * | 2020-07-21 | 2023-04-28 | 四川京龙光电科技有限公司 | Display device control method, electronic equipment and computer storage medium |
CN112102775B (en) * | 2020-09-11 | 2022-01-11 | Oppo广东移动通信有限公司 | Display device and brightness compensation method thereof |
CN112212973B (en) * | 2020-10-20 | 2023-06-06 | Oppo广东移动通信有限公司 | Light sensation compensation method and device, storage medium and electronic equipment |
CN113108904A (en) * | 2021-04-20 | 2021-07-13 | 武汉华星光电技术有限公司 | Ambient light monitoring method and device, storage medium and mobile terminal |
CN114613310A (en) * | 2022-03-28 | 2022-06-10 | 联想(北京)有限公司 | Brightness adjusting method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4995783B2 (en) * | 2008-07-30 | 2012-08-08 | 京セラ株式会社 | Portable terminal |
CN103037088B (en) * | 2012-12-11 | 2015-05-13 | 惠州Tcl移动通信有限公司 | Method and mobile terminal for screen backlight adjusting |
CN103903539A (en) * | 2012-12-24 | 2014-07-02 | 联想(北京)有限公司 | Screen brightness adjusting method and system |
CN103458110B (en) * | 2013-08-17 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of method and mobile terminal regulating display backlight in conjunction with acceleration transducer |
-
2016
- 2016-05-16 CN CN201610326253.7A patent/CN105825839B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105825839A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105825839B (en) | A kind of brightness adjusting method, device and terminal | |
CN103903539A (en) | Screen brightness adjusting method and system | |
CN107818753A (en) | Screen brightness regulation method, device, storage medium and electronic equipment | |
CN104883425B (en) | The backlight brightness regulation method and device of mobile terminal display screen | |
CN103458110B (en) | A kind of method and mobile terminal regulating display backlight in conjunction with acceleration transducer | |
CN107979698A (en) | Ambient light intensity detection method, device, storage medium and electronic equipment | |
CN105425905B (en) | A kind of information processing method and electronic equipment | |
CN106462339A (en) | Terminal and method for detecting ambient brightness | |
CN106506831B (en) | Control method and control device | |
CN105654923B (en) | A kind of back light brightness regulating method and user terminal | |
CN106097361A (en) | A kind of defective area detection method and device | |
US20130021308A1 (en) | Electronic device and method for adjusting backlight brightness | |
CN105577932B (en) | A kind of screen luminance adjustment method and mobile terminal | |
KR20090042924A (en) | Multiple light sensors and algorithms for luminance control of mobile display devices | |
CN105812577B (en) | A kind of screen luminance adjustment method and device | |
CN106203370B (en) | A kind of test near and distance system based on computer vision technique | |
CN106251797B (en) | A kind of gamma-debugged method and device of display panel | |
EP4231280B1 (en) | Method for measuring intensity of ambient light at electronic device, electronic device, and chip | |
CN107566627B (en) | Auxiliary reminding system and method for bad use habits of users | |
CN105895057B (en) | A kind of backlight adjusting method, device and terminal device | |
CN105825819B (en) | The brightness adjusting method of display module and display module | |
CN100464688C (en) | Human eyesight measuring apparatus and method thereof | |
CN106023903A (en) | Backlight adjustment method and terminal device | |
CN106954022A (en) | Image processing method, device and terminal | |
CN109859719A (en) | Luminance compensation method, compensation circuit and its display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |