Summary of the invention
The embodiment of the invention proposes method and the device of new adjusting brightness of backlight, can take into account the different adaptability that human eye changes different light rays.
The embodiment of the invention provides a kind of method of regulating brightness of backlight, and the method comprises:
The light intensity value of sense terminals outside;
If detect the 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 value is corresponding;
Change from small to big if detect the light intensity value, 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 value is corresponding;
According to the brightness of backlight value of determining, regulate the brightness of backlight of terminal.
As a kind of optional embodiment, comprise light intensity value and the corresponding brightness of backlight value thereof of setting in described the first corresponding relation and the second corresponding relation.
Based on this, if detect the light intensity value from large to small and reach the light intensity value of setting, determine the brightness of backlight value that current light intensity value is corresponding according to described the first corresponding relation again;
If detect the light intensity value that the light intensity value is changed from small to big and reached setting, determine the brightness of backlight value that current light intensity value is corresponding according to described the second corresponding relation again.
As the optional embodiment of another kind, comprise scope and the corresponding brightness of backlight value thereof of the light intensity value of setting in described the first corresponding relation and the second corresponding relation.
In the embodiment of the invention, the mean value of the brightness of backlight value that comprises in described the first corresponding relation is higher than the mean value of the brightness of backlight value that comprises in described the second corresponding relation.
The embodiment of the invention provides a kind of device of regulating brightness of backlight, and this device comprises:
Detecting unit, for detection of the light intensity value of exterior of terminal, when detecting the variation of light intensity value, the notifier processes unit is for variation tendency and the current light intensity value executable operations of light intensity value;
Processing unit is used for detecting the light intensity value from large to small the time 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 value is corresponding; When described detecting unit detects the light intensity value and changes 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 value is corresponding;
Regulon for the brightness of backlight value of determining according to described processing unit, is regulated the brightness of backlight of terminal.
As a kind of optional embodiment, comprise light intensity value and the corresponding brightness of backlight value thereof of setting in described the first corresponding relation and the second corresponding relation.
Based on this, described detecting unit comprises:
Detection module is for detection of the light intensity value of exterior of terminal;
Notification module is used for notifying variation tendency and the current light intensity value executable operations of described processing unit for the light intensity value when described detection module detects the light intensity value from large to small and reach the light intensity value of setting; Detect at described detection module that the light intensity value is changed from small to big and when reaching the light intensity value of setting, notify variation tendency and the current light intensity value executable operations of described processing unit for the light intensity value.
As the optional embodiment of another kind, comprise scope and the corresponding brightness of backlight value thereof of the light intensity value of setting in described the first corresponding relation and the second corresponding relation.
In the embodiment of the invention, the mean value of the brightness of backlight value that comprises in described the first corresponding relation is higher than the mean value of the brightness of backlight value that comprises in described the second corresponding relation.
The further feature of the embodiment of the invention and advantage will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the embodiment of the invention.The purpose of the embodiment of the invention and other advantages can realize and obtain by specifically noted structure in the instructions of writing, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the 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 only is used for the description and interpretation embodiment of the invention, is not intended to limit the present invention embodiment.
Embodiment one
Fig. 1 is the method flow diagram of regulating brightness of backlight in the embodiment of the invention one, and this flow process comprises:
Step 11: the light intensity value of sense terminals outside.
Step 12: if detect the 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 value is corresponding; Change from small to big if detect the light intensity value, 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 value is corresponding.
In this step, by light intensity value and the last detected light intensity value that the comparison current detection goes out, judge the variation tendency of light intensity value.Consider a kind of special circumstances, it is the light intensity value that detects first exterior of terminal behind the starting up of terminal, compare detected light intensity value first this moment with the light intensity default value of setting, if detected light intensity value is identical with the light intensity default value, then with the brightness of backlight default value set as the brightness of backlight value of determining, if detected light intensity value is less than light intensity default value, then determine the brightness of backlight value that detected light intensity value is corresponding according to the first corresponding relation, if detected light intensity value is larger than light intensity default value, then determine the brightness of backlight value that detected light intensity value is corresponding according to the second corresponding relation.
Step 13: according to the brightness of backlight value of determining, regulate the brightness of backlight of terminal.
Regulate the method for brightness of backlight in the present embodiment one, set in advance the first corresponding relation and second corresponding relation of light intensity value and brightness of backlight value, when the light intensity value that detects exterior of terminal changes, the corresponding relation that elder generation will use according to the variation tendency selection of the light intensity value of exterior of terminal, determine the brightness of backlight value that current light intensity value is corresponding based on the corresponding relation of selecting again, can take into account exterior of terminal light intensity value by high step-down with by hanging down the two kinds of situations that uprise.
As a kind of optional embodiment, the light intensity value scope and the corresponding brightness of backlight value thereof that comprise setting in first corresponding relation of the present embodiment one and the second corresponding relation, when the light intensity value that detects exterior of terminal changes, at first according to the definite corresponding relation that will use of variation tendency, then determine the light intensity value scope that current light intensity value is affiliated, draw at last brightness of backlight value corresponding to this light intensity value scope.
As the optional embodiment of another kind, the light intensity value and the corresponding brightness of backlight value thereof that comprise setting in first corresponding relation of the present embodiment one and the second corresponding relation, when the light intensity value that detects exterior of terminal changes and reach the light intensity value of setting, at first according to the definite corresponding relation that will use of variation tendency, then determine brightness of backlight value corresponding to current light intensity.
In following examples two based on the first concrete corresponding relation and the second corresponding relation for example, introduce in detail the optional embodiment of above-mentioned the second.
Embodiment two
Fig. 2 is the method flow diagram of regulating brightness of backlight in the embodiment of the invention two, and this flow process comprises:
Step 21: the light intensity value of sense terminals outside.
Step 22: if detect the light intensity value from large to small and reach the light intensity value of setting, determine the brightness of backlight value that current light intensity value is corresponding according to the first corresponding relation of light intensity value and brightness of backlight value; If detect the light intensity value that the light intensity value is changed from small to big and reached setting, determine the brightness of backlight value that current light intensity value is corresponding according to the second corresponding relation of light intensity value and brightness of backlight value.
Because when the people enters darker environment by bright environment, the adaptation time that eyes need is longer, and when the people entered bright environment by darker environment, the adaptation time that eyes need was shorter, so when the people enters darker environment by bright environment, need brightness of backlight brighter.Thus in the present embodiment two, the mean value of the brightness of backlight value that comprises in the first corresponding relation is higher than the mean value of the brightness of backlight value that comprises in the second corresponding relation.
The below provides the instantiation of the first corresponding relation and the second corresponding relation.
The first corresponding relation comprises five groups of light intensity values of setting and corresponding brightness of backlight value thereof, and is as shown in table 1.Can find out, change in the light intensity value at 1000 o'clock from 10000, the people just enters darker environment from bright environment, and this moment, human eye was responsive not enough to light, and the amplitude that the brightness of backlight value reduces is less.
Table 1
The light intensity value |
The brightness of backlight value |
10000 |
245 |
1000 |
185 |
100 |
105 |
10 |
75 |
0 |
35 |
The second corresponding relation comprises five groups of light intensity values of setting and corresponding brightness of backlight value thereof, and is as shown in table 2.
Table 2
The light intensity value |
The brightness of backlight value |
0 |
35 |
10 |
55 |
100 |
75 |
1000 |
125 |
10000 |
255 |
Suppose that current detection goes out the light intensity value from large to small and reaches 1000, determine that according to the first corresponding relation shown in the table 1 brightness of backlight value corresponding to current light intensity value is 185.
Suppose that current detection goes out the light intensity value and changes from small to big and reach 1000, determine that according to the second corresponding relation shown in the table 2 brightness of backlight value corresponding to current light intensity value is 125.
Step 23: according to the brightness of backlight value of determining, regulate the brightness of backlight of terminal.
Embodiment three
Fig. 3 is the structural representation of regulating the device of brightness of backlight in the embodiment of the invention three, and this device comprises: detecting unit 31, processing unit 32 and regulon 33.
Detecting unit 31, for detection of the light intensity value of exterior of terminal, when detecting the variation of light intensity value, notifier processes unit 32 is for variation tendency and the current light intensity value executable operations of light intensity value.
Processing unit 32 is used for detecting the light intensity value from large to small the time 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 value is corresponding; When detecting unit 31 detects the light intensity value and changes 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 value is corresponding.
Regulon 33 for the brightness of backlight value of determining according to processing unit 32, is regulated the brightness of backlight of terminal.
Regulate the device of brightness of backlight in the present embodiment three, set in advance the first corresponding relation and second corresponding relation of light intensity value and brightness of backlight value, when the light intensity value that detects exterior of terminal changes, the corresponding relation that elder generation will use according to the variation tendency selection of the light intensity value of exterior of terminal, determine the brightness of backlight value that current light intensity value is corresponding based on the corresponding relation of selecting again, take into account thus exterior of terminal light intensity value by high step-down with by hanging down the two kinds of situations that uprise.
Identical with the situation among the embodiment one, the first corresponding relation in the present embodiment three and the second corresponding relation also have two kinds of optional embodiments, in following examples four based on the first concrete corresponding relation and the second corresponding relation for example, introduce in detail the wherein optional embodiment of the second.
Embodiment four
Fig. 4 is the structural representation of regulating the device of brightness of backlight in the embodiment of the 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 is for detection of the light intensity value of exterior of terminal.
Notification module 412 is used for when detection module 411 detects the light intensity value from large to small and reach the light intensity value of setting, and notifier processes unit 42 is for variation tendency and the current light intensity value executable operations of light intensity value; Detect at detection module 411 that the light intensity value is changed from small to big and when reaching the light intensity value of setting, notifier processes unit 42 is for variation tendency and the current light intensity value executable operations of light intensity value.
Notification module 412 is notified variation tendency and the current light intensity value of light intensity value simultaneously when notifier processes unit 42.
Because when the people enters darker environment by bright environment, the adaptation time that eyes need is longer, and when the people entered bright environment by darker environment, the adaptation time that eyes need was shorter, so when the people enters darker environment by bright environment, need brightness of backlight brighter.Thus in the present embodiment four, the mean value of the brightness of backlight value that comprises in the first corresponding relation, the mean value that is higher than the brightness of backlight value that comprises in the second corresponding relation, the instantiation of the first corresponding relation and the second corresponding relation can be respectively with preamble in identical shown in table 1 and the table 2.
Processing unit 42 is used for detecting the light intensity value from large to small the time 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 value is corresponding; When detecting unit 41 detects the light intensity value and changes 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 value is corresponding.
Regulon 43 for the brightness of backlight value of determining according to processing unit 42, is regulated the brightness of backlight of terminal.
Detecting unit among above-described embodiment three and the embodiment four can be by the realization of the photodetector in the terminal, and processing unit can be by the central processing unit in the terminal (CPU) realization, and regulon can be realized by the display screen in the terminal.
During concrete executable operations, the light intensity value of the continual sense terminals of photodetector outside, when detecting the light intensity value from large to small or changing from small to big, to CPU transmission interrupt message, with variation tendency and the current light intensity value executable operations of notice CPU for the light intensity value.CPU determines the brightness of backlight value that current light intensity value is corresponding according to the first corresponding relation or the second corresponding relation, and sends regulating command to display screen.Display screen is regulated 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 invention can be provided as method, system or computer program.Therefore, the embodiment of the invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the embodiment of the invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The embodiment of the invention is that reference is described according to process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computing machine or other programmable data processing device produces the device that is used for realizing in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable devices, thereby be provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the embodiment of the invention.Like this, if these of the embodiment of the invention are revised and modification belongs within the scope of claim and equivalent technologies thereof, then the embodiment of the invention also is intended to comprise these changes and modification interior.