Summary of the invention
The object of the embodiment of the present invention is the control method providing a kind of mobile terminal charging current, the charging current being intended to solve current mobile terminal can not regulate according to the temperature of the charge requirement of user and processor, reduce Consumer's Experience, and bring the problem of potential safety hazard.
In order to solve the problems of the technologies described above, the present invention is achieved in that a kind of control method of mobile terminal charging current, said method comprising the steps of:
Detect the temperature of the dump energy of mobile terminal and the processor of mobile terminal;
Obtain the precharge time that user is arranged when charging and starting;
According to the temperature of described dump energy, described processor and the charging current controlling described mobile terminal described precharge time.
Further, before the step of the temperature of the described dump energy of detection mobile terminal and the processor of mobile terminal, also comprise
Obtain maximum charging current and the maximum charge power of mobile terminal.
Further, the step of precharge time that described acquisition user is arranged when charging and starting comprises:
When the charge port access charging current of described mobile terminal being detected, prompting user inputs for the charging interval;
Obtain the wish charging interval of user's input.
Further, the described temperature according to described dump energy, described processor and control the step of the charging current of described mobile terminal described precharge time, comprising:
The fastest time t1 that described mobile terminal is full of electricity needs is calculated according to following formula;
The charging temperature coefficient k 1 of mobile terminal is calculated according to following formula;
The charging current I1 of described mobile terminal is calculated according to following formula;
Wherein, s1 represents the dump energy of described mobile terminal, s2 represents total electricity of described mobile terminal, w1 represents the temperature of described processor, w2 represents preset reference temperature, t2 represents the electricity of described mobile terminal with described maximum charging current from zero electricity to the time being full of electricity, and t3 represents the described preset charged time, and I2 represents the maximum charging current of described mobile terminal.
Further, described preset reference temperature is 25 degrees Celsius.
The object of the embodiment of the present invention is also to provide a kind of mobile terminal, and described mobile terminal comprises:
Detecting unit, for the temperature of the processor of the dump energy and mobile terminal that detect mobile terminal;
First acquiring unit, for obtaining the precharge time that user is arranged when charging and starting;
Control unit, for according to the temperature of described dump energy, described processor and the charging current controlling described mobile terminal described precharge time.
Further, described mobile terminal also comprises:
Second acquisition unit, for obtaining maximum charging current and the maximum charge power of mobile terminal.
Further, described first acquiring unit specifically for:
When the charge port access charging current of described mobile terminal being detected, prompting user inputs for the charging interval;
Obtain the wish charging interval of user's input.
Further, described control unit specifically for:
The fastest time t1 that described mobile terminal is full of electricity needs is calculated according to following formula;
The charging temperature coefficient k 1 of mobile terminal is calculated according to following formula;
The charging current I1 of described mobile terminal is calculated according to following formula;
Wherein, s1 represents the dump energy of described mobile terminal, s2 represents total electricity of described mobile terminal, w1 represents the temperature of described processor, w2 represents preset reference temperature, t2 represents the electricity of described mobile terminal with described maximum charging current from zero electricity to the time being full of electricity, and t3 represents the described preset charged time, and I2 represents the maximum charging current of described mobile terminal.
Further, described preset reference temperature is 25 degrees Celsius.
In embodiments of the present invention, by detecting the temperature of the dump energy of mobile terminal and the processor of mobile terminal, and obtain the precharge time of user's setting when charging beginning, then according to the temperature of described dump energy, described processor and the charging current controlling described mobile terminal described precharge time, make mobile terminal can regulate the size of charging current according to the temperature of the processor of user's pre-planned charging interval and mobile terminal, promote user's experience, and coefficient of safety when promoting charging.
Embodiment
In order to make object 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 only in order to explain the present invention, be not intended to limit the present invention.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
Fig. 1 shows the flow process of the control method of the mobile terminal charging current that the embodiment of the present invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the present invention, the control method of the mobile terminal charging current that the embodiment of the present invention provides, comprises the following steps:
Step S20, detects the temperature of the dump energy of mobile terminal and the processor of mobile terminal.In embodiments of the present invention, in order to the charging current of mobile terminal can be regulated, then need to start with from safety and chargeable electricity, namely the dump energy detecting mobile terminal is convenient to calculate the charge capacity being full of electricity and needing, and the temperature of processor is charged and is very easily caused potential safety hazard, in embodiments of the present invention, when the temperature of processor exceedes preset reference temperature when higher, the temperature of processor is higher, and charging current is less of to guarantee safety.
Step S30, obtains the precharge time that user is arranged when charging and starting.Particularly, the execution mode of step S30 is:
When the charge port access charging current of this mobile terminal being detected, prompting user inputs for the charging interval; Obtain the wish charging interval of user's input.
If user does not carry out selection precharge time in Preset Time, then will be set to 3 hours precharge time according to Default Value.
Step S40, according to the temperature of this dump energy, this processor and the charging current controlling this mobile terminal this precharge time.
Preferably, the embodiment of step S40 is:
The fastest time t1 that this mobile terminal is full of electricity needs is calculated according to following formula;
The charging temperature coefficient k 1 of mobile terminal is calculated according to following formula;
The charging current I1 of this mobile terminal is calculated according to following formula;
Wherein, s1 represents the dump energy of this mobile terminal, s2 represents total electricity of this mobile terminal, w1 represents the temperature of this processor, w2 represents preset reference temperature, t2 represents the electricity of this mobile terminal with this maximum charging current from zero electricity to the time being full of electricity, and t3 represents this preset charged time, and I2 represents the maximum charging current of this mobile terminal.Preferably, this preset reference temperature is 25 degrees Celsius.
From above-mentioned calculating formula, the charging current I1 of mobile terminal is relevant with the precharge time that user is arranged, longer when precharge time, charging current I1 reduces relatively, when precharge time is shorter, charging current I1 increases relatively, and charging current I1 is also relevant with temperature, and namely the temperature of processor also can affect the size of charging current.
Fig. 2 shows the flow process of the control method of the mobile terminal charging current that the preferred embodiment of the present invention provides, and for convenience of explanation, only list the part relevant to the embodiment of the present invention, details are as follows:
As one embodiment of the present invention, before step S20, also comprise
Step S10, obtains maximum charging current and the maximum charge power of mobile terminal.
In embodiments of the present invention, by detecting the temperature of the dump energy of mobile terminal and the processor of mobile terminal, and obtain the precharge time of user's setting when charging beginning, then according to the temperature of described dump energy, described processor and the charging current controlling described mobile terminal described precharge time, make mobile terminal can regulate the size of charging current according to the temperature of the processor of user's pre-planned charging interval and mobile terminal, promote user's experience, and coefficient of safety when promoting charging.
Fig. 3 shows the frame structure schematic diagram of the mobile terminal that the embodiment of the present invention provides, and for convenience of explanation, only list 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, mobile terminal comprises second acquisition unit 100, detecting unit 200, first acquiring unit 300 and control unit 400;
Second acquisition unit 100, for obtaining maximum charging current and the maximum charge power of mobile terminal; Detecting unit 200, for the temperature of the processor of the dump energy and mobile terminal that detect mobile terminal; First acquiring unit 300, for obtaining the precharge time that user is arranged when charging and starting; Control unit 400, for according to the temperature of this dump energy, this processor and the charging current controlling this mobile terminal this precharge time.
As one embodiment of the present invention, the first acquiring unit 300 specifically for:
When the charge port access charging current of this mobile terminal being detected, prompting user inputs for the charging interval;
Obtain the wish charging interval of user's input.
As one embodiment of the present invention, control unit 400 specifically for:
The fastest time t1 that this mobile terminal is full of electricity needs is calculated according to following formula;
The charging temperature coefficient k 1 of mobile terminal is calculated according to following formula;
The charging current I1 of this mobile terminal is calculated according to following formula;
Wherein, s1 represents the dump energy of this mobile terminal, s2 represents total electricity of this mobile terminal, w1 represents the temperature of this processor, w2 represents preset reference temperature, t2 represents the electricity of this mobile terminal with this maximum charging current from zero electricity to the time being full of electricity, and t3 represents this preset charged time, and I2 represents the maximum charging current of this mobile terminal.
As one embodiment of the present invention, this preset reference temperature is 25 degrees Celsius.
It should be noted that, the mobile terminal that the embodiment of the present invention provides is corresponding with the embodiment of the control method of above-mentioned mobile terminal charging current, and its operation principle and mode are all corresponding to be suitable for, and just repeats no more here.
In embodiments of the present invention, by detecting the temperature of the dump energy of mobile terminal and the processor of mobile terminal, and obtain the precharge time of user's setting when charging beginning, then according to the temperature of described dump energy, described processor and the charging current controlling described mobile terminal described precharge time, make mobile terminal can regulate the size of charging current according to the temperature of the processor of user's pre-planned charging interval and mobile terminal, promote user's experience, and coefficient of safety when promoting charging.
It will be appreciated by those skilled in the art that the unit comprised for above-described embodiment is carry out dividing according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skill in the art it is also understood that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.