Summary of the invention
The embodiment of the present invention proposes method and the device of new adjustment brightness of backlight, can take into account the different adaptability that human eye changes different light rays.
The embodiment of the present invention provides a kind of method regulating brightness of backlight, and the method comprises:
The light intensity value of sense terminals outside;
If detect light intensity value from large to small, according to the first corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding;
If detect that light intensity value is changed from small to big, according to the second corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding;
According to the brightness of backlight value determined, regulate the brightness of backlight of terminal.
As the optional embodiment of one, described first corresponding relation and the second corresponding relation comprise the light intensity value of setting and the brightness of backlight value of correspondence thereof.
Based on this, if detect that light intensity value is from large to small and reach the light intensity value of setting, then the brightness of backlight value corresponding according to described first corresponding relation determination current light intensity level;
If detect that light intensity value is changed from small to big and reaches the light intensity value of setting, then the brightness of backlight value corresponding according to described second corresponding relation determination current light intensity level.
As the optional embodiment of another kind, described first corresponding relation and the second corresponding relation comprise the scope of the light intensity value of setting and the brightness of backlight value of correspondence thereof.
In the embodiment of the present invention, the mean value of the brightness of backlight value that described first corresponding relation comprises, higher than the mean value of the brightness of backlight value that described second corresponding relation comprises.
The embodiment of the present invention provides a kind of device regulating brightness of backlight, and this device comprises:
Detecting unit, for the light intensity value of sense terminals outside, when detecting that light intensity value changes, notifier processes unit is for the variation tendency of light intensity value and current light intensity level executable operations;
Processing unit, during for detecting that light intensity value from large to small at described detecting unit, according to the first corresponding relation of light intensity value and brightness of backlight value, determines the brightness of backlight value that current light intensity level is corresponding; When described detecting unit detects that light intensity value is changed from small to big, according to the second corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding;
Regulon, for the brightness of backlight value determined according to described processing unit, regulates the brightness of backlight of terminal.
As the optional embodiment of one, described first corresponding relation and the second corresponding relation comprise the light intensity value of setting and the brightness of backlight value of correspondence thereof.
Based on this, described detecting unit comprises:
Detection module, for the light intensity value of sense terminals outside;
Notification module, for detect at described detection module light intensity value from large to small and reach the light intensity value of setting time, notify that described processing unit is for the variation tendency of light intensity value and current light intensity level executable operations; When described detection module detects that light intensity value is changed from small to big and reaches the light intensity value of setting, notify that described processing unit is for the variation tendency of light intensity value and current light intensity level executable operations.
As the optional embodiment of another kind, described first corresponding relation and the second corresponding relation comprise the scope of the light intensity value of setting and the brightness of backlight value of correspondence thereof.
In the embodiment of the present invention, the mean value of the brightness of backlight value that described first corresponding relation comprises, higher than the mean value of the brightness of backlight value that described second corresponding relation comprises.
The further feature of the embodiment of the present invention and advantage will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the embodiment of the present invention.The object of the embodiment of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Below by drawings and Examples, the technical scheme of the embodiment of the present invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the embodiment of the present invention, is not intended to limit the present invention embodiment.
Embodiment one
Fig. 1 is the method flow diagram regulating brightness of backlight in the embodiment of the present invention one, and this flow process comprises:
Step 11: the light intensity value of sense terminals outside.
Step 12: if detect light intensity value from large to small, according to the first corresponding relation of light intensity value and brightness of backlight value, determines the brightness of backlight value that current light intensity level is corresponding; If detect that light intensity value is changed from small to big, according to the second corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding.
In this step, by comparing current detection the light intensity value gone out and the light intensity value that the last time detects, judge the variation tendency of light intensity value.Consider a kind of special circumstances, namely the light intensity value of exterior of terminal is detected after starting up of terminal first, now the light intensity value detected first is compared with the light intensity default value of setting, if the light intensity value detected is identical with light intensity default value, then using the brightness of backlight default value of setting as the brightness of backlight value determined, if the light intensity value detected is less than light intensity default value, then determine according to the first corresponding relation the brightness of backlight value that the light intensity value that detects is corresponding, if the light intensity value detected is larger than light intensity default value, then determine according to the second corresponding relation the brightness of backlight value that the light intensity value that detects is corresponding.
Step 13: according to the brightness of backlight value determined, regulates the brightness of backlight of terminal.
The method of brightness of backlight is regulated in the present embodiment one, pre-set the first corresponding relation and second corresponding relation of light intensity value and brightness of backlight value, when detecting that the light intensity value of exterior of terminal changes, the corresponding relation that will use first is selected according to the variation tendency of the light intensity value of exterior of terminal, again based on the brightness of backlight value that the corresponding relation determination current light intensity level selected is corresponding, exterior of terminal light intensity value can be taken into account and uprise two kinds of situations by high step-down with by low.
As the optional embodiment of one, first corresponding relation of the present embodiment one and the second corresponding relation comprise the light intensity value scope of setting and the brightness of backlight value of correspondence thereof, when detecting that the light intensity value of exterior of terminal changes, first the corresponding relation that will use is determined according to variation tendency, then determine the light intensity value scope belonging to current light intensity level, finally draw the brightness of backlight value that this light intensity value scope is corresponding.
As the optional embodiment of another kind, first corresponding relation of the present embodiment one and the second corresponding relation comprise the light intensity value of setting and the brightness of backlight value of correspondence thereof, when detecting that the light intensity value of exterior of terminal changes and reaches the light intensity value of setting, first determine the corresponding relation that will use according to variation tendency, then determine the brightness of backlight value that current light intensity is corresponding.
Based on the citing of the first concrete corresponding relation and the second corresponding relation in following examples two, introduce the optional embodiment of above-mentioned the second in detail.
Embodiment two
Fig. 2 is the method flow diagram regulating brightness of backlight in the embodiment of the present invention two, and this flow process comprises:
Step 21: the light intensity value of sense terminals outside.
Step 22: if detect that light intensity value is from large to small and reach the light intensity value of setting, the brightness of backlight value corresponding according to the first corresponding relation determination current light intensity level of light intensity value and brightness of backlight value; If detect that light intensity value is changed from small to big and reaches the light intensity value of setting, the brightness of backlight value corresponding according to the second corresponding relation determination current light intensity level of light intensity value and brightness of backlight value.
Due to people enter darker environment by the environment become clear time, the adaptation time that eyes need is longer, and when people enters bright environment by darker environment, the adaptation time that eyes need is shorter, so when people enters darker environment by the environment become clear, need brightness of backlight brighter.Thus in the present embodiment two, the mean value of the brightness of backlight value that the first corresponding relation comprises, higher than the mean value of the brightness of backlight value that the second corresponding relation comprises.
Provide the instantiation of the first corresponding relation and the second corresponding relation below.
First corresponding relation comprises the light intensity value of five groups of settings and the brightness of backlight value of correspondence thereof, as shown in table 1.Can find out, when light intensity value changes to 1000 from 10000, people just enters darker environment from bright environment, and now human eye is responsive not enough to light, and the amplitude that brightness of backlight value reduces is less.
Table 1
Light intensity value |
Brightness of backlight value |
10000 |
245 |
1000 |
185 |
100 |
105 |
10 |
75 |
0 |
35 |
Second corresponding relation comprises the light intensity value of five groups of settings and the brightness of backlight value of correspondence thereof, as shown in table 2.
Table 2
Light intensity value |
Brightness of backlight value |
0 |
35 |
10 |
55 |
100 |
75 |
1000 |
125 |
10000 |
255 |
Suppose that current detection goes out light intensity value from large to small and reach 1000, the brightness of backlight value corresponding according to the first corresponding relation determination current light intensity level shown in table 1 is 185.
Suppose that current detection goes out light intensity value and changes from small to big and reach 1000, the brightness of backlight value corresponding according to the second corresponding relation determination current light intensity level shown in table 2 is 125.
Step 23: according to the brightness of backlight value determined, regulates the brightness of backlight of terminal.
Embodiment three
Fig. 3 is the structural representation of the device regulating brightness of backlight in the embodiment of the present invention three, and this device comprises: detecting unit 31, processing unit 32 and regulon 33.
Detecting unit 31, for the light intensity value of sense terminals outside, when detecting that light intensity value changes, notifier processes unit 32 is for the variation tendency of light intensity value and current light intensity level executable operations.
Processing unit 32, during for detecting that light intensity value from large to small at detecting unit 31, according to the first corresponding relation of light intensity value and brightness of backlight value, determines the brightness of backlight value that current light intensity level is corresponding; When detecting unit 31 detects that light intensity value is changed from small to big, according to the second corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding.
Regulon 33, for the brightness of backlight value determined according to processing unit 32, regulates the brightness of backlight of terminal.
The device of brightness of backlight is regulated in the present embodiment three, pre-set the first corresponding relation and second corresponding relation of light intensity value and brightness of backlight value, when detecting that the light intensity value of exterior of terminal changes, the corresponding relation that will use first is selected according to the variation tendency of the light intensity value of exterior of terminal, again based on the brightness of backlight value that the corresponding relation determination current light intensity level selected is corresponding, take into account exterior of terminal light intensity value thus and uprise two kinds of situations by high step-down with by low.
Identical with the situation in embodiment one, the first corresponding relation in the present embodiment three and the second corresponding relation also have two kinds of optional embodiments, based on the citing of the first concrete corresponding relation and the second corresponding relation in following examples four, introduce the wherein optional embodiment of the second in detail.
Embodiment four
Fig. 4 is the structural representation of the device regulating brightness of backlight in the embodiment of the present invention four, and this device comprises: detecting unit 41, processing unit 42 and regulon 43.
Detecting unit 41 comprises: detection module 411 and notification module 412.
Detection module 411, for the light intensity value of sense terminals outside.
Notification module 412, for detect at detection module 411 light intensity value from large to small and reach the light intensity value of setting time, notifier processes unit 42 is for the variation tendency of light intensity value and current light intensity level executable operations; When detection module 411 detects that light intensity value is changed from small to big and reaches the light intensity value of setting, notifier processes unit 42 is for the variation tendency of light intensity value and current light intensity level executable operations.
Notification module 412, when notifier processes unit 42, notifies variation tendency and the current light intensity level of light intensity value simultaneously.
Due to people enter darker environment by the environment become clear time, the adaptation time that eyes need is longer, and when people enters bright environment by darker environment, the adaptation time that eyes need is shorter, so when people enters darker environment by the environment become clear, need brightness of backlight brighter.Thus in the present embodiment four, the mean value of the brightness of backlight value that the first corresponding relation comprises, higher than the mean value of the brightness of backlight value that the second corresponding relation comprises, the instantiation of the first corresponding relation and the second corresponding relation can respectively with above in table 1 identical with shown in table 2.
Processing unit 42, during for detecting that light intensity value from large to small at detecting unit 41, according to the first corresponding relation of light intensity value and brightness of backlight value, determines the brightness of backlight value that current light intensity level is corresponding; When detecting unit 41 detects that light intensity value is changed from small to big, according to the second corresponding relation of light intensity value and brightness of backlight value, determine the brightness of backlight value that current light intensity level is corresponding.
Regulon 43, for the brightness of backlight value determined according to processing unit 42, regulates the brightness of backlight of terminal.
Detecting unit in above-described embodiment three and embodiment four can be realized by the photodetector in terminal, and processing unit can be realized by the central processing unit (CPU) in terminal, and regulon can be realized by the display screen in terminal.
During concrete executable operations, the light intensity value of the continual sense terminals outside of photodetector, when detect light intensity value from large to small or change from small to big time, send interrupt message, to notify that CPU is for the variation tendency of light intensity value and current light intensity level executable operations to CPU.CPU according to the first corresponding relation or brightness of backlight value corresponding to the second corresponding relation determination current light intensity level, and sends regulating command to display screen.Display screen regulates the brightness of backlight of terminal according to the brightness of backlight value that CPU determines.
Those skilled in the art should understand, the embodiment of the present invention can be provided as method, system or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of claim and equivalent technologies thereof, then the embodiment of the present invention is also intended to comprise these change and modification.