CN103117044A - Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal - Google Patents

Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal Download PDF

Info

Publication number
CN103117044A
CN103117044A CN2013100051865A CN201310005186A CN103117044A CN 103117044 A CN103117044 A CN 103117044A CN 2013100051865 A CN2013100051865 A CN 2013100051865A CN 201310005186 A CN201310005186 A CN 201310005186A CN 103117044 A CN103117044 A CN 103117044A
Authority
CN
China
Prior art keywords
brightness value
environmental light
light brightness
backlight
bottom layer
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.)
Granted
Application number
CN2013100051865A
Other languages
Chinese (zh)
Other versions
CN103117044B (en
Inventor
吴福民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310005186.5A priority Critical patent/CN103117044B/en
Publication of CN103117044A publication Critical patent/CN103117044A/en
Application granted granted Critical
Publication of CN103117044B publication Critical patent/CN103117044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a terminal backlight brightness adjusting method, a terminal backlight brightness adjusting device and a terminal. The terminal backlight brightness adjusting method includes that a bottom layer drive unit of an ambient light sensor obtains an ambient light brightness value collected by the ambient light sensor at a current collection time; when the ambient light brightness value at the current collection time is less than an ambient light brightness value at a former collection time, the bottom layer drive unit of the ambient light sensor invokes a parameter configuration function of an operation system, and an ambient light brightness value in a registry is altered to the ambient light brightness value at the current collection time; a backlight control bottom layer drive unit invokes a parameter reading function of the operation system, and the altered ambient light brightness value is read from the registry; and the backlight control bottom layer drive unit controls the backlight brightness to be darkened according to the ambient light brightness value in the registry. According to the terminal backlight brightness adjusting method, the backlight brightness can be directly controlled to be adjusted gradually in the mode that the registry is altered through the bottom layer drive unit and is read, and therefore the flexibility of the adjustment of the backlight brightness is improved.

Description

Terminal backlight brightness adjusting method and device and terminal
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to a kind of terminal backlight brightness adjusting method and device and terminal.
Background technology
For the terminal of the Window8 operating system that adopts Microsoft to provide, such as mobile phone, panel computer etc. can be realized by the function that operating system carries display backlight from dark to bright adjusting, but can not be realized saving to shadow from bright.For example, when the cellphone subscriber moves towards the high environment of luminance brightness from the low environment of luminance brightness, mobile phone backlight brightness is still high, when being still high, on the one hand, easily cause user's asthenopia at the dark and backlight illumination of mobile phone display screen of surround lighting, on the other hand, when display backlight brightness was high, the power consumption of mobile phone was also high, thereby service time of battery is shortened.This shows, present terminal backlight brightness regulation technology is built in operating system, the very flexible of adjusting.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus and terminal of terminal backlight brightness regulation, to optimize regulation technology backlight, improves the dirigibility of its adjusting.
First aspect present invention provides a kind of terminal backlight brightness adjusting method, comprising:
The bottom layer driving of ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor gathers;
When the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor, the environmental light brightness value in edit the registry are the described current environmental light brightness value constantly that gathers;
The backlight control bottom layer driving is called the parameter function reading of described operating system, reads amended environmental light brightness value from described registration table;
It is dimmed that described backlight control bottom layer driving is controlled backlight illumination according to the environmental light brightness value in described registration table.
In the possible implementation of the first of first aspect present invention, described method, also comprise: when the current environmental light brightness value that gathers the moment was not less than the environmental light brightness value in a upper collection moment, the bottom layer driving of ambient light sensor offered described operating system with the described current environmental light brightness value constantly that gathers;
Described operating system is controlled backlight illumination and is brightened according to the described current environmental light brightness value constantly that gathers.
In the possible implementation of the first of first aspect present invention, parameter configuration function in the bottom layer driving call operation system of ambient light sensor, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly before, also comprise:
When receiving user's input message, the bottom layer driving of ambient light sensor is called the unlatching function of described operating system, opens described registration table;
The bottom layer driving of ambient light sensor is called the adjusting value of enabling backlight in the described registration table of described parameter configuration function modification;
In the parameter function reading of backlight control bottom layer driving call operation system, read amended environmental light brightness value from described registration table before, also comprise:
Described backlight control bottom layer driving is called the unlatching function of described operating system, opens described registration table;
Described backlight control bottom layer driving is called described parameter function reading and read described adjusting value of enabling backlight from described registration table;
When described backlight control bottom layer driving recognizes described adjusting value of enabling backlight when effective, trigger the operation of reading described amended environmental light brightness value.
In the third possible implementation of first aspect present invention, judge when the bottom layer driving of ambient light sensor current gather environmental light brightness constantly less than on one gather constantly environmental light brightness the time, the parameter configuration function of call operation system, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly after, also comprise:
After postponing the second setting duration, the described current environmental light brightness value constantly that gathers is offered described operating system.
In the 4th kind of possible implementation of first aspect present invention, wherein, described backlight control bottom layer driving controls according to the environmental light brightness value in described registration table that backlight illumination is dimmed to be comprised:
Described backlight control bottom layer driving compares environmental light brightness value and setting threshold in described registration table;
When comparative result satisfies when pre-conditioned, control backlight illumination dimmed.
In the 4th kind of possible implementation of first aspect present invention, preferred version is, when comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.
In conjunction with first aspect present invention, and four kinds of possible implementations of the first to the of first aspect, in the 5th kind of possible implementation of first aspect present invention, described upper one gathers the environmental light brightness value that constantly gets is stored in the bottom layer driving of ambient light sensor.
Second aspect present invention provides a kind of terminal backlight brightness regulating apparatus, comprising:
The brightness value acquisition module is configured in the bottom layer driving of ambient light sensor, is used for obtaining the current environmental light brightness value constantly that gathers that ambient light sensor gathers;
The brightness value modified module, be configured in the bottom layer driving of ambient light sensor, be used for when the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry are the described current environmental light brightness value constantly that gathers;
The brightness value read module is configured in the backlight control bottom layer driving, is used for calling the parameter function reading of described operating system, reads amended environmental light brightness value from described registration table;
The brightness value adjustment module is configured in the backlight control bottom layer driving, is used for controlling backlight illumination according to the environmental light brightness value of described registration table dimmed.
In the possible implementation of the first of second aspect present invention, the device of described terminal backlight brightness regulation also comprises:
The brightness value sending module, be configured in the bottom layer driving of ambient light sensor, be used for when the current environmental light brightness value that gathers the moment was not less than the environmental light brightness value in a upper collection moment, the described current environmental light brightness value constantly that gathers is offered described operating system;
Described operating system is controlled backlight illumination and is brightened according to the described current environmental light brightness value constantly that gathers.
In the possible implementation of the second of second aspect present invention, the device of described terminal backlight brightness regulation also comprises: the value of enabling modified module and the value of enabling read module, wherein,
The described value of enabling modified module, be configured in the bottom layer driving of ambient light sensor, be used for the parameter configuration function in described brightness value modified module call operation system, environmental light brightness value in edit the registry be described current gather environmental light brightness constantly before, when receiving user's input message, call the unlatching function of described operating system, open described registration table; And call described parameter configuration function and revise adjusting value of enabling backlight in described registration table;
The described value of enabling read module, be configured in the backlight control bottom layer driving, be used for the parameter function reading in brightness value read module call operation system, read amended environmental light brightness value from described registration table before, call the unlatching function of described operating system, open described registration table; And call described parameter function reading and read described adjusting value of enabling backlight from described registration table;
When the described value of enabling read module recognizes described adjusting value of enabling backlight when effective, trigger the operation that described brightness value read module reads described amended environmental light brightness value.
In the third possible implementation of second aspect present invention, described brightness value modified module also is used for, the parameter configuration function in the call operation system, the environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly after,
After postponing the second setting duration, the described current environmental light brightness value constantly that gathers is offered described operating system.
In the 4th kind of possible implementation of second aspect present invention, described brightness value adjustment module specifically is used for, and the comparative result after in described registration table, environmental light brightness value and setting threshold compare satisfies when pre-conditioned, controls backlight illumination dimmed.
In the 4th kind of possible implementation of second aspect present invention, preferred version is that described brightness value adjustment module also is used for:
When comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.
In conjunction with second aspect present invention, and four kinds of possible implementations of the first to the of second aspect, in the 5th kind of possible implementation of second aspect present invention, described upper one gathers the environmental light brightness value that constantly gets is stored in the bottom layer driving of ambient light sensor.
Third aspect present invention provides a kind of terminal, wherein, comprises the terminal backlight brightness regulating apparatus that any embodiment of the present invention provides, and is configured in respectively in the bottom layer driving and backlight control bottom layer driving of ambient light sensor.
The terminal backlight brightness regulation scheme that the embodiment of the present invention provides, after the bottom layer driving of ambient light sensor is obtained the current collection environmental light brightness value constantly of ambient light sensor collection, when the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers; Then, the parameter function reading of call operation system reads amended environmental light brightness value from this registration table, controls backlight illumination according to the environmental light brightness value in registration table.By the bottom layer driving edit the registry, and read the mode of registration table, can directly control backlight illumination dimmed, and need not extra software or hardware controls, regulative mode is more flexible.Realized the automatic adjusting of backlight illumination from bright to dark, the terminal backlight brightness that has solved available technology adopting Window8 operating system can only be from secretly to the problem of bright adjusting.The automatic backlight regulatory function is brought more comfortable visual experience to the user when effectively reducing power consumption.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of terminal backlight brightness adjusting method embodiment one of the present invention;
Fig. 2 is the process flow diagram of terminal backlight brightness adjusting method embodiment two of the present invention;
Fig. 3 is the process flow diagram of terminal backlight regulating device embodiment one of the present invention;
Fig. 4 is the process flow diagram of terminal backlight regulating device embodiment two of the present invention;
Fig. 5 is the structural representation of terminal backlight regulating device embodiment three of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the process flow diagram of terminal backlight brightness adjusting method embodiment one of the present invention.The method is applicable to any mobile terminal, for example: mobile phone, PAD(Personal Digital Assistant, personal digital assistant), panel computer etc., carried out by the terminal backlight brightness regulating apparatus, this device can be realized by the mode of hardware and/or software, is integrated in mobile terminal.Be provided with ambient light sensor and liquid crystal display (Liquid Crystal Display in this mobile terminal, be called for short LCD), be provided with backlight device in LCD, above-mentioned ambient light sensor and backlight device are provided with bottom layer driving software, the embodiment of the present invention is by improving bottom layer driving software, and the registration table of compounding practice system is realized brightness regulation backlight.The type of operating system is not limit, but particularly is applicable to the Window8 operating system of Microsoft.As shown in Figure 1, the terminal backlight brightness adjusting method that provides of the present embodiment comprises the following steps:
The bottom layer driving of step 101, ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor gathers.
Ambient light sensor is used for real-time collection current time environmental light brightness value, and the bottom layer driving of ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor collects.
Step 102, when current gather environmental light brightness value constantly less than upper one gather constantly the environmental light brightness value time, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers.
Obtain the environmental light brightness value of ambient light sensor collection in the bottom layer driving of ambient light sensor after, when the bottom layer driving of ambient light sensor judge current gather environmental light brightness value constantly less than upper one gather constantly the environmental light brightness value time, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers.Wherein, the functional function that this parameter configuration function provides for operating system, the WdfRegistryAssignValue () function in the Window8 operating system that for example can provide for Microsoft.The parameter configuration function is used for the environmental light brightness value of edit the registry, and the present invention does not do special restriction to the parameter configuration function, so long as can realize that the function of the environmental light brightness value in edit the registry can.Environmental light brightness value in registration table can be the registration entry value that newly increases.
In the present embodiment, by the parameter configuration function, upper one in registration table gathered environmental light brightness value constantly and be revised as the current environmental light brightness value constantly that gathers, the current environmental light brightness value constantly that gathers is collected by ambient light sensor, and upper one gathers the environmental light brightness value that constantly gets is stored in the bottom layer driving of ambient light sensor.When the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, illustrate that current environmental light brightness by bright dimmed, needs adjusting backlight luminance dimmed.
The parameter function reading of step 103, backlight control bottom layer driving call operation system reads amended environmental light brightness value from registration table.
Parameter configuration function in the bottom layer driving call operation system of ambient light sensor, after the upper one environmental light brightness value that gathers the moment in registration table is revised as current collection environmental light brightness value constantly, the backlight control bottom layer driving is called the parameter function reading of this operating system, by this parameter function reading, read amended environmental light brightness value from registration table, this amended environmental light brightness value is the current environmental light brightness value constantly that gathers.This parameter function reading is also provided by operating system, for example can be the WdfRegistryQueryValue function in Window8 operating system, reads amended environmental light brightness value in registration table by the WdfRegistryQueryValue function.
It is dimmed that step 104, backlight control bottom layer driving are controlled backlight illumination according to the environmental light brightness value in registration table.
The backlight control bottom layer driving is controlled backlight illumination according to the environmental light brightness value that reads from registration table dimmed; make the backlight illumination of display screen of terminal and current environmental light brightness adapt; particularly; in the current environmental light brightness value hour; the control backlight illumination weakens; with the power consumption of reduction mobile phone, and protection user's eyes.
The terminal backlight brightness adjusting method that the present embodiment provides, after the bottom layer driving of ambient light sensor is obtained the current collection environmental light brightness value constantly of ambient light sensor collection, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry is this brightness values; Afterwards, the parameter function reading of backlight control bottom layer driving call operation system reads amended environmental light brightness value from this registration table, controls backlight illumination according to the environmental light brightness value in registration table dimmed.By the bottom layer driving edit the registry, and read the mode of registration table, can directly control backlight illumination dimmed, and need not extra software or hardware controls, make adjusting backlight more flexible.
On the basis of above-described embodiment technical scheme, preferably: in step 104, the backlight control bottom layer driving according to the dimmed specific implementation of environmental light brightness value control backlight illumination in registration table is: the backlight control bottom layer driving compares environmental light brightness value and the setting threshold in this registration table; When comparative result satisfies when pre-conditioned, control backlight illumination dimmed.A kind of preferred embodiment in, when comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.Adjust backlight illumination again after postponing, can avoid dodging the screen phenomenon, first sets duration is preferably 2s.
Adopt the mode of the bottom layer driving edit the registry of ambient light sensor in the present embodiment, then the backlight control bottom layer driving reads the mode of registration table, has realized the transmission of environmental light brightness value between two bottom layer driving, implements simple.If do not adopt the mode of edit the registry, and will realize the exchange of data between direct two bottom layer driving, need special-purpose interface routine, and corresponding function is realized.And in the present embodiment, by revising and read the mode of registration table, do not need special-purpose interface routine and function, directly call existing function and just can realize.
Fig. 2 is the process flow diagram of terminal backlight brightness adjusting method embodiment two of the present invention.The Window8 operating system that provides take operating system as Microsoft in the present embodiment illustrates the solution of the present invention as example.As shown in Figure 2, the terminal backlight brightness adjusting method that the present embodiment provides comprises the following steps:
The bottom layer driving of step 201, ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor gathers.
Ambient light sensor is used for real-time collection current time environmental light brightness value, and the bottom layer driving of ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor collects.
Step 202, when receiving user's input message, the unlatching function of the bottom layer driving call operation system of ambient light sensor is opened registration table.
After the bottom layer driving of ambient light sensor was obtained the environmental light brightness value that ambient light sensor gathers, when receiving user's input message, the unlatching function of the bottom layer driving call operation system of ambient light sensor was opened registration table.Open the functional function that function provides for operating system, the Window8 operating system that for example can provide for Microsoft, this unlatchings function is for opening registration table.
In Window8 operating system, opening function is WdfRegistryOpenKey () function, opens registration table by calling WdfRegistryOpenKey () function.This registration table can be existing registration table, only needs to increase corresponding program and driving in existing registration table, registration table that also can a newly-built special use.Registration table is actually a huge database, wherein hold the incidence relation, explanation, state and attribute and various status information and the data of hardware device of initialization information, application program and document files of whole configuration informations, the application program of application program and computer system, realized controlling application program and driving by calling registration table.
In the present embodiment, this user's input information is user's selection information, when realizing, in Window8 operating system, the adjusting to backlight illumination in setup menu is provided with manual adjustments and automatically regulates two optional functions, the user can open or close automatic regulation function by the corresponding button in the trigger action system, after the user selected automatic regulation function, ambient light sensor was started working, according to user's input message, operating system is called the unlatching function, opens registration table.
The bottom layer driving call parameters configuration function of step 203, ambient light sensor, the adjusting value of enabling backlight in edit the registry.
Unlatching function in the bottom layer driving call operation system of ambient light sensor, after opening registration table, the adjusting value of enabling backlight in the bottom layer driving call parameters configuration function edit the registry of ambient light sensor.In Window8 operating system, this parameter configuration function is WdfRegistryAssignValue (), the bottom layer driving of ambient light sensor is by calling the adjusting value of enabling backlight in WdfRegistryAssignValue () function edit the registry, adjusting value of enabling backlight is used for representing whether regulatory function backlight opens, adjusting value of enabling backlight can represent with 1 or 0,1 expression value of enabling is effective, and 0 expression value of enabling is invalid.
In the present embodiment, step 202 and step 203 are option, when realizing, also adjusting value of enabling backlight can be set to 1, i.e. this adjusting value of enabling continuously effective backlight.
The more current collection constantly of the bottom layer driving of step 204, ambient light sensor gathers with upper one the environmental light brightness value that constantly gets.
The environmental light brightness value of the current time that the bottom layer driving of ambient light sensor collects according to ambient light sensor, the more current collection constantly gathers with upper one the environmental light brightness value that constantly gets.When the bottom layer driving of ambient light sensor judge current gather environmental light brightness constantly less than upper one gather constantly environmental light brightness the time, order execution in step 205,207,208,209,210,211; Judge the current environmental light brightness constantly that gathers when the bottom layer driving of ambient light sensor and be not less than upper one when gathering the environmental light brightness in the moment, execution in step 206.In the present embodiment, upper one initial value that gathers environmental light brightness value constantly is set to 0, and upper one gathers environmental light brightness value constantly is stored in the bottom layer driving of ambient light sensor.
Step 205, when the bottom layer driving of ambient light sensor judge current gather environmental light brightness constantly less than upper one gather constantly environmental light brightness the time, the parameter configuration function of call operation system, environmental light brightness value in edit the registry is the current environmental light brightness value constantly that gathers, and after postponing the second setting duration, the environmental light brightness value is offered operating system.
The bottom layer driving of ambient light sensor is judged the current environmental light brightness constantly that gathers and is gathered environmental light brightness constantly less than upper one, illustrates that surrounding environment is transferred to secretly by bright, need to weaken mobile phone backlight brightness.In Window8 operating system, the parameter configuration function is WdfRegistryAssignValue () function, the bottom layer driving of ambient light sensor gathers with upper one in registration table the environmental light brightness value that constantly gets and is revised as the current environmental light brightness value constantly that gathers by call parameters configuration function WdfRegistryAssignValue ().And extend second and set duration, the environmental light brightness value is offered operating system, extending this, second to set duration be in order to guarantee the consistance of sequential, to make the function of follow-up adjusting backlight have time enough to carry out in order, and this second is set duration and be preferably 4s.After extending the second setting duration, it is a kind of mechanism commonly used that the environmental light brightness value is offered operating system, system may carry out other operations according to this environmental light brightness value, the present invention also is not particularly limited, be understandable that, the environmental light brightness value offered operating system adjusting backlight is not had any impact.
Step 206, judge the current environmental light brightness constantly that gathers when the bottom layer driving of ambient light sensor and be not less than upper one when gathering the environmental light brightness in the moment, the environmental light brightness value is offered operating system, operating system is controlled backlight illumination and is brightened according to the current environmental light brightness value constantly that gathers.
The bottom layer driving of ambient light sensor judge current gather environmental light brightness constantly be not less than one gather constantly environmental light brightness the time, be current gather environmental light brightness constantly more than or equal to upper one gather constantly environmental light brightness the time, illustrate that surrounding environment is bright by blackout, need to strengthen mobile phone backlight brightness.In Window8 operating system, system self can realize the adjusting that backlight illumination grows from weak to strong, after the environmental light brightness value is offered Window8 operating system, operating system is controlled backlight illumination by the system function that calls self and is brightened, realize backlight illumination by dark to bright adjusting, this is prior art, therefore repeat no more.
The unlatching function of step 207, backlight control bottom layer driving call operation system is opened registration table.
In this step, opening function is also WdfRegistryOpenKey () function, opens registration table by calling this function.
Step 208, backlight control bottom layer driving call parameters function reading read adjusting value of enabling backlight from registration table.
In this Window8 system, the parameter function reading is WdfRegistryQueryValue (), after opening registration table, reads adjusting value of enabling backlight in registration table by WdfRegistryQueryValue () function.
Step 209, when the backlight control bottom layer driving recognizes adjusting value of enabling backlight when effective, trigger the operation of reading the environment brightness values.
Particularly, when backlight control bottom layer driving call parameters function reading read adjusting value of enabling backlight from registration table after, if the value of enabling is 1, the backlight control bottom layer driving recognized this adjusting value of enabling backlight effectively, the operation of environment brightness values is read in triggering, and namely execution in step 210.If the value of enabling is 0, it is invalid that the backlight control bottom layer driving recognizes this adjusting value of enabling backlight, do not carry out any operation.
The parameter function reading of step 210, backlight control bottom layer driving call operation system reads amended environmental light brightness value from registration table.
When the backlight control bottom layer driving recognize adjusting value of enabling backlight effectively after, the backlight control bottom layer driving is the parameter function reading of call operation system further, reads amended environmental light brightness value from registration table.In Window8 operating system, this parameter function reading is WdfRegistryQueryValue () function, the backlight control bottom layer driving is by calling this parameter function reading WdfRegistryQueryValue (), read amended environmental light brightness value from registration table, the amended environmental light brightness value that reads from registration table is the current environmental light brightness value constantly that gathers.
It is dimmed that step 211, backlight control bottom layer driving are controlled backlight illumination according to environmental light brightness value in registration table.
Read the environment brightness values from registration table after, the backlight control bottom layer driving is controlled backlight illumination according to the environmental light brightness value.Be specially, the backlight control bottom layer driving compares environmental light brightness value and setting threshold; When comparative result satisfies default the adjusting, control backlight illumination dimmed.In a kind of attainable preferred implementation, when comparative result satisfied default the adjusting, after postponing the first setting duration, then it was dimmed to control backlight illumination.Set duration by delay, can avoid dodging the screen phenomenon, first sets duration is preferably 2S.
In the present embodiment, number and the threshold size of setting threshold are not done special restriction.For example, this setting threshold is A, B, three threshold values of C, and A, B, C are respectively three environmental light brightness values, and A ﹤ B ﹤ C, and A is than dark situation luminance brightness threshold value, and B is general environment luminance brightness threshold value, the highlighted environmental light brightness threshold value of C.The backlight control bottom layer driving compares the current threshold value that gathers moment environmental light brightness value and setting, in current collection when the environmental light brightness value is less than A constantly, current collection is described, and environmental light brightness is low constantly, after postponing the first setting duration, the control backlight illumination weakens, adjusting backlight luminance is a suitable value, so that the backlight illumination of terminal display screen and current environmental light brightness adapt to; When this environmental light brightness value during greater than A and less than B, postpone first set duration after, control backlight illumination.For the environmental light brightness value that drops on different threshold stage, be provided with the backlight brightness values of coupling, after which threshold stage was environmental light brightness value that bottom layer driving backlight is judged current time be positioned at, the adjusting backlight luminance value was the backlight brightness values with this threshold stage coupling.
Need to prove, in this enforcement, adjusting value of enabling backlight and environmental light brightness value write on the different list items in same registration table, the registration entry value for newly increasing of the adjusting value of enabling backlight in registration table and environmental light brightness value.Be understandable that, adjusting value of enabling backlight and environmental light brightness value also can write respectively in different registration tablies, for example adjusting value of enabling backlight is write in registration table A, the environmental light brightness value is write in registration table B, registration table A and B can use existing registration table, can be also the registration tablies of depositing adjusting value of enabling backlight and environmental light brightness value that is specifically designed to that newly increases.
The terminal backlight control method that the present embodiment provides, by ambient light sensor bottom layer driving and backlight control bottom layer driving edit the registry, and read the mode of registration table, can automatically adjust backlight illumination according to the current environmental light brightness value dimmed, the terminal backlight brightness that has solved available technology adopting Window8 operating system can only from secretly to the problem of bright adjusting, can realize the adjusting of backlight illumination from bright to dark.further, the terminal backlight control method that the present embodiment provides can also realize that backlight illumination is from dark to bright adjusting, and realize in the present embodiment from dark different with prior art to bright mode, in prior art when ambient light sensor obtain current gather environmental light brightness value constantly after, directly offer operating system, in the present embodiment, obtain by the bottom layer driving of ambient light sensor the environmental light brightness value that ambient light sensor gathers, and when the current environmental light brightness value that gathers the moment is not less than the environmental light brightness in a collection moment, the current environmental light brightness value constantly that gathers is offered operating system, controlling backlight illumination by operating system brightens.The method that the present embodiment provides has increased the dirigibility that backlight illumination is regulated, and brings more comfortable visual experience to the user when effectively reducing power consumption.
Fig. 3 is the process flow diagram of terminal backlight regulating device embodiment one of the present invention.As shown in Figure 3, the terminal backlight brightness regulating apparatus that the present embodiment provides comprises: brightness value acquisition module 301, brightness value modified module 302, brightness value read module 303 and brightness value adjustment module 304.
Wherein, brightness value acquisition module 301 is configured in the bottom layer driving of ambient light sensor, is used for obtaining the current environmental light brightness value constantly that gathers that ambient light sensor gathers.Ambient light sensor is used for real-time collection current time environmental light brightness value, and brightness value acquisition module 301 obtains the current environmental light brightness value constantly that gathers that ambient light sensor collects.
Brightness value modified module 302, be configured in the bottom layer driving of ambient light sensor, be used for when the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers.Brightness value modified module 302 is after brightness value acquisition module 301 gets the environmental light brightness value, judge the current environmental light brightness value constantly that gathers, current gather environmental light brightness value constantly less than on one gather constantly the environmental light brightness value time, the parameter configuration function of call operation system, the functional function that the parameter configuration function provides for operating system, the WdfRegistryAssignValue () function in the Window8 operating system that for example can provide for Microsoft.This parameter configuration function is used for the environmental light brightness value of edit the registry.Environmental light brightness value in this registration table can be the registration entry value that newly increases.
Brightness value read module 303 is configured in the backlight control bottom layer driving, is used for the parameter function reading of call operation system, reads amended environmental light brightness value from registration table.Parameter configuration function in brightness value modified module 302 call operation systems, after the upper one environmental light brightness value that gathers the moment in registration table is revised as current collection environmental light brightness value constantly, brightness value read module 303 calls the parameter function reading of this operating system, by this parameter function reading, read amended environmental light brightness value from this registration table.This parameter function reading is also provided by operating system, is for example the WdfRegistryQueryValue function in Window8 operating system.
Brightness value adjustment module 304 is configured in the backlight control bottom layer driving, is used for controlling backlight illumination according to the environmental light brightness value of registration table dimmed.The environmental light brightness value that brightness value adjustment module 304 reads from registration table according to brightness value read module 303 is controlled backlight illumination dimmed, makes the backlight illumination of display screen of terminal and current environmental light brightness adapt.Brightness value adjustment module 304 specifically is used for, and the comparative result after the environmental light brightness value in registration table and setting threshold compare satisfies when pre-conditioned, controls backlight illumination dimmed.Preferably, when comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.Backlight by adjusting again after postponing, can avoid dodging the screen phenomenon, this first setting duration is preferably 2s.
The terminal backlight brightness regulating apparatus that the present embodiment provides is used for the method for manner of execution embodiment one.
The terminal backlight brightness regulating apparatus that the present embodiment provides, after the brightness value acquisition module obtains the current collection environmental light brightness value constantly of ambient light sensor collection, when the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of brightness value modified module call operation system, the environmental light brightness value in edit the registry are the current brightness values constantly that gathers; Then, the parameter function reading of brightness value read module call operation system reads amended environmental light brightness value from this registration table, and it is dimmed that the brightness value adjustment module is controlled backlight illumination according to environmental light brightness value in registration table.By the bottom layer driving edit the registry, and read the mode of registration table, can directly control backlight illumination dimmed, and need not extra software or hardware controls.
Fig. 4 is the process flow diagram of terminal backlight regulating device embodiment two of the present invention.As shown in Figure 4, the terminal backlight brightness regulating apparatus that the present embodiment provides comprises with lower module: brightness value acquisition module 401, the value of enabling modified module 402, brightness value sending module 403, brightness value modified module 404, the value of enabling read module 405, brightness value read module 406 and brightness value adjustment module 407.
Wherein, brightness value acquisition module 401 is configured in the bottom layer driving of ambient light sensor, is used for obtaining the current environmental light brightness value constantly that gathers that ambient light sensor gathers.
The value of enabling modified module 402, be configured in the bottom layer driving of ambient light sensor, be used for the parameter configuration function in brightness value modified module 404 call operation systems, environmental light brightness value in edit the registry be current gather environmental light brightness constantly before, when receiving user's input message, the unlatching function of call operation system is opened registration table; And adjusting value of enabling backlight in call parameters configuration function edit the registry.
Under Window8 operating system, this opens function can be WdfRegistryOpenKey () function, opens registration table by calling WdfRegistryOpenKey () function.This registration table can be existing registration table, only needs to increase corresponding program and driving in existing registration table, registration table that also can a newly-built special use.This parameter configuration function can be WdfRegistryAssignValue (), the bottom layer driving of ambient light sensor is by calling the adjusting value of enabling backlight in WdfRegistryAssignValue () function edit the registry, this adjusting value of enabling backlight can represent with 1 or 0,1 expression value of enabling is effective, and 0 expression value of enabling is invalid.
Brightness value modified module 404 is used for, when the current environmental light brightness that gathers the moment gathers the environmental light brightness in the moment less than upper one, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers.Preferably, brightness value modified module 404 also is used for, the parameter configuration function in the call operation system, the environmental light brightness value in edit the registry be current gather environmental light brightness value constantly after, after postponing the second setting duration, the environmental light brightness value is offered operating system.Wherein, when the current environmental light brightness that gathers the moment gathers the environmental light brightness in the moment less than upper one, illustrate that the environmental light brightness value is transferred to secretly by bright, need to weaken mobile phone backlight brightness.In Window8 operating system, this parameter configuration function is WdfRegistryAssignValue () function.The bottom layer driving of ambient light sensor gathers with upper one in registration table the environmental light brightness value that constantly gets and is revised as the current environmental light brightness value constantly that gathers by call parameters configuration function WdfRegistryAssignValue ().Preferably, this second duration is 4s, and extending this second duration is in order to guarantee the consistance of sequential, to make the function of adjusting backlight to carry out in order.
Brightness value sending module 403 is used for, when the current environmental light brightness that gathers the moment was not less than the environmental light brightness in a upper collection moment, the environmental light brightness value is offered operating system, and operating system is controlled backlight illumination and is brightened according to the current environmental light brightness value constantly that gathers.When the current environmental light brightness that gathers the moment is not less than the environmental light brightness in a collection moment, be current gather environmental light brightness constantly more than or equal to upper one gather constantly environmental light brightness the time, illustrate that surrounding environment is bright by blackout, need to strengthen mobile phone backlight brightness.In Window8 operating system, system self can realize the adjusting that backlight illumination grows from weak to strong, after the environmental light brightness value is offered Window8 operating system, operating system realizes by the system function that calls self adjusting that backlight illumination grows from weak to strong, this is prior art, therefore repeat no more.
The value of enabling read module 405 is configured in the backlight control bottom layer driving, is used for the parameter function reading in brightness value read module 406 call operation systems, and read the environment brightness values from registration table before, the unlatching function of call operation system is opened registration table; And the call parameters function reading reads adjusting value of enabling backlight from registration table.This opens function is also WdfRegistryOpenKey () function, opens registration table by calling this function.The parameter function reading is WdfRegistryQueryValue (), after opening registration table, reads adjusting value of enabling backlight in registration table by WdfRegistryQueryValue () function.
Particularly, when the adjusting value of enabling backlight that reads when the value of enabling read module 405 is 1, identify this adjusting value of enabling backlight effective, trigger brightness value read module 406 and read amended environmental light brightness value.If adjusting value of enabling backlight is 0, the value of enabling read module 405 these adjusting values of enabling backlight of identification are invalid, do not carry out any operation.
Brightness value read module 406 is configured in the backlight control bottom layer driving, is used for the parameter function reading of call operation system, reads the environment brightness values from registration table.Particularly, when the value of enabling read module 406 recognizes adjusting value of enabling backlight when effective, trigger the operation that brightness value read module 406 reads the environment brightness values.When the value of enabling read module 406 recognize adjusting value of enabling backlight effectively after, the parameter function reading of call operation system further, in Window8 operating system, this parameter function reading is WdfRegistryQueryValue () function, brightness value read module 406 reads the environment brightness values by calling this parameter function reading WdfRegistryQueryValue () from registration table.The environmental light brightness value that reads from registration table is amended environmental light brightness value.
It is dimmed that brightness value adjustment module 407 is used for controlling backlight illumination according to the environmental light brightness value of registration table.Be specially, the comparative result after the environmental light brightness value in the registration table that brightness value read module 406 reads and setting threshold compare satisfies when pre-conditioned, and brightness value adjustment module 407 is controlled backlight illumination dimmed.Preferably, brightness value adjustment module 407 also is used for, when comparative result satisfies when pre-conditioned, postpone first set duration after, the regulating and controlling backlight illumination is dimmed.Postponing the first setting duration is for fear of the problem of dodging screen.Preferably, this first setting duration is 2 seconds.
The terminal backlight brightness regulating apparatus that the present embodiment provides can be used for carrying out the method that any embodiment of the present invention provides.
The terminal backlight regulating device that the present embodiment provides, by ambient light sensor bottom layer driving and backlight control bottom layer driving edit the registry, and read the mode of registration table, can automatically adjust backlight illumination according to the current environmental light brightness value, the terminal backlight brightness that has solved available technology adopting Window8 operating system can only from secretly to the problem of bright adjusting, can realize the adjusting of backlight illumination from bright to dark.
further, the terminal backlight regulating device that the present embodiment provides can also realize that backlight illumination is from dark to bright adjusting, and realize in the present embodiment from dark different with prior art to bright mode, in prior art when ambient light sensor obtain current gather environmental light brightness value constantly after, directly offer operating system, in the present embodiment, obtain by the bottom layer driving of ambient light sensor the environmental light brightness value that ambient light sensor gathers, and when the current environmental light brightness value that gathers the moment is not less than the environmental light brightness in a collection moment, the current environmental light brightness value constantly that gathers is offered operating system, controlling backlight illumination by operating system brightens.The method that the present embodiment provides has increased the dirigibility that backlight illumination is regulated, and brings more comfortable visual experience to the user when effectively reducing power consumption.
Fig. 5 is the structural representation of terminal backlight regulating device embodiment three of the present invention.The terminal backlight regulating device that the present embodiment provides can be used for implementing the method for the arbitrary embodiment of the present invention, for convenience of explanation, only show the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the description of the inventive method embodiment.This terminal can be for comprising mobile phone, panel computer, PDA, POS(Pointof Sales, point-of-sale terminal), the terminal device such as vehicle-mounted computer.The present embodiment take terminal as example as mobile phone, as shown in Figure 5, the terminal backlight regulating device that the present embodiment provides comprises: the handset structure shown in processor 501, storer 502, ambient light sensor 503, liquid crystal display 504, Fig. 5 does not consist of the restriction to mobile phone, can comprise the parts more more or less than diagram, perhaps make up some parts, perhaps different arrangements of components.Although not shown, can also comprise power supply, RF(Radio Frequency, radio frequency) circuit, WiFi (Wireless fidelity, Wireless Fidelity) module, voicefrequency circuit, camera and bluetooth module etc., do not repeat them here.
In the present embodiment, concrete, processor 501 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, be stored in storer 502 interior software program and/or module by operation or execution, and call the data that are stored in storer 502, carry out the various functions of mobile phone 500 and deal with data.Storer 502 can be used for storing software program and module, and processor 501 realizes by software program and the module that operation is stored in storer 502 the terminal backlight brightness adjusting method that the embodiment of the present invention provides.
Be provided with ambient light sensor 503 and liquid crystal display 504 in mobile phone 500, be provided with backlight device in liquid crystal display 504, this ambient light sensor and backlight device are provided with bottom layer driving software, are stored in storer 502.
In the present embodiment, the bottom layer driving of ambient light sensor 503 is obtained the current environmental light brightness value constantly that gathers that ambient light sensor 503 gathers; When the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor 503, the environmental light brightness value in edit the registry are the current environmental light brightness value constantly that gathers; The parameter function reading of backlight control bottom layer driving call operation system reads amended environmental light brightness value from registration table; It is dimmed that the backlight control bottom layer driving is controlled backlight illumination according to the environmental light brightness value in registration table.
Further, when the current environmental light brightness that gathers the moment was not less than the environmental light brightness in a upper collection moment, the bottom layer driving of ambient light sensor 503 offered operating system with the current environmental light brightness value constantly that gathers.Operating system is controlled backlight illumination and is brightened according to the current environmental light brightness value constantly that gathers.Wherein, the environmental light brightness value that on this, collection gets constantly is stored in the bottom layer driving of ambient light sensor 503.After the environmental light brightness value in the bottom layer driving edit the registry of ambient light sensor 503 is current collection environmental light brightness value constantly, after also being used for postponing the second setting duration, the environmental light brightness value is offered operating system.
Parameter configuration function in the bottom layer driving call operation system of ambient light sensor 503, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly before, when receiving user's input message, the unlatching function of call operation system, open described registration table, and the adjusting value of enabling backlight in call parameters configuration function edit the registry.
Correspondingly, the parameter function reading in backlight control bottom layer driving call operation system read amended environmental light brightness value from registration table before, also is used for the unlatching function of call operation system, opens registration table; And the call parameters function reading reads adjusting value of enabling backlight from registration table.When the backlight control bottom layer driving recognizes adjusting value of enabling backlight when effective, trigger the operation of reading amended environmental light brightness value.
Particularly, the backlight control bottom layer driving controls according to the environmental light brightness value in registration table that backlight illumination is dimmed to be realized in the following manner: the backlight control bottom layer driving compares environmental light brightness value and the setting threshold in registration table; When comparative result satisfies when pre-conditioned, control backlight illumination dimmed.Preferred implementation is, when comparative result satisfies when pre-conditioned, postpone first set often after, then it is dimmed to control backlight illumination.
In the present embodiment, parameter configuration function, parameter function reading and open function and all be stored in storer 502 call these functions by processor 501 and realize operation to registration table.
The present embodiment provides a kind of terminal, this terminal comprises the terminal backlight brightness regulating apparatus that any embodiment of the present invention provides, the terminal backlight brightness regulating apparatus is realized by the mode of hardware and/or software, also be provided with ambient light sensor and LCD in this terminal device, be provided with backlight device in LCD, this ambient light sensor and backlight device are provided with bottom layer driving software, the present embodiment is by improving bottom layer driving software, and the registration table of compounding practice system is realized brightness regulation backlight.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is correlated with.Aforesaid program can be stored in a computer read/write memory medium.This program is carried out the step that comprises above-mentioned each embodiment of the method when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (15)

1. a terminal backlight brightness adjusting method, is characterized in that, comprising:
The bottom layer driving of ambient light sensor is obtained the current environmental light brightness value constantly that gathers that ambient light sensor gathers;
When the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor, the environmental light brightness value in edit the registry are the described current environmental light brightness value constantly that gathers;
The backlight control bottom layer driving is called the parameter function reading of described operating system, reads amended environmental light brightness value from described registration table;
It is dimmed that described backlight control bottom layer driving is controlled backlight illumination according to the environmental light brightness value in described registration table.
2. method according to claim 1, is characterized in that, also comprises:
When the current environmental light brightness value that gathers the moment was not less than the environmental light brightness value in a upper collection moment, the bottom layer driving of ambient light sensor offered described operating system with the described current environmental light brightness value constantly that gathers;
Described operating system is controlled backlight illumination and is brightened according to the described current environmental light brightness value constantly that gathers.
3. method according to claim 1, it is characterized in that: the parameter configuration function in the bottom layer driving call operation system of ambient light sensor, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly before, also comprise:
When receiving user's input message, the bottom layer driving of ambient light sensor is called the unlatching function of described operating system, opens described registration table;
The bottom layer driving of ambient light sensor is called the adjusting value of enabling backlight in the described registration table of described parameter configuration function modification;
In the parameter function reading of backlight control bottom layer driving call operation system, read amended environmental light brightness value from described registration table before, also comprise:
Described backlight control bottom layer driving is called the unlatching function of described operating system, opens described registration table;
Described backlight control bottom layer driving is called described parameter function reading and read described adjusting value of enabling backlight from described registration table;
When described backlight control bottom layer driving recognizes described adjusting value of enabling backlight when effective, trigger the operation of reading described amended environmental light brightness value.
4. method according to claim 1, it is characterized in that, when the current environmental light brightness that gathers the moment gathers the environmental light brightness in the moment less than upper one, the parameter configuration function of the bottom layer driving call operation system of ambient light sensor, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly after, also comprise:
After postponing the second setting duration, the described current environmental light brightness value constantly that gathers is offered described operating system.
5. method according to claim 1, is characterized in that, described backlight control bottom layer driving controls according to the environmental light brightness value in described registration table that backlight illumination is dimmed to be comprised:
Described backlight control bottom layer driving compares environmental light brightness value and the setting threshold in described registration table;
When comparative result satisfies when pre-conditioned, control backlight illumination dimmed.
6. method according to claim 5, is characterized in that, describedly satisfies when pre-conditioned when comparative result, control backlight illumination dimmed before, also comprise:
When comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.
7. method according to claim 1, is characterized in that, described upper one gathers the environmental light brightness value that constantly gets is stored in the bottom layer driving of ambient light sensor.
8. a terminal backlight brightness regulating apparatus, is characterized in that, comprising:
The brightness value acquisition module is configured in the bottom layer driving of ambient light sensor, is used for obtaining the current environmental light brightness value constantly that gathers that ambient light sensor gathers;
The brightness value modified module, be configured in the bottom layer driving of ambient light sensor, be used for when the current environmental light brightness value that gathers the moment gathers the environmental light brightness value in the moment less than upper one, the parameter configuration function of call operation system, the environmental light brightness value in edit the registry are the described current environmental light brightness value constantly that gathers;
The brightness value read module is configured in the backlight control bottom layer driving, is used for calling the parameter function reading of described operating system, reads amended environmental light brightness value from described registration table;
The brightness value adjustment module is configured in the backlight control bottom layer driving, is used for controlling backlight illumination according to the environmental light brightness value of described registration table dimmed.
9. device according to claim 8, is characterized in that, also comprises:
The brightness value sending module, be configured in the bottom layer driving of ambient light sensor, be used for when the current environmental light brightness value that gathers the moment was not less than the environmental light brightness value in a upper collection moment, the described current environmental light brightness value constantly that gathers is offered described operating system;
Described operating system is controlled backlight illumination and is brightened according to the described current environmental light brightness value constantly that gathers.
10. device according to claim 8, is characterized in that, also comprises: the value of enabling modified module and the value of enabling read module, wherein,
The described value of enabling modified module, be configured in the bottom layer driving of ambient light sensor, be used for the parameter configuration function in described brightness value modified module call operation system, environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly before, when receiving user's input message, call the unlatching function of described operating system, open described registration table; And call described parameter configuration function and revise adjusting value of enabling backlight in described registration table;
The described value of enabling read module, be configured in the backlight control bottom layer driving, be used for the parameter function reading in brightness value read module call operation system, read amended environmental light brightness value from described registration table before, call the unlatching function of described operating system, open described registration table; And call described parameter function reading and read described adjusting value of enabling backlight from described registration table;
When the described value of enabling read module recognizes described adjusting value of enabling backlight when effective, trigger the operation that described brightness value read module reads described amended environmental light brightness value.
11. device according to claim 8 is characterized in that, described brightness value modified module also is used for, the parameter configuration function in the call operation system, the environmental light brightness value in edit the registry be described current gather environmental light brightness value constantly after,
After postponing the second setting duration, the described current environmental light brightness value constantly that gathers is offered described operating system.
12. device according to claim 8 is characterized in that, described brightness value adjustment module specifically is used for, and the comparative result after the environmental light brightness value in described registration table and setting threshold compare satisfies when pre-conditioned, controls backlight illumination dimmed.
13. device according to claim 12 is characterized in that, described brightness value adjustment module also is used for,
When comparative result satisfies when pre-conditioned, postpone first set duration after, then it is dimmed to control backlight illumination.
14. device according to claim 8 is characterized in that, described upper one gathers the environmental light brightness value that constantly gets is stored in the bottom layer driving of ambient light sensor.
15. a terminal is characterized in that, comprises the arbitrary described terminal backlight brightness regulating apparatus of claim 8-14, is configured in respectively in the bottom layer driving and backlight control bottom layer driving of ambient light sensor.
CN201310005186.5A 2013-01-07 2013-01-07 Terminal backlight brightness adjusting method and device and terminal Active CN103117044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310005186.5A CN103117044B (en) 2013-01-07 2013-01-07 Terminal backlight brightness adjusting method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310005186.5A CN103117044B (en) 2013-01-07 2013-01-07 Terminal backlight brightness adjusting method and device and terminal

Publications (2)

Publication Number Publication Date
CN103117044A true CN103117044A (en) 2013-05-22
CN103117044B CN103117044B (en) 2016-12-28

Family

ID=48415403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310005186.5A Active CN103117044B (en) 2013-01-07 2013-01-07 Terminal backlight brightness adjusting method and device and terminal

Country Status (1)

Country Link
CN (1) CN103117044B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050097A (en) * 2013-01-21 2013-04-17 北京小米科技有限责任公司 Method and device for regulating brightness of backlight lamp
CN103929546A (en) * 2014-05-12 2014-07-16 上海卓悠网络科技有限公司 Method and device for protecting eyes of user based on intelligent terminal
CN104317597A (en) * 2014-10-31 2015-01-28 山东超越数控电子有限公司 Software design method for notebook computer brightness self-adaption
CN105321480A (en) * 2014-07-22 2016-02-10 宇龙计算机通信科技(深圳)有限公司 LCD backlight adjusting method and device
CN105654908A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Brightness change control method and apparatus thereof
CN106775246A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN109523977A (en) * 2018-12-10 2019-03-26 惠州Tcl移动通信有限公司 Backlight adjusting method, device, mobile terminal and storage medium
CN110753154A (en) * 2019-09-12 2020-02-04 深圳市万普拉斯科技有限公司 Control method and device of mobile terminal, electronic equipment and storage medium
TWI721375B (en) * 2019-02-22 2021-03-11 友達光電股份有限公司 Timing controller, display device and screen displaying method
CN112509527A (en) * 2020-12-09 2021-03-16 上海欧菲智能车联科技有限公司 Backlight adjusting method and device
CN113205780A (en) * 2021-04-16 2021-08-03 广州朗国电子科技有限公司 Adaptation method and system for integrated I2C light sensing module of all-in-one machine
CN113639861A (en) * 2021-07-30 2021-11-12 上海探寻信息技术有限公司 Light sensation detection method and wearable device
TWI840115B (en) * 2023-02-08 2024-04-21 神達數位股份有限公司 Dynamic screen brightness adjustment method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1255223A (en) * 1996-07-26 2000-05-31 罗杰·瓦格纳 Anti-eye strain apparatus and method
CN1968380A (en) * 2006-07-27 2007-05-23 深圳创维-Rgb电子有限公司 Adaptive LCD TV display quality adjusting apparatus and method
CN101539434A (en) * 2008-03-18 2009-09-23 环达电脑(上海)有限公司 Method for automatically adjusting map complexion
CN102314833A (en) * 2010-07-07 2012-01-11 周锡卫 Positive-negative (PN) group based generalized photoelectrical intelligent sensor and display screen dimming system and method
US20120218282A1 (en) * 2011-02-25 2012-08-30 Research In Motion Limited Display Brightness Adjustment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1255223A (en) * 1996-07-26 2000-05-31 罗杰·瓦格纳 Anti-eye strain apparatus and method
CN1968380A (en) * 2006-07-27 2007-05-23 深圳创维-Rgb电子有限公司 Adaptive LCD TV display quality adjusting apparatus and method
CN101539434A (en) * 2008-03-18 2009-09-23 环达电脑(上海)有限公司 Method for automatically adjusting map complexion
CN102314833A (en) * 2010-07-07 2012-01-11 周锡卫 Positive-negative (PN) group based generalized photoelectrical intelligent sensor and display screen dimming system and method
US20120218282A1 (en) * 2011-02-25 2012-08-30 Research In Motion Limited Display Brightness Adjustment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050097A (en) * 2013-01-21 2013-04-17 北京小米科技有限责任公司 Method and device for regulating brightness of backlight lamp
CN103929546A (en) * 2014-05-12 2014-07-16 上海卓悠网络科技有限公司 Method and device for protecting eyes of user based on intelligent terminal
CN105321480A (en) * 2014-07-22 2016-02-10 宇龙计算机通信科技(深圳)有限公司 LCD backlight adjusting method and device
CN105321480B (en) * 2014-07-22 2018-07-27 宇龙计算机通信科技(深圳)有限公司 A kind of LCD backlight adjusting method and device
CN104317597A (en) * 2014-10-31 2015-01-28 山东超越数控电子有限公司 Software design method for notebook computer brightness self-adaption
CN105654908A (en) * 2015-11-06 2016-06-08 乐视移动智能信息技术(北京)有限公司 Brightness change control method and apparatus thereof
CN106775246A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Screen luminance adjustment method and device
CN106775246B (en) * 2016-12-19 2020-03-03 北京小米移动软件有限公司 Screen brightness adjusting method and device
CN109523977A (en) * 2018-12-10 2019-03-26 惠州Tcl移动通信有限公司 Backlight adjusting method, device, mobile terminal and storage medium
TWI721375B (en) * 2019-02-22 2021-03-11 友達光電股份有限公司 Timing controller, display device and screen displaying method
CN110753154A (en) * 2019-09-12 2020-02-04 深圳市万普拉斯科技有限公司 Control method and device of mobile terminal, electronic equipment and storage medium
CN112509527A (en) * 2020-12-09 2021-03-16 上海欧菲智能车联科技有限公司 Backlight adjusting method and device
CN113205780A (en) * 2021-04-16 2021-08-03 广州朗国电子科技有限公司 Adaptation method and system for integrated I2C light sensing module of all-in-one machine
CN113205780B (en) * 2021-04-16 2022-08-30 广州朗国电子科技股份有限公司 Adaptive method and system for integrated I2C light sensing module of all-in-one machine
CN113639861A (en) * 2021-07-30 2021-11-12 上海探寻信息技术有限公司 Light sensation detection method and wearable device
TWI840115B (en) * 2023-02-08 2024-04-21 神達數位股份有限公司 Dynamic screen brightness adjustment method and device

Also Published As

Publication number Publication date
CN103117044B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CN103117044A (en) Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
EP1453286A1 (en) MOBILE COMMUNICATION TERMINAL, METHOD FOR CONTROLLING EXECUTION STATE OF APPLICATION PROGRAM, APPLICATION PROGRAM, AND RECORDING MEDIUM WHEREIN APPLICATION PROGRAM HAS BEEN RECORDED
CN106249841A (en) Mobile terminal and control method thereof
CN104796553A (en) Communication event reminding method and terminal
CN102122489A (en) Method and terminal for automatically lowering power consumption of organic light-emitting display (OLED)
US20050009510A1 (en) Mobile communication terminal, method for controlling execution state of application program, application program, and recording medium wherein application has been recorded
CN105469775A (en) Method for adjusting brightness of display screen and terminal equipment
CN103914314B (en) Method and device for adjusting brightness of display screen
CN106710535B (en) A kind of screen backlight adjusting method, device and mobile terminal
CN104182040A (en) Terminal parameter setting method
CN103595842A (en) Method for adjusting illuminating brightness of flashlight serving as electric torch and mobile terminal
CN102903336A (en) Mobile terminal and screen highlight adjusting method thereof
CN106900039A (en) A kind of mobile phone display screen backlight subarea lighting method and device
CN105138108A (en) Terminal
KR102255456B1 (en) Method and apparatus for controlling screen
CN105549857A (en) Control method for electronic terminal and electronic terminal
CN108549575A (en) Exit processing method, device, storage medium and the electronic equipment of split screen
CN105900411A (en) Adjustment method and device for terminal-setting parameter
JP5493722B2 (en) Mobile phone, power saving mode switching method, and power saving mode switching program
CN110336918A (en) Bright screen control method, device, storage medium and mobile terminal
CN111343683A (en) Network switching method, device, storage medium and terminal
CN107809545B (en) Control method and device of intelligent equipment and storage medium
CN106791013B (en) display screen response processing method and system based on mobile terminal
CN106550135B (en) Display screen backlight brightness control method and system based on mobile terminal
CN109495119B (en) Radio frequency switch control method, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210422

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right