A kind of automatic brightness adjustment method and system
Technical field
The invention belongs to mobile communication technology field, is related to a kind of automatic brightness adjustment method and system, more particularly to
One kind automatic brightness adjustment method and system under the quick situation of change of extraneous ambient brightness.
Background technology
Contemporary communication science and technology is more and more flourishing, and electronic equipment is also increasingly advanced, especially with the hair of the communication technology
Open up, the mobile terminal in electronic equipment, be based particularly on the intelligence of the 4th mobile communication technology (4G) and long evolving system (LTE)
Can hardware configuration is stronger and stronger in terminal, application of function is more and more various to become the required of nowadays people's life and work
Product.
Also, with the popularization of intelligent terminal, seek a kind of more natural simpler man-machine interaction mode already into
For communication scientific research and the emphasis problem of industrial field.The developing history of human-computer interaction technology is made a general survey of, gradually from mouse, key
The plain modes such as disk, remote control develop into the contactless mode of operation such as vision, voice, posture.、
Intelligent mobile terminal almost all currently on the market is configured with display screen, and with to display screen brightness and
The function that external environment brightness adaptively adjusts, as shown in figure 1, it is the adaptive Adjusted Option of brightness in the prior art that Fig. 1, which is shown,
Schematic diagram.
When external environment brightness changes, photosensitive intensity level that light source photoreceptor records within a period of time, if all compared
It is relatively low, screen can start it is automatic dimmed, under brighter environment, principle is the same, can so prevent screen intensity
Mutation.Although prior art has solved the mutation problems of screen intensity, due to, it is extraneous bright, secretly quickly cut
The use environment changed is very common, for example everybody takes bus traveling on the bosky road of both sides band, or is shuttled
During tunnel, prior art can not be also solved thoroughly bright, in the environment of being secretly switched fast, screen intensity the asking of how setting
Topic, always can not be bright in external environment, and dark or brighter constant brightness is always kept when being secretly switched fast.
Therefore, a kind of automatic brightness adjustment method and system how are provided, to solve brightness regulation skill of the prior art
Art can not meet in the case of external environment is fast-changing, can not accurately hold the setting of display screen brightness, so that going out
Existing mobile terminal external environment it is bright, be secretly switched fast when always keep the dark or brighter phenomenon of constant brightness etc. is a variety of to lack
Fall into, it is real to have turned into practitioner in the art's technical problem urgently to be resolved hurrily.
The content of the invention
In view of the above the shortcomings that prior art, it is an object of the invention to provide a kind of automatic brightness adjustment method and
System, for solution, brightness regulation technology can not meet in the case of external environment is fast-changing in the prior art, Wu Fazhun
Really hold the setting of display screen brightness so that occur mobile terminal external environment it is bright, be secretly switched fast when it is total keep compared with
The problem of phenomenon of dark or brighter constant brightness.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of automatic brightness adjustment method, should
For being configured with the mobile terminal of display screen, the automatic brightness adjustment method comprises the following steps:Step 1, opening certainly
Move under adjustment luminance patterns, the setting instruction of output brightness initial value, instructed according to setting by the display screen of mobile terminal
Brightness value is arranged to the brightness initial value;Step 2, after the brightness initial value is got, into the first luma samples week
Phase, obtain the first average brightness value of the display screen in the first luma samples cycle;Step 3, into the second luma samples week
Phase, obtain the second average brightness value of the display screen in the second luma samples cycle;Step 4, according to first mean flow rate
Automatic brightness adjustment operates before value and the second average brightness value perform;Step 5, into (2+N) luma samples cycle, obtain
(2+N) average brightness value of the display screen in (2+N) luma samples cycle;Into (3+N) luma samples cycle, obtain
(3+N) average brightness value of the display screen in (3+N) luma samples cycle, wherein, N is the cycle-index since 1;Step
Rapid six, according to (2+N) average brightness value of the display screen in (2+N) luma samples cycle and (3+N) luma samples week
Automatic brightness adjustment operates after (3+N) average brightness value of the display screen of phase performs, return to step five, performs circulation behaviour
Make.
Alternatively, the step 2 comprises the following steps:The first luma samples cycle is divided into the first sample phase
With the second sample phase;Gathered in real time in first sample phase brightness changing value of the display screen of the mobile terminal with
The first average brightness value of the display screen in the first luma samples cycle is calculated, and is set to the display of the mobile terminal
Screen is in brightness value instantly.
Alternatively, the step 3 comprises the following steps:The second luma samples cycle is divided into the 3rd sample phase
With the 4th sample phase;Gathered in real time in the 3rd sample phase brightness changing value of the display screen of the mobile terminal with
Calculate the second average brightness value of the display screen in the second luma samples cycle.
Alternatively, the preceding automatic brightness adjustment operation includes:According to the display screen in the first luma samples cycle
The first average brightness value and the second luma samples cycle display screen the second average brightness value, judge described second
Whether average brightness value is in the range of a predetermined luminance, if it is not, first average brightness value then is arranged into display screen
In the brightness value at the second luma samples end cycle moment;If so, then by first average brightness value and described second
The average value of average brightness value is arranged to the brightness value instantly of the display screen of the mobile terminal.
Alternatively, the rear automatic brightness adjustment operation includes:Judge the display screen in (2+N) luma samples cycle
Whether (3+N) average brightness value of (2+N) average brightness value and the display screen in (3+N) luma samples cycle is all located at
In the range of another predetermined luminance, if so, then by (2+N) average brightness value and the average value of (3+N) average brightness value
The display screen of the mobile terminal is arranged in brightness value instantly, if it is not, being then arranged to (2+N) average brightness value
The display screen of the mobile terminal is in brightness value instantly.
Alternatively, the display screen has maximum brightness value and minimum luminance value, and the brightness initial value is most light
The average value of angle value and minimum luminance value.
Another aspect of the present invention also provides a kind of automatic brightness-regulating system, applied to the mobile end for being configured with display screen
End, the automatic brightness-regulating system include:Command output module, in the case where opening adjust automatically luminance patterns, output to be bright
Spend the setting instruction of initial value, the first brightness setup module being connected with the command output module, for being instructed according to setting
The brightness value of the display screen of mobile terminal is arranged to the brightness initial value;It is connected with the first brightness setup module
First luminance acquisition module, for after the brightness initial value is got, into the first luma samples cycle, and obtain the
First average brightness value of the display screen in one luma samples cycle;The second brightness being connected with the first luminance acquisition module
Acquisition module, for entering for the second luma samples cycle, and obtain the second of the display screen in the second luma samples cycle and be averaged
Brightness value;The preceding automatic brightness adjustment module being connected with the first luminance acquisition module and the second luminance acquisition module, is used for
Automatic brightness adjustment operates before being performed according to first average brightness value and the second average brightness value;It is automatic with the preceding brightness
(2+N) luminance acquisition module of adjustment module connection, for entering (2+N) luma samples cycle, obtain (2+N) brightness
(2+N) average brightness value of the display screen in sampling period;(3+N) being connected with (2+N) luminance acquisition module is bright
Acquisition module is spent, for entering (3+N) luma samples cycle, obtains (the 3+ of the display screen in (3+N) luma samples cycle
N) average brightness value, wherein, N is the cycle-index since 1;With described (2+N) luminance acquisition module and (3+N) brightness
The rear automatic brightness adjustment module of acquisition module connection, (2+N) for the display screen according to (2+N) luma samples cycle
Automatic brightness adjustment after (3+N) average brightness value of average brightness value and the display screen in (3+N) luma samples cycle performs
Operation;It is connected with (2+N) luminance acquisition module, (3+N) luminance acquisition module and the rear automatic brightness adjustment module
Circulate operation module, for calling (2+N) the luminance acquisition module, (3+N) luminance acquisition module and rear brightness automatic
Adjustment module, perform circulate operation.
Alternatively, the preceding automatic brightness adjustment module is additionally operable to the display screen according to the first luma samples cycle
The first average brightness value and the second luma samples cycle display screen the second average brightness value, judge described second
Whether average brightness value is in the range of a predetermined luminance, if so, then calling for first average brightness value to be arranged to
Second brightness setup module of the display screen in the brightness value at the second luma samples end cycle moment;If it is not, then make institute
State the second brightness setup module and the average value of first average brightness value and second average brightness value is arranged to described
The display screen of mobile terminal is in brightness value instantly.
Alternatively, the rear automatic brightness adjustment module is additionally operable to the display screen in judgement (2+N) luma samples cycle
(2+N) average brightness value and (3+N) average brightness value of the display screen in (3+N) luma samples cycle whether be all located at
In the range of another predetermined luminance, it is used for if so, then calling by (2+N) average brightness value and (3+N) average brightness value
Average value be arranged to threeth brightness setup module of the display screen in brightness value instantly of the mobile terminal, if it is not, then making
(2+N) average brightness value is arranged to the display screen of the mobile terminal instantly by the 3rd brightness setup module
Brightness value.
Another aspect of the invention also provides a kind of mobile terminal, including:Automatic brightness-regulating system;And with the brightness certainly
The interactive unit of dynamic regulating system connection, the interactive unit enter adjust automatically luminance patterns for providing the mobile terminal
Interactive interface.
As described above, the automatic brightness adjustment method and system of the present invention, have the advantages that:
Automatic brightness adjustment method and system of the present invention and the mobile terminal with the automatic brightness-regulating system
The setting of display screen brightness can be accurately held in the case of external environment is fast-changing, avoids mobile terminal in the external world
Environment is bright, splashette phenomenon occurs when being secretly switched fast, and user is had more preferably visual experience.
Brief description of the drawings
Fig. 1 is shown as the adaptive Adjusted Option schematic diagram of brightness in the prior art.
Fig. 2 is shown as the automatic brightness adjustment method flow schematic diagram of the present invention.
Fig. 3 is shown as the automatic brightness-regulating system theory structure schematic diagram of the present invention.
Fig. 4 is shown as the mobile terminal theory structure schematic diagram of the present invention.
Component label instructions
1 automatic brightness-regulating system
11 command output modules
12 first brightness setup modules
13 first luminance acquisition modules
14 second luminance acquisition modules
15 (2+N) luminance acquisition modules
16 (3+N) luminance acquisition modules
Automatic brightness adjustment module before 17
18 second brightness setup modules
Automatic brightness adjustment module after 19
20 circulate operation modules
10 the 3rd brightness setup modules
2 mobile terminals
21 automatic brightness-regulating systems
22 interactive units
S1~S7 steps
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way
Think, only show the component relevant with the present invention in schema then rather than according to component count, shape and the size during actual implement
Draw, kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its assembly layout kenel
It is likely more complexity.
Embodiment one
The present embodiment provides a kind of automatic brightness adjustment method, applied to the mobile terminal for being configured with display screen, for example,
Smart mobile phone, tablet personal computer etc. intelligent mobile terminal.In the present embodiment, the automatic brightness adjustment method can be applicable to greatly
On bar car, solve the application scenarios of when taking bus traveling in the bosky road of both sides band, to solve external environment brightness,
From it is bright be rapidly switched to it is dark, then from be secretly rapidly switched to it is bright in the case of.
The automatic brightness adjustment scheme that mobile terminal currently on the market uses is typically all:Brightness value is returned first
One changes, it is assumed that brightness value is divided into 10 grades:1,2,3,4,5,6,7,8,9,10.Assuming that sampled in predetermined sampling time Δ t
4 brightness values of fixed number of times are all 1,1,1,1, and sampling fixed number of times 4 times is all 9,9,9,9 in next predetermined sampling time Δ t.
From the point of view of according to existing design philosophy, mobile terminal display screen curtain is previous predetermined sampling time Δ t brightness certainly
For 1, latter predetermined sampling time Δ t brightness is 9.And so on, and the brightness of mobile terminal display screen curtain is in this use
Will be flickering under environment.
Referring to Fig. 2, it is shown as automatic brightness adjustment method flow schematic diagram.As shown in Fig. 2 the automatic brightness adjustment
Method comprises the following steps:
S1, in the case where opening adjust automatically luminance patterns, the setting instruction of output brightness initial value, it will be moved according to instruction is set
The brightness value of the display screen of dynamic terminal is arranged to the brightness initial value.In the present embodiment, step S1 is also set including basis
Put the step of instruction calculates brightness initial value.The display screen of the mobile terminal has maximum brightness value and minimum luminance value,
The brightness initial value is the average value of maximum brightness value and minimum luminance value.For example, the display screen of the mobile terminal
The maximum brightness value of brightness value is 10, minimum luminance value 0, then brightness initial value=(0+10)/2=5.
S2, after the brightness initial value is got, into the first luma samples cycle, obtained for the first luma samples cycle
Display screen the first average brightness value.This step specifically includes following two steps:
The first luma samples cycle is divided into the first sample phase and the second sample phase.In the present embodiment, institute
State value=2 × Δ t of predetermined sampling time of the first sample phase.Value=n of second sample phase × predetermined sampling
Time Δ t, n is bright according to external environment, dark to switch speed to determine, if switching is slow, n is arranged to fractional value, for example, may be configured as
3, if switching is fast, n is arranged to big numerical value, for example, 6 can be arranged to.
The brightness changing value of the display screen of the mobile terminal is gathered in real time in first sample phase to calculate
First average brightness value of the display screen in one luma samples cycle, and the display screen for being set to the mobile terminal exists
Instantly brightness value.In this step, by the display screen of the mobile terminal collected in real time in first sample phase
Brightness changing value be added the change average value of average acquiring brightness again to get the display screen in the first luma samples cycle
First average brightness value, the +/- brightness change average value of the first average brightness value=initial luma values, and it is average bright by described first
Angle value is arranged to the display screen of the mobile terminal in brightness value instantly.Brightness is not made any adjustments in the second sample phase
So that user will not produce the sensation of dazzling.
S3, into the second luma samples cycle, the second mean flow rate of the display screen in the second luma samples cycle of acquisition
Value.In this step, step S3 specifically includes following two steps:
The second luma samples cycle is divided into the 3rd sample phase and the 4th sample phase.Equally, the described 3rd adopt
Value=2 in sample stage × Δ t of predetermined sampling time, value=n × Δ t of predetermined sampling time of the 4th sample phase, n
Bright according to external environment, dark to switch speed to determine, if switching is slow, n is arranged to fractional value.
The brightness changing value of the display screen of the mobile terminal is gathered in real time in the 3rd sample phase to calculate
Second average brightness value of the display screen in two luma samples cycles.In this step, will be real-time in second sample phase
The brightness changing value of the display screen of the mobile terminal collected is added the change average value of average acquiring brightness again to obtain
To the second average brightness value of the display screen in the second luma samples cycle, the average brightness value of the second average brightness value=first
+/- brightness changes average value.
S4, automatic brightness adjustment operates before being performed according to first average brightness value and the second average brightness value, continues
Perform next step.In this step, it is described to automatically adjust operation and include:
According to the first average brightness value of the display screen in the first luma samples cycle and second luma samples
Second average brightness value of the display screen in cycle, judges whether second average brightness value is located at a predetermined luminance scope
It is interior, if it is not, first average brightness value then is arranged into display screen at the second luma samples end cycle moment
Brightness value;If so, the average value of first average brightness value and second average brightness value is then arranged to the movement
The brightness value instantly of the display screen of terminal.In the present embodiment, the predetermined luminance scope includes described more than or equal to 2 times
First average brightness value or the half less than or equal to first average brightness value.Do not fall within predetermined luminance scope and refer to institute
The second average brightness value is stated to be located at (half of first average brightness value, 2 times of first average brightness value)
In range of luminance values.
In the present embodiment, since entering for the 3rd luma samples cycle, circulation performs following steps:
S5, into (2+N) luma samples cycle, (2+N) of the display screen in acquisition (2+N) luma samples cycle
Average brightness value.
S6, into (3+N) luma samples cycle, (3+N) for obtaining the display screen in (3+N) luma samples cycle is flat
Equal brightness value, wherein, N is the cycle-index since 1.In the present embodiment, will into after (2+N) luma samples cycle
(2+N) luma samples cycle is divided into (2* (2+N) -1) luma samples stage and (2* (2+N)) luma samples stage,
(2* (2+N) -1) the luma samples stage gathers the brightness value of the display screen of the mobile terminal to calculate in real time
(2+N) average brightness value of the display screen in (2+N) luma samples cycle.Into (3+N) luma samples cycle, by the (the 3rd
+ N) the luma samples cycle is divided into (2* (3+N) -1) luma samples stage and (2* (3+N)) luma samples stage, described
(2* (3+N) -1) the luma samples stage gathers the brightness value of the display screen of the mobile terminal to calculate (3+N) in real time
(3+N) average brightness value of the display screen in luma samples cycle.
S7, according to (2+N) average brightness value and (3+N) brightness of the display screen in (2+N) luma samples cycle
Automatic brightness adjustment operates after (3+N) average brightness value of the display screen in sampling period performs, and return to step S5, execution follows
Ring operates.Until the mobile terminal automatic shutdown, the automatic brightness adjustment method terminate the process automatically.Brightness after described
Automatically adjusting operation includes:
Judge (2+N) average brightness value and (3+N) luma samples of the display screen in (2+N) luma samples cycle
Whether (3+N) average brightness value of the display screen in cycle is all located in the range of another predetermined luminance, if so, then by (2+
N) average value of average brightness value and (3+N) average brightness value is arranged to the display screen of the mobile terminal instantly
Brightness value, if it is not, (2+N) average brightness value then is arranged into the display screen of the mobile terminal in brightness instantly
Value.In the present embodiment, (2+N) average brightness value and (3+N) of the display screen in (2+N) luma samples cycle are judged
(3+N) average brightness value of the display screen in luma samples cycle is all located at referring to (2+N) in the range of another predetermined luminance
Average brightness value is more than or equal to (1+N) average brightness value, and (3+N) average brightness value is average more than or equal to (2+N) bright
Angle value, or (2+N) average brightness value are less than or equal to (1+N) average brightness value, and (3+N) average brightness value is less than or equal to
(2+N) average brightness value.
For example, into the 3rd luma samples cycle, obtain the display screen in the 3rd luma samples cycle the 3rd is average bright
Angle value, as step S3, into after the 3rd luma samples cycle, the 3rd luma samples cycle was divided into the 5th luma samples rank
Section and the 6th luma samples stage, gathered in real time in the 5th luma samples stage mobile terminal display screen it is bright
Angle value is to calculate the 3rd average brightness value of the display screen in the 3rd luma samples cycle.
Into the 4th luma samples cycle, the 4th average brightness value of the display screen in the 4th luma samples cycle is obtained,
As step S5, into after the 4th luma samples cycle, by the 4th luma samples cycle be divided into the 7th luma samples stage and
In 8th luma samples stage, gather the brightness value of the display screen of the mobile terminal in real time in the 7th luma samples stage
With the 4th average brightness value of the display screen in the 4th luma samples cycle of calculating.
Automatic brightness adjustment operates after being performed according to the 3rd average brightness value and the 4th average brightness value.The rear brightness is certainly
Dynamic regulation operation includes:Judge the 3rd average brightness value and the 4th luma samples week of the display screen in the 3rd luma samples cycle
Whether the 4th average brightness value of the display screen of phase is in the range of another predetermined luminance, if so, then by the 3rd mean flow rate
The average value of value and the 4th average brightness value is arranged to the display screen of the mobile terminal in brightness value instantly, if it is not,
The 3rd average brightness value is then arranged to the display screen of the mobile terminal in brightness value instantly.
According to above-mentioned steps, circulation successively is gone down, and this time deliberately extended between detection and adjustment is to solve the external world
Ambient brightness switches the too fast splashette problem brought.
Automatic brightness adjustment method described in the present embodiment can be accurately held in the case of external environment is fast-changing
The setting of display screen brightness, avoid mobile terminal external environment it is bright, be secretly switched fast when there is splashette phenomenon, make user
There is more preferably visual experience.
Embodiment two
The present embodiment provides a kind of automatic brightness-regulating system 1, applied to the mobile terminal for being configured with display screen, example
Such as, smart mobile phone, tablet personal computer etc. intelligent mobile terminal.Referring to Fig. 3, it is shown as automatic brightness-regulating system theory structure
Schematic diagram, as shown in figure 3, the automatic brightness-regulating system 1 includes:Command output module 11, the first brightness setup module 12,
Some luminance acquisition modules, i.e. the first luminance acquisition module 13, the second luminance acquisition module 14 ... (2+N) luminance acquisition mould
Block 15, (3+N) luminance acquisition module 16, preceding automatic brightness adjustment module 17, the second brightness setup module 18, rear brightness are automatic
Adjustment module 19, the 3rd brightness setup module 10 and circulate operation module 20.
The command output module 11 is used in the case where opening adjust automatically luminance patterns, and the setting of output brightness initial value refers to
Order.
The first brightness setup module 12 being connected with the command output module 11 is used to be instructed movement eventually according to setting
The brightness value of the display screen at end is arranged to the brightness initial value.In the present embodiment, the first brightness setup module 12
It is additionally operable to be instructed according to setting and calculates brightness initial value.The display screen of the mobile terminal has maximum brightness value and minimum bright
Angle value, the brightness initial value are the average value of maximum brightness value and minimum luminance value.For example, the display screen of the mobile terminal
The maximum brightness value of the brightness value of curtain is 10, minimum luminance value 0, then brightness initial value=(0+10)/2=5.
The first luminance acquisition module 13 being connected with the first brightness setup module 12 is used to get the brightness
After initial value, into the first luma samples cycle, the first average brightness value of the display screen in the first luma samples cycle of acquisition.
The first brightness setting unit 12 is additionally operable to the first luma samples cycle being divided into the first sample phase and the second sampling
Stage.In the present embodiment, value=2 of first sample phase × Δ t of predetermined sampling time.Second sample phase
Value=n × Δ t of predetermined sampling time, n is bright according to external environment, dark to switch speed to determine, if switching is slow, n is arranged to
Fractional value, for example, may be configured as 3, if switching is fast, n is arranged to big numerical value, for example, 6 can be arranged to.And for described
One sample phase gathers the brightness value of the display screen of the mobile terminal to calculate the display in the first luma samples cycle in real time
First average brightness value of screen, and the display screen of the mobile terminal is set in brightness value instantly.In the step
In, the brightness changing value of the display screen of the mobile terminal collected in real time in first sample phase is added and put down again
Obtain brightness and change average value to get the first average brightness value of the display screen in the first luma samples cycle, first is flat
The equal +/- brightness change average value of brightness value=initial luma values, and first average brightness value is arranged to described mobile whole
The display screen at end is in brightness value instantly.Brightness is not made any adjustments in the second sample phase so that user will not produce dazzling
Sensation.
The second luminance acquisition module 14 being connected with the first luminance acquisition module 13 is used to enter the second luma samples
In the cycle, obtain the second average brightness value of the display screen in the second luma samples cycle.In the present embodiment, second brightness
Acquisition module 14 is additionally operable to the second luma samples cycle being divided into the 3rd sample phase and the 4th sample phase.Equally, institute
State value=2 × Δ t of predetermined sampling time of the 3rd sample phase, value=n × predetermined sampling of the 4th sample phase
Time Δ t, n is bright according to external environment, dark to switch speed to determine, if switching is slow, n is arranged to fractional value.And it is additionally operable in institute
State the 3rd sample phase gather in real time the mobile terminal display screen brightness value to calculate for the second luma samples cycle
Second average brightness value of display screen.In the present embodiment, the shifting that will be collected in real time in second sample phase
The brightness changing value of the display screen of dynamic terminal is added the change average value of average acquiring brightness again to get the second luma samples
Second average brightness value of the display screen in cycle, the second average brightness value=first +/- brightness change of average brightness value are average
Value.
The preceding automatic brightness adjustment module being connected with the first luminance acquisition module 13 and the second luminance acquisition module 14
17, which are used for automatic brightness adjustment before being performed according to first average brightness value and the second average brightness value, operates.In the present embodiment
In, the preceding automatic brightness adjustment module 17 is additionally operable to:It is flat according to the first of the display screen in the first luma samples cycle
Equal brightness value and the second average brightness value of the display screen in the second luma samples cycle, judge second mean flow rate
Whether value is in the range of a predetermined luminance, if it is not, then calling for first average brightness value to be arranged into display screen
In the second brightness setup module 18 of the brightness value at the second luma samples end cycle moment;If so, then make described second
The average value of first average brightness value and second average brightness value is arranged to the movement by brightness setup module 17
The display screen of terminal is in brightness value instantly.In the present embodiment, the predetermined luminance scope includes described more than or equal to 2 times
First average brightness value or the half less than or equal to first average brightness value.Do not fall within predetermined luminance scope and refer to institute
The second average brightness value is stated to be located at (half of first average brightness value, 2 times of first average brightness value)
In range of luminance values.
In the present embodiment, since entering for the 3rd luma samples cycle, the following modules of recursive call:
(2+N) the luminance acquisition module 15 being connected with the preceding automatic brightness adjustment module 17 is used to enter the (the 2nd
+ N) the luma samples cycle, (2+N) average brightness value of the display screen in acquisition (2+N) luma samples cycle.In this implementation
In example, into after (2+N) luma samples cycle, (2+N) the luminance acquisition module 15 is by (2+N) luma samples cycle
It is divided into (2* (2+N) -1) luma samples stage and (2* (2+N)) luma samples stage, at (2* (2+N) -1)
The luma samples stage gathers the brightness value of the display screen of the mobile terminal to calculate (2+N) luma samples cycle in real time
(2+N) average brightness value of display screen.
(3+N) the luminance acquisition module 16 being connected with (2+N) the luminance acquisition module 15 is used to enter (3+N)
In the luma samples cycle, (3+N) average brightness value of the display screen in (3+N) luma samples cycle is obtained, wherein, N is to be opened from 1
The cycle-index of beginning.In the present embodiment, into (3+N) luma samples cycle, (3+N) luma samples cycle is divided into
(2* (3+N) -1) luma samples stage and (2* (3+N)) luma samples stage, adopted in (2* (3+N) -1) brightness
The sample stage gathers the brightness value of the display screen of the mobile terminal to calculate the display screen in (3+N) luma samples cycle in real time
(3+N) average brightness value of curtain
The rear brightness being connected with (2+N) the luminance acquisition module 15 and (3+N) luminance acquisition module 16 is adjusted automatically
Save (2+N) average brightness value and (3+N) brightness that module 19 is used for the display screen according to (2+N) luma samples cycle
Automatic brightness adjustment operates after (3+N) average brightness value of the display screen in sampling period performs, and calls circulate operation mould
Block 20, perform circulate operation.Automatic brightness adjustment module 17 is specifically used for judging the aobvious of (2+N) luma samples cycle after described
(2+N) average brightness value of display screen curtain and (3+N) average brightness value of the display screen in (3+N) luma samples cycle are
It is no to be all located in the range of another predetermined luminance, if so, then calling for (2+N) average brightness value and (3+N) is flat
The average value of equal brightness value is arranged to threeth brightness setup module 10 of the display screen in brightness value instantly of the mobile terminal,
If it is not, then make the 3rd brightness setup module 10 that (2+N) average brightness value is arranged into the aobvious of the mobile terminal
Display screen curtain is in brightness value instantly.In the present embodiment, judge that (2+N) of the display screen in (2+N) luma samples cycle is flat
(3+N) average brightness value of equal brightness value and the display screen in (3+N) luma samples cycle is all located at another predetermined luminance
In the range of refer to that (2+N) average brightness value is more than or equal to (1+N) average brightness value, and (3+N) average brightness value is more than
It is less than or equal to (1+N) average brightness value, and (3+N) equal to (2+N) average brightness value, or (2+N) average brightness value
Average brightness value is less than or equal to (2+N) average brightness value.
With (2+N) luminance acquisition module 15, (3+N) luminance acquisition module 16 and the rear automatic brightness adjustment mould
Block 18 connect circulate operation module 19, for call (2+N) the luminance acquisition module, (3+N) luminance acquisition module,
And rear automatic brightness adjustment module, perform circulate operation.
In the present embodiment, for example, into the 3rd luma samples cycle, the display screen in the 3rd luma samples cycle is obtained
The 3rd average brightness value, as step S3, into after the 3rd luma samples cycle, the 3rd luma samples cycle was divided into
Five luma samples stages and the 6th luma samples stage, the mobile terminal is gathered in real time in the 5th luma samples stage
The brightness value of display screen is to calculate the 3rd average brightness value of the display screen in the 3rd luma samples cycle.
Into the 4th luma samples cycle, the 4th average brightness value of the display screen in the 4th luma samples cycle is obtained,
As step S5, into after the 4th luma samples cycle, by the 4th luma samples cycle be divided into the 7th luma samples stage and
In 8th luma samples stage, gather the brightness value of the display screen of the mobile terminal in real time in the 7th luma samples stage
With the 4th average brightness value of the display screen in the 4th luma samples cycle of calculating.
Automatic brightness adjustment operates after being performed according to the 3rd average brightness value and the 4th average brightness value.The rear brightness is certainly
Dynamic regulation operation includes:Judge the 3rd average brightness value and the 4th luma samples week of the display screen in the 3rd luma samples cycle
Whether the 4th average brightness value of the display screen of phase is in the range of another predetermined luminance, if so, then by the 3rd mean flow rate
The average value of value and the 4th average brightness value is arranged to the display screen of the mobile terminal in brightness value instantly, if it is not,
The 3rd average brightness value is then arranged to the display screen of the mobile terminal in brightness value instantly.
It is bright after recursive call successively according to (2+N) the luminance acquisition module 15 and (3+N) luminance acquisition module 16
Degree self-adjustment module 18 is gone down, and this time deliberately extended between detection and adjustment was switched with solving external environment brightness
The splashette problem brought soon.
Present invention additionally comprises the mobile terminal 2 for configuring above-described automatic brightness-regulating system 21, referring to Fig. 4,
It is shown as mobile terminal theory structure schematic diagram.The mobile terminal 2 also includes being connected with the automatic brightness-regulating system 21
Interactive unit 22, the interactive unit 22 be used for provide the mobile terminal enter adjust automatically luminance patterns interactive interface.
Automatic brightness adjustment method and system of the present invention and the mobile terminal with the automatic brightness-regulating system
The setting of display screen brightness can be accurately held in the case of external environment is fast-changing, avoids mobile terminal in the external world
Environment is bright, splashette phenomenon occurs when being secretly switched fast, and user is had more preferably visual experience.
So the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.