The method of smart mobile phone screen intensity timing automatic control
Technical field
The present invention relates to a kind of method for controlling backlight thereof of smart mobile phone, particularly relate to a kind of method of smart mobile phone screen intensity timing automatic control.
Background technology
Screen intensity control (being backlight control) mode of smart mobile phone mainly contains two kinds: a kind of is manual adjustments, generally carries out manual adjustments by Show Options or the electric weight control strip (Power Control Bar) that arranges in (Setting); Another kind is automatic adjusting, by the current ambient light intensity of the photoinduction module on the mobile phone (Light Sensor) detecting, and then control backlight module adjusting backlight luminance.
Generally speaking, the backlight control mode of smart mobile phone is defaulted as the manual adjustments mode.People usually dodge because screen intensity is too bright to eyes when use mobile phone night, cause the discomfort of eyes, go manually to turn down or to be set to automatic regulative mode with backlight again.In this case, people be by stronger backlight illumination dodge to eyes just remove passively adjusting backlight luminance or the backlight control mode be set, caused bad user's experience.If the backlight control mode is set to automatic regulative mode always, just can avoid the user to be arrived eyes by stronger sudden strain of a muscle backlight.Yet if automatic adjusting pattern backlight is opened always, because the photoinduction module is worked always, this can cause no small burden to the flying power of mobile phone, largely the upper service time that affects battery; Simultaneously, continuous firing also can shorten useful life of photoinduction module incessantly.
Summary of the invention
The object of the invention is to solve the deficiencies in the prior art, a kind of method that the backlight control mode is set to by force the smart mobile phone screen intensity timing automatic control of automatic control mode within the time period at night (also can arrange voluntarily according to actual needs) of sleep is provided; By the current ambient light intensity of photoinduction module detecting; and then the control backlight module is adjusted to lower state with backlight illumination; can effectively avoid the night backlight illumination too high and dodge to eyes, play the effect of protection cellphone subscriber eyes, also improve user's experience.
The objective of the invention is to be achieved through the following technical solutions: the method for smart mobile phone screen intensity timing automatic control, the backlight control mode in certain time period is set to automatic regulative mode by force, it may further comprise the steps:
(1) the backlight control mode is set, the backlight control mode is set to manual adjustments mode and two kinds of automatic regulative modes, and two kinds of regulative modes are stored in the memory;
(2) be set the time period that needs to use automatic regulative mode, and this temporal information is stored in the memory;
(3) system time of monitoring smart mobile phone;
(4) according to the current time in system backlight control mode is set, it may further comprise the steps:
A: when system time arrives the starting time of the time period described in the step (2), preserve current backlight control mode, then the backlight control mode is set to automatic regulative mode;
B: when system time arrives the terminal time of the time period described in the step (2), the backlight control mode is reduced to the backlight control mode of preserving before.
The starting time of time period described in the step of the present invention (2) is at 22 o'clock in the evening first day, the terminal time of time period described in the step (2) is 8 o'clock mornings of next day, and the backlight control mode that is about at 22 o'clock in the evening first day to next day is set to automatic regulative mode this time period in the 8 o'clock mornings by force.
The invention has the beneficial effects as follows: night ambient brightness in lower time period (also can arrange voluntarily according to actual needs) the backlight control mode is set to automatic adjusting by force, by the current ambient light intensity of photoinduction module detecting, and then the control backlight module is adjusted to lower state with backlight illumination, can effectively avoid the night backlight illumination too high and dodge to eyes, play the effect of protection cellphone subscriber eyes, also improved user's experience; In addition; when ambient brightness is higher; can the backlight control mode be set to manual adjustments; close automatic adjusting pattern; the burden of avoiding the photoinduction module to work always the mobile phone flying power is caused has reduced the load of battery, has prolonged the service time of battery; simultaneously can also effectively protect the photoinduction module, prolong its useful life.
Description of drawings
Fig. 1 is operational flowchart of the present invention.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, the method for smart mobile phone screen intensity timing automatic control is set to automatic regulative mode by force with the backlight control mode in certain time period, and it may further comprise the steps:
(1) the backlight control mode is set, the backlight control mode is set to manual adjustments mode and two kinds of automatic regulative modes, and two kinds of regulative modes are stored in the memory;
(2) be set the time period that needs to use automatic regulative mode, and this temporal information is stored in the memory;
(3) system time of monitoring smart mobile phone;
(4) according to the current time in system backlight control mode is set, it may further comprise the steps:
A: when system time arrives the starting time of the time period described in the step (2), preserve current backlight control mode, then the backlight control mode is set to automatic regulative mode;
B: when system time arrives the terminal time of the time period described in the step (2), the backlight control mode is reduced to the backlight control mode of preserving before.
The starting time of time period described in the step (2) is at 22 o'clock in the evening first day, the terminal time of time period described in the step (2) is 8 o'clock mornings of next day, and the backlight control mode that is about at 22 o'clock in the evening first day to next day is set to automatic regulative mode this time period in the 8 o'clock mornings by force; Certainly, the user also can arrange according to the demand of oneself.