Summary of the invention
A kind of method that the purpose of the embodiment of the present invention is in that to provide mobile terminal to charge, it is intended to solve the problem that current mobile terminal uses single charging modes to cause bad experience at night.
In order to solve above-mentioned technical problem, the present invention is achieved in that a kind of method that mobile terminal charges, and said method comprising the steps of:
Obtain the dump energy of described mobile terminal and time point that described mobile terminal starts to charge up;
When described time point is for presetting charging interval at night section, obtains user and preset time point of getting up in second day;
Calculate the duration presetting get up time point and the described time point started to charge up described second day poor;
Control described mobile terminal according to described dump energy and described duration difference to switch between the first preset charged pattern and the second preset charged pattern, make described mobile terminal fully charged when within described second day, presetting and get up time point;
Wherein, the charge rate of described first preset charged pattern is more than the charge rate of described second preset charged pattern.
Further, described default charging interval at night section is point on the same day 18 to the same day 24.
Further, the time point step with the duration difference of the described time point started to charge up of getting up is preset in described calculating for described second day, including:
The time point started to charge up described in calculating arrives the described second day time preset needed for time point of getting up, and namely described duration is poor.
Further, the described step switched between the first preset charged pattern and the second preset charged pattern according to described dump energy and the described duration difference described mobile terminal of control, including:
The charging interval T1 of described first preset charged pattern and the charging interval T2 of described second preset charged pattern is calculated according to following formula;
Then:
T1=T3-T2;
T2=;
Control described mobile terminal to charge T1 hour according to described first preset charged pattern, charge T2 hour according to described second preset charged pattern;
Wherein, W1 represents described first preset charged pattern charge volume hourly (unit: milliampere), W2 represents according to described second preset charged pattern charge volume hourly (unit: milliampere), T3 represent described duration poor (T1, T2 and T3 unit be hour), H1 represents total electricity (unit: milliampere) of the battery of described mobile terminal, and H2 represents the dump energy (unit: milliampere) of the battery of described mobile terminal.
Further, the switching mode of described first preset charged pattern and described second preset charged pattern is: described first preset charged pattern switches to described second preset charged pattern after charging T1 hour;Or
Described second preset charged pattern switches to described first preset charged pattern after charging T2 hour.
The purpose of the embodiment of the present invention also resides in a kind of mobile terminal of offer, and described mobile terminal includes:
First acquiring unit, the time point that the dump energy and described mobile terminal for obtaining described mobile terminal starts to charge up;
Second acquisition unit, for when described time point is for presetting charging interval at night section, obtaining user and preset time point of getting up in second day;
Computing unit, poor for calculating the duration presetting get up time point and the described time point started to charge up described second day;
Control unit, switches between the first preset charged pattern and the second preset charged pattern for controlling described mobile terminal according to described dump energy and described duration difference, makes described mobile terminal fully charged when within described second day, presetting and get up time point;
Wherein, the charge rate of described first preset charged pattern is more than the charge rate of described second preset charged pattern.
Further, described default charging interval at night section is point on the same day 18 to the same day 24.
Further, the calculation of described computing unit is:
The time point started to charge up described in calculating arrives the described second day time preset needed for time point of getting up, and namely described duration is poor.
Further, described control unit specifically for
The charging interval T1 of described first preset charged pattern and the charging interval T2 of described second preset charged pattern is calculated according to following formula;
Then:
T1=T3-T2;
T2=;
Control described mobile terminal to charge T1 hour according to described first preset charged pattern, charge T2 hour according to described second preset charged pattern;
Wherein, W1 represents described first preset charged pattern charge volume hourly (unit: milliampere), W2 represents according to described second preset charged pattern charge volume hourly (unit: milliampere), T3 represent described duration poor (T1, T2 and T3 unit be hour), H1 represents total electricity (unit: milliampere) of the battery of described mobile terminal, and H2 represents the dump energy (unit: milliampere) of the battery of described mobile terminal.
Further, the switching mode of described first preset charged pattern and described second preset charged pattern is: described first preset charged pattern switches to described second preset charged pattern after charging T1 hour;Or
Described second preset charged pattern switches to described first preset charged pattern after charging T2 hour.
In embodiments of the present invention, first the dump energy of described mobile terminal is obtained and time point that described mobile terminal starts to charge up, when described time point is for presetting charging interval at night section, obtain user and preset time point of getting up in second day, and it is poor to calculate the duration presetting get up time point and the described time point started to charge up described second day, then control described mobile terminal according to described dump energy and described duration difference to switch between the first preset charged pattern and the second preset charged pattern, make described mobile terminal fully charged when within described second day, presetting and get up time point.The charging method that the embodiment of the present invention provides can make mobile terminal switch in two kinds of charge modes, does not namely result in mobile terminal and damages, and mobile terminal will not be made again to be not fully filled electricity, promote user's experience.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with specific embodiment, implementing of the present invention is described in detail:
Fig. 1 illustrates the flow chart of the method for the mobile terminal charging that the embodiment of the present invention provides, and for the ease of illustrating, only listing the part relevant to the embodiment of the present invention, details are as follows:
The method of the mobile terminal charging that the embodiment of the present invention provides, comprises the following steps:
Step S10, obtains the dump energy of this mobile terminal and time point that this mobile terminal starts to charge up.
Step S20, when this time point is for presetting charging interval at night section, obtains user and presets time point of getting up in second day.
In embodiments of the present invention, it is preferable that this default charging interval at night section is point on the same day 18 to the same day 24, and namely user started to charge up in this time period, and obtain the time point of getting up of second day of user preset, in order to when user gets up, mobile terminal is fully charged.
Step S30, calculates this second day default time point of getting up poor with the duration of this time point started to charge up.
In embodiments of the present invention, the detailed description of the invention of step S30 is: calculating the time that this time point started to charge up arrives this second day and presets needed for time point of getting up, namely this duration is poor.
Step S40, control this mobile terminal according to this dump energy and this duration difference to switch between the first preset charged pattern and the second preset charged pattern, make this mobile terminal fully charged when within this second day, presetting and get up time point, wherein, the charge rate (unit interval charge capacity) of this first preset charged pattern is more than the charge rate of this second preset charged pattern.
As the preferred embodiment of the present invention, the detailed description of the invention of the step " controlling this mobile terminal according to this dump energy and this duration difference to switch between the first preset charged pattern and the second preset charged pattern " in step s 40 is:
The charging interval T1 of this first preset charged pattern and the charging interval T2 of this second preset charged pattern is calculated according to following formula;
Then:
T1=T3-T2;
T2=;
Control this mobile terminal to charge T1 hour according to this first preset charged pattern, charge T2 hour according to this second preset charged pattern;
Wherein, W1 represents this first preset charged pattern charge volume hourly (unit: milliampere), W2 represents according to this second preset charged pattern charge volume hourly (unit: milliampere), T3 represent this duration poor (T1, T2 and T3 unit be hour), H1 represents total electricity (unit: milliampere) of the battery of this mobile terminal, and H2 represents the dump energy (unit: milliampere) of the battery of this mobile terminal.
It should be noted that in embodiments of the present invention, if T3*W1 < H1-H2, then control T1=T3, T2=0, namely use the first preset charged pattern to charge to mobile terminal from starting to charge up always.
Switching mode as one embodiment of the present invention, the first preset charged pattern and this second preset charged pattern is: this first preset charged pattern switches to this second preset charged pattern after charging T1 hour;Or
This second preset charged pattern switches to this first preset charged pattern after charging T2 hour.
In embodiments of the present invention, first the dump energy of described mobile terminal is obtained and time point that described mobile terminal starts to charge up, when described time point is for presetting charging interval at night section, obtain user and preset time point of getting up in second day, and it is poor to calculate the duration presetting get up time point and the described time point started to charge up described second day, then control described mobile terminal according to described dump energy and described duration difference to switch between the first preset charged pattern and the second preset charged pattern, make described mobile terminal fully charged when within described second day, presetting and get up time point.The charging method that the embodiment of the present invention provides can make mobile terminal switch in two kinds of charge modes, does not namely result in mobile terminal and damages, and mobile terminal will not be made again to be not fully filled electricity, promote user's experience.
Fig. 2 illustrates the frame structure schematic diagram of the mobile terminal that the embodiment of the present invention provides, and for the ease of illustrating, only listing the part relevant to the embodiment of the present invention, details are as follows:
The mobile terminal that the embodiment of the present invention provides, including: the first acquiring unit 100, second acquisition unit 200, computing unit 300 and control unit 400;
First acquiring unit 100, the time point that the dump energy and this mobile terminal for obtaining this mobile terminal starts to charge up;
Second acquisition unit 200, for when this time point is for presetting charging interval at night section, obtaining user and preset time point of getting up in second day;
Computing unit 300, poor with the duration of this time point started to charge up for calculating this second day default time point of getting up;
Control unit 400, switches between the first preset charged pattern and the second preset charged pattern for controlling this mobile terminal according to this dump energy and this duration difference, makes this mobile terminal fully charged when within this second day, presetting and get up time point;
Wherein, the charge rate of this first preset charged pattern is more than the charge rate of this second preset charged pattern.
As one embodiment of the present invention, this default charging interval at night section is point on the same day 18 to the same day 24.
As one embodiment of the present invention, the calculation of computing unit 300 is:
Calculating the time that this time point started to charge up arrives this second day and presets needed for time point of getting up, namely this duration is poor.
As one embodiment of the present invention, control unit 400 specifically for
The charging interval T1 of this first preset charged pattern and the charging interval T2 of this second preset charged pattern is calculated according to following formula;
Then:
T1=T3-T2;
T2=;
Control this mobile terminal to charge T1 hour according to this first preset charged pattern, charge T2 hour according to this second preset charged pattern;
Wherein, W1 represents this first preset charged pattern charge volume hourly (unit: milliampere), W2 represents according to this second preset charged pattern charge volume hourly (unit: milliampere), T3 represent this duration poor (T1, T2 and T3 unit be hour), H1 represents total electricity (unit: milliampere) of the battery of this mobile terminal, and H2 represents the dump energy (unit: milliampere) of the battery of this mobile terminal.
Switching mode as one embodiment of the present invention, this first preset charged pattern and this second preset charged pattern is: this first preset charged pattern switches to this second preset charged pattern after charging T1 hour;Or
This second preset charged pattern switches to this first preset charged pattern after charging T2 hour.
It should be noted that the mobile terminal in the embodiment of the present invention includes but not limited to is mobile phone, panel computer or electronic reader, and the mobile terminal in the embodiment of the present invention is corresponding with the embodiment of the method that above-mentioned mobile terminal charges, its operation principle and mode are all corresponding to be suitable for, and is not just repeating here.
In embodiments of the present invention, first the dump energy of described mobile terminal is obtained and time point that described mobile terminal starts to charge up, when described time point is for presetting charging interval at night section, obtain user and preset time point of getting up in second day, and it is poor to calculate the duration presetting get up time point and the described time point started to charge up described second day, then control described mobile terminal according to described dump energy and described duration difference to switch between the first preset charged pattern and the second preset charged pattern, make described mobile terminal fully charged when within described second day, presetting and get up time point.The charging method that the embodiment of the present invention provides can make mobile terminal switch in two kinds of charge modes, does not namely result in mobile terminal and damages, and mobile terminal will not be made again to be not fully filled electricity, promote user's experience.It will be appreciated by those skilled in the art that the unit included for above-described embodiment is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as being capable of corresponding function;It addition, the concrete title of each functional unit is also only to facilitate mutually distinguish, it is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, realize all or part of step in above-described embodiment method to can be by the hardware that program carrys out instruction relevant and complete, described program can in being stored in a computer read/write memory medium, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.