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 quick control method and portable terminal of screen backlight brightness, so that the user can adjust the backlight illumination that reaches expectation quickly and easily, and can not cause the inconvenience that bring at frequent handover operation interface.
The present invention is achieved by the following technical solutions:
A kind of quick control method of screen backlight brightness is applied to have the portable terminal of display screen, and light sensor is set on the display screen, and described method comprises:
Step 1, under the normal operating conditions of portable terminal, the environmental light intensity parameter is obtained in the sampling of described light sensor;
Step 2, when the environmental light intensity parameter that gathers is less than or equal to default light intensity threshold values, judge that this light sensor is blocked, distribute and start a timer, and continue to gather the environmental light intensity parameter;
Step 3, timer are not overtime, if the environmental light intensity parameter that gathers greater than default light intensity threshold values, then Abort Timer returns step 1;
Step 4, timer expiry, the continuously time of being blocked of light sensor reaches the default time limit, and then entry of backlight brightness regulation state starts backlight illumination adjusting control and manually sets for the user.
In the present invention, described backlight illumination adjusting control is the status bar control.
Described step 4 starts backlight illumination regulates control and manually sets the bar control that does well of referring to be hit by a bullet at the current operation interface of display screen for the user and show user's mode of operation, and adjusts in real time screen backlight brightness according to user's mode of operation.
Described backlight illumination is regulated the operation of the touch-screen of portable terminal being implemented to drag the status bar slide block by the user and is realized, perhaps realizes by the physical/virtual button by the pressure-controlled backlight illumination.
Described step 4 is hit by a bullet at the current operation interface and is done well after the bar control manually sets for the user, and also comprise: step 5, user's one key withdraw from adjustment state backlight and return this operation interface.
The scope that arranges of described default light intensity threshold values 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 portable terminal of using the quick control method of above-mentioned screen backlight brightness, comprising:
Sampling module is used under the normal operating conditions of portable terminal, and the environmental light intensity parameter is obtained in sampling;
Judge module when the environmental light intensity parameter that gathers is less than or equal to default light intensity threshold values, judges that this light sensor is blocked;
Timing module is used for reaching the default time limit when the continuously time of being blocked of light sensor, starts adjustment module, entry of backlight brightness regulation state;
Adjustment module is used under the backlight illumination adjustment state, and the user manually sets backlight illumination.
Compared with prior art, the present invention has improved the screen backlight Adjustment operation and has experienced, make the user can adjust the backlight illumination that reaches expectation in mode easily and efficiently, can transfer quickly and easily backlight illumination when making the user carry out out of doors the operation such as reading electronic book, browsing page under light or the dim various environment such as indoor and regulate control, display screen is set to optimal display result, and can cause the inconvenience that bring at frequent handover operation interface.
Embodiment
For the ease of those skilled in the art's understanding, the invention will be further described below in conjunction with accompanying drawing.
A kind of quick control method of screen backlight brightness is applied to have the portable terminal of display screen, and light sensor is set on the display screen, and described method comprises:
Step 1, under the normal operating conditions of portable terminal, the environmental light intensity parameter is obtained in the sampling of described light sensor;
Step 2, when the environmental light intensity parameter that gathers is less than or equal to default light intensity threshold values, judge that this light sensor is blocked, distribute and start a timer, and continue to gather the environmental light intensity parameter;
Step 3, timer are not overtime, if the environmental light intensity parameter that gathers greater than default light intensity threshold values, then Abort Timer returns step 1;
Step 4, timer expiry, the continuously time of being blocked of light sensor reaches the default time limit, and then entry of backlight brightness regulation state starts backlight illumination adjusting control and manually sets for the user;
Step 5, setting are finished, and user's one key withdraws from adjustment state backlight and returns this operation interface.
In the present invention, described backlight illumination adjusting control is the status bar control.Described step 4 starts backlight illumination regulates control and manually sets the bar control that does well of referring to be hit by a bullet at the current operation interface of display screen for the user and show user's mode of operation, and adjusts in real time screen backlight brightness according to user's mode of operation.
The scope that arranges of described default light intensity threshold values is 0 candela-20 candela, and this light intensity threshold values directly affects the judgement whether system is blocked light sensor, need to obtain through repeatedly debugging.The setting of this light intensity threshold values should according to the mean value in the artificial environmental light intensity parameter that is subjected to the light sensor collection under the occlusion state of initiatively implementing to block, consider to avoid the erroneous judgement of system in more dim environment disconnected 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 light intensity threshold values and continues to reach second in limited time, the environmental light intensity parameter that gathers greater than this period before the default light intensity threshold values in, no longer eject backlight illumination and regulate control, described the second time limit is greater than the aforementioned default time limit, by this step, when the user watched the operation such as film in dark surrounds, the Accuracy of Judgement of action was blocked in the raising system to the user.
In another embodiment of the present invention, this backlight illumination adjustment state bar control comprises for the slide block of adjusting backlight luminance and is used for closing the button of the quick adjusting backlight luminance function of this method, is convenient to the user according to the 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.Should default arranging of time limit need to rationally avoid the too short misoperation that causes in the None-identified use procedure of setting-up time; Perhaps setting-up time is long, causes waste and operational inconvenience on the operating time.
In practical application of the present invention, the user is under the normal operating conditions of portable terminal, with pointing the inductor position that shuts out the light.Described normal operating conditions refers to that screen display is in the normal operating condition of non-standby, and touch screen display is in unlock state at this moment, and the physical/virtual keyboard is in unlock state at this moment.The current environment light intensity parameter that gathers when system's detection light sensor is less than or equal to default light intensity threshold values, and then judging has object blocking the light sensation transducer.
Then, enter and block the time conditions matching stage, by distributing and starting a timer.When timer is interrupted greater than default this event of light intensity threshold values not to point and because of the environmental light intensity parameter that gathers, ignore the user to the action of blocking of light sensation transducer, continue to gather the environmental light intensity parameter; When timer is not interrupted and to when point, namely user's finger stops in the position of light sensor and reaches the time limit that timer is set, the continuously time of being blocked of light sensor reaches default time limit, system's entry of backlight brightness regulation state.The scope that arranges in the time limit of described timer is 2 seconds-5 seconds.
Under the backlight illumination adjustment state, the user need not to withdraw from the current operation interface and seeks adjusting menu backlight, but the mode of the bar control that does well by being hit by a bullet at the current operation interface of display screen, be as shown in Figure 2 the notepad operation interface schematic diagram of bar control of doing well of being hit by a bullet, the mode of operation that shows the user, and adjust in real time screen backlight brightness according to user's mode of operation.The status bar control that is used for regulatory function has been widely used in the purposes such as the volume of mobile phone and personal computer, backlight illumination adjusting, is the application of prior art, thereby its realization principle is not further given unnecessary details at this.The user reaches the effect of coordinating with surrounding environment according to the real-time adjustment effect flexible operating of screen backlight brightness.Portable terminal for adopting touch-screen can adopt the status bar control with slide block, and the user is by implementing to drag the operation realization backlight illumination adjusting of status bar slide block to the touch-screen of portable terminal; Also can realize regulating effect by the physical/virtual button by the pressure-controlled backlight illumination.
After backlight illumination was set and finished, the user returned button or other specified button by pressing or clicking, and a key withdraws from adjustment state backlight and returns the origin operation interface, continues to finish the operation before adjusting backlight luminance, and need not again to seek the origin operation interface.
Particularly, as shown in Figure 1, take mobile phone as example, this specification discloses the quick control method realization flow of the screen backlight brightness of one embodiment of the invention, and its step comprises:
001, mobile phone is in normal operating conditions;
002, described light sensor gathers the environmental light intensity parameter;
003, the user points the sensor location that shuts out the light;
004, environmental light intensity parameter that light sensor gathers is judged less than or equal to default light intensity threshold values in the system backstage whether, if, execution in step 005, otherwise return step 002;
005, judges that this light sensor is blocked, distribute and start a timer;
006, light sensor continues to gather the environmental light intensity parameter;
Whether the environmental light intensity parameter of 007, judging the light sensor collection is less than or equal to default light intensity threshold values, if continue step 008, otherwise Abort Timer returns step 002;
008, judge whether timer is overtime, namely whether the time of being blocked continuously of light sensor reaches the default time limit, if, execution in step 009, otherwise, step 006 returned;
009, entry of backlight brightness regulation state, the bar control that does well of being hit by a bullet at the current operation interface;
010, the user manually sets backlight illumination;
011, the user clicks and to return button and withdraw from adjustment state backlight and return the origin operation interface.
The invention also discloses a kind of portable terminal of using the quick control method of above-mentioned screen backlight brightness, comprising:
Sampling module is used under the normal operating conditions of portable terminal, and the environmental light intensity parameter is obtained in sampling;
Judge module when the environmental light intensity parameter that gathers is less than or equal to default light intensity threshold values, judges that this light sensor is blocked;
Timing module is used for reaching the default time limit when the continuously time of being blocked of light sensor, starts adjustment module, entry of backlight brightness regulation state;
Adjustment module is used under the backlight illumination adjustment state, and the user manually sets backlight illumination.
Above content is the further description of the present invention being done in conjunction with concrete optimal way, should not assert that implementation of the present invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.