Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
embodiment mono-
The present embodiment provides a kind of embodiment with mobile terminal of prompt facility, comprising:
Continuation of the journey duration detection module, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
Reminder time detection module, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
Comparing module, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, send control command;
Remind control module, for when receiving the control command that described comparing module sends, control mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The mobile terminal with prompt facility that the present embodiment provides also further comprises:
Module is set detection time, for the user, by this module, KT detection time is set;
Whether the current time detection module, reached described detection time of KT for detection of current time NT; As current time NT reached as described in detection time KT, send enabled instruction;
Electric weight detects control module, the instruction of sending for receiving described current time detection module, and control described continuation of the journey duration detection module and carry out the operation that it detects described continuation of the journey duration value RT when receiving this enabled instruction.
As the reminder time MT set in mobile terminal is 7 points, by module is set detection time, described detection time KT is set is 2 points to the user.The current time detection module is at the cycle detection current time of each setting NT, when current time NT is at 2, described current time detection module sends enabled instruction, and the electric weight detection module receives described enabled instruction and just controls described continuation of the journey duration detection module and detect current electric quantity and can maintain the continuation of the journey duration value RT that mobile terminal keeps open state; Now as continuation of the journey duration value RT, be less than 5 hours, mobile terminal can be pointed out the user by mode loud or demonstration information.
Further, also comprise the longest detection module, at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to described comparing module by this.Specifically comprise:
Reminder time the quantity detecting unit, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
The memory space setting unit, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
The duration arithmetic element goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
Memory space, the prompting duration value obtained for storing one by one the computing of duration arithmetic element;
Minimum duration value detecting unit, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, the quantity detecting unit can detect mobile terminal and be provided with altogether 3 reminder times reminder time, and this numerical value is issued to the memory space setting unit, the memory space setting unit arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.The duration arithmetic element is extracted this reminder time of 7:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; The duration arithmetic element is extracted this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Minimum duration value detecting unit reads N1, N2 and N3 respectively from the first memory cell, the second memory cell and the 3rd memory cell, and find N1<N2<N3 through computing, at this moment, minimum duration value detecting unit sends to comparing module by N1, thereby maintain mobile terminal with current battery electric quantity, keeps the continuation of the journey duration value RT of open state to compare.
embodiment bis-
The present embodiment provides a kind of embodiment with mobile terminal of prompt facility, comprising:
Continuation of the journey duration detection module, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
Reminder time detection module, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
Comparing module, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, send control command;
Remind control module, for when receiving the control command that described comparing module sends, control mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The mobile terminal with prompt facility that the present embodiment provides also further comprises:
Newly-built alarm clock detection module, for sending enabled instruction when new alarm time is set;
Electric weight detects control module, the enabled instruction of sending for receiving described newly-built alarm clock detection module, and control described continuation of the journey duration detection module and carry out the operation that it detects described continuation of the journey duration value RT when receiving this enabled instruction.
Like this, when when mobile terminal, being provided with new alarm time, whether can continue until alarm time the cruising time that mobile terminal detects dump energy automatically, thereby to for being pointed out in time.
Further, also comprise the longest detection module, at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to described comparing module by this.Specifically comprise:
Reminder time the quantity detecting unit, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
The memory space setting unit, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
The duration arithmetic element goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
Memory space, the prompting duration value obtained for storing one by one the computing of duration arithmetic element;
Minimum duration value detecting unit, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, the quantity detecting unit can detect mobile terminal and be provided with altogether 3 reminder times reminder time, and this numerical value is issued to the memory space setting unit, the memory space setting unit arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.The duration arithmetic element is extracted this reminder time of 7:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; The duration arithmetic element is extracted this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Minimum duration value detecting unit reads N1, N2 and N3 respectively from the first memory cell, the second memory cell and the 3rd memory cell, and find N1<N2<N3 through computing, at this moment, minimum duration value detecting unit sends to comparing module by N1, thereby maintain mobile terminal with current battery electric quantity, keeps the continuation of the journey duration value RT of open state to compare.
embodiment tri-
The present embodiment provides a kind of embodiment with mobile terminal of prompt facility, comprising:
Continuation of the journey duration detection module, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
Reminder time detection module, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
Comparing module, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, send control command;
Remind control module, for when receiving the control command that described comparing module sends, control mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The mobile terminal with prompt facility that the present embodiment provides also further comprises:
Charging removes detection module, for when detecting when mobile terminal removes charger, sending enabled instruction;
Electric weight detects control module, removes for receiving described charging the enabled instruction that detection module sends, and controls described continuation of the journey duration detection module and carry out the operation that it detects described continuation of the journey duration value RT when receiving this enabled instruction.
Like this, after mobile terminal removes charger the time, whether can continue until alarm time the cruising time that mobile terminal detects dump energy automatically, thereby to for being pointed out in time.
Further, also comprise the longest detection module, at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to described comparing module by this.Specifically comprise:
Reminder time the quantity detecting unit, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
The memory space setting unit, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
The duration arithmetic element goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
Memory space, the prompting duration value obtained for storing one by one the computing of duration arithmetic element;
Minimum duration value detecting unit, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, the quantity detecting unit can detect mobile terminal and be provided with altogether 3 reminder times reminder time, and this numerical value is issued to the memory space setting unit, the memory space setting unit arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.The duration arithmetic element is extracted this reminder time of 7:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; The duration arithmetic element is extracted this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Minimum duration value detecting unit reads N1, N2 and N3 respectively from the first memory cell, the second memory cell and the 3rd memory cell, and find N1<N2<N3 through computing, at this moment, minimum duration value detecting unit sends to comparing module by N1, thereby maintain mobile terminal with current battery electric quantity, keeps the continuation of the journey duration value RT of open state to compare.
embodiment tetra-
The present embodiment provides a kind of embodiment with mobile terminal of prompt facility, comprising:
Continuation of the journey duration detection module, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
Reminder time detection module, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
Comparing module, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, send control command;
Remind control module, for when receiving the control command that described comparing module sends, control mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The mobile terminal with prompt facility that the present embodiment provides also further comprises:
The opening initialization module, for sending described enabled instruction when the opening initialization; The user arranges KT detection time by this module;
Electric weight detects control module, the instruction of sending for receiving described opening initialization module, and control described continuation of the journey duration detection module and carry out the operation that it detects described continuation of the journey duration value RT when receiving this enabled instruction.
Can realize like this when start mobile terminal cruising time of automatically detecting dump energy whether can continue until alarm time, thereby to for being pointed out in time.
Further, also comprise the longest detection module, at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to described comparing module by this.Specifically comprise:
Reminder time the quantity detecting unit, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
The memory space setting unit, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
The duration arithmetic element goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
Memory space, the prompting duration value obtained for storing one by one the computing of duration arithmetic element;
Minimum duration value detecting unit, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, the quantity detecting unit can detect mobile terminal and be provided with altogether 3 reminder times reminder time, and this numerical value is issued to the memory space setting unit, the memory space setting unit arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.The duration arithmetic element is extracted this reminder time of 7:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; The duration arithmetic element is extracted this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Minimum duration value detecting unit reads N1, N2 and N3 respectively from the first memory cell, the second memory cell and the 3rd memory cell, and find N1<N2<N3 through computing, at this moment, minimum duration value detecting unit sends to comparing module by N1, thereby maintain mobile terminal with current battery electric quantity, keeps the continuation of the journey duration value RT of open state to compare.
embodiment five
As shown in Figure 1, the present embodiment provides a kind of implementation method of mobile terminal prompt facility, in turn includes the following steps:
S101 continuation of the journey duration detecting step, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
S102 reminder time detecting step, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
S103 compares step, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, sends control command;
S104 remind to control step, for when receiving the control command that described comparing module sends, controls mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also further comprises:
S115 setting steps detection time, arrange KT detection time for the user by this module;
Whether S116 current time NT detecting step, reached described detection time of KT for detection of current time NT; As current time NT reached as described in detection time KT, send enabled instruction;
The S117 electric weight detects controls step, for receiving described enabled instruction, and controls when receiving this enabled instruction and carries out the operation that detects described continuation of the journey duration value RT.
As the reminder time MT set in mobile terminal is 7 points, it is 2 points that the user arranges described detection time KT.Mobile terminal is at the cycle detection current time of each setting NT, when current time NT is at 2, describedly sends enabled instruction, carries out to detect current electric quantity and can maintain the continuation of the journey duration value RT that mobile terminal keeps open state; Now as continuation of the journey duration value RT, be less than 5 hours, mobile terminal can be pointed out the user by mode loud or demonstration information.
S102 reminder time detecting step also comprises:
For at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to the step of described comparing module by this.Specifically can adopt following steps to realize:
S1021 reminder time quantity detecting step, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
S1022 memory space setting steps, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
S1023 duration calculation step goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
The S1024 storing step, for being kept at one by one different memory spaces by described prompting duration value;
The minimum duration value detecting step of S1025, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, mobile terminal can detect mobile terminal and be provided with altogether 3 reminder times, mobile terminal arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.Mobile terminal extracts this reminder time of 7:00 and current time NT compares the difference that calculates the two, thereby obtains current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; Mobile terminal extracts this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Mobile terminal is found N1<N2<N3 through comparison calculation, N1 and the continuation of the journey duration value RT that current battery electric quantity maintains mobile terminal maintenance open state is compared.
embodiment six
As shown in Figure 2, the present embodiment provides a kind of implementation method of mobile terminal prompt facility, in turn includes the following steps:
S101 continuation of the journey duration detecting step, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
S102 reminder time detecting step, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
S103 compares step, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, sends control command;
S104 remind to control step, for when receiving the control command that described comparing module sends, controls mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also further comprises:
The newly-built alarm clock detecting step of S125, for sending enabled instruction when new alarm time is set;
The S126 electric weight detects controls step, and for receiving described enabled instruction, and it detects the operation of described continuation of the journey duration value RT to control execution when receiving this enabled instruction.
Like this, when when mobile terminal, being provided with new alarm time, whether can continue until alarm time the cruising time that mobile terminal detects dump energy automatically, thereby to for being pointed out in time.
S102 reminder time detecting step also comprises:
For at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to the step of described comparing module by this.Specifically can adopt following steps to realize:
S1021 reminder time quantity detecting step, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
S1022 memory space setting steps, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
S1023 duration calculation step goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
The S1024 storing step, for being kept at one by one different memory spaces by described prompting duration value;
The minimum duration value detecting step of S1025, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, mobile terminal can detect mobile terminal and be provided with altogether 3 reminder times, mobile terminal arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.Mobile terminal extracts this reminder time of 7:00 and current time NT compares the difference that calculates the two, thereby obtains current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; Mobile terminal extracts this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Mobile terminal is found N1<N2<N3 through comparison calculation, N1 and the continuation of the journey duration value RT that current battery electric quantity maintains mobile terminal maintenance open state is compared.
embodiment seven
As shown in Figure 3, the present embodiment provides a kind of implementation method of mobile terminal prompt facility, in turn includes the following steps:
S101 continuation of the journey duration detecting step, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
S102 reminder time detecting step, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
S103 compares step, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, sends control command;
S104 remind to control step, for when receiving the control command that described comparing module sends, controls mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also further comprises:
The S136 charging removes detecting step, for when detecting when mobile terminal removes charger, sending enabled instruction;
The S137 electric weight detects controls step, and for receiving described enabled instruction, and it detects the operation of described continuation of the journey duration value RT to control execution when receiving this enabled instruction.
Like this, after mobile terminal removes charger the time, whether can continue until alarm time the cruising time that mobile terminal detects dump energy automatically, thereby to for being pointed out in time.
S102 reminder time detecting step also comprises:
For at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to the step of described comparing module by this.Specifically can adopt following steps to realize:
S1021 reminder time quantity detecting step, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
S1022 memory space setting steps, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
S1023 duration calculation step goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
The S1024 storing step, for being kept at one by one different memory spaces by described prompting duration value;
The minimum duration value detecting step of S1025, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, mobile terminal can detect mobile terminal and be provided with altogether 3 reminder times, mobile terminal arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.Mobile terminal extracts this reminder time of 7:00 and current time NT compares the difference that calculates the two, thereby obtains current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; Mobile terminal extracts this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Mobile terminal is found N1<N2<N3 through comparison calculation, N1 and the continuation of the journey duration value RT that current battery electric quantity maintains mobile terminal maintenance open state is compared.
embodiment eight
As shown in Figure 4, the present embodiment provides a kind of implementation method of mobile terminal prompt facility, in turn includes the following steps:
S101 continuation of the journey duration detecting step, maintain for detection of current battery electric quantity the continuation of the journey duration value RT that mobile terminal keeps open state;
S102 reminder time detecting step, for determining the prompting duration value N of current time NT apart from the reminder time MT set;
S103 compares step, for described continuation of the journey duration value RT is compared with reminding duration value N, when described continuation of the journey duration value RT is less than or equal to described prompting duration value N, sends control command;
S104 remind to control step, for when receiving the control command that described comparing module sends, controls mobile terminal execution prompting operation.
It will be understood by those skilled in the art that and do not exist under charged state due to mobile terminal due to the not enough situation of shutting down of electric weight, hence one can see that, and above-mentioned prompt facility is only just applicable under the powered battery state at mobile terminal.Being worth RT described cruising time and being determined by two aspect parameters, is the dump energy M of current battery on the one hand, the unit interval power consumption H in a period of time that is mobile terminal on the other hand before electric weight next exhausts; When as higher as unit power consumption as described in mobile terminal, as answer or to call frequency higher, utilize the continuous playing video file of mobile terminal all can cause the increase of unit interval power consumption H, thereby cause being worth described cruising time the minimizing of NO.It will be understood by those skilled in the art that described unit interval power consumption H can belong to this area technological means commonly used according to this time period being added up to determine in some cycles, is no longer repeated here.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also further comprises:
S146 opening initialization module, for sending described enabled instruction when the opening initialization; The user arranges KT detection time by this module;
The S147 electric weight detects control module, the instruction of sending for receiving described opening initialization module, and control described continuation of the journey duration detection module and carry out the operation that it detects described continuation of the journey duration value RT when receiving this enabled instruction.
Can realize like this when start mobile terminal cruising time of automatically detecting dump energy whether can continue until alarm time, thereby to for being pointed out in time.
S102 reminder time detecting step also comprises:
For at two above reminder time MT, calculating the duration value nearest with the current time, and nearest duration value sends to the step of described comparing module by this.Specifically can adopt following steps to realize:
S1021 reminder time quantity detecting step, the quantitative value of the reminder time altogether arranged for detection of mobile terminal;
S1022 memory space setting steps, for the memory space of the quantitative value setting respective numbers according to reminder time quantity detecting unit output;
S1023 duration calculation step goes out the prompting duration value of current time NT apart from this reminder time for extracting one by one each union reminder time;
The S1024 storing step, for being kept at one by one different memory spaces by described prompting duration value;
The minimum duration value detecting step of S1025, for the prompting duration value that reads each memory space and mutually compare, and its minimum value sends to described comparing module.
It will be appreciated by those skilled in the art that, while in mobile terminal, being provided with a plurality of reminder time, as be provided with 7:00,9:00,18:00, mobile terminal can detect mobile terminal and be provided with altogether 3 reminder times, mobile terminal arranges three memory spaces with different addresses in memory device, is respectively the first memory space, the second memory space and the 3rd memory space.Mobile terminal extracts this reminder time of 7:00 and current time NT compares the difference that calculates the two, thereby obtains current time NT apart from the prompting duration value N1 of this reminder time, and it is kept in the first memory space; Mobile terminal extracts this reminder time of 9:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N2 of this reminder time, and it is kept in the second memory space; The duration arithmetic element is extracted this reminder time of 18:00 and current time NT compares computing, the difference of the two, thus obtain current time NT apart from the prompting duration value N3 of this reminder time, and it is kept in the 3rd memory space; Mobile terminal is found N1<N2<N3 through comparison calculation, N1 and the continuation of the journey duration value RT that current battery electric quantity maintains mobile terminal maintenance open state is compared.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.