Summary of the invention
In order to overcome the weak point of the prior art of above-mentioned indication, the invention provides a kind of rapid regulation method and mobile terminal of screen backlight brightness, to make user can adjust the backlight illumination reaching expectation quickly and easily, and the inconvenience that frequent handover operation interface is brought can not be caused.
The present invention is achieved by the following technical solutions:
A rapid regulation method for screen backlight brightness, is applied to the mobile terminal with display screen, display screen arranges light sensor, and described method comprises:
Step one, under the normal operating conditions of mobile terminal, the sampling of described light sensor obtains environmental light intensity parameter;
Step 2, when the environmental light intensity parameter gathered is less than or equal to default intensity threshold value, judges that this light sensor is blocked, distribute and start a timer, and continue collection environmental light intensity parameter;
Step 3, timer are not overtime, if the environmental light intensity parameter gathered is greater than default intensity threshold value, then Abort Timer, returns step one;
Step 4, timer expiry, the continuous time of being blocked of light sensor reaches the default time limit, then entry of backlight brightness regulation state, starts backlight illumination and regulates control manually to set for user.
In the present invention, described backlight illumination regulates control to be status bar control.
Described step 4 starts backlight illumination and regulates control manually to set that referring to is hit by a bullet at the current operation interface of display screen and do well the mode of operation of bar control display user for user, and adjusts screen backlight brightness in real time according to the mode of operation of user.
Described backlight illumination is regulated and is realized the operation that the touch-screen of mobile terminal implements to drag status bar slide block by user, or is realized by the physical/virtual button pressing pressure-controlled backlight illumination.
Described step 4 is hit by a bullet at current operation interface and is done well bar control for after user manually sets, and also comprises: step 5, user one key exit backlight adjustment state and return this operation interface.
The scope that arranges of described default intensity threshold value is 0 candela-20 candela.
The scope that arranges in the default time limit of described judgement entry of backlight adjustment state is 2 seconds-5 seconds.
The invention also discloses a kind of mobile terminal applying the rapid regulation method of above-mentioned screen backlight brightness, comprising:
Sampling module, under the normal operating conditions of mobile terminal, sampling obtains environmental light intensity parameter;
Judge module, when the environmental light intensity parameter gathered is less than or equal to default intensity threshold value, judges that this light sensor is blocked;
Timing module, reaches the default time limit for the continuous time of being blocked when light sensor, starts adjustment module, entry of backlight brightness regulation state;
Adjustment module, under backlight illumination adjustment state, user manually sets backlight illumination.
Compared with prior art, present invention improves screen backlight adjustment operation to experience, make user can adjust the backlight illumination reaching expectation in mode easily and efficiently, backlight illumination can be transferred quickly and easily when making user carry out the operation such as reading electronic book, browsing page out of doors under the various environment such as light or dim indoor and regulate control, display screen is set to optimal display result, and the inconvenience that frequent handover operation interface is brought can not be caused.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described.
A rapid regulation method for screen backlight brightness, is applied to the mobile terminal with display screen, display screen arranges light sensor, and described method comprises:
Step one, under the normal operating conditions of mobile terminal, the sampling of described light sensor obtains environmental light intensity parameter;
Step 2, when the environmental light intensity parameter gathered is less than or equal to default intensity threshold value, judges that this light sensor is blocked, distribute and start a timer, and continue collection environmental light intensity parameter;
Step 3, timer are not overtime, if the environmental light intensity parameter gathered is greater than default intensity threshold value, then Abort Timer, returns step one;
Step 4, timer expiry, the continuous time of being blocked of light sensor reaches the default time limit, then entry of backlight brightness regulation state, starts backlight illumination and regulates control manually to set for user;
Step 5, set, user one key exits backlight adjustment state and returns to origin operation interface.
In the present invention, described backlight illumination regulates control to be status bar control.Described step 4 starts backlight illumination and regulates control manually to set that referring to is hit by a bullet at the current operation interface of display screen and do well the mode of operation of bar control display user for user, and adjusts screen backlight brightness in real time according to the mode of operation of user.
The scope that arranges of described default intensity threshold value is 0 candela-20 candela, the judgement whether direct influential system of this intensity threshold value is blocked light sensor, needs to obtain through repeatedly debugging.The setting of this intensity threshold value should according to the mean value in the artificial environmental light intensity parameter gathered by the light sensor under occlusion state initiatively implementing to block, and considers to avoid the erroneous judgement of system in compared with dim environment again.In one embodiment of this invention, when the environmental light intensity parameter of light sensor continuous acquisition is less than or equal to default intensity threshold value and continues to reach second in limited time, in this period before the environmental light intensity parameter gathered is greater than default intensity threshold value, no longer eject backlight illumination and regulate control, described second time limit is greater than the aforementioned default time limit, by this step, when carrying out the operations such as viewing film in dark surrounds as user, improve the accuracy that system of users blocks the judgement of action.
In another embodiment of the invention, this backlight illumination adjustment state bar control comprises the slide block for adjusting backlight luminance and the button for the quick adjusting backlight luminance function of closing this method, is convenient to user according to actual environment flexible operating.
The scope that arranges in the default time limit of described judgement entry of backlight adjustment state is 2 seconds-5 seconds.The too short misoperation caused in None-identified use procedure of setting-up time rationally avoided by the needs that arrange in this default time limit; Or setting-up time is long, cause the waste on the operating time and operational inconvenience.
In practical application of the present invention, user under the normal operating conditions of mobile terminal, with finger obscures light sensor position.Described normal operating conditions refers to that screen display is in the normal operating condition of non-standby, and touch screen display is now in unlock state, and physical/virtual keyboard is now in unlock state.The current environment light intensity parameter gathered when systems axiol-ogy light sensor is less than or equal to default intensity threshold value, then judge the photosensitive sensors that has object to block.
Then, enter and block time conditions matching stage, by distributing and starting a timer.When timer not to point because of the environmental light intensity parameter gathered be greater than this event of default intensity threshold value be interrupted time, ignore the block action of user to photosensitive sensors, continue to gather environmental light intensity parameter; When timer be not interrupted and to some time, namely user finger the position of light sensor stop reach timer setting time limit, the continuous time of being blocked of light sensor reaches the default time limit, system entry of backlight brightness regulation state.The scope that arranges in the time limit of described timer is 2 seconds-5 seconds.
Under backlight illumination adjustment state, user finds backlight adjustment menu without the need to exiting current operation interface, but the mode of the bar control that does well by being hit by a bullet at the current operation interface of display screen, as shown in Figure 2 for notepad operation interface is hit by a bullet the schematic diagram of bar control of doing well, the mode of operation of display user, and adjust screen backlight brightness in real time according to the mode of operation of user.Status bar control for regulatory function has been widely used in the purposes such as volume, backlight illumination adjustment of mobile phone and personal computer, is the application of prior art, thus realizes principle to it and do not repeat further at this.User, according to the real-time Adjustment effect flexible operating of screen backlight brightness, reaches the effect coordinated with surrounding environment.For the mobile terminal adopting touch-screen, can adopt the status bar control of band slide block, user realizes backlight illumination by the operation implementing to drag status bar slide block to the touch-screen of mobile terminal and regulates; Also the physical/virtual button by pressing pressure-controlled backlight illumination realizes regulating effect.
After backlight illumination has set, user returns button or other specified button by pressing or clicking, and a key exits backlight adjustment state and returns to origin operation interface, has continued the operation before adjusting backlight luminance, and without the need to again finding origin operation interface.
Particularly, as shown in Figure 1, for mobile phone, subject description discloses the rapid regulation method realization flow of the screen backlight brightness of one embodiment of the invention, its step comprises:
001, mobile phone is in normal operating conditions;
002, described light sensor gathers environmental light intensity parameter;
003, user's finger obscures light sensor position;
004, system background judges whether the environmental light intensity parameter of light sensor collection is less than or equal to default intensity threshold value, if so, performs step 005, otherwise returns step 002;
005, judge that this light sensor is blocked, distribute and start a timer;
006, light sensor continues to gather environmental light intensity parameter;
007, judge whether the environmental light intensity parameter of light sensor collection is less than or equal to default intensity threshold value, if so, continue step 008, otherwise Abort Timer, return step 002;
008, judge that whether timer is overtime, namely whether the continuous time of being blocked of light sensor reaches the default time limit, if so, performs step 009, otherwise, return step 006;
009, entry of backlight brightness regulation state, the bar control that does well of being hit by a bullet at current operation interface;
010, user manually sets backlight illumination;
011, user clicks and returns button and exit backlight adjustment state and return to origin operation interface.
The invention also discloses a kind of mobile terminal applying the rapid regulation method of above-mentioned screen backlight brightness, comprising:
Sampling module, under the normal operating conditions of mobile terminal, sampling obtains environmental light intensity parameter;
Judge module, when the environmental light intensity parameter gathered is less than or equal to default intensity threshold value, judges that this light sensor is blocked;
Timing module, reaches the default time limit for the continuous time of being blocked when light sensor, starts adjustment module, entry of backlight brightness regulation state;
Adjustment module, under backlight illumination adjustment state, user manually sets backlight illumination.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.