CN109888889A - A kind of charge control method, device, storage medium and electronic equipment - Google Patents

A kind of charge control method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109888889A
CN109888889A CN201910288837.3A CN201910288837A CN109888889A CN 109888889 A CN109888889 A CN 109888889A CN 201910288837 A CN201910288837 A CN 201910288837A CN 109888889 A CN109888889 A CN 109888889A
Authority
CN
China
Prior art keywords
current
preset
battery
temperature
charging
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
CN201910288837.3A
Other languages
Chinese (zh)
Other versions
CN109888889B (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.)
Xiamen Jiupin Sesame Information Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910288837.3A priority Critical patent/CN109888889B/en
Publication of CN109888889A publication Critical patent/CN109888889A/en
Application granted granted Critical
Publication of CN109888889B publication Critical patent/CN109888889B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Landscapes

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

Abstract

This application discloses a kind of charge control method, device, storage medium and electronic equipments, and wherein charge control method includes: in the process of charging the battery, to obtain current battery temperature;When the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted;In the first preset time, the number of operations for exchanging current is counted;When detecting that the number of operations reaches preset times, then in the second preset time forbid that electric current is adjusted.In this programme, the number of operations for adjusting electric current is combined using battery temperature, whether the co- controlling electronic equipment is adjusted the electric current of charging, to while guaranteeing the rapidity and safety of charging, it effectively prevent frequently adjusting charging current in charging process, to improve the stability of electronic equipment charging.

Description

A kind of charge control method, device, storage medium and electronic equipment
Technical field
The application belongs to electronic technology field more particularly to a kind of charge control method, device, storage medium and electronics are set It is standby.
Background technique
With the continuous development of terminal, intelligent terminal is gradually dissolved among daily life, and user can lead to The internet program that voluntarily third party service providers such as down loading mounting software, game provide is crossed, terminal is expanded by this class method Function.This also increases accordingly the power reguirements of terminal while user-friendly.
In the related technology, terminal uses the battery of larger capacity, meets the routine use of user to provide sufficient electric power Demand.Because using larger capacity battery, in order to guarantee the rapidity and safety of terminal charge, then in battery charging process Control requires higher.And current charging modes, exist and increase charging current after frequently reducing charging current again, makes charge function Unstable defect.
Summary of the invention
The embodiment of the present application provides a kind of charge control method, device, storage medium and electronic equipment, can guarantee eventually While holding the rapidity and safety of charging, prevent from frequently adjusting charging current in charging process, to improve terminal charge Stability.
In a first aspect, the embodiment of the present application provides a kind of charge control method, comprising:
In the process of charging the battery, current battery temperature is obtained;
When the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted;
In the first preset time, the number of operations for exchanging current is counted;
When detecting that the number of operations reaches preset times, then forbid adjusting electric current in the second preset time Section.
Second aspect, the embodiment of the present application provide a kind of battery charge controller, comprising:
Module is obtained, in the process of charging the battery, obtaining current battery temperature;
Adjustment module, for when the battery temperature is unsatisfactory for preset temperature condition, current flow to be adjusted;
Statistical module, in the first preset time, the number of operations for exchanging current to be counted;
Disabled module, for when detecting that the number of operations reaches preset times, then prohibiting in the second preset time Only electric current is adjusted.
The third aspect, storage medium provided by the embodiments of the present application, is stored thereon with computer program, when the computer When program is run on computers, so that the computer executes the charge control method provided such as the application any embodiment.
Fourth aspect, electronic equipment provided by the embodiments of the present application, including processor and memory, the memory have meter Calculation machine program, the processor is by calling the computer program, for executing as what the application any embodiment provided fills Electric control method.
In the present embodiment, during battery charging, the available current battery temperature of electronic equipment, when the battery When temperature is unsatisfactory for preset temperature condition, then current flow is adjusted, and in the first preset time, exchanges current Number of operations is counted, and then when detecting that the number of operations reaches preset times, is then prohibited in the second preset time Only electric current is adjusted, to be effectively prevent in charging process frequently while guaranteeing the rapidity and safety of charging Charging current is adjusted, to improve the stability of terminal charge.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made And its advantages are apparent.
Fig. 1 is the schematic diagram of a scenario of charge control method provided by the embodiments of the present application.
Fig. 2 is the first pass schematic diagram of charge control method provided by the embodiments of the present application.
Fig. 3 is the second procedure schematic diagram of charge control method provided by the embodiments of the present application.
Fig. 4 is the first structure diagram of battery charge controller provided by the embodiments of the present application.
Fig. 5 is the second structural schematic diagram of battery charge controller provided by the embodiments of the present application.
Fig. 6 is the third structural schematic diagram of battery charge controller provided by the embodiments of the present application.
Fig. 7 is the first structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 8 is the second structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
The following description be based on illustrated by the application specific embodiment, be not construed as limitation the application not herein The other specific embodiments being described in detail.Term as used herein " module " can regard the software pair to execute in the arithmetic system as As.This paper disparate modules, engine and service can be regarded as the objective for implementation in the arithmetic system.
The embodiment of the present application provides a kind of charge control method, and the executing subject of the charge control method can be the application The battery charge controller that embodiment provides, or it is integrated with the electronic equipment of the battery charge controller.Wherein, electronic equipment includes Temperature sensor, battery and its charging interface, the electronic equipment can be smart phone, tablet computer, palm PC (PDA, Personal Digital Assistant) etc..
Concrete analysis explanation is carried out below.
Referring to Fig. 1, Fig. 1 is the schematic diagram of a scenario of charge control method provided by the embodiments of the present application.Electronic equipment When battery is in charged state, battery temperature is detected, when battery temperature is higher than thresholding or is lower than thresholding, in the first predetermined time Statistics is higher than thresholding or whether reaches presetting maximum number of times value lower than the number of thresholding in section;When judging in the first pre- timing Between in section statistics be higher than thresholding or reach presetting upper limit value lower than the number of thresholding, then forbid charging current that function is set automatically (order of any charging current setting can not be responded at this time);It is higher than thresholding or pre- lower than Threshold detection waiting second when forbidding It after section of fixing time, does not detect again higher than thresholding or lower than thresholding, then restores charging current automatically and function is set.Wherein, When charging current setting function is available, when battery temperature is higher than thresholding, the charging current being correspondingly arranged is the first charging electricity Stream;When battery temperature is lower than thresholding, the charging current being correspondingly arranged is the second charging current;Wherein, the first charging current is small In the second charging current.
The embodiment of the present application provides a kind of charge control method, is applied to electronic equipment, referring to Fig. 2, Fig. 2 is the application The first pass schematic diagram for the charge control method that embodiment provides, the charge control method may comprise steps of:
101, current battery temperature in the process of charging the battery, is obtained.
In some embodiments, which can detect automatically whether charging interface connect with power supply adaptor, work as inspection When measuring charging interface and connecting with power supply adaptor, the battery of the electronic equipment is in charged state.Wherein, if detecting electronics The charging interface of equipment is not connect with power supply adaptor, then continue to test the electronic equipment charging interface whether with power adaptation Device connection, until detecting that the charging interface of electronic equipment is connect with power supply adaptor.If detecting the charging of electronic equipment Mouth is connect with power supply adaptor, obtains current battery temperature.
Wherein, because when the battery of the electronic equipment is in charged state, for the rapidity of charging, big electricity is generallyd use Current charge.It is accumulated in the electronic equipment however, heat can be generated in charging process, and charging current is bigger, in charging process The heat of generation is higher.If a large amount of heat is gathered in electronic equipment internal, the service life of the electronic equipment will affect, also It is easy to cause safety problem, brings personal injury to the user of the electronic equipment.For the safety of charging, the embodiment of the present application In, in the process of charging the battery, current battery temperature is obtained using temperature sensor, is set to prevent a large amount of heat in electronics Standby accumulated inside.
102, when the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted.
In the embodiment of the present application, which includes the temperature range between second threshold and first threshold, In the first threshold be greater than the second threshold.When the current battery temperature of acquisition is not belonging to temperature range [second threshold, the first threshold Value] inner any temperature value, then current flow is adjusted.For example, it is assumed that first threshold is temperature O, second threshold is temperature Spend P, the current battery temperature of acquisition is U, and the size relation of temperature O, P, U are as follows: O > P > U or U > O > P.The current electricity then obtained Pond temperature is unsatisfactory for the preset temperature condition, and (the preset temperature condition is the current battery temperature of acquisition at temperature range [P, O] In), which needs that current flow is adjusted.
Wherein, charging current is higher, and the heat of electronic equipment accumulation is bigger, i.e. the battery temperature of the electronic equipment is in First threshold is bigger than the heat in second threshold accumulation;And charging current is higher, the charging rate of the electronic equipment is faster, i.e., The battery temperature of the electronic equipment is in first threshold ratio, and to be in second threshold charging rate fast.The first threshold is set, it can be with Prevent electronic equipment internal accumulation heat excessive, to guarantee the safety of electronic equipment charging.The second threshold is set, it can be with Prevent electronic equipment charging rate too slow, to guarantee the rapidity of electronic equipment charging.
In some embodiments, the first threshold, the second threshold can be set according to the concrete condition of electronic equipment. For example, the first threshold can carry out unified setting to electronic equipment by expert, option also can provide by user's sets itself, herein Also it is not especially limited.
In the embodiment of the present application, current flow being adjusted can be embodied are as follows: if the battery temperature is greater than first Threshold value, the electronic equipment reduce charging current according to default mapping relations, and wherein the default mapping relations include that preset temperature is poor With the corresponding relationship between default adjusting electric current;If and/or the battery temperature, less than second threshold, the electronic equipment is according to default Mapping relations increase charging current.For example, it is assumed that first threshold is temperature O, second threshold is temperature P, the present battery of acquisition Temperature is U.If the size relation of temperature O, P, U are as follows: O > P > U, then current battery temperature is less than second threshold, which can Increase charging current according to default mapping relations, prevent electronic equipment charging rate too slow, to guarantee electronic equipment charging Rapidity.If the size relation of temperature O, P, U are as follows: U > O > P, then current battery temperature is greater than first threshold, which can Charging current is reduced according to default mapping relations, prevents electronic equipment internal accumulation heat excessive, to guarantee that the electronic equipment fills The safety of electricity.
Wherein, preset temperature difference can be preset in electronic equipment and the default default mapping adjusted between electric current is closed System.Wherein it is possible to which a correspondence is arranged to each preset temperature difference in multiple preset temperature differences by way of artificial settings Default adjusting electric current.Then, according to the corresponding default adjusting electricity of multiple preset temperature difference and each preset temperature difference Stream establishes preset temperature difference and the default default mapping relations adjusted between electric current.
For example, can first determine that multiple preset temperatures are poor by the technical specialist of this field, and multiple preset temperature differences are drawn By stages, then a default adjusting electric current is arranged in the preset temperature difference for each section.Then, by the default of multiple section Corresponding pass between the preset temperature difference of temperature difference, the preset temperature difference in multiple sections and each section and default adjusting electric current System is stored in the form of database, can establish preset temperature difference and the default default mapping relations adjusted between electric current, as follows Table 1.Wherein, which is the temperature gap or preset electricity between preset battery temperature and first threshold Temperature gap between pond temperature and second threshold.It should be noted that the data of following table are only one kind for example, not representing A kind of limitation.
Table 1
Preset temperature is poor It is default to adjust electric current
(0,A] 0.1
(A,B] 0.2
(B,C] 0.3
(C,D] 0.4
(D,E] 0.5
Such as, it is assumed that first threshold is temperature O, and second threshold is temperature P, and the current battery temperature of acquisition is U, default to reflect The relationship of penetrating sees the above table 1.If the size relation of temperature O, P, U are as follows: O > P > U, and P-U belong to (A, B], then the electronic equipment can basis Default mapping relations increase 0.2 milliampere of charging current, prevent electronic equipment charging rate too slow, to guarantee that the electronic equipment fills The rapidity of electricity.If the size relation of temperature O, P, U are as follows: U > O > P, and U-O belong to (C, D], then the electronic equipment can be according to pre- If mapping relations reduce by 0.4 milliampere of charging current, prevent electronic equipment internal accumulation heat excessive, to guarantee the electronic equipment The safety of charging.
103, in the first preset time, the number of operations for exchanging current is counted.
In the embodiment of the present application, in the first preset time, the number of operations for exchanging current is counted, and specifically may be used To refer to: the one section of duration to be charged (i.e. the first preset time) counted from current time, exchange the number of operations of current into Row statistics.It should be noted that the precedence relationship between in the absence of between the step 103 and step 102, that is, be not necessarily intended to execute Step 103 just can be performed in step 102.It is 12 points at the time of for example, it is assumed that obtaining battery temperature, the first preset time is 45 points Clock.The one section of duration to be charged (i.e. 12 points to 12 points 45 minutes) then counted from current time, exchanges the number of operations of current It is counted.
Wherein, the numerical value of first preset time can be numerical value fixed in advance, can be carried out by expert to electronic equipment Unified setting, also can provide option by user's sets itself, is also not especially limited herein.
104, when detecting that the number of operations reaches preset times, then forbid carrying out electric current in the second preset time It adjusts.
In present application example, when detecting that the number of operations reaches preset times, then prohibit in the second preset time Only electric current is adjusted, can specifically be referred to: in the first preset time, when detecting that number of operations reaches preset times, Then lasting certain time length (i.e. in the second preset time) forbids that electric current is adjusted from current time.For example, it is assumed that obtaining It is 7 points at the time of battery temperature, the first preset time of electronic equipment A is 1 hour, and the second preset time is 20 minutes.Then Electronic equipment A can count the number of operations of the adjusting electric current within 7 points to 8 times, when detecting number of operations When reaching preset times, then (i.e. second is default for lasting certain time length from the time of detecting that number of operations reaches preset times In time) forbid that electric current is adjusted.If the number of operations for adjusting electric current when assuming for 7 thirty reaches preset times, then the Two preset times refer to 7 thirty to 7 points 50 minutes, i.e., forbid adjusting electric current to 7 points of 50 minutes electronic equipment A from 7 thirty Section.
Wherein, the numerical value of the preset times can be numerical value fixed in advance, be also possible to according to pre-defined rule variation Numerical value is not especially limited herein.
It should be noted that the relevant parameter that the preset times can refer to the electric device battery is set.Wherein, should The relevant parameter of battery includes many, such as electromotive force, capacity, specific energy, resistance, history charging times, average charge capacity, Etc., it is not especially limited herein.The preset times can carry out unified setting to electronic equipment by expert, also can provide option by User's sets itself, is also not especially limited herein.
In some embodiments, the available battery of the electronic equipment in the first preset time at the beginning of be carved into it is current Average charge speed between moment;The preset times are adjusted according to the average charge speed.For example, presetting default average The mapping relations of charging rate and preset times, can be according to the average charge speed and default average charge speed and pre- If the mapping relations of number determine preset times.For example, preset times can suitably be increased when average charge speed is excessive Add.Because when average charge speed is excessive, it is meant that charging current is also larger, and the heat of accumulation is more, if preset times are 2, Current times will stop current regulation after adjusting twice, if electric current is still very big after adjusting twice, accumulation heat is also It is very much;If preset times increase to 5, even if electric current is still very big after adjusting twice, moreover it is possible to carry out the electric current of more numbers It adjusts, current reduction.
Wherein, the second preset time can carry out unified setting to electronic equipment by expert, also can provide option by user from Row setting, is also not especially limited herein.
In some embodiments, which can count first preset time by the timer of the first software;With And second preset time is counted by the timer of the second software.
It can be seen from the above, charge control method provided in this embodiment, during battery charging, electronic equipment can be with Current battery temperature is obtained, when the battery temperature is unsatisfactory for preset temperature condition, then current flow is adjusted, and the In one preset time, the number of operations for exchanging current is counted, then when detecting that the number of operations reaches preset times When, then in the second preset time forbid that electric current is adjusted, thus while guaranteeing the rapidity and safety of charging, It effectively prevent frequently adjusting charging current in charging process, to improve the stability of terminal charge.
Referring to Fig. 3, Fig. 3 is the second procedure schematic diagram of charge control method provided by the embodiments of the present application;Below will It is described in detail.
Specifically, the charge control method may include following below scheme:
201, current battery temperature in the process of charging the battery, is obtained.
In some embodiments, which can detect automatically whether charging interface connect with power supply adaptor, work as inspection When measuring charging interface and connecting with power supply adaptor, the battery of the electronic equipment is in charged state.Wherein, if detecting electronics The charging interface of equipment is not connect with power supply adaptor, then continue to test the electronic equipment charging interface whether with power adaptation Device connection, until detecting that the charging interface of electronic equipment is connect with power supply adaptor.If detecting the charging of electronic equipment Mouth is connect with power supply adaptor, obtains current battery temperature.
Wherein, because when the battery of the electronic equipment is in charged state, for the rapidity of charging, big electricity is generallyd use Current charge.It is accumulated in the electronic equipment however, heat can be generated in charging process, and charging current is bigger, in charging process The heat of generation is higher.If a large amount of heat is gathered in electronic equipment internal, the service life of the electronic equipment will affect, also It is easy to cause safety problem, brings personal injury to the user of the electronic equipment.For the safety of charging, the embodiment of the present application In, in the process of charging the battery, current battery temperature is obtained using temperature sensor, is set to prevent a large amount of heat in electronics Standby accumulated inside.
202, the battery temperature is compared with first threshold, if the battery temperature is greater than first threshold, determining should Battery temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition.
Wherein, charging current is higher, and the heat of electronic equipment accumulation is bigger, i.e. the battery temperature of the electronic equipment is in First threshold is bigger than the heat in second threshold accumulation.The first threshold is set, electronic equipment internal accumulation heat can be prevented Measure it is excessive, with guarantee the electronic equipment charging safety.
In some embodiments, which can be set according to the concrete condition of electronic equipment.For example, this first Threshold value can carry out unified setting to electronic equipment by expert, also can provide option by user's sets itself, also do not make herein specific It limits.
203, the battery temperature is compared with second threshold, if the battery temperature is less than second threshold, determining should Battery temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition.
Wherein, charging current is higher, and the charging rate of the electronic equipment is faster, i.e. the battery temperature of the electronic equipment is in It is fast that first threshold ratio is in second threshold charging rate.The second threshold is set, electronic equipment charging rate can be prevented too slow, To guarantee the rapidity of electronic equipment charging.
In some embodiments, which can be set according to the concrete condition of electronic equipment.For example, this second Threshold value can carry out unified setting to electronic equipment by expert, also can provide option by user's sets itself, also do not make herein specific It limits.
204, when the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted.
Wherein, which includes the temperature range between second threshold and first threshold, wherein first threshold Value is greater than the second threshold.When the current battery temperature of acquisition is not belonging to inner times of temperature range [second threshold, first threshold] One temperature value, then be adjusted current flow.For example, it is assumed that first threshold is temperature O, second threshold is temperature P, acquisition Current battery temperature is U, and the size relation of temperature O, P, U are as follows: O > P > U or U > O > P.The current battery temperature then obtained is discontented The foot preset temperature condition (the preset temperature condition is that the current battery temperature of acquisition is inner in temperature range [P, O]), the electronics Equipment needs that current flow is adjusted.
In the embodiment of the present application, current flow being adjusted can be embodied are as follows: if the battery temperature is greater than first Threshold value, the electronic equipment reduce charging current according to default mapping relations, and wherein the default mapping relations include that preset temperature is poor With the corresponding relationship between default adjusting electric current;If and/or the battery temperature, less than second threshold, the electronic equipment is according to default Mapping relations increase charging current.For example, it is assumed that first threshold is temperature O, second threshold is temperature P, the present battery of acquisition Temperature is U.If the size relation of temperature O, P, U are as follows: O > P > U, then current battery temperature is less than second threshold, which can Increase charging current according to default mapping relations, prevent electronic equipment charging rate too slow, to guarantee electronic equipment charging Rapidity.If the size relation of temperature O, P, U are as follows: U > O > P, then current battery temperature is greater than first threshold, which can Charging current is reduced according to default mapping relations, prevents electronic equipment internal accumulation heat excessive, to guarantee that the electronic equipment fills The safety of electricity.
Wherein, preset temperature difference can be preset in electronic equipment and the default default mapping adjusted between electric current is closed System.Wherein it is possible to which a correspondence is arranged to each preset temperature difference in multiple preset temperature differences by way of artificial settings Default adjusting electric current.Then, according to the corresponding default adjusting electricity of multiple preset temperature difference and each preset temperature difference Stream establishes preset temperature difference and the default default mapping relations adjusted between electric current.
For example, can first determine that multiple preset temperatures are poor by the technical specialist of this field, and multiple preset temperature differences are drawn By stages, then a default adjusting electric current is arranged in the preset temperature difference for each section.Then, by the default of multiple section Corresponding pass between the preset temperature difference of temperature difference, the preset temperature difference in multiple sections and each section and default adjusting electric current System is stored in the form of database, can establish preset temperature difference and the default default mapping relations adjusted between electric current, as follows Table 2.Wherein, which is the temperature gap or preset electricity between preset battery temperature and first threshold Temperature gap between pond temperature and second threshold.
Table 2
Preset temperature is poor It is default to adjust electric current
(0,A] 0.10
(A,B] 0.15
(B,C] 0.20
(C,D] 0.25
(D,E] 0.30
Such as, it is assumed that first threshold is temperature O, and second threshold is temperature P, and the current battery temperature of acquisition is U, default to reflect The relationship of penetrating sees the above table 1.If the size relation of temperature O, P, U are as follows: O > P > U, and P-U belong to (A, B], then the electronic equipment can basis Default mapping relations increase 0.15 milliampere of charging current, prevent electronic equipment charging rate too slow, to guarantee the electronic equipment The rapidity of charging.If the size relation of temperature O, P, U are as follows: U > O > P, and U-O belong to (C, D], then the electronic equipment can basis Default mapping relations reduce by 0.25 milliampere of charging current, prevent electronic equipment internal accumulation heat excessive, to guarantee the electronics The safety of equipment charge.
205, in the first preset time, the number of operations for exchanging current is counted.
In the embodiment of the present application, in the first preset time, the number of operations for exchanging current is counted, and specifically may be used To refer to: the duration (i.e. the first preset time) that one section counted from current time has charged, exchange the number of operations of current into Row statistics.It should be noted that the precedence relationship between in the absence of between the step 103 and step 102, that is, be not necessarily intended to execute Step 103 just can be performed in step 102.It is 12 points at the time of for example, it is assumed that obtaining battery temperature, the first preset time is 45 points Clock.Duration that one section then counted from current time has charged (i.e. 12 points to 12 points 45 minutes), exchanges the number of operations of current It is counted.
Wherein, the numerical value of first preset time can be numerical value fixed in advance, can be carried out by expert to electronic equipment Unified setting, also can provide option by user's sets itself, is also not especially limited herein.
206, when detecting that the number of operations reaches preset times, then forbid carrying out electric current in the second preset time It adjusts.
In present application example, when detecting that the number of operations reaches preset times, then prohibit in the second preset time Only electric current is adjusted, can specifically be referred to: in the first preset time, when detecting that number of operations reaches preset times, Then lasting certain time length (i.e. in the second preset time) forbids that electric current is adjusted from current time.For example, it is assumed that obtaining It is 7 points at the time of battery temperature, the first preset time of electronic equipment A is 1 hour, and the second preset time is 20 minutes.Then Electronic equipment A can count the number of operations of the adjusting electric current within 7 points to 8 times, when detecting number of operations When reaching preset times, then (i.e. second is default for lasting certain time length from the time of detecting that number of operations reaches preset times In time) forbid that electric current is adjusted.If assuming, the number of operations of 7: 35 timesharing adjusting electric current reaches preset times, then Second preset time refers to that 7: 35 assign at 7 points 55 minutes, i.e., prohibits from 7 points of current time 35 minutes to 7 points of 55 minutes electronic equipment A Only electric current is adjusted.
Wherein, the numerical value of the preset times can be numerical value fixed in advance, be also possible to according to pre-defined rule variation Numerical value is not especially limited herein.
It should be noted that the relevant parameter that the preset times can refer to the electric device battery is set.Wherein, should The relevant parameter of battery includes many, such as electromotive force, capacity, specific energy, resistance, history charging times, average charge capacity, Etc., it is not especially limited herein.The preset times can carry out unified setting to electronic equipment by expert, also can provide option by User's sets itself, is also not especially limited herein.
In some embodiments, the available battery of the electronic equipment in the first preset time at the beginning of be carved into it is current Average charge speed between moment;The preset times are adjusted according to the average charge speed.For example, presetting default average The mapping relations of charging rate and preset times, can be according to the average charge speed and default average charge speed and pre- If the mapping relations of number determine preset times.For example, preset times can suitably be increased when average charge speed is excessive Add.Because when average charge speed is excessive, it is meant that charging current is also larger, and the heat of accumulation is more, if preset times are 2, Current times will stop current regulation after adjusting twice, if electric current is still very big after adjusting twice, accumulation heat is also It is very much;If preset times increase to 5, even if electric current is still very big after adjusting twice, moreover it is possible to carry out the electric current of more numbers It adjusts, current reduction.
Wherein, the second preset time can carry out unified setting to electronic equipment by expert, also can provide option by user from Row setting, is also not especially limited herein.
In some embodiments, which can count first preset time by the timer of the first software;With And second preset time is counted by the timer of the second software.
In some embodiments, in the first preset time, it is carved into finish time from the outset, adjusts the operation of electric current When number is not up to preset times, the number of operations of statistics is emptied;In the first preset time, electric current is adjusted when detecting Number of operations reaches preset times, empties the number of operations of statistics.Such as, it is assumed that the first preset time of electronic equipment A is 1 Hour, the second preset time be 20 minutes, obtain battery temperature at the time of be 7 points, then electronic equipment A 7 points to 8 points when In, the number of operations for exchanging current is counted.If the number of operations that electronic equipment A is counted to 8 points not yet Reach preset times, then electronic equipment A empties the number of operations of statistics at 8 points.If the operation that electronic equipment A is counted Number reaches preset times in 7: 30 timesharing, then the number of operations that electronic equipment A distinguishes empty statistics 7: 30.
It is current when acquisition during battery charging it can be seen from the above, charge control method provided in this embodiment When battery temperature meets preset temperature condition, current flow can be adjusted in electronic equipment, and in the first preset time, right The number of operations for adjusting electric current is counted, when detecting that the number of operations reaches preset times, then in the second preset time Inside forbid that electric current is adjusted, to effectively prevent in charging process while guaranteeing the rapidity and safety of charging Charging current is adjusted, frequently to improve the stability of electronic equipment charging.
For convenient for better implementation charge control method provided by the embodiments of the present application, the embodiment of the present application also provides one kind Battery charge controller based on above-mentioned charge control method.Wherein the meaning of noun is identical with above-mentioned charge control method, tool Body realizes that details can be with reference to the explanation in embodiment of the method.
Fig. 4 is please referred to, Fig. 4 is the first structure diagram of battery charge controller provided by the embodiments of the present application.It is specific and Speech, the battery charge controller 300, comprising: obtain module 301, adjustment module 302, statistical module 303 and disabled module 304。
Module 301 is obtained, in the process of charging the battery, obtaining current battery temperature;
Adjustment module 302, for when the battery temperature is unsatisfactory for preset temperature condition, current flow to be adjusted;
Statistical module 303, in the first preset time, the number of operations for exchanging current to be counted;
Disabled module 304, for when detecting that the number of operations reaches preset times, then prohibiting in the second preset time Only electric current is adjusted.
In some embodiments, Fig. 5 is seen, Fig. 5 is the second knot of battery charge controller provided by the embodiments of the present application Structure schematic diagram.The adjustment module 302 may include:
First adjusts submodule 3021, if being greater than first threshold for the battery temperature, is reduced according to default mapping relations Charging current, wherein the default mapping relations include preset temperature difference and the default corresponding relationship adjusted between electric current;And/or
Second adjusts submodule 3022, if being less than second threshold for the battery temperature, is increased according to default mapping relations Charging current.
In some embodiments, Fig. 6 is seen, Fig. 6 is the third of battery charge controller provided by the embodiments of the present application Structural schematic diagram.The battery charge controller 300 can also include:
First comparison module 305, for the battery temperature to be compared with first threshold, if the battery temperature is greater than the One threshold value then determines that the battery temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition;And/or
Second comparison module 306, for the battery temperature to be compared with second threshold, if the battery temperature is less than Two threshold values then determine that the battery temperature meets preset temperature condition, are otherwise unsatisfactory for the preset temperature condition.
The embodiment of the present application also provides a kind of electronic equipment, referring to Fig. 7, Fig. 7 is electronics provided by the embodiments of the present application The first structure diagram of equipment.Electronic equipment 400 includes processor 401 and memory 402.Wherein, processor 401 with deposit Reservoir 402 is electrically connected.
The processor 400 is the control centre of electronic equipment 400, utilizes various interfaces and the entire electronic equipment of connection Various pieces, the computer program in memory 402 by operation or load store, and call and be stored in memory Data in 402 execute the various functions of electronic equipment 400 and handle data, to carry out whole prison to electronic equipment 400 Control.
The memory 402 can be used for storing software program and module, and processor 401 is stored in memory by operation 402 computer program and module, thereby executing various function application and data processing.Memory 402 can mainly include Storing program area and storage data area, wherein storing program area can computer needed for storage program area, at least one function Program etc.;Storage data area, which can be stored, uses created data etc. according to electronic equipment.In addition, memory 402 can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.Correspondingly, memory 402 can also include Memory Controller, to provide processing Access of the device 401 to memory 402.
In the embodiment of the present application, the processor 401 in electronic equipment 400 can be according to following step, by one or one The corresponding instruction of the process of a above computer program is loaded into memory 402, and is stored in by the operation of processor 401 Computer program in reservoir 402, thus realize various functions, it is as follows:
In the process of charging the battery, current battery temperature is obtained;
When the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted;
In the first preset time, the number of operations for exchanging current is counted;
When detecting that the number of operations reaches preset times, then forbid adjusting electric current in the second preset time Section.
In certain embodiments, before current flow being adjusted, processor 401 can specifically execute following steps:
The battery temperature is compared with first threshold, if the battery temperature is greater than first threshold, determines the battery Temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition;And/or
The battery temperature is compared with second threshold, if the battery temperature is less than second threshold, determines the battery Temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition.
In certain embodiments, it is adjusted about to current flow, processor 401 can specifically execute following steps:
If the battery temperature is greater than first threshold, charging current is reduced according to default mapping relations, wherein the default mapping Relationship includes preset temperature difference and the default corresponding relationship adjusted between electric current;And/or
If the battery temperature is less than second threshold, increase charging current according to default mapping relations.
In certain embodiments, processor 401 can specifically execute following steps:
It obtains battery and is carved into the average charge speed between the current moment at the beginning of in the first preset time;
The preset times are adjusted according to the average charge speed.
In certain embodiments, processor 401 can specifically execute following steps:
In the first preset time, it is carved into finish time from the outset, the number of operations for adjusting electric current is not up to default When number, the number of operations of statistics is emptied;
In the first preset time, when detect adjust electric current number of operations reach preset times, empty statistics Number of operations.
It can be seen from the above, electronic equipment provided in this embodiment, during battery charging, when the present battery of acquisition When temperature meets preset temperature condition, current flow can be adjusted in electronic equipment, and in the first preset time, to adjusting The number of operations of electric current is counted, and when detecting that the number of operations reaches preset times, is then prohibited in the second preset time Only electric current is adjusted, to be effectively prevent in charging process frequently while guaranteeing the rapidity and safety of charging Charging current is adjusted, to improve the stability of electronic equipment charging.
Also referring to Fig. 8, Fig. 8 is the second structural schematic diagram of electronic equipment provided by the embodiments of the present application.Certain In embodiment, electronic equipment 400 can also include: display 403, radio circuit 404, voicefrequency circuit 405 and power supply 406.Wherein, wherein display 403, radio circuit 404, voicefrequency circuit 405 and power supply 406 are electrical with processor 401 respectively Connection.
The display 403 be displayed for information input by user or be supplied to user information and various figures User interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.
The radio circuit 404 can be used for transceiving radio frequency signal, with by wireless communication with the network equipment or other electronics Equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 405 can be used for providing the audio between user and electronic equipment by loudspeaker, microphone and connecing Mouthful.
The power supply 406 is used to all parts power supply of electronic equipment 400.In some embodiments, power supply 406 can With logically contiguous by power-supply management system and processor 401, thus charged, discharged by power-supply management system realization management, And the functions such as power managed.
Although being not shown in Fig. 8, electronic equipment 400 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, which is stored with computer program, when the computer When program is run on computers, so that the computer executes the charge control method in any of the above-described embodiment, such as: right During battery charges, current battery temperature is obtained;When the battery temperature is unsatisfactory for preset temperature condition, to current electricity Stream is adjusted;In the first preset time, the number of operations for exchanging current is counted;When detecting the number of operations When reaching preset times, then in the second preset time forbid that electric current is adjusted.
In the embodiment of the present application, storage medium can be magnetic disk, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It should be noted that for the charge control method of the embodiment of the present application, this field common test personnel can be with Understand all or part of the process for realizing the charge control method of the embodiment of the present application, is that can be controlled by computer program Relevant hardware is completed, which can be stored in a computer-readable storage medium, be such as stored in electronics and set It in standby memory, and is executed by least one processor in the electronic equipment, in the process of implementation may include that charging such as is controlled The process of the embodiment of method processed.Wherein, storage medium can be magnetic disk, CD, read-only memory, random access memory etc..
For the battery charge controller of the embodiment of the present application, each functional module be can integrate in a processing chip In, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.It is above-mentioned Integrated module both can take the form of hardware realization, can also be realized in the form of software function module.This is integrated If module is realized and when sold or used as an independent product in the form of software function module, also can store at one In computer-readable storage medium, which is for example read-only memory, disk or CD etc..
Above to a kind of charge control method, device, storage medium and electronic equipment provided by the embodiment of the present application It is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality The explanation for applying example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification Hold the limitation that should not be construed as to the application.

Claims (10)

1. a kind of charge control method characterized by comprising
In the process of charging the battery, current battery temperature is obtained;
When the battery temperature is unsatisfactory for preset temperature condition, current flow is adjusted;
In the first preset time, the number of operations for exchanging current is counted;
When detecting that the number of operations reaches preset times, then in the second preset time forbid that electric current is adjusted.
2. charge control method according to claim 1, which is characterized in that before current flow is adjusted, also wrap It includes:
The battery temperature is compared with first threshold, if the battery temperature is greater than first threshold, determines the electricity Pond temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition;And/or
The battery temperature is compared with second threshold, if the battery temperature is less than second threshold, determines the electricity Pond temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition.
3. charge control method according to claim 2, which is characterized in that described that current flow is adjusted, comprising:
If the battery temperature is greater than first threshold, charging current is reduced according to default mapping relations, wherein the default mapping Relationship includes preset temperature difference and the default corresponding relationship adjusted between electric current;And/or
If the battery temperature is less than second threshold, increase charging current according to default mapping relations.
4. charge control method according to claim 2, which is characterized in that further include:
In the first preset time, it is carved into finish time from the outset, the number of operations for adjusting electric current is not up to preset times When, empty the number of operations of statistics;
In the first preset time, when detect adjust electric current number of operations reach preset times, empty the operation of statistics Number.
5. charge control method according to claim 1, which is characterized in that further include:
It obtains battery and is carved into the average charge speed between the current moment at the beginning of in the first preset time;
The preset times are adjusted according to the average charge speed.
6. a kind of battery charge controller characterized by comprising
Module is obtained, in the process of charging the battery, obtaining current battery temperature;
Adjustment module, for when the battery temperature is unsatisfactory for preset temperature condition, current flow to be adjusted;
Statistical module, in the first preset time, the number of operations for exchanging current to be counted;
Disabled module, for when detecting that the number of operations reaches preset times, then forbidding in the second preset time pair Electric current is adjusted.
7. the battery charge controller according to shown in claim 6, which is characterized in that further include:
First comparison module, for the battery temperature to be compared with first threshold, if the battery temperature is greater than first Threshold value then determines that the battery temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition;And/or
Second comparison module, for the battery temperature to be compared with second threshold, if the battery temperature is less than second Threshold value then determines that the battery temperature meets preset temperature condition, is otherwise unsatisfactory for the preset temperature condition.
8. the battery charge controller according to shown in claim 7, which is characterized in that the adjustment module, comprising:
First adjusts submodule, if being greater than first threshold for the battery temperature, reduces charging electricity according to default mapping relations Stream, wherein the default mapping relations include preset temperature difference and the default corresponding relationship adjusted between electric current;And/or
Second adjusts submodule, if being less than second threshold for the battery temperature, according to default mapping relations increase charging electricity Stream.
9. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers When operation, so that the computer executes such as charge control method described in any one of claim 1 to 5.
10. a kind of electronic equipment, including processor and memory, the memory have computer program, which is characterized in that described Processor is by calling the computer program, for executing such as charge control method described in any one of claim 1 to 5.
CN201910288837.3A 2019-04-11 2019-04-11 Charging control method and device, storage medium and electronic equipment Active CN109888889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910288837.3A CN109888889B (en) 2019-04-11 2019-04-11 Charging control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910288837.3A CN109888889B (en) 2019-04-11 2019-04-11 Charging control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109888889A true CN109888889A (en) 2019-06-14
CN109888889B CN109888889B (en) 2021-06-15

Family

ID=66936912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910288837.3A Active CN109888889B (en) 2019-04-11 2019-04-11 Charging control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109888889B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427305A (en) * 2019-08-06 2019-11-08 Oppo广东移动通信有限公司 Battery gas leak treatment method and apparatus, electronic equipment, readable storage medium storing program for executing
CN110474387A (en) * 2019-07-30 2019-11-19 Oppo广东移动通信有限公司 Charge control method, electronic equipment and computer storage medium
CN111273774A (en) * 2020-01-19 2020-06-12 惠州Tcl移动通信有限公司 Terminal device display screen control method and system, storage medium and terminal device
CN111711243A (en) * 2020-06-29 2020-09-25 Oppo广东移动通信有限公司 Charging method, device, equipment and storage medium
CN111831047A (en) * 2020-07-15 2020-10-27 科华恒盛股份有限公司 Power control method and device based on load variable circuit and load variable circuit
CN112542862A (en) * 2019-09-23 2021-03-23 Oppo广东移动通信有限公司 Charging control method and device of electronic equipment and storage medium
CN112701741A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Charging control method, charging control device and storage medium
CN112803507A (en) * 2019-11-13 2021-05-14 Oppo广东移动通信有限公司 Charging control method, electronic device, and storage medium
CN115431810A (en) * 2022-10-27 2022-12-06 永联智慧能源科技(常熟)有限公司 Current control method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355185A (en) * 2008-08-26 2009-01-28 崧顺电子(深圳)有限公司 Method and apparatus for charging battery
CN103986215A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Mobile terminal and charging current adjustment method thereof
CN104917233A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Charging control method, device and system
US9379560B2 (en) * 2011-08-30 2016-06-28 Hilti Aktiengesellschaft Method and device to monitor the current of a battery-operated handheld power tool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355185A (en) * 2008-08-26 2009-01-28 崧顺电子(深圳)有限公司 Method and apparatus for charging battery
US9379560B2 (en) * 2011-08-30 2016-06-28 Hilti Aktiengesellschaft Method and device to monitor the current of a battery-operated handheld power tool
CN103986215A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Mobile terminal and charging current adjustment method thereof
CN104917233A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Charging control method, device and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474387A (en) * 2019-07-30 2019-11-19 Oppo广东移动通信有限公司 Charge control method, electronic equipment and computer storage medium
CN110474387B (en) * 2019-07-30 2024-01-30 Oppo广东移动通信有限公司 Charging control method, electronic device and computer storage medium
CN110427305A (en) * 2019-08-06 2019-11-08 Oppo广东移动通信有限公司 Battery gas leak treatment method and apparatus, electronic equipment, readable storage medium storing program for executing
CN112542862A (en) * 2019-09-23 2021-03-23 Oppo广东移动通信有限公司 Charging control method and device of electronic equipment and storage medium
CN112542862B (en) * 2019-09-23 2024-05-10 Oppo广东移动通信有限公司 Charging control method and device for electronic equipment and storage medium
CN112701741A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Charging control method, charging control device and storage medium
CN112701741B (en) * 2019-10-23 2024-03-12 北京小米移动软件有限公司 Charging control method, device and storage medium
CN112803507A (en) * 2019-11-13 2021-05-14 Oppo广东移动通信有限公司 Charging control method, electronic device, and storage medium
CN111273774A (en) * 2020-01-19 2020-06-12 惠州Tcl移动通信有限公司 Terminal device display screen control method and system, storage medium and terminal device
CN111711243A (en) * 2020-06-29 2020-09-25 Oppo广东移动通信有限公司 Charging method, device, equipment and storage medium
CN111831047A (en) * 2020-07-15 2020-10-27 科华恒盛股份有限公司 Power control method and device based on load variable circuit and load variable circuit
CN115431810A (en) * 2022-10-27 2022-12-06 永联智慧能源科技(常熟)有限公司 Current control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109888889B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN109888889A (en) A kind of charge control method, device, storage medium and electronic equipment
CN109888885A (en) Charge control method, device, storage medium and electronic equipment
EP2992583B1 (en) Battery charger integrated circuit chip
CN112542863B (en) Charging method and device, and readable storage medium
CN107834628B (en) Circuit and method for realizing multiple fast charging protocols based on TYPE-C interface
EP3813221A1 (en) Battery charging method, battery charging apparatus and storage medium
CN104467109B (en) Method for supplying power to electronic equipment and electronic equipment
CN108649658B (en) Multi-battery switching method, power supply device and electronic equipment
EP3349325B1 (en) Charging method, charging device and terminal
CN112540304B (en) Battery power management method, electronic device and computer storage medium
WO2019080733A1 (en) Charging protection method, apparatus, and smart device
CN111404228B (en) Terminal battery charging method and device, terminal battery charging equipment and storage medium
CN110350626B (en) Charging control method and device, electronic equipment and computer readable storage medium
CN113009995B (en) Power supply device and power supply method
CN107959314A (en) A kind of trickle charge method for electrically and intelligent terminal
CN109450013A (en) A kind of management method and device of base station battery
CN106786904A (en) Charging system of selection, device and charging equipment
CN108052305A (en) Volume adjusting method, device, electronic equipment and computer readable storage medium
CN110365084B (en) Charging control method, device, terminal and storage medium
CN108287605A (en) charge control method, device, terminal device and storage medium
CN110429678A (en) Mobile terminal method of supplying power to, system, storage medium and mobile terminal
CN110336355A (en) A kind of charging method, charging unit and terminal device
JP2007158831A (en) Mobile communication terminal, information transfer control method and information transfer control program
CN104578275B (en) Charging method and electronic equipment
CN116454432A (en) Charging and discharging method, device, equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20231223

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right