CN110048473A - Charging current control method, terminal and storage medium - Google Patents

Charging current control method, terminal and storage medium Download PDF

Info

Publication number
CN110048473A
CN110048473A CN201810044972.9A CN201810044972A CN110048473A CN 110048473 A CN110048473 A CN 110048473A CN 201810044972 A CN201810044972 A CN 201810044972A CN 110048473 A CN110048473 A CN 110048473A
Authority
CN
China
Prior art keywords
charging current
temperature
current value
grade
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810044972.9A
Other languages
Chinese (zh)
Other versions
CN110048473B (en
Inventor
贾宝锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810044972.9A priority Critical patent/CN110048473B/en
Publication of CN110048473A publication Critical patent/CN110048473A/en
Application granted granted Critical
Publication of CN110048473B publication Critical patent/CN110048473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0091
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of charging current control method, terminal and storage mediums, belong to field of communication technology.The method comprising the steps of: calculating temperature variation;Judge whether temperature variation reaches the temperature threshold of the first temperature grade;If so, judging whether to receive the instruction for updating charging current value;If so, updating present charging current value is the first charging current value, and charged with the first charging current value.Charging current control method, terminal and storage medium of the invention can be compared according to the temperature variation in charging process from the temperature threshold in different temperature grade, and electric current more new command is received according to the practical impression of user, to update charging current value during use so that terminal temperature reaches the state of suitable user, not only reach best charge state, but also user experience can be prompted.

Description

Charging current control method, terminal and storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of charging current control methods, terminal and storage medium.
Background technique
With the development of mobile terminal charging technique, for high capacity cell, it is substantially all configured with fast charge technology, or Biggish charger, to accelerate the speed of charging, but the basic realization of fast charge is all to save the charging time to improve electric current. By taking mobile terminal is mobile phone as an example, existing charging current control method is to limit one according to the standard configuration charger size of mobile phone The maximum value of a corresponding electric current, while the current parameters of preset a set of fixation are understood inside mobile phone to carry out charging fever Electric current adjustment afterwards, in charging, by special fever control process according to preset a set of current parameters after cell-phone heating Carry out the adjustment of current value.
It under normal conditions, is the ultimate current debugged according to fever and speed due to the charging current parameter of mobile phone Parameter.If user only charges to mobile phone, general preset a set of current parameters can satisfy needs substantially, fill It can also accomplish basic balance in the speed of electricity and the fever of mobile phone.
However, in actual use, if user is to charge while using mobile phone to it, fixed is a set of Current parameters may will show various heating problems or frequently carry out current switching, lead to bad user experience, In addition, also unlikely in practice debug out the current parameters that a set of charging is generated heat with speed equilibrium for each application.
To solve the above problems, existing charging current control method is according to the size of mobile phone standard configuration charger, limitation One maximum current value, basic charging method are as follows: when detecting battery temperature at 10 degree to 45 degree, being limited using charger The maximum current of system charges, and when detecting battery temperature at 0 degree to 10 degree or at 45 degree to 50 degree (or 55 degree), uses one A lesser electric current charges.In terms of considering mobile phone charging fever, charging for battery at 10 degree to 45 degree, still There are further control and adjustment.The method of adjustment be battery temperature is detected using special fever control process, and Electric current is adjusted, it is general that when battery temperature reaches 39 degree or more, mobile phone just has slightly obvious fever, with The rising of battery temperature, fever can become seriously, at this time generate heat process will be according to preset temperature and current parameters pair It should be related to and carry out electric current adjustment.
But existing fever control process will do it the adjustment of charging current when temperature increases or reduces, at least It has following defects that
Fever control process is to carry out electric current adjustment according to the temperature and current parameters value of a set of fixation.Under normal conditions, Mobile phone is used if it is in charging, then a fixed sleeving temperature and current parameters cannot preferably obtain balance.For example, When playing big game, may at this time generate heat than more serious, then corresponding current value may be just under preset Current Temperatures It is larger, the rising of temperature can be aggravated.It is at this time preset to work as in addition, if it is class application of simply being surfed the Internet or chatted Corresponding current value may be just on the lower side at preceding temperature.It at this time just needs dynamically to adjust electric current according to current application scenarios Value.Secondly, each user does not have to the sensitivity of temperature, this is a subjective impression, there is certain deviation.For identical Temperature, the presumable user having feels it is warm, but some users feel it is heat, or the user that has feels it is hair It scalds.In this case, the temperature of a set of default and current parameters can not be applicable in the demand of multiple users.
Summary of the invention
It is a primary object of the present invention to propose a kind of charging current control method, terminal and storage medium, it is intended to solve Heating problem when opening application program while charging.
To achieve the above object, a kind of charging current control method provided by the invention, the described method comprises the following steps:
Calculate temperature variation;
When whether the temperature variation reaches the temperature threshold of the first temperature grade, judges whether to receive to update and charge The instruction of current value;
If so, updating present charging current value is the first charging current value, and with first charging current value progress Charging.
In addition, to achieve the above object, the present invention also proposes a kind of terminal, which is characterized in that the terminal includes processing Device and memory;
The processor is used to execute the charging current control program stored in memory, to realize above-mentioned method.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable Storage medium is stored with one or more program, and one or more of programs can be held by one or more processor Row, to realize above-mentioned method.
Charging current control method of the invention proposed by the present invention, by calculating temperature variation, when the temperature change Amount reaches the temperature threshold of the first temperature grade, and when the instruction of reception update charging current value, then updates current charging current Value is the first charging current value, and is charged with the first charging current value.Charging current control method of the invention, terminal and Storage medium can be compared according to the temperature variation in charging process from the temperature threshold in different temperature grade, and root Electric current more new command is received, according to the practical impression of user to update charging current value during use so that terminal temperature The state for reaching suitable user not only reaches best charge state, but also can prompt user experience.
Detailed description of the invention
Fig. 1 is the flow diagram for the charging current control method that the application first embodiment provides;
Fig. 2 is another flow diagram for the charging current control method that the application first embodiment provides;
Fig. 3 is the sub-process schematic diagram for the charging current control method that the application first embodiment provides;
Fig. 4 is the flow diagram for the charging current control method that the application second embodiment provides.
Fig. 5 is another flow diagram for the charging current control method that the application second embodiment provides;
Fig. 6 is the schematic diagram for the terminal hardware framework that the application 3rd embodiment provides;
Fig. 7 is the module diagram of charging control program in Fig. 6.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
First embodiment
As described in Figure 1, a kind of flow diagram of charging current control method is provided for the application first embodiment.Scheming In 1, the charging current control method the following steps are included:
Step 110, temperature variation is calculated;
Step 120, judge whether the temperature variation reaches the temperature threshold of the first temperature grade;If so, into Step 130, if it is not, then entering step 160;
Step 130, judge whether to receive the instruction for updating charging current value;If so, entering step 140;
Step 140, updating present charging current value is the first charging current value;
Step 150, it is charged with first charging current value;
Step 160, it is charged with present charging current value.
Further, as described in Figure 2, prior to step 110, the charging current control method of the present embodiment further includes following Step:
Step 210, in the charge state, judge whether to run at least one application program;If so, 220 are entered step, If it is not, then entering step 230;
Step 220, opening temperature monitoring pattern;
Step 230, it is charged with defaulting charging current value.
Specifically, whether real-time detection terminal has charger insertion, when judgement has charger insertion, sentence in step 210 A disconnected application program or multiple application programs with the presence or absence of operation, that is to say, that judge whether terminal is in side charging The situation of side operation application program.If there is the application program of operation, then 220 opening temperature monitoring patterns are entered step.On the contrary Ground enters step the common charging flow of 230 execution, and if the application program not run with the charging current of default Value charges.
Further, the terminal of the present embodiment can be implemented in a variety of manners.For example, terminal described in the present invention can To include such as mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable set The fixed terminals such as the mobile terminals such as standby, Intelligent bracelet, pedometer, and number TV, desktop computer.
After opening temperature monitoring pattern, then 110 are entered step, calculates the temperature change during running application program Amount, that is, the curved line relation of rising or the decline of temperature and time under current charging current is calculated, according in temperature It rises or the variable quantity of decline carrys out the value whether decision needs to increase or lower charging current.
More specifically, as shown in figure 3, step 110 specifically includes:
Step 310, obtain present charging current value C, at least one application program the first cycle of operation Δ t, with And the temperature change value Δ T in first cycle of operation Δ t;
Step 320, according to formula: (Δ T ÷ Δ t) × C calculates the temperature variation to T=.
Specifically, using the time that Δ t is run as current application, Δ T as during Δ t temperature rise or decline Value, C are current charging current, then the temperature risen under current charging current is expressed as T=(Δ T ÷ Δ t) × C.Example Such as, the time Δ t of application program A operation is 20 minutes, and Δ T is 5 degree, and current charging current is 1 peace, then according to above-mentioned formula Temperature variation T=(5 ÷ 20) * 1=0.25 degree of calculating indicated under 1A charging current, when operation application program A20 minutes When, the variable quantity that (minute) temperature rises in the unit time is 0.25 degree.
It is pre-configured with the temperature threshold Tc0 of the charging current of initialization and the basal temperature grade of temperature change, simultaneously also Multiple temperature grades and temperature threshold corresponding with multiple temperature grades can be configured, it may be assumed that Tc1, Tc2, Tc3, Tc4, Tc5, Tcmax, the relationship of these temperature grades are Tc0 < Tc1 < Tc2 < Tc3 < Tc4 < Tc5 < Tcmax, these temperature grades are in difference The charging current temperature threshold values calculated are debugged under charging current range according to the same charging time.For example, Tc0 is electricity Stream is corresponding value under 500mA to 800mA, and Tc1 is that electric current is corresponding value under 800mA to 1100mA, and Tc2 is that electric current is Corresponding value under 1100mA to 1500mA, Tc3 are that electric current is 1500mA to 1800mA, and Tc4 is that electric current is 1800mA to 2100mA, Tc5 is that electric current is the corresponding value of 2100mA to 2500mA.In the present embodiment, preconfigured parameter is according to user's operation Actual conditions recycle heating current control parameter of the calibrating terminal in charging.It in this way can be according to the environment temperature around user The change conditions such as degree, aging conditions make suitable parameter.If there is multiple and different users, then can first meet current The first demand of user, such as: can increase heating tape slightly carry out the promotion of charging rate.
In the step 120, it will usually which the charging current of distribution basis temperature grade is filled as present charging current value Electricity, the and whether temperature variation calculated in judgment step 110 reaches the corresponding temperature threshold of basal temperature grade, it is specific and Speech, judges whether temperature variation is higher than the corresponding temperature threshold Tc0 of basal temperature grade, or whether judge temperature variation Temperature threshold Tc0 corresponding lower than basal temperature grade.If the determination result is YES, then generation system prompt information, and entrance step Rapid 130 further determine whether to receive the instruction that the reception sent from user updates charging current value.When receive from When the reception that user sends updates the instruction of charging current value, then entering step 140 and updating present charging current value is first Charging current value, and charged with first charging current value.On the contrary, being connect when without reception from what user sent When receiving the instruction for updating charging current value, or receiving from the instruction for the refusal update charging current value that user sends, then It enters step 160 and is charged with current charging current value.
Optionally, after step 140, can with the following steps are included:
First temperature grade is adjusted to second temperature grade corresponding with present charging current value.Specifically, if the step Suddenly it is carried out before step 140, then first updates temperature grade, then cooperate suitable charging current from updated temperature grade Value.If the step carries out after step 140, updated according to the charging current value of update to corresponding temperature grade.
Optionally, system prompt information can be with " fever need to seriously reduce charging current " or " fever well may be used The prompting frame of raising charging current " is additionally provided with the function button of " determination ", " refusal ", " closing " in prompting frame.
Optionally, step 160 can be substituted by following steps:
When temperature variation is higher than the temperature threshold of the first temperature grade, then increasing the present charging current value is the Two charging current values are charged with second charging current value, and the first temperature grade are updated to second temperature grade, The second temperature grade is higher than first temperature grade;
Alternatively, then reducing the current charging current when temperature variation is lower than the temperature threshold of the first temperature grade Value is third charging current value, is charged with the third charging current value, and the first temperature grade is updated to third temperature Grade is spent, the third temperature grade is lower than first temperature grade.
Optionally, it is updated if not receiving the instruction for updating charging current value or receiving the refusal sent from user When reaching preset times when the instruction of charging current value, and in the case where increasing temperature grade and charging current value, if When Current Temperatures variable quantity is still higher than updated temperature grade corresponding temperature threshold, then temperature grade and correspondence are reduced automatically Temperature threshold to play the effect of fool proof.
Illustratively, in charging, when detection has application program B operation, basal temperature grade Tc0 is first loaded, and lead to It crosses the corresponding charging current of Tc0 to charge, calculates Current Temperatures variable quantity by certain period (such as 5 seconds), counting When calculation, a relatively stable temperature variation, can take the several periods fixed before and after specific period as one in order to obtain A period, such as 10 periods are set as, if inadequate 10 periods, take current all periods.First week was set The temperature variation of phase is Δ Tc1, the temperature variation Δ Tc2 of second period ..., the temperature variation Δ in n-th period Tcn.If currently when second period is detected, then the temperature variation Δ Tc2 of detection calculating current period first exists Calculating the temperature variation till now that application program B most starts is (Δ Tc1+ Δ Tc2) ÷ 2, and the temperature in two periods is become Change amount do it is average after as the temperature variation under current application, the subsequent period.If it find that current charging electricity It flows down corresponding temperature variation and is lower than basic threshold T c0, then prompt user " fever well can raising charging current ", if It receives user and agrees to the instruction updated, then increase the corresponding current value of one grade of temperature grade and charge.When increase charging current Afterwards, it while needing to update threshold value for corresponding temperature variation Tc1 under current flow range, repeats above-mentioned steps and open again Beginning is counted.
If it find that corresponding temperature variation is greater than updated threshold value under current charging current, then user is prompted " fever need to seriously reduce charging current ", if user disagrees, can also increase charging current, and update temperature change simultaneously Threshold value is measured to a upper grade Tc2, and so on, and prompt information " fever need to seriously reduce charging current " is pushed, if User disagrees always, when maximum value is arrived in update, with regard to automatically carrying out reducing electric current to a low grade.If user is same Meaning then just reducing by one grade of charging current, while needing to update corresponding temperature variation under the current range, and repeats Above-mentioned steps continue to control charging current.
Optionally, the fever of terminal, such as game mode, view can be debugged with the charging heat generation parameter of preset different scenes Frequency mode, mode of chatting on line, shopping mode etc., and the charge parameter under default different mode.
Charging current control method provided in this embodiment, by calculating temperature variation, when judging the temperature variation When reaching the temperature threshold of the first temperature grade, and receiving the instruction for updating charging current value, then present charging current value is updated For the first charging current value, and charged with the first charging current value.User applies the terminal of the present embodiment in actual use In the process, corresponding hair can be customized using the habit of each application program and the behavior pattern of application program itself according to user Hot charging current limits parameter.For the excessively high serious application of fever, charging current can be constantly reduced to reach during use Reach a reasonable state to fever is reduced.And the application that performance requirement is not high, continuous raising charging current accelerate charging speed Degree, gives full play to the resource efficiency of hardware under the equilibrium of charging current and fever.
Second embodiment
As shown in figure 4, the flow diagram of the charging current control method provided for the application second embodiment.Second In embodiment, the charging current control method is made further improvement on the basis of first embodiment, and difference is only It is, the method also includes following steps:
Step 410, it monitors at least one application program and exits or disconnect charging connection;
Step 420, judge that the temperature variation of at least one application program during operation is higher or lower than institute Whether the duration for stating the temperature threshold of the first temperature grade meets preset time threshold;If so, entering step 430;
Step 430, judge whether to receive the instruction for updating the corresponding charge parameter of at least one described application program;If It is then to enter step 440, if it is not, then entering step 460;
Step 440, warm using updated temperature grade and charging current value as study corresponding with the application program Spend grade and study charging current value;
Step 450, the corresponding study temperature grade of at least one application program and study charging current value are saved;
Step 460, using current temperature grade and charging current value as study temperature corresponding with the application program Grade and study charging current value.
Specifically, when detect application program exit perhaps pull out charger when by this application program operation during or Charger charge during complete machine temperature be compared with temperature threshold, if it find that complete machine temperature in long-play still It lower than temperature threshold, then reminds user " fever well can raising charging current ", user selects to promote temperature grade simultaneously after agreeing to Updated data are saved in charging current parameter configuration files.Simultaneously by the result write-in application system of this operating statistic It counts in library, so that next same application domain directly can use this updated as a result, followed by reforwarding when opening Row, and wait next circulation.
With the variation in season, user's perception terminal complete machine temperature be will be different, and different users is to identical whole The perception of machine temperature also can be different, and self-study mechanism through this embodiment can be adapted for different user and all keep preferable Using experience degree.
Optionally, in the present embodiment, big data cloud computing can be used, learnt based on server end and trained, In the circulation Jing Guo multiple above-mentioned steps, to using same type of terminal all to carry out statistical learning, finally trains and be directed to Some applies relatively good charging heating current control parameter, is directly being issued in terminal from the background, when certain application of use It can directly be used when program.
Correspondingly, in the present embodiment, as shown in figure 5, after opening temperature monitoring pattern, the charging current control Method further comprises the steps of:
Step 510, study temperature grade corresponding with application program and study charging current value are judged whether there is;If It is then to enter step 520;If it is not, then judging whether temperature variation reaches the temperature threshold of the first temperature grade;
Step 520, charge parameter is configured according to the study temperature grade and the study charging current value.
Specifically, being matched when detection has the application program of operation by the name-matches charging current parameter of application program The corresponding charge parameter of file is set, to judge whether there is study temperature grade corresponding with the application program and study charging electricity Flow valuve, if it is judged that be it is yes, then current charging heating electric flow valuve update is charged.Meanwhile it being transported in application program In capable process, temperature, the current charging current for calculating study for recording each temperature sensor of terminal inner in real time are corresponding Temperature variation and battery temperature, using information preservations such as times into parameter configuration files.
The charging current control method of the present embodiment saves operation in each charging process by self-study mechanism and applies journey The corresponding temperature grade of sequence and charging current value are identical in order to run during subsequent charge by repeatedly learning and training It is directly matched to optimum temperature temperature grade and charging current value when application program, while being brought for user and preferably using body It tests.
3rd embodiment
As shown in fig. 6, providing a kind of schematic diagram of terminal hardware framework for the application 3rd embodiment.In Fig. 6, terminal Include: memory 610, processor 620 and is stored on the memory 610 and what can be run on the processor 620 fills Electric current control program 630.In the present embodiment, charging current control program 630 includes a series of is stored in The present invention may be implemented when the computer program instructions are executed by processor 620 in computer program instructions on reservoir 610 The charging current of each embodiment controls operation.In some embodiments, it is realized based on the computer program instructions each section Specific operation, charging current control program 630 can be divided into one or more modules.As shown in fig. 7, charging current control Processing procedure sequence 630 includes computing module 710, judgment module 720, update module 730, charging module 740, temperature monitoring module 750. Wherein,
Computing module 710, for calculating temperature variation;
Judgment module 720, for judging whether the temperature variation reaches the temperature threshold of the first temperature grade;If It is that then further judgement enters step the instruction for whether receiving and updating charging current value to judgment module 720, if so, triggering is more New module 730 is the first charging current value for updating present charging current value, and triggers charging module 740, for described First charging current value charges;
If judgment module 720 judges that temperature variation does not reach the temperature threshold of the first temperature grade, charging module 740, it is also used to charge with present charging current value.
Further, in the charge state, judgment module 720 are also used to judge whether to run at least one application program; If so, triggering temperature monitoring module 750, is used for opening temperature monitoring pattern;If it is not, then trigger charging module 740, for Default charging current value charges.
Specifically, whether real-time detection terminal has charger insertion, and when judgement has charger insertion, judgment module 720 Judge whether there is the application program or multiple application programs of operation, that is to say, that judgment module 720 judges that terminal is It is no to be in the situation that application program is run in charging.If there is the application program of operation, then temperature monitoring module 750 opens temperature Spend monitoring pattern.On the contrary, if the application program not run, execute common charging flow, and charging module 740 with The charging current value of default charges.
Further, the terminal of the present embodiment can be implemented in a variety of manners.For example, terminal described in the present invention can To include such as mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable set The fixed terminals such as the mobile terminals such as standby, Intelligent bracelet, pedometer, and number TV, desktop computer.
After 750 opening temperature monitoring pattern of temperature monitoring module, then computing module 710 is calculated in operation application program The temperature variation of period, that is, computing module 710 calculate under current charging current the rising of temperature and time or under Whether the curved line relation of drop needs to increase or lower charging current with the variable quantity for rising according to temperature or declining come decision Value.
More specifically, computing module 710 is specifically used for:
Obtain present charging current value C, the first cycle of operation Δ t of at least one application program and described Temperature change value Δ T in first cycle of operation Δ t;
According to formula: (Δ T ÷ Δ t) × C calculates the temperature variation to T=.
Specifically, using the time that Δ t is run as current application, Δ T as during Δ t temperature rise or decline Value, C are current charging current, then the temperature risen under current charging current is expressed as T=(Δ T ÷ Δ t) × C.Example Such as, the time Δ t of application program A operation is 20 minutes, and Δ T is 5 degree, and current charging current is 1 peace, then according to above-mentioned formula Temperature variation T=(5 ÷ 20) * 1=0.25 degree of calculating indicated under 1A charging current, when operation application program A20 minutes When, the variable quantity that (minute) temperature rises in the unit time is 0.25 degree.
It is pre-configured with the temperature threshold Tc0 of the charging current of initialization and the basal temperature grade of temperature change, simultaneously also Multiple temperature grades and temperature threshold corresponding with multiple temperature grades can be configured, it may be assumed that Tc1, Tc2, Tc3, Tc4, Tc5, Tcmax, the relationship of these temperature grades are Tc0 < Tc1 < Tc2 < Tc3 < Tc4 < Tc5 < Tcmax, these temperature grades are in difference The charging current temperature threshold values calculated are debugged under charging current range according to the same charging time.For example, Tc0 is electricity Stream is corresponding value under 500mA to 800mA, and Tc1 is that electric current is corresponding value under 800mA to 1100mA, and Tc2 is that electric current is Corresponding value under 1100mA to 1500mA, Tc3 are that electric current is 1500mA to 1800mA, and Tc4 is that electric current is 1800mA to 2100mA, Tc5 is that electric current is the corresponding value of 2100mA to 2500mA.In the present embodiment, preconfigured parameter is according to user's operation Actual conditions recycle heating current control parameter of the calibrating terminal in charging.It in this way can be according to the environment temperature around user The change conditions such as degree, aging conditions make suitable parameter.If there is multiple and different users, then can first meet current The first demand of user, such as: can increase heating tape slightly carry out the promotion of charging rate.
Would generally the charging current of distribution basis temperature grade charge as present charging current value, judgment module Whether 720 temperature variations for judging that computing module 710 calculates reach the corresponding temperature threshold of basal temperature grade, it is specific and Speech, judges whether temperature variation is higher than the corresponding temperature threshold Tc0 of basal temperature grade, or whether judge temperature variation Temperature threshold Tc0 corresponding lower than basal temperature grade.If the determination result is YES, then generation system prompt information, judgment module 720 further determine whether to receive the instruction that the reception sent from user updates charging current value.When receive from When the reception that family is sent updates the instruction of charging current value, then it is the first charging that update module 730, which updates present charging current value, Current value, charging module 740 are charged with first charging current value.On the contrary, being sent out when without receiving from user The reception sent updates the instruction of charging current value, or receives the instruction that the refusal sent from user updates charging current value When, then charging module 740 is charged with current charging current value.
Optionally, update module 730 are also used to adjust the first temperature grade to corresponding with present charging current value Two temperature grades.
Specifically, update module 730 can first update temperature grade, then cooperate suitably from updated temperature grade Charging current value.Update module 730 can also be updated according to the charging current value of update to corresponding temperature grade.
Optionally, system prompt information can be with " fever need to seriously reduce charging current " or " fever well may be used The prompting frame of raising charging current " is additionally provided with the function button of " determination ", " refusal ", " closing " in prompting frame.
Optionally, when temperature variation is higher than the temperature threshold of the first temperature grade, then update module 730, are also used to Increasing the present charging current value is the second charging current value, is charged with second charging current value, and by first Temperature grade is updated to second temperature grade, and the second temperature grade is higher than first temperature grade;
Alternatively, then update module 730, are also used to subtract when temperature variation is lower than the temperature threshold of the first temperature grade The small present charging current value is third charging current value, is charged with the third charging current value, and warm by first Degree grade is updated to third temperature grade, and the third temperature grade is lower than first temperature grade.
Optionally, it is updated if not receiving the instruction for updating charging current value or receiving the refusal sent from user When reaching preset times when the instruction of charging current value, and in the case where increasing temperature grade and charging current value, if When Current Temperatures variable quantity is still higher than updated temperature grade corresponding temperature threshold, then temperature grade and correspondence are reduced automatically Temperature threshold to play the effect of fool proof.
Illustratively, in charging, when detection has application program B operation, basal temperature grade Tc0 is first loaded, and lead to It crosses the corresponding charging current of Tc0 to charge, calculates Current Temperatures variable quantity by certain period (such as 5 seconds), counting When calculation, a relatively stable temperature variation, can take the several periods fixed before and after specific period as one in order to obtain A period, such as 10 periods are set as, if inadequate 10 periods, take current all periods.First week was set The temperature variation of phase is Δ Tc1, the temperature variation Δ Tc2 of second period ..., the temperature variation Δ in n-th period Tcn.If currently when second period is detected, then the temperature variation Δ Tc2 of detection calculating current period first exists Calculating the temperature variation till now that application program B most starts is (Δ Tc1+ Δ Tc2) ÷ 2, and the temperature in two periods is become Change amount do it is average after as the temperature variation under current application, the subsequent period.If it find that current charging electricity It flows down corresponding temperature variation and is lower than basic threshold T c0, then prompt user " fever well can raising charging current ", if It receives user and agrees to the instruction updated, then increase the corresponding current value of one grade of temperature grade and charge.When increase charging current Afterwards, it while needing to update threshold value for corresponding temperature variation Tc1 under current flow range, repeats above-mentioned steps and open again Beginning is counted.
If it find that corresponding temperature variation is greater than updated threshold value under current charging current, then user is prompted " fever need to seriously reduce charging current ", if user disagrees, can also increase charging current, and update temperature change simultaneously Threshold value is measured to a upper grade Tc2, and so on, and prompt information " fever need to seriously reduce charging current " is pushed, if User disagrees always, when maximum value is arrived in update, with regard to automatically carrying out reducing electric current to a low grade.If user is same Meaning then just reducing by one grade of charging current, while needing to update corresponding temperature variation under the current range, and repeats Above-mentioned steps continue to control charging current.
Optionally, the fever of terminal, such as game mode, view can be debugged with the charging heat generation parameter of preset different scenes Frequency mode, mode of chatting on line, shopping mode etc., and the charge parameter under default different mode.
In other embodiments, terminal further includes monitoring modular 760 and preserving module 770, wherein
Monitoring modular 760 exits or disconnects charging connection for monitoring at least one described application program;
Correspondingly, judgment module 720, is also used to judge the temperature change of at least one application program during operation Whether the duration that amount is higher or lower than the temperature threshold of first temperature grade meets preset time threshold;If It is that then judgment module 720 further determines whether to receive the finger for updating the corresponding charge parameter of at least one described application program It enables;
If so, triggering update module 730, for being answered using updated temperature grade and charging current value as with described With the corresponding study temperature grade of program and study charging current value, preserving module 770, for saving at least one described application The corresponding study temperature grade of program and study charging current value
If it is not, then trigger update module 730, for using current temperature grade and charging current value as with the application The corresponding study temperature grade of program and study charging current value.
Specifically, when detect application program exit perhaps pull out charger when by this application program operation during or Charger charge during complete machine temperature be compared with temperature threshold, if it find that complete machine temperature in long-play still It lower than temperature threshold, then reminds user " fever well can raising charging current ", user selects to promote temperature grade simultaneously after agreeing to Updated data are saved in charging current parameter configuration files.Simultaneously by the result write-in application system of this operating statistic It counts in library, so that next same application domain directly can use this updated as a result, followed by reforwarding when opening Row, and wait next circulation.
With the variation in season, user's perception terminal complete machine temperature be will be different, and different users is to identical whole The perception of machine temperature also can be different, and self-study mechanism through this embodiment can be adapted for different user and all keep preferable Using experience degree.
Optionally, in the present embodiment, big data cloud computing can be used, learnt based on server end and trained, In the circulation Jing Guo multiple above-mentioned steps, to using same type of terminal all to carry out statistical learning, finally trains and be directed to Some applies relatively good charging heating current control parameter, is directly being issued in terminal from the background, when certain application of use It can directly be used when program.
Correspondingly, after opening temperature monitoring pattern, judgment module 720 is also used to judge whether there is and applies journey The corresponding study temperature grade of sequence and study charging current value;If so, charging module 740 according to the study temperature grade and The study charging current value configures charge parameter;If it is not, then triggering judgment module 720 judges whether temperature variation reaches The temperature threshold of one temperature grade.
Specifically, being matched when detection has the application program of operation by the name-matches charging current parameter of application program The corresponding charge parameter of file is set, to judge whether there is study temperature grade corresponding with the application program and study charging electricity Flow valuve, if it is judged that be it is yes, then current charging heating electric flow valuve update is charged.Meanwhile it being transported in application program In capable process, temperature, the current charging current for calculating study for recording each temperature sensor of terminal inner in real time are corresponding Temperature variation and battery temperature, using information preservations such as times into parameter configuration files.
Terminal provided in this embodiment calculates temperature variation by computing module 710, when the judgement of judgment module 720 should Temperature variation reaches the temperature threshold of the first temperature grade, and when the instruction of reception update charging current value, then update module 730 update present charging current value for the first charging current value, and charging module 740 is charged with the first charging current value.With Family can use the habit and application of each application program in the terminal procedures that the present embodiment is applied in actual use according to user The behavior pattern of program itself customizes corresponding fever charging current and limits parameter.For the excessively high serious application of fever, use During can constantly reduce charging current reach reduce fever reach a reasonable state.And performance requirement is not high answers With continuous raising charging current accelerates charging rate, and the resource effect of hardware is given full play under the equilibrium of charging current and fever Rate.
Fourth embodiment
The embodiment of the present application also provides a kind of computer readable storage mediums.Here computer readable storage medium is deposited Contain one or more program.Wherein, computer readable storage medium may include volatile memory, such as arbitrary access Memory;Memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid-state are hard Disk;Memory can also include the combination of the memory of mentioned kind.When one or more in computer readable storage medium Program can be executed by one or more processor, to realize that charging current provided by above-described embodiment 1 or embodiment 2 controls Method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of charging current control method, which is characterized in that the described method comprises the following steps:
Calculate temperature variation;
When the temperature variation reaches the temperature threshold of the first temperature grade, judge whether to receive update charging current value Instruction;
If so, updating present charging current value is the first charging current value, and charged with first charging current value.
2. the method according to claim 1, wherein the method is also before the calculating temperature variation Include:
In the charge state, judge whether to run at least one application program;
If so, opening temperature monitoring pattern;
If it is not, then being charged with defaulting charging current value.
3. according to the method described in claim 2, it is characterized in that, the method is also wrapped after opening temperature monitoring pattern It includes:
Judge whether there is study temperature grade corresponding at least one described application program and study charging current value;
If so, configuring charge parameter according to the study temperature grade and the study charging current value.
4. the method according to claim 1, wherein being the first charging current value updating present charging current value Later, the method also includes:
First temperature grade is adjusted to second temperature grade corresponding with the present charging current value.
5. according to the method described in claim 2, it is characterized in that, calculating temperature variation, comprising:
Obtain present charging current value C, the first cycle of operation Δ t of at least one application program and described first Temperature change value Δ T in cycle of operation Δ t;
According to formula: (Δ T ÷ Δ t) × C calculates the temperature variation to T=.
6. the method according to claim 1, wherein when judgement do not receive update charging current value instruction when, The method also includes:
It is charged with present charging current value;
Alternatively, then increasing the present charging current value is when temperature variation is higher than the temperature threshold of the first temperature grade Second charging current value is charged with second charging current value, and the first temperature grade is updated to second temperature etc. Grade, the second temperature grade are higher than first temperature grade;
Alternatively, then reducing the present charging current value is when temperature variation is lower than the temperature threshold of the first temperature grade Third charging current value is charged with the third charging current value, and the first temperature grade is updated to third temperature etc. Grade, the third temperature grade are lower than first temperature grade.
7. according to the method described in claim 2, it is characterized in that, the method also includes:
It monitors at least one described application program and exits or disconnect charging connection;
It is higher or lower than first temperature grade in the temperature variation of at least one described application program during operation Duration of temperature threshold meet preset time threshold, and receive and update that described at least one application program is corresponding fills Using updated temperature grade and charging current value as study temperature corresponding with the application program when instruction of electrical parameter Grade and study charging current value;
If it is not, then using current temperature grade and charging current value as study temperature grade corresponding with the application program and Learn charging current value.
8. the method according to claim 1, wherein being the first charging current value updating present charging current value Later, the method also includes:
Save the corresponding study temperature grade of at least one application program and study charging current value.
9. a kind of terminal, which is characterized in that the terminal includes processor and memory;
The processor is used to execute the charging current control program stored in memory, to realize any one of claim 1-8 The method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 is any Method described in.
CN201810044972.9A 2018-01-17 2018-01-17 Charging current control method, terminal and storage medium Active CN110048473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810044972.9A CN110048473B (en) 2018-01-17 2018-01-17 Charging current control method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810044972.9A CN110048473B (en) 2018-01-17 2018-01-17 Charging current control method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110048473A true CN110048473A (en) 2019-07-23
CN110048473B CN110048473B (en) 2023-05-02

Family

ID=67273078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810044972.9A Active CN110048473B (en) 2018-01-17 2018-01-17 Charging current control method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110048473B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110649679A (en) * 2019-10-11 2020-01-03 Oppo广东移动通信有限公司 Terminal temperature control method, device, equipment and storage medium
CN111538390A (en) * 2020-03-27 2020-08-14 努比亚技术有限公司 Method for controlling terminal temperature, terminal and computer readable storage medium
WO2021155709A1 (en) * 2020-02-04 2021-08-12 华为技术有限公司 Charging control method and electronic device
CN113422412A (en) * 2021-07-01 2021-09-21 广州飞傲电子科技有限公司 Temperature protection method and device, terminal equipment and readable storage medium
CN113595202A (en) * 2021-08-10 2021-11-02 西安广和通无线软件有限公司 Charging current control method and device, electronic equipment and storage medium
CN114726013A (en) * 2021-01-04 2022-07-08 北京小米移动软件有限公司 Method and device for acquiring bright screen charging current, electronic equipment and storage medium
CN116054298A (en) * 2022-06-13 2023-05-02 荣耀终端有限公司 Charging method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867743A (en) * 2010-06-08 2010-10-20 中兴通讯股份有限公司 Method and device for starting mobile TV in mobile broadcast business management system
CN103956792A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method and device for controlling charging temperature rise of mobile terminal
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal
KR20170027057A (en) * 2015-09-01 2017-03-09 주식회사 엘지화학 Method of UPS battery charge
CN107196363A (en) * 2017-05-23 2017-09-22 努比亚技术有限公司 Adjust method, terminal and the computer-readable recording medium of charging current

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867743A (en) * 2010-06-08 2010-10-20 中兴通讯股份有限公司 Method and device for starting mobile TV in mobile broadcast business management system
CN103956792A (en) * 2014-05-08 2014-07-30 深圳市中兴移动通信有限公司 Method and device for controlling charging temperature rise of mobile terminal
KR20170027057A (en) * 2015-09-01 2017-03-09 주식회사 엘지화학 Method of UPS battery charge
CN105224062A (en) * 2015-09-28 2016-01-06 深圳市金立通信设备有限公司 A kind of terminal control method and terminal
CN107196363A (en) * 2017-05-23 2017-09-22 努比亚技术有限公司 Adjust method, terminal and the computer-readable recording medium of charging current

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110649679A (en) * 2019-10-11 2020-01-03 Oppo广东移动通信有限公司 Terminal temperature control method, device, equipment and storage medium
WO2021155709A1 (en) * 2020-02-04 2021-08-12 华为技术有限公司 Charging control method and electronic device
CN111538390A (en) * 2020-03-27 2020-08-14 努比亚技术有限公司 Method for controlling terminal temperature, terminal and computer readable storage medium
CN114726013A (en) * 2021-01-04 2022-07-08 北京小米移动软件有限公司 Method and device for acquiring bright screen charging current, electronic equipment and storage medium
CN113422412A (en) * 2021-07-01 2021-09-21 广州飞傲电子科技有限公司 Temperature protection method and device, terminal equipment and readable storage medium
CN113595202A (en) * 2021-08-10 2021-11-02 西安广和通无线软件有限公司 Charging current control method and device, electronic equipment and storage medium
CN116054298A (en) * 2022-06-13 2023-05-02 荣耀终端有限公司 Charging method and electronic equipment
CN116054298B (en) * 2022-06-13 2023-10-20 荣耀终端有限公司 Charging method and electronic equipment

Also Published As

Publication number Publication date
CN110048473B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN110048473A (en) Charging current control method, terminal and storage medium
CN104879888B (en) The automatic setting method and device of family&#39;s electrical parameter
CN110709717B (en) Method for estimating battery health of mobile device based on relaxation voltage
US10044212B2 (en) Modeling a change in battery degradation
CN106655396B (en) Charge control method, device and terminal
Chen et al. Accurate electrical battery model capable of predicting runtime and IV performance
CN108777331B (en) Charging control method and device for lithium ion battery in electronic equipment
CN105760656B (en) Battery remaining charging time estimation method
CN113030742B (en) Method, device and equipment for estimating battery capacity
CN109690900A (en) A kind of method and terminal of charging
CN110011374A (en) A kind of control method, system and the terminal device of battery charging and discharging electric current
US20180321730A1 (en) Methods for adaptive battery charging and electronic device thereof
CN107077181A (en) A kind of charging current limiter method, device and electronic equipment
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
JP2022041931A (en) Method and apparatus for battery state estimation
CN109037810A (en) A kind of charging method of battery, device and battery system
CN110474400A (en) A kind of battery pack equilibrium method and device
CN115512777B (en) Electrochemical model parameter identification method and system based on capacity change rate
He et al. iCharge: User-interactive charging of mobile devices
TW202137045A (en) Simulated battery control device, electronic apparatus, charger, and simulated battery control method
Ghassani et al. Prediction of smarthphone charging using K-nearest neighbor machine learning
CN116418056A (en) Charging control method, electronic device, and computer-readable storage medium
CN112737026B (en) Battery charging control method and device, electronic equipment and storage medium
KR20200085575A (en) Apparatus and method for determing maximum allowable power of a battery pack
US20210315280A1 (en) Determining a diagnostic associated with an electronic smoking article

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant