Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 is the schematic flow sheet of first embodiment of a kind of method for controlling backlight thereof of the present invention, comprising:
100, portable terminal current backlight grade and current backlight duration of the backlight level of described current application operation acquiescence and duration backlight being set at described application operating correspondence according to current application operation.
Need to prove, can preestablish each class application operating to the acquiescence backlight level used and give tacit consent to the duration backlight.When carrying out a certain class application operating, just according to predefined acquiescence backlight level and give tacit consent to current backlight grade and the current backlight duration that the duration backlight sets described a certain class application operating correspondence.
With the mobile phone is example, and the acquiescence backlight level when presetting reading electronic book is 2, and giving tacit consent to the duration backlight is 2 minutes, and then the current backlight grade when mobile phone is carried out the application operating of reading electronic book is 2, and the current backlight duration is 2 minutes.
101, judge whether to arrive the described current backlight duration, be judged as when being, reduce described current backlight grade, execution instep 102 when being judged as not, continues execution instep 101.
By reducing described current backlight grade with the prompting user input instruction.
102, after the described current backlight duration arrival, judge in the default input time limit whether new input instruction is arranged, when being judged as not, close current application operation backlight and described, be judged as when being, reset corresponding backlight grade and duration backlight according to described new input instruction.
With the mobile phone is example, if the current backlight grade during the application operating A of the current execution of mobile phone is 2, the current backlight duration is 2 minutes, then whether the cell phone system current backlight duration that will detect described application operating A correspondence in real time reaches 2 minutes, if the current backlight duration reaches 2 minutes, cell phone system will be reduced described A application operating the current backlight grade of using will be imported with the prompting user, simultaneously, judgement has judged whether new instruction input in the default input time limit, the described default input time limit can be set according to demand, for example be made as 5 seconds, when in the default input time limit, newly not instructing input, cell phone system is closed backlight and application operating A, when having new instruction to import in the default input time limit, resets and described instruction corresponding backlight grade and duration backlight according to described new input instruction.
Fig. 2 is the schematic flow sheet of second embodiment of a kind of method for controlling backlight thereof of the present invention, comprising:
200, portable terminal current backlight grade and current backlight duration of the backlight level of described current application operation acquiescence and duration backlight being set at described application operating correspondence according to current application operation.
Need to prove, can preestablish each class application operating to the acquiescence backlight level used and give tacit consent to the duration backlight.When carrying out a certain class application operating, just according to predefined acquiescence backlight level and give tacit consent to current backlight grade and the current backlight duration that the duration backlight sets described a certain class application operating correspondence.
With the mobile phone is example, and the acquiescence backlight level when presetting reading electronic book is 2, and giving tacit consent to the duration backlight is 2 minutes, and then the current backlight grade when mobile phone is carried out the application operating of reading electronic book is 2, and the current backlight duration is 2 minutes.
201, before the current backlight duration no show of described current application operation, judged whether new input instruction, be judged as when being, reset corresponding backlight grade and duration backlight according to described new input instruction, when being judged as not, execution instep 202.
202, judge whether to reach the described current backlight duration, be judged as when being, reduce described current backlight grade, wait for the instruction of new input application operating, when being judged as not, continue execution instep 201.
Need to prove thatstep 201 does not have inevitable context withstep 202.
203, after the described current backlight duration arrival, judge in the default input time limit whether new input instruction is arranged, when being judged as not, close current application operation backlight and described, be judged as when being, reset corresponding backlight grade and duration backlight according to described new input instruction.
With the mobile phone is example, if the current backlight grade during the application operating A of the current execution of user is 2, the current backlight duration is 2 minutes, in described current backlight in the duration, cell phone system will judge whether new input instruction, if, reset corresponding backlight grade and duration backlight according to described new input instruction, if not, whether the current backlight duration that cell phone system will detect described application operating A correspondence in real time reaches 2 minutes, if the duration backlight reaches 2 minutes, cell phone system will be reduced the current backlight grade of described A application operating correspondence with prompting user input, simultaneously, judgement has judged whether new instruction input in the default input time limit, the described default input time limit can be set according to demand, for example be made as 5 seconds, when in the default input time limit, newly not instructing input, cell phone system is closed backlight and application operating A, when new instruction input was arranged in the default input time limit, reset with described instruction according to described new input instruction and to use backlight level and duration backlight mutually.
Concrete, when Fig. 3 had new input instruction for not reaching the corresponding current backlight of described current application operation in thestep 201 before the duration, reset the idiographic flow synoptic diagram of the step of corresponding backlight grade and duration backlight according to described new input instruction, comprising:
300, when described new input instruction is adjusted instruction for the current backlight duration, prolong the described duration backlight from described new input instruction input time, the time of prolongation equals the duration backlight of described application operating acquiescence.
For example, the acquiescence duration backlight of application operating A correspondence is 3 minutes, the corresponding current backlight duration is 3 minutes, if current having carried out of application operating A operated in 1 minute, it is onlysurplus 2 minutes current backlight duration, adjust when instructing if receive the current backlight duration this moment, adjust the instruction input time from the described duration backlight and prolong the application operating A duration backlight, the time of prolongation is that the acquiescence duration backlight of application operating A correspondence is 3 minutes.
Need to prove, the function items of adjusting the described current backlight duration can be set on portable terminal, or mobile terminal configuration when action sensor is arranged a certain action of definable for example rock portable terminal for adjusting the described current backlight duration.
301, when described new input instruction instructs for switching to other application operating, reset and backlight level and the backlight duration of described other application operating using according to described other application operating.
Need to prove there is not inevitable context betweenstep 300 and thestep 301.
Further, Fig. 4 arrives the corresponding current backlight of described current application operation after the duration in thestep 202, resets the idiographic flow synoptic diagram of the step of corresponding backlight grade and duration backlight according to described new input instruction, comprising:
400, when described new input instruction is carried out the current application operational order for continuation, judge whether the corresponding current C PU load of described current application operation equals to preset the corresponding minimum cpu load value of described current application operation,
If not, transfer to the preoperative backlight level of described downward modulation on the current backlight grade with described application operating, and reset the described corresponding duration backlight of current application operation according to the current backlight duration and the described current C PU load of described setting,
If, transfer to the preoperative backlight level of described downward modulation on the current backlight grade with described application operating, and the current backlight duration when duration backlight of described current application operation acquiescence is set at described application operating and continues operation.
Need to prove that described minimum cpu load value can be set at certain value or certain interval range.
Preferably, portable terminal minimum cpu load value when to be that each class application operating is default carry out described application operating.
When being judged as not, the duration backlight when then described current application operation continues operation equals the described corresponding acquiescence duration backlight of current application operation.
For example, the current backlight duration of application operating A is 3 minutes, giving tacit consent to the duration backlight is 2 minutes, when the execution of application operating A in the time of 3 minutes, receive the instruction that continues to carry out current operation, and the minimum cpu load that the current C PU of application operating A load is corresponding with default application operating A equates that the duration backlight when then application operating A continues to carry out is 2 minutes.
Be judged as when being, the duration backlight when then described current application operation continues is:
When the corresponding current C PU load value of described current application operation was higher than the default corresponding minimum cpu load value of current application operation, the duration backlight when then described current application operation continues operation was calculated as follows:
Current backlight when described application operating continues to carry out duration=(1+ current C PU load value) * current application is operated the last duration backlight
For example, the default corresponding minimum cpu load value of application operating A is 20%, the backlight level of setting is 2, and the duration backlight is 3 minutes, when application operating A carries out arrival in the time of 3 minutes for the first time, the backlight level downward modulation, wait for input instruction this moment, and the instruction of establishing input is for continuing to carry out application operating A, at this moment, the current C PU load value 30% of application operating A correspondence
Then continue to carry out duration backlight of application operating A=(1+30%) * 3=3.9 minute.
Need to prove that portable terminal can preestablish the higher limit of a duration backlight, the current backlight duration when promptly described application operating continues to carry out is described higher limit to the maximum.
Described portable terminal can be adjusted described higher limit according to user's request.
When the corresponding current C PU load value of described current application operation was lower than the default corresponding minimum cpu load value of current application operation, the duration backlight when then described current application operation continues operation was calculated as follows:
Current backlight when described application operating continues to carry out duration=current C PU load value * current application is operated the last duration backlight
For example, the default corresponding minimum cpu load value of application operating A is 20%, the backlight level of setting is 2, and the duration backlight is 3 minutes, when application operating A carries out arrival in the time of 3 minutes for the first time, the backlight level downward modulation, wait for input instruction this moment, and the instruction of establishing input is for continuing to carry out application operating A, at this moment, the current C PU load value 10% of application operating A correspondence
Then duration=10% backlight * 3=0.3 minute of continuation execution application operating A.
Need to prove that portable terminal can preestablish the lower limit of a duration backlight, the current backlight duration minimum when promptly described application operating continues to carry out is described lower limit.
Described portable terminal can be adjusted described lower limit according to user's request.
401, when described new input instruction instructs for switching to other application operating, reset and backlight level and the backlight duration of described other application operating using according to described other application operating.
Concrete, when switching to other application operating, according to the default acquiescence backlight level of described other application operating and give tacit consent to current backlight grade and the current backlight duration of duration backlight when setting described other application operating and carrying out.
Need to prove there is not inevitable context betweenstep 400 and thestep 401.
Fig. 5 is the structural representation of a kind of portable terminal first embodiment of the present invention, comprising:
Setup unit 1 is used for current backlight grade and current backlight duration that portable terminal is set at described application operating correspondence according to current application operation with the backlight level of described current application operation acquiescence and duration backlight.
Need to prove, can preestablish each class application operating to the acquiescence backlight level used and give tacit consent to the duration backlight.When carrying out a certain class application operating, just according to predefined acquiescence backlight level and give tacit consent to current backlight grade and the current backlight duration that the duration backlight sets described a certain class application operating correspondence.
With the mobile phone is example, acquiescence backlight level when presetting reading electronic book is 2, giving tacit consent to the duration backlight is 2 minutes, then the current backlight grade thatsetup unit 1 is set the application operating of described reading electronic book when mobile phone is carried out the application operating of reading electronic book is 2, and the current backlight duration is 2 minutes.
First judgingunit 2 is used to judge whether to reach duration of described current backlight, is judged as when being, reduces described current backlight grade, waits for the instruction of new input application operating.
Second judging unit 3, being used for described first judgingunit 2 is judged as when being, judge in the default input time limit whether new input instruction is arranged, when being judged as not, close current application operation backlight and described, be judged as when being, reset corresponding backlight grade and duration backlight according to described new input instruction.
With the mobile phone is example, if the current backlight grade during the application operating A of the current execution of mobile phone is 2, the current backlight duration is 3 minutes, then whether the current backlight duration of the described application operating A correspondence of detection reaches 3 minutes tofirst judging unit 2 in real time, if the duration backlight reaches 3 minutes, the described A application operating of downward modulation is imported with the prompting user the current backlight grade of using, arrive described current backlight after the duration, 3 judgements of second judging unit have judged whether new instruction input in the default input time limit, the described default input time limit can preestablish according to demand, for example be made as 5 seconds, when in the default input time limit, newly not instructing input, close backlight and application operating A, when new instruction input was arranged in the default input time limit, reset with described instruction according to described new input instruction and to use backlight level and duration backlight mutually.
Fig. 6 is the structural representation of a kind of portable terminal second embodiment of the present invention, and different with first embodiment shown in Figure 5 is that described portable terminal also comprises:
The3rd judging unit 4 before the current backlight duration that is used for the operation of described current application arrives, has judged whether new input instruction, is judged as when being, resets corresponding backlight grade and duration backlight according to described new input instruction.
Wherein, described the3rd judging unit 4 comprises:
Second adjustment unit 41 is used for prolonging the described duration backlight from described new input instruction input time when described new input instruction is adjusted instruction for the current backlight duration, and the time of prolongation equals the duration backlight of described application operating acquiescence.
For example, the acquiescence duration backlight of application operating A correspondence is 3 minutes, the corresponding current backlight duration is 3 minutes, if current having carried out of application operating A operated in 1 minute, it isonly surplus 2 minutes current backlight duration, if receiving the current backlight duration this moment adjusts when instructing,second adjustment unit 41 is adjusted the instruction input time from the described duration backlight and is prolonged the application operating A duration backlight, and the time of prolongation is that the acquiescence duration backlight of application operating A correspondence is 3 minutes.
Further, describedsecond judging unit 3 comprises:
Firstjudges adjustment unit 31, be used forsecond judging unit 3 be judged as be and described new input instruction when continue carrying out the current application operational order, judge whether the corresponding current C PU load of described current application operation equals the corresponding minimum cpu load value of default described current application operation
If not, transfer to the preoperative backlight level of described downward modulation on the current backlight grade with described application operating, and reset the described corresponding duration backlight of current application operation according to the current backlight duration and the described current C PU load of described setting,
If, transfer to the preoperative backlight level of described downward modulation on the current backlight grade with described application operating, and the current backlight grade when duration backlight of described current application operation acquiescence is set at described application operating and continues operation.
Need to prove that described minimum cpu load value can be set at certain value or certain interval range.
Detectingunit 32 is used for detecting the corresponding current C PU load of described current application operation every the Preset Time section.
Concrete, portable terminal minimum cpu load value when be the described application operating of the default execution of each class application operating.
When being judged as not, the duration backlight when then described current application operation continues operation equals the described corresponding acquiescence duration backlight of current application operation.
For example, the current backlight duration of application operating A is 3 minutes, giving tacit consent to the duration backlight is 2 minutes, when the execution of application operating A in the time of 3 minutes, receive the instruction that continues to carry out current operation, and the minimum cpu load that the current C PU of application operating A load is corresponding with the application operating A that presets is equal, and then first judges that the duration backlight thatadjustment unit 31 is adjusted when setting application operating A continuation execution is 2 minutes.
Be judged as when being, the duration backlight when then described current application operation continues is:
When the corresponding current C PU load value of described current application operation was higher than the default corresponding minimum cpu load value of current application operation, the duration backlight when then described current application operation continues operation was calculated as follows:
Current backlight when described application operating continues to carry out duration=(1+ current C PU load value) * current application is operated the last duration backlight
For example, the default corresponding minimum cpu load value of application operating A is 20%, the backlight level of setting is 2, and the duration backlight is 3 minutes, when application operating A carries out arrival in the time of 3 minutes for the first time, the backlight level downward modulation, wait for input instruction this moment, and the instruction of establishing input is for continuing to carry out application operating A, at this moment, the current C PU load value 30% of application operating A correspondence
Then first judges thatadjustment unit 31 adjusts duration backlight of setting that application operating A continue to carry out=(1+30%) * 3=3.9 minute.
Need to prove that portable terminal can preestablish the higher limit of a duration backlight, the current backlight duration when promptly described application operating continues to carry out is described higher limit to the maximum.
Described portable terminal can be adjusted described higher limit according to user's request.
When the corresponding current C PU load value of described current application operation was lower than the default corresponding minimum cpu load value of current application operation, the duration backlight when then described current application operation continues operation was calculated as follows:
Current backlight when described application operating continues to carry out duration=current C PU load value * current application is operated the last duration backlight
For example, the default corresponding minimum cpu load value of application operating A is 20%, the backlight level of setting is 2, and the duration backlight is 3 minutes, when application operating A carries out arrival in the time of 3 minutes for the first time, the backlight level downward modulation, wait for input instruction this moment, and the instruction of establishing input is for continuing to carry out application operating A, at this moment, the current C PU load value 10% of application operating A correspondence
Then first judges duration=10% backlight * 3=0.3 minute thatadjustment unit 31 adjustment setting application operating A continue to carry out.
Need to prove that portable terminal can preestablish the lower limit of a duration backlight, the current backlight duration minimum when promptly described application operating continues to carry out is described lower limit.
Described portable terminal can be adjusted described lower limit according to user's request.
Further again, described portable terminal also comprises:
The3rd adjustment unit 5 is used for setting and backlight level and the backlight duration of described other application operating to using according to described other application operating when described new input instruction instructs for switching to other application operating.
Concrete, when switching to other application operating, the 3rd adjustment unit is according to the default acquiescence backlight level of described other application operating and give tacit consent to current backlight grade and the current backlight duration of duration backlight when setting described other application operating and carrying out.
Need to prove,, the3rd adjustment unit 5 can be merged into a unit withsetup unit 1 at other embodiment.
As from the foregoing, implement the embodiment of the invention, by backlight level and backlight duration the purpose to realize save mobile terminal power consumption and simultaneously meet consumers' demand different to the different application operation setting, simultaneously, portable terminal also can be adjusted backlight level and duration backlight in real time according to different input instructions and in conjunction with the operating load of mobile terminal processor, further satisfy the user when using application operating to requirement backlight, effectively improved the intellectuality of portable terminal, for the user has brought brand-new experience.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.