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
The screen intensity of smart mobile phone controls (i.e. backlight control) mode and mainly contains two kinds: one is manual adjustments, generally carries out manual adjustments by the Show Options in setting (Setting) or electricity control strip (Power Control Bar); Another kind is automatic adjustment, detects current ambient light intensity by the photoinduction module (Light Sensor) on mobile phone, and then controls backlight module adjusting backlight luminance.
Generally, the backlight control mode of smart mobile phone is defaulted as manual adjustments mode.People, when night uses mobile phone, usually dodge to eyes because screen intensity is too bright, cause the discomfort of eyes, then go manually backlight turned down or be set to automatic regulative mode.In this case, people have been dodged by stronger backlight illumination just to remove adjusting backlight luminance passively to eyes or arrange backlight control mode, cause bad user's experience.If backlight control mode is set to automatic regulative mode always, user just can be avoided to be dodged eyes by stronger backlight.But if opened by automatic for backlight shaping modes always, because photoinduction module works always, this can cause no small burden to the flying power of mobile phone, the service time of battery above can be affected largely; Meanwhile, continuous firing also can shorten the 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 backlight control mode being set to by force the smart mobile phone screen intensity timing automatic control of automatic control mode in the evening hours section (also can arrange voluntarily according to actual needs) of sleep is provided; Current ambient light intensity is detected by photoinduction module; and then backlight illumination is adjusted to lower state by control backlight module; night backlight illumination effectively can be avoided too high and dodge to eyes, play the effect of protection cellphone subscriber eyes, also improve user's experience.
The object 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, and it comprises the following steps:
(1) arrange backlight control mode, backlight control mode is set to manual adjustments mode and automatic regulative mode two kinds, and is stored in memory by two kinds of regulative modes;
(2) time period needing to use automatic regulative mode is set, and this temporal information is stored in memory;
(3) system time of smart mobile phone is monitored;
(4) arrange backlight control mode according to the current time in system, it comprises the following steps:
A: when system time arrives the starting time of the time period described in step (2), preserve current backlight control mode, then backlight control mode is set to automatic regulative mode;
B: when system time arrives the terminal time of the time period described in step (2), the backlight control mode of preserving before backlight control mode is reduced to.
When the starting time of the time period described in step of the present invention (2) is the first day evening 22, when the terminal time of the time period described in step (2) is next day morning 8, by the first day evening 22 time to next day morning 8 time this time period in backlight control mode be set to automatic regulative mode by force.
The invention has the beneficial effects as follows: within the time period (also can arrange voluntarily according to actual needs) that night-environment brightness is lower, backlight control mode is set to automatic adjustment by force, current ambient light intensity is detected by photoinduction module, and then backlight illumination is adjusted to lower state by control backlight module, can effectively avoid night backlight illumination too high and dodge to eyes, serve the effect of protection cellphone subscriber eyes, also improve user's experience; In addition; when ambient brightness is higher; backlight control mode can be set to manual adjustments; close automatic shaping modes; avoid photoinduction module to work the burden caused mobile phone flying power always, reduce the load of battery, extend the service time of battery; all right available protecting photoinduction module, extends its useful life simultaneously.
Accompanying drawing explanation
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, the backlight control mode in certain time period is set to automatic regulative mode by force, and it comprises the following steps:
(1) arrange backlight control mode, backlight control mode is set to manual adjustments mode and automatic regulative mode two kinds, and is stored in memory by two kinds of regulative modes;
(2) time period needing to use automatic regulative mode is set, and this temporal information is stored in memory;
(3) system time of smart mobile phone is monitored;
(4) arrange backlight control mode according to the current time in system, it comprises the following steps:
A: when system time arrives the starting time of the time period described in step (2), preserve current backlight control mode, then backlight control mode is set to automatic regulative mode;
B: when system time arrives the terminal time of the time period described in step (2), the backlight control mode of preserving before backlight control mode is reduced to.
When the starting time of the time period described in step (2) is the first day evening 22, when the terminal time of the time period described in step (2) is next day morning 8, by the first day evening 22 time to next day morning 8 time this time period in backlight control mode be set to automatic regulative mode by force; Certainly, user also can be arranged according to the demand of oneself.