Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all should belong to the present invention the scope that can protect.
In the embodiment of the invention; The running status at terminal specifically can comprise: normal operating condition, holding state, dormant state; Certainly; Above-mentioned three kinds of states can not constitute the restriction to the embodiment of the invention, need only the technical scheme that the system at terminal is changed according to the embodiment of the invention between different conditions, are the described technical scheme of the embodiment of the invention.Time period status information table specifically can be provided with by the user according to system's practical operation situation of different terminals in advance, also can be that mode with default setting directly offers the user and uses; Time period status information table can include the time period, with corresponding preset condition of this time period, wherein, the time period is put by start time point and concluding time and forms.
Fig. 1 is the schematic flow sheet of power consumption of terminal optimization processing method embodiment one of the present invention, and as shown in Figure 1, the embodiment of the invention comprises the steps:
Step 101, the time point of system when current operation that obtains the terminal;
Step 102, from time period status information table, obtain the corresponding preset condition of time period with this time point place, wherein, preset condition is the multiple running status that in time period status information table, is provided with in advance;
Step 103, corresponding state exchange is carried out in current running status in the terminal according to preset condition.
The power consumption of terminal optimization processing method that the embodiment of the invention provides; Owing to include the multiple running status that is provided with in advance in this time period status information table; The user can according to the concrete condition of using the terminal through be provided with in the time period status information table time period and with corresponding preset condition of time period; Make the terminal make the system at terminal carry out state exchange according to time period status information table; Realized reducing the power consumption at terminal, avoided the user manually to carry out the operation of running status conversion, improved user experience through time period status information table being carried out best of breed.
Fig. 2 is the schematic flow sheet of power consumption of terminal optimization processing method embodiment two of the present invention, and as shown in Figure 2, the embodiment of the invention comprises the steps:
Step 201, the time point of system when current operation that obtains the terminal;
Step 202, from time period status information table, obtain the corresponding preset condition of time period with this time point place, wherein, preset condition is the multiple running status that in time period status information table, is provided with in advance;
Step 203, in the time-out time of setting, do not receive when being used to carry out the trigger message of state exchange, show to be used to point out the information that whether is transformed into this preset condition;
Step 204, receiving according to information when being used to confirm to be transformed into the affirmation information of preset condition, the running status of terminal when the current operation is being transformed into preset condition;
Step 205, if preset condition is a holding state, and in setting-up time, do not waken up, then the system with the terminal converts dormant state into by holding state.
The power consumption of terminal optimization processing method that the embodiment of the invention provides; Owing to include the multiple running status that is provided with in advance in this time period status information table; The user can according to the concrete condition of using the terminal through be provided with in the time period status information table time period and with corresponding preset condition of time period; Make the terminal make the system at terminal carry out state exchange according to time period status information table; Because the consumption power consumption was bigger when system was in holding state, converted dormant state through the system with the terminal into by holding state, had further reduced the power consumption at terminal; Owing to avoided the user manually to convert system the operation of dormant state into by holding state, improved user experience.
Further; On the basis of above-mentioned embodiment illustrated in figures 1 and 2; Can pass through setting means acquisition time section status information table, for the time period status information table in the clearer explanation embodiment of the invention, with a time period status information table property explanation as an example shown in the table 1.
Table 1 time period status information table
The sequence number of time period |
Time period |
Time-out time |
Preset condition |
1 |
Time period [T1, T2] |
Time-out time t1 |
Standby |
2 |
Time period [T3, T4] |
Time-out time t2 |
Dormancy |
3 |
Time period [T5, T6] |
Time-out time t3 |
Normal operation |
... |
... |
... |
... |
n |
Time period [T2n-1, Tn] |
Time-out time tn |
Standby |
Shown in above-mentioned table 1, time period status information table comprises: the sequence number of time period, the start time point of each time period (T1, T3, T5 ..., Tn-1) and the concluding time point (T2, T4, T5 ..., Tn), in each time period corresponding time-out time (t1, t3, t5 ..., tn), the terminal is in corresponding preset condition of each time period (standby, dormancy, normal operation).
In the embodiment of the invention, can pass through setting means acquisition time section status information table; Obtain manner in the face of time period status information table is elaborated down.
One, obtains through the mode of configuration interface
The system at terminal is when normal operation; Can be through a configuration interface that is used to be provided with time period status information table be provided for the user, the user can be provided with the corresponding running status of different time sections through this configuration interface according to the concrete condition of self using the terminal.When end product was started shooting for the first time, system can adopt the mode of automatic ejection to eject this configuration interface, with the prompting user time period status information table was set; After this, system can point out the user to be provided with when normal operation should time period status information table, if the user thinks to revise once more, can adopt and open this configuration interface through the respective selection mode in the menu item of system and reset time period status information table.This time period status information table can be used as the configuration item in the CONFIG.SYS, is kept at the systematic parameter district of nonvolatile memory.
Two, obtain through the mode of configuration item
The configuration item of different operation states (for example: dormancy, standby, normal operation) is set in configuration interface, obtains standby or the dormancy that the user selects through the configuration item in this configuration interface; In addition, the running status that gets access to through configuration item can include but not limited to above three kinds, and when getting access to the running status of user's selection through configuration item, then system can convert corresponding holding state or dormant state into by normal operating condition.
Three, through external mode acquisition time section status information table
For example: mode such as individual schedule that predetermined function, the user through system is provided with on the terminal or notepad, conference agenda schedule is obtained; For example: obtain the time period status information table described in the embodiment of the invention through user's preset conference agenda schedule on terminal system; Can only comprise a time period in the time period status information table this moment; Start time point (time when meeting begins) can be set to T1; Concluding time point (time when meeting adjourned) can be set to T2; Confirm that according to start time point and concluding time point system carries out state exchange then, a plurality of time periods can certainly be set according to the actual arrangement of the time of meeting, and corresponding preset condition of a plurality of time period; Thereby the time period status information table described in the formation embodiment of the invention reduces the energy consumption at terminal through preset condition being carried out best of breed.
Fig. 3 is the schematic flow sheet of concrete realization embodiment illustrated in fig. 2; The embodiment of the invention is specially holding state with preset condition or dormant state is carried out exemplary illustration; And the time period status information table in the present embodiment is through the configuration interface setting; Information is specially the standby information when getting into holding state in system by running status; When getting into dormant state by running status is the dormancy information, and confirmation is the standby confirmation when getting into holding state by running status, is the dormancy confirmation when getting into dormant state by running status; Time period status information table below in conjunction with shown in the table 1 is elaborated to method flow shown in Figure 3, comprises the steps:
Step 301, the time point of system when current operation that obtains the terminal;
Time point during the current operation of step 302, judgement system is in which in the time period status information table time period; Corresponding preset condition is a holding state in time period if this time point belongs to; Execution in step 303, if this time point in the time period of place corresponding preset condition be dormant state, execution in step 308;
Particularly; As shown in table 1; If the preset condition that the user is provided with in advance in sequence number is time period of 1 is a holding state; Be illustrated in that the system at terminal need get into holding state in this time period, if the preset condition that the user is provided with in advance in sequence number is time period of 2 is a dormant state, the system at terminal need get into dormant state in this time period; For example: in the time period of 24:00~8:00, because the user uses the probability at terminal less, the terminal gets into dormant state according to the preset condition in the time period status information table from normal operating condition, thereby reduces the energy consumption at terminal.
Whether step 303, judgement receive the standby trigger message that is used to carry out state exchange in the time-out time of setting, if, execution in step 306, if not, execution in step 304;
Wherein, can be in the time-out time of setting by the user through the configuration interface setting, for example within 15 minutes after this time point gets into holding state time corresponding section, for example: the time point of system when current operation is 20:00; And the preset condition of the time period of the 20:00~24:00 that is provided with in advance in the time period status information table is a holding state, is specially 20:00~20:15 in the time-out time of then setting; The standby trigger message specifically can be the information by terminal user's button operation triggering; Also can be the information when state changes, imported of other input equipments (for example: the click of mouse).
Step 304, demonstration are used to point out the standby that whether is transformed into holding state information;
Wherein, the standby information can show that for example: the standby information can certainly adopt voice suggestion for the text prompt of " you are not operation for a long time, whether needs standby " through configuration interface;
Step 305, judge whether to receive the standby confirmation that is used to confirm to be transformed into holding state according to the standby information, if, execution in step 306, if not, execution in step 312;
Wherein, standby confirmation specifically can be the information by terminal user's button operation triggering; Also can be the information when state changes, imported by other input equipments (for example: the click of mouse);
Step 306, entering holding state;
Step 307, judge at holding state and whether in setting-up time, to be waken up, if, execution in step 312, if not, execution in step 311;
Whether step 308, judgement receive the dormancy trigger message that is used to carry out state exchange in the time-out time of setting, if, execution in step 311, if not, execution in step 309;
Wherein, the dormancy trigger message specifically can be the information by terminal user's button operation triggering; Also can be the information when state changes, imported by other input equipments (for example: the click of mouse);
Step 309, demonstration are used to point out the dormancy that whether is transformed into dormant state information;
Wherein, can be in the time-out time of setting by the user through the configuration interface setting, for example within 15 minutes after this time point gets into dormant state time corresponding section, for example: the time point of system when current operation is 00:00; And the preset condition of the time period of the 00:00 that is provided with in advance in the time period status information table~morning 6:00 is a dormant state, is specially 00:00~00:15 in the time-out time of then setting; The dormancy information can show that for example: the dormancy information can be the text prompt of " you are not operation for a long time, whether needs dormancy " through configuration interface;
Step 310, judge whether to receive the dormancy confirmation that is used to confirm to be transformed into dormant state according to the dormancy information, if then execution in step 311, if not, then execution in step 312;
Step 311, system convert dormant state into;
Step 312, system are in normal operating condition.
The foregoing description; System through with the terminal is provided with time period status information table in advance according to practical operation situation, owing to comprised multiple preset condition in this time period status information table, and according to the standby mode of user's selection; Through the reasonable conversion each other of normal operating condition, holding state, dormant state; Satisfy the different demands of different user, and under the situation that does not influence user experience, reduced the energy consumption at terminal standby and dormancy.
Further, on the basis of above-mentioned Fig. 1~embodiment illustrated in fig. 3, can also use in each time period of concrete condition statistics in said time period status information table at terminal the number of operations that the terminal is carried out state exchange according to the user; According to the preset condition in the corresponding state updating period of the number of operations status information table; Fig. 4 is the schematic flow sheet of embodiment of the invention updating period status information table, and is as shown in Figure 4, comprises the steps:
Step 401, the time period of obtaining user's setting and statistics duration;
Wherein, the time period can be provided with through the user and get access to, and for example: be divided into 8 time period with one day 24 hours, these 8 time periods can be provided with self-defined setting by the user, also can adopt the dividing mode of system default; And obtain the statistics duration that is provided with by the user; This statistics duration is used to set the time span of needs statistics; For example: can be nearest one month time span (on Dec 31,2009 1 day~2009 Dec in), specifically as shown in table 2 with being divided into corresponding 8 time periods in one day 24 hours.
One day 24 hours time period of table 2
Sequence number |
Time interval (start time point, concluding time point) |
1 |
00:00~3:00 |
2 |
3:00~6:00 |
3 |
6:00~9:00 |
... |
... |
8 |
21:00~24:00 |
Can know that from above-mentioned table 2 comprised 8 time periods in 24 hours, each time period is 3 hours, these 8 time periods are respectively to there being start time point and concluding time point; Can certainly be according to actual needs with time division section in some period within one day, for example only to being divided into a plurality of at least time periods between the 8:00~18:00 in a day.
Step 402, statistics is carried out the number of operations of state exchange behind the starting up of terminal to system in this statistics duration, obtains the maximum state exchange operation of number of operations;
Particularly, in Dec 1~31 days Dec in 2009 in 2009 the number of operations statistics that the user carries out state exchange is carried out exemplary illustration at the statistics duration shown in the table 3.
The data structure of table 3 number of operations
Time period |
User's operation |
Action type/corresponding number of operations is maximum |
1 |
Start/shutdown/standby/sleeping/waking |
Start/P1 |
2 |
Start/shutdown/standby/sleeping/waking |
Shutdown/P2 |
3 |
Start/shutdown/standby/sleeping/waking |
Standby/P3 |
... |
... |
... |
8 |
Start/shutdown/standby/sleeping/waking |
Wake up/P8 |
Can know from above-mentioned table 2 and table 3, when the terminal receives the order of state of user conversion operations, promptly this operation added up; If count on the number of operations maximum of the number of operations that waken up in a period of time and start, the use habit that then can know user in this time period is to make system convert holding state into from normal operating condition; If count in another time period the number of operations that waken up and the number of operations minimum of start, the use habit that then can know user in this time period is to make system convert dormant state into from normal operating condition; If the number of operations that the system that in another time period, counts on is waken up and the number of operations of start are between maximum and the minimum, can know that then the user does not have specific use habit in this time period; Therefore according to statistical information that table 2 and table 3 write down; Through can obtaining the user to the statistics of number of operations in the statistics state exchange information of duration in Dec 1~31 days Dec in 2009 in 2009, the start that the terminal got access in corresponding each time period within this 1 month, shutdown, standby, dormancy, the number of operations maximum of waking up be respectively P1, P2, P3 ..., P8.
Step 403, according to the preset condition in the corresponding state updating period of the number of operations status information table.
Particularly; With cited corresponding in the above-mentioned steps 402; Through the preset condition in the corresponding state exchange operation updating period status information table that number of operations is maximum; For example: system is when normal operating condition, and is maximum at time period 18:00~21:00 as if the number of operations summation of starting shooting and waking up, and then the corresponding preset condition of this time period in the time period status information table is set to holding state; If start and the number of operations summation of waking up are minimum at time interval 03:00~06:00, then the corresponding preset condition of this time period in the time period status information table is set to dormant state.
In the above-described embodiments; Through corresponding number of operations in the timing statistics section; The custom that has realized using the terminal according to the user is updating period status information table adaptively; And the system at terminal can convert dormant state into from holding state automatically according to the time period status information table after upgrading, the energy consumption of therefore under the situation that does not influence user's use, having saved the terminal; Further, if system is in dormant state in some time periods, and system's number of operations summation maximum of in this time period, start shooting and waking up; Then through should corresponding preset condition of time period being set to dormant state behind the updating period status information table; If system do not receive wake command in this time period, then according to the time period convert system into holding state from dormant state, when receiving user's wake operation; Owing to be to convert system into normal operating condition from holding state; Avoided converting into the handoff procedure of normal operating condition, therefore improved the speed of waking up, further improved user experience from dormant state.
Fig. 5 is the schematic flow sheet of power consumption of terminal optimization processing method embodiment three of the present invention, and as shown in Figure 5, present embodiment comprises the steps:
Step 501, obtain and be used to make the terminal to carry out the state exchange order of state exchange, and obtain the start time point of terminal when state exchange;
Step 502, system operation time reaches the Preset Time section with respect to this start time point if the terminal is in running status conversion back, then carries out corresponding state exchange according to preset condition, and wherein, preset condition is the running status that is provided with in advance.
The power consumption of terminal optimization processing method that the embodiment of the invention provides; Through obtaining the state exchange order; And obtain the start time point of terminal when state exchange; Make the terminal according to carrying out state exchange, avoided the user manually to carry out the operation of running status conversion, improved user experience with respect to the Preset Time section of this start time point.
Fig. 6 is the schematic flow sheet of concrete realization embodiment illustrated in fig. 5; In the present embodiment, the mode through timer is provided with the Preset Time section, and the state exchange order is specially and makes system be in the button operation of holding state; Convert the timer of preset condition into by holding state through the configuration interface setting; And preset condition is dormant state, and is as shown in Figure 6, and present embodiment specifically comprises the steps:
Step 601, obtain and be used to make the terminal to convert the button operation of dormant state into, and obtain the start time point of terminal when state exchange, and start timer by normal operating condition;
Step 602, judge whether terminal system operation time when holding state has reached the time point that the Preset Time section that is provided with by start time point and timer is confirmed jointly, if, execution in step 603, if not, execution in step 606;
Step 603, triggering timer, the system intialization state gets into dormant state.
Step 604, reset and the timeing closing device;
Step 605, if the system at terminal is waken up, then system gets into normal operating condition;
Step 606, judge whether to receive wake operation, if then execution in step 604, if not, execution in step 602 again then.
Further, can obtain the Preset Time section, obtain the Preset Time section, can more humane service be provided for the user through configuration interface through configuration interface; In addition; Because preset condition specifically can be normally operation of system, holding state, dormant state; Therefore present embodiment adopts the mode of timer to convert dormant state into by holding state and is merely an exemplary illustration; Also can adopt the mode of timer that the timer that is converted into normal operating condition by dormant state is set, can also adopt the mode of timer that the timer that is converted into holding state by dormant state is set; And; The implementation that timer is set also is an example; As long as through the Preset Time section, the system that makes is automatically converted to the technical scheme of another state after through the Preset Time section after getting into a state, be the described technical scheme of the embodiment of the invention.
Can know by said process; Through obtaining the state exchange order; And obtain the start time point of terminal when state exchange; Make the terminal according to carrying out state exchange, avoided the user manually to carry out the operation of running status conversion, improved user experience with respect to the Preset Time section of this start time point.
Fig. 7 is the structural representation of power consumption of terminal optimization process device embodiment one of the present invention; Present embodiment can be realized Fig. 1~method flow embodiment illustrated in fig. 4; As shown in Figure 7, present embodiment comprises: first acquisition module 71, second acquisition module 72, state exchange module 73.
Wherein, first acquisition module 71 obtains the time point of system when current operation at terminal; Second acquisition module 72 obtains the corresponding preset condition of time period with said time point place from time period status information table, said preset condition is the multiple running status that in said time period status information table, is provided with in advance; State exchange module 73 is carried out corresponding state exchange to said terminal in the running status in current when operation according to said preset condition.
The power consumption of terminal optimization process device that the embodiment of the invention provides; Owing to include the multiple running status that is provided with in advance in this time period status information table; Second acquisition module 72 through acquisition time section from time period status information table and with corresponding preset condition of time period; Make state exchange module 73 make the system at terminal carry out state exchange according to time period status information table; Realized reducing the power consumption at terminal, avoided the user manually to carry out the operation of running status conversion, improved user experience through time period status information table being carried out best of breed.
Fig. 8 is the structural representation of power consumption of terminal optimization process device embodiment two of the present invention, and present embodiment comprises: first acquisition module 81, second acquisition module 82, state exchange module 83, statistical module 84, update module 85.
Wherein, first acquisition module 81 obtains the time point of system when current operation at terminal; Second acquisition module 82 obtains the corresponding preset condition of time period with said time point place from time period status information table, said preset condition is the multiple running status that in said time period status information table, is provided with in advance; State exchange module 83 is carried out corresponding state exchange to said terminal in current running status according to said preset condition; If said preset condition is a holding state, and in setting-up time, do not waken up, then state exchange module 83 also is used for converting the system at said terminal into dormant state by holding state; In statistical module 84 statistics each time period in said time period status information table said terminal carried out the number of operations of state exchange; Update module 85 is upgraded the preset condition in the said time period status information table according to the corresponding state of said number of operations.
Further, state exchange module 83 can also comprise: Tip element 831 and state conversion unit 832; Wherein, in the time-out time of setting, do not receive when being used to carry out the trigger message of state exchange, Tip element 831 demonstrations are used to point out the information that whether is transformed into said preset condition; Receiving according to said information when being used to confirm to be transformed into the affirmation information of said preset condition, state conversion unit 832 is transformed into preset condition with said terminal in current running status.
Further, state exchange module 83 also is used for if said preset condition is a holding state, and the system at said terminal do not waken up in setting-up time, and then the system with said terminal converts dormant state into by holding state.
The power consumption of terminal optimization process device that the embodiment of the invention provides; Owing to include the multiple running status that is provided with in advance in this time period status information table; Second acquisition module 82 through acquisition time section from time period status information table and with corresponding preset condition of time period; Make state exchange module 83 make the system at terminal carry out state exchange according to time period status information table; Realized reducing the power consumption at terminal, avoided the user manually to carry out the operation of running status conversion, improved user experience through time period status information table being carried out best of breed.
Fig. 9 is the structural representation of power consumption of terminal optimization process device embodiment three of the present invention, and present embodiment can be realized Fig. 5 or method flow embodiment illustrated in fig. 6, and as shown in Figure 9, present embodiment comprises: first acquisition module 91, state exchange module 92.
Wherein, first acquisition module 91 obtains and is used to make the terminal to carry out the state exchange order of state exchange, and obtains the start time point of said terminal when state exchange; System operation time reaches the Preset Time section with respect to said start time point if said terminal is in running status conversion back; Then state exchange module 92 is carried out corresponding state exchange according to preset condition, and said preset condition is provided with according to system's practical operation situation at said terminal in advance.
The device of the control system running status that the embodiment of the invention provides; Obtain the state exchange order through first acquisition module 91; And obtain the start time point of terminal when state exchange; Make state exchange module 92 according to carrying out state exchange, avoided the user manually to carry out the operation of running status conversion, improved user experience with respect to the Preset Time section of this start time point.
Further, on above-mentioned basis embodiment illustrated in fig. 9, can also comprise: second acquisition module; Second acquisition module is used for obtaining the Preset Time section through configuration interface; Obtain the Preset Time section through configuration interface, can more humane service be provided for the user.
The embodiment of the invention only is divided into different module or unit to describe convenient structure with each realization difference in functionality; In practical application; Realize the described technical scheme of the embodiment of the invention for the economize on hardware cost adopts different hardware devices, be the described technical scheme of the embodiment of the invention.
One of ordinary skill in the art will appreciate that: all or part of step that realizes the foregoing description can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.