There is mobile terminal and the prompting realization method thereof of prompt facility
Technical field
The present invention relates to electronic technology field, particularly relate to the electronic alarm clock equipment with prompt facility.
Background technology
Along with the development of electronic technology, the mobile terminal such as mobile phone, panel computer, notebook computer all has alarm clock function,
The i.e. time in user setup performs the prompting operation preset, thus plays the function the time prompting user arranged.Then,
The battery electric quantity of mobile terminal is limited, sometimes the dump energy of battery be not enough to maintain mobile phone continue a journey to set alarm clock
Time.In this case, the most not timed out at alarm time, mobile phone meeting automatic shutdown, as user did not had before alarm time arrives
There is charging in time, its prompt facility cannot be completed in the time arranged by causing mobile terminal.As set before user sleeps evening
After putting 8 hours, the prompting of alarm clock sound is got up, and battery life is only sufficient to maintain 5 hours, then mobile phone is when user sleeps
Meeting automatic shutdown, so cannot remind again and get up.This situation, often brings inconvenience to user, causes indulging in of material time
By mistake.If mobile terminal has a kind of prompt facility, can battery life be not enough to maintain to the alarm clock calling time time,
Informing user by the way of jingle bell or display, user can be charged timely, or takes other measures, it is to avoid above-mentioned asks
The generation of topic.
Summary of the invention
It is an object of the invention to provide a kind of mobile terminal with prompt facility and prompting realization method thereof.
The mobile terminal with prompt facility provided by the present invention, including:
Continuation of the journey duration detection module, during for detecting the continuation of the journey of current battery charge maintenance mobile terminal holding open state
Long value RT;
Reminder time detection module, for determining the current time NT prompting duration value N away from the reminder time MT set;
Comparing module, for comparing, when described continuation of the journey duration value with reminding duration value N described continuation of the journey duration value RT
When RT is less than or equal to described prompting duration value N, send control instruction;
Remind control module, for when receiving the control instruction that described comparing module sends, control mobile terminal and hold
Row prompting operation.
The implementation method of mobile terminal prompt facility provided by the present invention, in turn includes the following steps:
S101 continues a journey duration detecting step, maintains mobile terminal to keep the continuous of open state for detecting current battery charge
Boat duration value RT;
S102 reminder time detecting step, for determining the current time NT prompting duration value away from the reminder time MT set
N;
S103 comparison step, for comparing with reminding duration value N described continuation of the journey duration value RT, when described continuation of the journey
When long value RT is less than or equal to described prompting duration value N, send control instruction;
S104 reminds rate-determining steps, for when receiving the control instruction that described comparing module sends, controls mobile whole
End performs prompting operation.
The mobile terminal with prompt facility provided by the present invention and prompting realization method thereof, can be when battery durable
Between be not enough to maintain to the alarm clock calling time time, by the way of jingle bell or display, inform user, user can be carried out timely
Charging, or take other measures, it is to avoid delay reminder time, cause unnecessary trouble.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the implementation method of the mobile terminal prompt facility described in the embodiment of the present invention five;
Fig. 2 is the schematic flow sheet of the implementation method of the mobile terminal prompt facility described in the embodiment of the present invention six;
Fig. 3 is the schematic flow sheet of the implementation method of the mobile terminal prompt facility described in the embodiment of the present invention seven;
Fig. 4 is the schematic flow sheet of the implementation method of the mobile terminal prompt facility described in the embodiment of the present invention eight.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Embodiment one
The present embodiment provides the embodiment of a kind of mobile terminal with prompt facility, including:
Continuation of the journey duration detection module, during for detecting the continuation of the journey of current battery charge maintenance mobile terminal holding open state
Long value RT;
Reminder time detection module, for determining the current time NT prompting duration value N away from the reminder time MT set;
Comparing module, for comparing, when described continuation of the journey duration value with reminding duration value N described continuation of the journey duration value RT
When RT is less than or equal to described prompting duration value N, send control instruction;
Remind control module, for when receiving the control instruction that described comparing module sends, control mobile terminal and hold
Row prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The mobile terminal with prompt facility that the present embodiment provides, may further comprise:
Detection set of time module, arranges detection time KT for user by this module;
Current time detection module, is used for detecting current time NT and has reached described detection time KT;As currently
Time NT has reached described detection time KT, then send enabled instruction;
Electric power detection control module, for receiving the instruction that described current time detection module sends, and when receiving this
Control described continuation of the journey duration detection module during enabled instruction and perform its operation detecting described continuation of the journey duration value RT.
Reminder time MT as set in mobile terminal arranges described inspection as 7 points, user by detection set of time module
Survey time KT is 2 points.Current time detection module is in cycle detection current time NT of each setting, and current time NT is 2 points
Time, described current time detection module sends enabled instruction, and electric power detection module receives described enabled instruction and just controls described
Continuation of the journey duration detection module detects that current electric quantity can maintain mobile terminal to keep the continuation of the journey duration value RT of open state;The most such as
Duration value RT was less than 5 hours in continuation of the journey, then mobile terminal can point out user by the way of loud or display information.
Further, also include the longest detection module, for calculate in two or more reminder time MT with currently
The duration value that time is nearest, and the duration value that this is nearest is sent to described comparing module.Specifically include:
Reminder time quantity detector unit, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
Memory space arranges unit, for setting respective numbers according to the quantitative value of reminder time quantity detector unit output
Memory space;
Duration arithmetic element, goes out current time NT apart from this reminder time for extracting each reminder time union one by one
Prompting duration value;
Memory space, for the prompting duration value that storage duration arithmetic element computing obtains one by one;
Minimum duration value detector unit, for reading the prompting duration value in each memory space and being compared to each other,
And its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, reminder time quantity detector unit will detect that mobile terminal is provided with 3 reminder times altogether, and this numerical value sent out
Arranging unit to memory space, memory space arranges unit and arranges three storages skies with different address in storage device
Between, the respectively first memory space, the second memory space and the 3rd memory space.Duration arithmetic element extracts 7:00, and this is reminded
Time and current time NT compare computing, the difference of the two, thus obtain current time NT carrying apart from this reminder time
Wake up duration value N1, and saves it in the first memory space;Duration arithmetic element extracts this reminder time of 9:00 with current
Time, NT compared computing, the difference of the two, thus obtained the current time NT prompting duration value N2 apart from this reminder time,
And save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00 and current time NT is carried out
Comparison operation, the difference of the two, thus obtain the current time NT prompting duration value N3 apart from this reminder time, and preserved
In the 3rd memory space;Minimum duration value detector unit is respectively from the first memory element, the second memory element and the 3rd storage
Reading N1, N2 and N3 in unit, and find N1 < N2 < N3 through computing, at this moment, N1 is sent out by minimum duration value detector unit
Give comparing module, thus maintain mobile terminal to keep the continuation of the journey duration value RT of open state to compare with current battery charge
Right.
Embodiment two
The present embodiment provides the embodiment of a kind of mobile terminal with prompt facility, including:
Continuation of the journey duration detection module, during for detecting the continuation of the journey of current battery charge maintenance mobile terminal holding open state
Long value RT;
Reminder time detection module, for determining the current time NT prompting duration value N away from the reminder time MT set;
Comparing module, for comparing, when described continuation of the journey duration value with reminding duration value N described continuation of the journey duration value RT
When RT is less than or equal to described prompting duration value N, send control instruction;
Remind control module, for when receiving the control instruction that described comparing module sends, control mobile terminal and hold
Row prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The mobile terminal with prompt facility that the present embodiment provides, may further comprise:
Newly-built alarm clock detection module, for sending enabled instruction when arranging new alarm time;
Electric power detection control module, for receiving the enabled instruction that described newly-built alarm clock detection module sends, and when receiving
Control described continuation of the journey duration detection module during to this enabled instruction and perform its operation detecting described continuation of the journey duration value RT.
So, when being provided with new alarm time when mobile terminal, mobile terminal detects the continuation of the journey of dump energy automatically
Whether the time can continue until alarm time, thus to for pointing out in time.
Further, also include the longest detection module, for calculate in two or more reminder time MT with currently
The duration value that time is nearest, and the duration value that this is nearest is sent to described comparing module.Specifically include:
Reminder time quantity detector unit, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
Memory space arranges unit, for setting respective numbers according to the quantitative value of reminder time quantity detector unit output
Memory space;
Duration arithmetic element, goes out current time NT apart from this reminder time for extracting each reminder time union one by one
Prompting duration value;
Memory space, for the prompting duration value that storage duration arithmetic element computing obtains one by one;
Minimum duration value detector unit, for reading the prompting duration value in each memory space and being compared to each other,
And its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, reminder time quantity detector unit will detect that mobile terminal is provided with 3 reminder times altogether, and this numerical value sent out
Arranging unit to memory space, memory space arranges unit and arranges three storages skies with different address in storage device
Between, the respectively first memory space, the second memory space and the 3rd memory space.Duration arithmetic element extracts 7:00, and this is reminded
Time and current time NT compare computing, the difference of the two, thus obtain current time NT carrying apart from this reminder time
Wake up duration value N1, and saves it in the first memory space;Duration arithmetic element extracts this reminder time of 9:00 with current
Time, NT compared computing, the difference of the two, thus obtained the current time NT prompting duration value N2 apart from this reminder time,
And save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00 and current time NT is carried out
Comparison operation, the difference of the two, thus obtain the current time NT prompting duration value N3 apart from this reminder time, and preserved
In the 3rd memory space;Minimum duration value detector unit is respectively from the first memory element, the second memory element and the 3rd storage
Reading N1, N2 and N3 in unit, and find N1 < N2 < N3 through computing, at this moment, N1 is sent out by minimum duration value detector unit
Give comparing module, thus maintain mobile terminal to keep the continuation of the journey duration value RT of open state to compare with current battery charge
Right.
Embodiment three
The present embodiment provides the embodiment of a kind of mobile terminal with prompt facility, including:
Continuation of the journey duration detection module, during for detecting the continuation of the journey of current battery charge maintenance mobile terminal holding open state
Long value RT;
Reminder time detection module, for determining the current time NT prompting duration value N away from the reminder time MT set;
Comparing module, for comparing, when described continuation of the journey duration value with reminding duration value N described continuation of the journey duration value RT
When RT is less than or equal to described prompting duration value N, send control instruction;
Remind control module, for when receiving the control instruction that described comparing module sends, control mobile terminal and hold
Row prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The mobile terminal with prompt facility that the present embodiment provides, may further comprise:
Charging removes detection module, for sending enabled instruction when mobile terminal removes charger when detecting;
Electric power detection control module, removes, for receiving described charging, the enabled instruction that detection module sends, and when receiving
Control described continuation of the journey duration detection module during to this enabled instruction and perform its operation detecting described continuation of the journey duration value RT.
So, when removing after charger when mobile terminal, mobile terminal automatically detects the cruising time of dump energy and is
The no alarm time that can continue until, thus to for pointing out in time.
Further, also include the longest detection module, for calculate in two or more reminder time MT with currently
The duration value that time is nearest, and the duration value that this is nearest is sent to described comparing module.Specifically include:
Reminder time quantity detector unit, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
Memory space arranges unit, for setting respective numbers according to the quantitative value of reminder time quantity detector unit output
Memory space;
Duration arithmetic element, goes out current time NT apart from this reminder time for extracting each reminder time union one by one
Prompting duration value;
Memory space, for the prompting duration value that storage duration arithmetic element computing obtains one by one;
Minimum duration value detector unit, for reading the prompting duration value in each memory space and being compared to each other,
And its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, reminder time quantity detector unit will detect that mobile terminal is provided with 3 reminder times altogether, and this numerical value sent out
Arranging unit to memory space, memory space arranges unit and arranges three storages skies with different address in storage device
Between, the respectively first memory space, the second memory space and the 3rd memory space.Duration arithmetic element extracts 7:00, and this is reminded
Time and current time NT compare computing, the difference of the two, thus obtain current time NT carrying apart from this reminder time
Wake up duration value N1, and saves it in the first memory space;Duration arithmetic element extracts this reminder time of 9:00 with current
Time, NT compared computing, the difference of the two, thus obtained the current time NT prompting duration value N2 apart from this reminder time,
And save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00 and current time NT is carried out
Comparison operation, the difference of the two, thus obtain the current time NT prompting duration value N3 apart from this reminder time, and preserved
In the 3rd memory space;Minimum duration value detector unit is respectively from the first memory element, the second memory element and the 3rd storage
Reading N1, N2 and N3 in unit, and find N1 < N2 < N3 through computing, at this moment, N1 is sent out by minimum duration value detector unit
Give comparing module, thus maintain mobile terminal to keep the continuation of the journey duration value RT of open state to compare with current battery charge
Right.
Embodiment four
The present embodiment provides the embodiment of a kind of mobile terminal with prompt facility, including:
Continuation of the journey duration detection module, during for detecting the continuation of the journey of current battery charge maintenance mobile terminal holding open state
Long value RT;
Reminder time detection module, for determining the current time NT prompting duration value N away from the reminder time MT set;
Comparing module, for comparing, when described continuation of the journey duration value with reminding duration value N described continuation of the journey duration value RT
When RT is less than or equal to described prompting duration value N, send control instruction;
Remind control module, for when receiving the control instruction that described comparing module sends, control mobile terminal and hold
Row prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The mobile terminal with prompt facility that the present embodiment provides, may further comprise:
Opening initialization module, for sending described enabled instruction when opening initialization;User is arranged by this module
Detection time KT;
Electric power detection control module, for receiving the instruction that described opening initialization module sends, and opens when receiving this
Control described continuation of the journey duration detection module during dynamic instruction and perform its operation detecting described continuation of the journey duration value RT.
When so may be implemented in start, mobile terminal automatically detects and cruising time of dump energy whether can continue until alarm clock
Time, thus to for pointing out in time.
Further, also include the longest detection module, for calculate in two or more reminder time MT with currently
The duration value that time is nearest, and the duration value that this is nearest is sent to described comparing module.Specifically include:
Reminder time quantity detector unit, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
Memory space arranges unit, for setting respective numbers according to the quantitative value of reminder time quantity detector unit output
Memory space;
Duration arithmetic element, goes out current time NT apart from this reminder time for extracting each reminder time union one by one
Prompting duration value;
Memory space, for the prompting duration value that storage duration arithmetic element computing obtains one by one;
Minimum duration value detector unit, for reading the prompting duration value in each memory space and being compared to each other,
And its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, reminder time quantity detector unit will detect that mobile terminal is provided with 3 reminder times altogether, and this numerical value sent out
Arranging unit to memory space, memory space arranges unit and arranges three storages skies with different address in storage device
Between, the respectively first memory space, the second memory space and the 3rd memory space.Duration arithmetic element extracts 7:00, and this is reminded
Time and current time NT compare computing, the difference of the two, thus obtain current time NT carrying apart from this reminder time
Wake up duration value N1, and saves it in the first memory space;Duration arithmetic element extracts this reminder time of 9:00 with current
Time, NT compared computing, the difference of the two, thus obtained the current time NT prompting duration value N2 apart from this reminder time,
And save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00 and current time NT is carried out
Comparison operation, the difference of the two, thus obtain the current time NT prompting duration value N3 apart from this reminder time, and preserved
In the 3rd memory space;Minimum duration value detector unit is respectively from the first memory element, the second memory element and the 3rd storage
Reading N1, N2 and N3 in unit, and find N1 < N2 < N3 through computing, at this moment, N1 is sent out by minimum duration value detector unit
Give comparing module, thus maintain mobile terminal to keep the continuation of the journey duration value RT of open state to compare with current battery charge
Right.
Embodiment five
As it is shown in figure 1, the present embodiment provides the implementation method of a kind of mobile terminal prompt facility, include successively walking as follows
Rapid:
S101 continues a journey duration detecting step, maintains mobile terminal to keep the continuous of open state for detecting current battery charge
Boat duration value RT;
S102 reminder time detecting step, for determining the current time NT prompting duration value away from the reminder time MT set
N;
S103 comparison step, for comparing with reminding duration value N described continuation of the journey duration value RT, when described continuation of the journey
When long value RT is less than or equal to described prompting duration value N, send control instruction;
S104 reminds rate-determining steps, for when receiving the control instruction that described comparing module sends, controls mobile whole
End performs prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also
Farther include:
S115 detects set of time step, arranges detection time KT for user by this module;
S116 current time NT detecting step, is used for detecting current time NT and has reached described detection time KT;
Detection time KT as described in current time NT has reached, then send enabled instruction;
S117 electric power detection rate-determining steps, is used for receiving described enabled instruction, and controls when receiving this enabled instruction
Perform to detect the operation of described continuation of the journey duration value RT.
If the reminder time MT that sets in mobile terminal is as 7 points, detecting time KT described in user setup is 2 points.Mobile whole
Hold in cycle detection current time NT of each setting, when current time NT is 2, described in send enabled instruction, perform inspection
Measuring current electric quantity can maintain mobile terminal to keep the continuation of the journey duration value RT of open state;Now if continuation of the journey duration value RT is less than 5
Hour, then mobile terminal can by loud or display information by the way of point out user.
S102 reminder time detecting step, also includes:
For calculating the duration value nearest with current time in two or more reminder time MT, and by this nearest time
Long value is sent to the step of described comparing module.Following steps specifically can be used to realize:
S1021 reminder time quantity-sensing step, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
S1022 memory space setting steps, for setting phase according to the quantitative value of reminder time quantity detector unit output
Answer the memory space of quantity;
S1023 duration calculation step, goes out current time NT carry apart from this for extracting each reminder time union one by one
The prompting duration value of the time of waking up;
S1024 storing step, for being saved in described prompting duration value one by one in different memory spaces;
S1025 minimum duration value detecting step, for reading the prompting duration value in each memory space and carrying out mutually
Compare, and its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, mobile terminal will detect that mobile terminal is provided with 3 reminder times altogether, and mobile terminal is arranged in storage device
Three memory spaces with different address, the respectively 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 calculating the two, thus obtains current time
NT is apart from the prompting duration value N1 of this reminder time, and saves it in the first memory space;Mobile terminal extract 9:00 this
Individual reminder time and current time NT compare computing, the difference of the two, thus obtain current time NT when this prompting
Between prompting duration value N2, and save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00
Computing is compared with current time NT, the difference of the two, thus obtain current time NT when the prompting of this reminder time
Long value N3, and save it in the 3rd memory space;Mobile terminal through comparison calculation find N1 < N2 < N3, then by N1 with
Current battery charge maintains mobile terminal to keep the continuation of the journey duration value RT of open state to compare.
Embodiment six
As in figure 2 it is shown, the present embodiment provides the implementation method of a kind of mobile terminal prompt facility, include successively walking as follows
Rapid:
S101 continues a journey duration detecting step, maintains mobile terminal to keep the continuous of open state for detecting current battery charge
Boat duration value RT;
S102 reminder time detecting step, for determining the current time NT prompting duration value away from the reminder time MT set
N;
S103 comparison step, for comparing with reminding duration value N described continuation of the journey duration value RT, when described continuation of the journey
When long value RT is less than or equal to described prompting duration value N, send control instruction;
S104 reminds rate-determining steps, for when receiving the control instruction that described comparing module sends, controls mobile whole
End performs prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also
Farther include:
S125 newly-built alarm clock detecting step, for sending enabled instruction when arranging new alarm time;
S126 electric power detection rate-determining steps, is used for receiving described enabled instruction, and controls when receiving this enabled instruction
Perform its operation detecting described continuation of the journey duration value RT.
So, when being provided with new alarm time when mobile terminal, mobile terminal detects the continuation of the journey of dump energy automatically
Whether the time can continue until alarm time, thus to for pointing out in time.
S102 reminder time detecting step, also includes:
For calculating the duration value nearest with current time in two or more reminder time MT, and by this nearest time
Long value is sent to the step of described comparing module.Following steps specifically can be used to realize:
S1021 reminder time quantity-sensing step, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
S1022 memory space setting steps, for setting phase according to the quantitative value of reminder time quantity detector unit output
Answer the memory space of quantity;
S1023 duration calculation step, goes out current time NT carry apart from this for extracting each reminder time union one by one
The prompting duration value of the time of waking up;
S1024 storing step, for being saved in described prompting duration value one by one in different memory spaces;
S1025 minimum duration value detecting step, for reading the prompting duration value in each memory space and carrying out mutually
Compare, and its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, mobile terminal will detect that mobile terminal is provided with 3 reminder times altogether, and mobile terminal is arranged in storage device
Three memory spaces with different address, the respectively 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 calculating the two, thus obtains current time
NT is apart from the prompting duration value N1 of this reminder time, and saves it in the first memory space;Mobile terminal extract 9:00 this
Individual reminder time and current time NT compare computing, the difference of the two, thus obtain current time NT when this prompting
Between prompting duration value N2, and save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00
Computing is compared with current time NT, the difference of the two, thus obtain current time NT when the prompting of this reminder time
Long value N3, and save it in the 3rd memory space;Mobile terminal through comparison calculation find N1 < N2 < N3, then by N1 with
Current battery charge maintains mobile terminal to keep the continuation of the journey duration value RT of open state to compare.
Embodiment seven
As it is shown on figure 3, the present embodiment provides the implementation method of a kind of mobile terminal prompt facility, include successively walking as follows
Rapid:
S101 continues a journey duration detecting step, maintains mobile terminal to keep the continuous of open state for detecting current battery charge
Boat duration value RT;
S102 reminder time detecting step, for determining the current time NT prompting duration value away from the reminder time MT set
N;
S103 comparison step, for comparing with reminding duration value N described continuation of the journey duration value RT, when described continuation of the journey
When long value RT is less than or equal to described prompting duration value N, send control instruction;
S104 reminds rate-determining steps, for when receiving the control instruction that described comparing module sends, controls mobile whole
End performs prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also
Farther include:
S136 charging removes detecting step, for sending enabled instruction when mobile terminal removes charger when detecting;
S137 electric power detection rate-determining steps, is used for receiving described enabled instruction, and controls when receiving this enabled instruction
Perform its operation detecting described continuation of the journey duration value RT.
So, when removing after charger when mobile terminal, mobile terminal automatically detects the cruising time of dump energy and is
The no alarm time that can continue until, thus to for pointing out in time.
S102 reminder time detecting step, also includes:
For calculating the duration value nearest with current time in two or more reminder time MT, and by this nearest time
Long value is sent to the step of described comparing module.Following steps specifically can be used to realize:
S1021 reminder time quantity-sensing step, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
S1022 memory space setting steps, for setting phase according to the quantitative value of reminder time quantity detector unit output
Answer the memory space of quantity;
S1023 duration calculation step, goes out current time NT carry apart from this for extracting each reminder time union one by one
The prompting duration value of the time of waking up;
S1024 storing step, for being saved in described prompting duration value one by one in different memory spaces;
S1025 minimum duration value detecting step, for reading the prompting duration value in each memory space and carrying out mutually
Compare, and its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, mobile terminal will detect that mobile terminal is provided with 3 reminder times altogether, and mobile terminal is arranged in storage device
Three memory spaces with different address, the respectively 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 calculating the two, thus obtains current time
NT is apart from the prompting duration value N1 of this reminder time, and saves it in the first memory space;Mobile terminal extract 9:00 this
Individual reminder time and current time NT compare computing, the difference of the two, thus obtain current time NT when this prompting
Between prompting duration value N2, and save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00
Computing is compared with current time NT, the difference of the two, thus obtain current time NT when the prompting of this reminder time
Long value N3, and save it in the 3rd memory space;Mobile terminal through comparison calculation find N1 < N2 < N3, then by N1 with
Current battery charge maintains mobile terminal to keep the continuation of the journey duration value RT of open state to compare.
Embodiment eight
As shown in Figure 4, the present embodiment provides the implementation method of a kind of mobile terminal prompt facility, includes successively walking as follows
Rapid:
S101 continues a journey duration detecting step, maintains mobile terminal to keep the continuous of open state for detecting current battery charge
Boat duration value RT;
S102 reminder time detecting step, for determining the current time NT prompting duration value away from the reminder time MT set
N;
S103 comparison step, for comparing with reminding duration value N described continuation of the journey duration value RT, when described continuation of the journey
When long value RT is less than or equal to described prompting duration value N, send control instruction;
S104 reminds rate-determining steps, for when receiving the control instruction that described comparing module sends, controls mobile whole
End performs prompting operation.
It will be understood by those skilled in the art that the most not exist due to mobile terminal and close owing to electricity is not enough
The situation of machine, it can thus be appreciated that above-mentioned prompt facility is only just suitable under mobile terminal is in battery-powered state.During described continuation of the journey
Between be worth RT and determined by two aspect parameters, on the one hand be the dump energy M of present battery, another aspect is that mobile terminal is next
Electricity exhaust before a period of time in unit interval power consumption H;When as described in mobile terminal, unit used electricity amount is higher, as connect
Listen or to call frequency higher, utilize the increasing that the continuous playing video file of mobile terminal all can cause unit interval power consumption H
Add, thus cause the minimizing being worth NO described cruising time.It will be understood by those skilled in the art that described unit interval power consumption H
Can determine according to this time period being carried out statistics in some cycles, belong to technological means commonly used in the art, the most no longer
Repeat.
The implementation method of the mobile terminal prompt facility that the present embodiment provides, before S101 continuation of the journey duration detecting step, also
Farther include:
S146 opening initialization module, for sending described enabled instruction when opening initialization;User is by this module
Detection time KT is set;
S147 electric power detection control module, for receiving the instruction that described opening initialization module sends, and when receiving
Control described continuation of the journey duration detection module during this enabled instruction and perform its operation detecting described continuation of the journey duration value RT.
When so may be implemented in start, mobile terminal automatically detects and cruising time of dump energy whether can continue until alarm clock
Time, thus to for pointing out in time.
S102 reminder time detecting step, also includes:
For calculating the duration value nearest with current time in two or more reminder time MT, and by this nearest time
Long value is sent to the step of described comparing module.Following steps specifically can be used to realize:
S1021 reminder time quantity-sensing step, for detecting the quantitative value of the reminder time that mobile terminal is arranged altogether;
S1022 memory space setting steps, for setting phase according to the quantitative value of reminder time quantity detector unit output
Answer the memory space of quantity;
S1023 duration calculation step, goes out current time NT carry apart from this for extracting each reminder time union one by one
The prompting duration value of the time of waking up;
S1024 storing step, for being saved in described prompting duration value one by one in different memory spaces;
S1025 minimum duration value detecting step, for reading the prompting duration value in each memory space and carrying out mutually
Compare, and its minima is sent to described comparing module.
It will be understood by those skilled in the art that when mobile terminal is provided with multiple reminder time, as be provided with 7:00,9:
00,18:00, mobile terminal will detect that mobile terminal is provided with 3 reminder times altogether, and mobile terminal is arranged in storage device
Three memory spaces with different address, the respectively 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 calculating the two, thus obtains current time
NT is apart from the prompting duration value N1 of this reminder time, and saves it in the first memory space;Mobile terminal extract 9:00 this
Individual reminder time and current time NT compare computing, the difference of the two, thus obtain current time NT when this prompting
Between prompting duration value N2, and save it in the second memory space;Duration arithmetic element extracts this reminder time of 18:00
Computing is compared with current time NT, the difference of the two, thus obtain current time NT when the prompting of this reminder time
Long value N3, and save it in the 3rd memory space;Mobile terminal through comparison calculation find N1 < N2 < N3, then by N1 with
Current battery charge maintains mobile terminal to keep the continuation of the journey duration value RT of open state to compare.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.