CN111697636A - Charging method and device, terminal and storage medium - Google Patents

Charging method and device, terminal and storage medium Download PDF

Info

Publication number
CN111697636A
CN111697636A CN201910180561.7A CN201910180561A CN111697636A CN 111697636 A CN111697636 A CN 111697636A CN 201910180561 A CN201910180561 A CN 201910180561A CN 111697636 A CN111697636 A CN 111697636A
Authority
CN
China
Prior art keywords
charging
charging power
power
terminal
determining
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
CN201910180561.7A
Other languages
Chinese (zh)
Other versions
CN111697636B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910180561.7A priority Critical patent/CN111697636B/en
Priority to PCT/CN2020/076082 priority patent/WO2020181971A1/en
Publication of CN111697636A publication Critical patent/CN111697636A/en
Application granted granted Critical
Publication of CN111697636B publication Critical patent/CN111697636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • 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

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application discloses a charging method and device, a terminal and a storage medium, wherein the method is applied to the terminal and comprises the following steps: when the condition for charging the terminal is detected to be met, acquiring current state information of the terminal; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters; determining a target charging power based on the current state information; and charging the battery assembly of the terminal by using the target charging power.

Description

Charging method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to electronic technology, and relates to but is not limited to a charging method and device, a terminal and a storage medium.
Background
At present, with the development of electronic technology, more and more applications are integrated on a terminal to meet the needs of daily life and work of a user, so that the dependence of the user on the terminal is stronger and stronger. Meanwhile, due to the requirement of terminal lightness and thinness, the battery design is also increasingly lighter and thinner, and the battery capacity is limited, so that a user has to frequently charge the terminal.
Disclosure of Invention
In view of the above, embodiments of the present application provide a charging method and apparatus, a terminal, and a storage medium to solve at least one problem in the related art.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a charging method, where the method is applied to a terminal, and the method includes:
when the condition for charging the terminal is detected to be met, acquiring current state information of the terminal; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters;
determining a target charging power based on the current state information;
and charging the battery assembly of the terminal by using the target charging power.
In a second aspect, an embodiment of the present application provides a charging device, including: a current state information acquisition module configured to: when detecting that a condition for charging the charging device is met, acquiring current state information of the charging device; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters; a target charging power determination module configured to: determining a target charging power based on the current state information; a charging module configured to: and charging the battery assembly of the charging device by using the target charging power.
In a third aspect, an embodiment of the present application provides a terminal, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps in the charging method when executing the program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the charging method described above.
In the embodiment of the application, the target charging power is determined based on the current state information of the terminal, such as the battery temperature, the battery electric quantity, the charging parameters set by a user, and the like, so that the current charging power of the terminal is automatically or passively adjusted based on the current state information of the terminal, the influence of the charging speed and the heating degree of the terminal on the use of the terminal by the user is balanced, and the charging experience of the user is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a charging method according to an embodiment of the present application;
FIG. 2A is a schematic interface diagram of an application setting according to an embodiment of the present disclosure;
FIG. 2B is a diagram illustrating a notification bar according to an embodiment of the present application;
fig. 3A is a schematic view of a charging power setting interface according to an embodiment of the present disclosure;
fig. 3B is a schematic diagram of another charging power setting interface according to an embodiment of the present disclosure;
fig. 4A is a schematic diagram illustrating a connection manner between a terminal and a power adapter according to an embodiment of the present application;
FIG. 4B is a schematic diagram illustrating another connection between a terminal and a power adapter according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware entity of a terminal according to an embodiment of the present application.
Detailed Description
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments.
The embodiment of the application provides a charging method, which is applied to a terminal, and generally, the terminal can be various types of devices with charging capability in the implementation process, for example, the terminal can include a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, and the like. The functions implemented by the method can be implemented by calling program codes through a processor in the terminal, and the program codes can be stored in a computer storage medium.
Fig. 1 is a schematic flow chart of a charging method according to an embodiment of the present application, and as shown in fig. 1, the method includes steps S101 to S103:
s101, when the condition that the terminal is charged is detected to be met, acquiring current state information of the terminal; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters;
generally, if it is detected that the terminal is electrically connected to the power adapter, it is determined that a condition for charging the terminal is satisfied, at this time, current state information of the terminal may be acquired at preset time intervals, or the current state information of the terminal is acquired when it is detected that any one of the current state information satisfies a preset condition, for example, the current state information of the terminal is acquired when a change value of the battery temperature in unit time is greater than a preset temperature threshold.
For example, the charging parameter set by the user may be fast charging, medium-speed charging, slow charging, or the like, or may also be low-power charging, high-power charging, or the like, or may be charging power, and a specific form of the charging parameter is not limited herein.
S102, determining target charging power based on the current state information;
and S103, charging the battery assembly of the terminal by using the target charging power.
In the embodiment of the application, the target charging power is determined based on the current state information of the terminal, for example, the battery temperature, the battery electric quantity, the charging parameter set by the user, and the like, so that the current charging power of the terminal is automatically adjusted or passively adjusted based on the current state information of the terminal, the influence of the charging speed and the heating degree on the use of the terminal by the user is balanced, and the charging experience of the user is improved. For example, the current charging power of the terminal may be automatically adjusted according to current state information of the terminal, such as battery power, battery temperature, and the like, that is, the target charging power is used to charge the battery assembly; for another example, the current charging power of the terminal may be passively adjusted according to the charging parameters set by the user.
The embodiment of the present application provides another charging method, which includes steps S201 to S207:
s201, when the condition that the terminal is charged is detected to be met, receiving a voice charging instruction, wherein the voice charging instruction is used for indicating the terminal to charge the battery pack according to the charging parameters indicated by the voice charging instruction;
for example, when it is detected that the terminal is electrically connected to the power adapter, a voice recognition program is started so as to receive a voice command sent by a user at any time. And if the voice instruction received by the terminal comprises voice information related to charging, determining that the received voice instruction is a voice charging instruction. For example, when the received voice command is "50W charge", "i want to charge quickly", or "low power charge", it is determined that the voice charge command is received.
S202, determining a charging parameter set by the user based on the voice charging instruction;
generally, the content of the voice charging instruction is identified to obtain text content, and then the charging parameter is extracted from the text content. For example, if the text content is "50W charging", it may be determined that the charging parameter set by the user is "50W"; for another example, if the text content is "i want to charge quickly", the charging parameter set by the user may be determined to be "quick charge".
It should be noted that steps S201 and S202 are an implementation example of "acquiring the charging parameters set by the user".
S203, determining a first charging power corresponding to the charging parameter based on the charging parameter set by the user;
s204, acquiring the current battery temperature and the current battery electric quantity of the terminal;
s205, determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
s206, determining the target charging power based on the first charging power and the second charging power;
and S207, charging the battery assembly of the terminal by using the target charging power.
In the embodiment of the application, a user can set the charging parameters through the voice charging instruction. Therefore, through opening the voice channel, a user can conveniently and rapidly set the charging power required by the terminal at present, and therefore the requirements of the user on the charging speed and the heating degree under different application scenes are met.
The embodiment of the present application provides another charging method, including steps S301 to S308:
s301, when the condition that the terminal is charged is detected to be met, displaying a preset charging power setting interface, wherein the charging power setting interface comprises at least one charging power gear which can be selected by the user;
for example, when it is determined that the terminal is electrically connected to the power adapter, the charging power setting interface is displayed, so that a user can select the currently desired charging power on the charging power setting interface; in other embodiments, the user may trigger the display of the charging power setting interface by clicking a button for invoking the charging power setting interface. For example, as shown in fig. 2A, a key 20 for calling the charging power setting interface may be displayed in an application interface 21 with an application program of "set"; as shown in fig. 2B, the button 20 may be hidden in the notification bar 22, and the user may call up the notification bar 22 through a pull-up operation or a pull-down operation, so as to click the button 20 to trigger the display of the charging power setting interface. For the terminal, if an operation instruction is received, the operation instruction is used for instructing the terminal to display the charging power setting interface, and the charging power setting interface is displayed based on the second operation instruction.
In practical applications, for example, as shown in fig. 3A, the charging power setting interface 31 includes 3 charging power steps of "high power charging", "medium power charging", and "low power charging". As shown in fig. 3B, the charging power setting interface 32 includes 9 charging power steps of 20W, 30W, 40W, 50W, 60W, 70W, 80W, 90W, and 100W.
S302, receiving a selection instruction on the charging power setting interface, wherein the selection instruction is used for instructing the terminal to charge the battery pack according to the charging parameters indicated by the selection instruction;
s303, determining the charging parameters set by the user based on the selection instruction;
generally, the charging power gear selected by the user (i.e., the charging parameter set by the user) can be determined by determining the location on the charging power setting interface where the selection instruction is received.
It should be noted that steps S301 to S303 are another implementation example of "acquiring the charging parameter set by the user".
S304, determining a first charging power corresponding to the charging parameter based on the charging parameter set by the user;
s305, acquiring the current battery temperature and the current battery power of the terminal;
s306, determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
s307, determining the target charging power based on the first charging power and the second charging power;
and S308, charging the battery assembly of the terminal by using the target charging power.
In the embodiment of the application, a user can set the charging parameters through the charging power setting interface, so that the current charging power of the terminal is controlled by the user, and the requirements of the user on the charging speed and the heating degree under different application scenes are met.
The embodiment of the present application provides another charging method, including steps S401 to S409:
s401, when the condition that the terminal is charged is detected to be met, acquiring current state information of the terminal;
s402, determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
s403, determining whether the current state information comprises the charging parameters set by the user; if yes, go to step S404; otherwise, go to step S406;
s404, determining first charging power corresponding to the charging parameters based on the charging parameters set by the user;
for example, if the charging parameter set by the user is not a specific charging power value, but a parameter indicating a charging speed (e.g., fast charging, slow charging, low-power charging, high-power charging, etc.), the first charging power corresponding to the charging parameter set by the user may be determined according to a preset power mapping table. For example, as shown in table 1, the first charging power corresponding to fast charging is 90 watts (Watt, W), the first charging power corresponding to medium charging is 60W, the first charging power corresponding to slow charging is 30W, and when the charging parameter set by the user is fast charging, the first charging power corresponding to fast charging is determined to be 90W from table 1.
TABLE 1
Charging parameter First charging power (watt)
Fast charging 90
Medium-speed charging 60
Charging at a slow rate 30
S405, determining the target charging power based on the first charging power and the second charging power, and then entering a step S409;
it is understood that the charging parameter set by the user may not be within the currently allowed charging power range of the terminal, and the charging parameter set by the user may not satisfy the current charging condition of the terminal, for example, the first charging power set by the user is greater than the currently allowed maximum safe charging power of the battery assembly, and if the battery assembly is charged with the first charging power set by the user at this time, the cell performance of the battery assembly may be damaged, and even the cell may explode. Therefore, here, determining the target charging power based on the first charging power and the second charging power can ensure charging safety on the premise of realizing automatic adjustment of the charging power and equalizing the influence of the charging speed and the heating degree on the use of the terminal by the user.
In addition, the first charging power set by the user may not meet the current charging condition of the battery assembly, for example, the first charging power set by the user is greater than the currently allowed maximum safe charging power of the battery assembly, and if the battery assembly is charged with the first charging power set by the user at this time, the cell performance of the battery assembly may be damaged, and even the cell may explode.
It should be noted that steps S404 and S405 are an implementation example of "determining the target charging power based on the current state information".
For example, in other embodiments, for step S405, the determining the target charging power based on the first charging power and the second charging power may include: comparing the first charging power with the second charging power; determining the first charging power as the target charging power if the first charging power is less than the second charging power; determining the second charging power as the target charging power if the first charging power is greater than or equal to the second charging power.
S406, acquiring other current state information of the terminal, wherein the other current state information at least comprises one of the following information: the current running state and the connection mode of the terminal and the power adapter;
it can be understood that the current operation state of the terminal is positively correlated with the energy consumption generated by the terminal, for example, the more applications currently operated by the terminal or the larger the memory overhead of the terminal is, the more the load consumption capability of the terminal is, and the more serious the heating phenomenon is. In other embodiments, the memory overhead of the terminal may be obtained, and the current operating state of the terminal may be characterized by the memory overhead.
Currently, the connection between the terminal and the power adapter is usually made by the power adapter 40 through a power cord 41 and a terminal 42, as shown in fig. 4A. In the embodiment of the present application, another connection manner is provided, as shown in fig. 4B, the power adapter 40 is electrically connected to the terminal 42 through the heat dissipation device 43, so that the terminal 42 being charged can be dissipated through the heat dissipation device 43, thereby timely reducing the heat generated by the terminal 42 during the charging process. In practical applications, the heat dissipation device 43 may be a fan, a refrigeration device, or the like. After the heat sink 43 is inserted into the charging interface of the terminal 42, the heat sink 43 may send a prompt signal to the terminal 42 through a wireless communication link (e.g., a bluetooth link, a WIFI link, an NFC link, etc.) with the terminal 42 to inform that the device, which is currently inserted into the terminal 42, of the terminal 42 is a heat sink. For example, the prompt signal includes an identification code of the heat sink 43, and the terminal 42 can determine whether to establish electrical connection with the power adapter through the heat sink according to the received prompt signal.
As shown in fig. 4B, the heat sink 43 is provided with a plug that mates with the charging interface of the terminal 42, for example, the charging interface of the terminal 42 has a power supply pin VBUS, a D + pin, a D-pin, and a ground pin GND, and correspondingly, the plug of the heat sink 43 also has these four pins. The plug on the heat sink 43 is connected with the terminal 42, so that the distance between the heat sink 43 and the terminal 42 can be shortened to the maximum extent, the heat dissipation capability of the heat sink 43 is fully utilized, and the terminal 42 is cooled down quickly.
The power adapter 40 and the terminal 42 may perform information interaction through a communication interface (for example, a line 421 where a D + pin on a charging interface of the terminal 42 is located as shown in fig. 4B), that is, the heat sink 43 performs relay; of course, the power adapter 40 and the terminal 42 can also exchange information through wireless communication. When the power adapter 40 charges the terminal 42, the output current of the power adapter 40 flows into the terminal 42 after passing through the heat sink, and charges the battery pack on the terminal 42.
S407, determining a third charging power based on the second charging power and the other current state information;
it can be understood that, when the charging parameters set by the user are not included in the current state information, that is, the user does not set the current charging parameters of the terminal, through step S407 and step S408, on the premise of ensuring charging safety, automatic adjustment of the current charging power of the terminal is achieved; thus, when the terminal is in the charging state, if the user does not use the terminal, the charging speed can be increased and the charging duration can be shortened through the steps S407 and S408; when the terminal is in a charging state, if the user is using the terminal, through the steps S407 and S408, the influence of the charging speed and the heating degree of the terminal on the user using the terminal can be equalized, so that the charging experience of the user is improved.
S408, determining the target charging power based on the second charging power and the third charging power;
it can be understood that, if the current state information does not include the charging parameter set by the user, the target charging power may be determined based on the other current state information, so as to implement automatic adjustment of the charging power, equalize the influence of the charging speed and the heating degree on the user using the terminal, and improve the charging experience of the user.
It should be noted that steps S406 to S408 are another implementation example of "determining the target charging power based on the current state information".
In other embodiments, if the charging parameter set by the user is not included in the current state information, the second charging power may also be directly determined as the target charging power, so as to improve the charging efficiency of the battery pack and reduce the charging duration.
And S409, charging the battery assembly of the terminal by using the target charging power.
The embodiment of the present application provides another charging method, including steps S501 to S508:
s501, acquiring current state information of the terminal after detecting that the terminal is electrically connected with a power adapter; the current state information comprises the current battery temperature, the current battery electric quantity and the current memory expenditure of the terminal;
here, it should be noted that, since the charging parameter is not set by the user, when the current state information of the terminal is acquired, the charging parameter set by the user cannot be acquired, that is, the charging parameter set by the user is not present in the current state information.
S502, determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
s503, determining whether the terminal is electrically connected with the power adapter through a heat dissipation device; if yes, go to step S504; otherwise, go to step S507;
for example, the terminal may determine whether to establish an electrical connection with the power adapter through the heat sink by analyzing a communication signal sent by a device directly connected to the terminal.
It is understood that the determined second charging power (i.e., the maximum safe charging power) may obtain a greater second charging power when the terminal is connected with the heat sink than when the terminal is not connected with the heat sink. Therefore, when the terminal is connected with the heat sink, if the battery pack is charged using the second charging power, the charging can be completed more quickly.
S504, obtaining heat dissipation parameters of the heat dissipation device, wherein the heat dissipation parameters are used for representing the heat dissipation capacity of the heat dissipation device, and then entering the step S505;
for example, the heat dissipation parameter may be a rated power, a heat dissipation manner, and the like of the heat dissipation device, and the larger the rated power is, the stronger the heat dissipation capability is; the heat dissipation method may be, for example, fan heat dissipation, or cooling heat dissipation, and the cooling heat dissipation capability is relatively strong. In other embodiments, the body temperature or the battery temperature of the terminal may be periodically obtained, and then the falling speed of the body temperature or the battery temperature may be calculated, and the falling speed of the body temperature or the battery temperature may be determined as the heat dissipation parameter.
S505, determining the third charging power based on the second charging power, the heat dissipation parameter and the memory overhead, and then entering step S507;
it can be understood that when the charging parameters set by the user are not included in the current state information, in an application scenario where the user uses the terminal while charging, if the battery pack is directly charged with the second charging power (i.e., the current maximum safe charging power of the battery pack), the battery may be continuously heated and heated, which may bring a bad charging experience to the user. Therefore, in the embodiment of the application, the target charging power is determined by combining the heat dissipation parameters and/or the memory overhead, so that the influence of the charging speed and the heating degree of the terminal on the terminal using of a user is effectively balanced, and the charging experience of the user is improved.
For example, the influence degrees of the second charging power, the heat dissipation parameter, and the memory overhead on the target charging power may be determined, and the third charging power may be determined based on the influence degree of each current state.
S506, determining the third charging power based on the second charging power and the memory overhead;
s507, determining the target charging power based on the second charging power and the third charging power; for example, comparing the magnitude relationship between the second charging power and the third charging power, and if the third charging power is greater than or equal to the second charging power, determining the second charging power as a target charging power; determining the third charging power as a target charging power if the third charging power is less than the second charging power; therefore, the target charging power is always smaller than or equal to the current maximum safe charging power of the battery pack, and the charging safety is ensured.
It should be noted that steps S502 to S507 are an example of implementation of "determining the third charging power".
And S508, charging the battery assembly of the terminal by using the target charging power.
In other embodiments, for step S505, determining the third charging power based on the second charging power, the heat dissipation parameter and the memory overhead may be implemented by steps S5051 to S5052 as follows:
s5051, determining a first power increment corresponding to the memory overhead from a preset first power increment mapping table;
it can be understood that the larger the current memory overhead of the terminal is, the more energy is consumed by the load, and the more serious the heating phenomenon is. Therefore, when setting the first power increment map, the first power increment is usually set to a negative value. For example, as shown in table 2, when the memory overhead is less than 1GB, the corresponding first power increment is 0; when the memory overhead belongs to [1.0GB, 1.5GB), the corresponding first power increment is-5W; when the memory overhead is 1.5GB, 2.0GB), the corresponding first power increment is-10W.
TABLE 2
Memory overhead First power increment
[0,1GB) 0
[1.0GB,1.5GB) -5W
[1.5GB,2.0GB) -10W
…… ……
S5052, determining a second power increment corresponding to the heat dissipation parameter from a preset second power increment mapping table;
it is understood that the stronger the heat dissipating capability of the heat dissipating device, the faster the body temperature or the battery temperature of the terminal drops, and thus, the second power increment is generally set to a positive value when the second power increment map is set. For example, when a fan is disposed in the heat dissipation device, the corresponding heat dissipation parameter is represented by the rotation speed of the fan, and as shown in table 3, when the rotation speed of the fan is less than 2000 rpm, the corresponding second power increment is 5W, and when the rotation speed of the fan is [2000 rpm, 3000 rpm ], the corresponding second power increment is 10W; when the rotating speed of the fan is [3000 r/min, 4000 r/min ], the corresponding second power increment is 15W.
TABLE 3
Rotating speed of fan First power increment
[0, 2000 rpm) 5W
[2000 rpm, 3000 rpm) 10W
[3000 rpm, 4000 rpm) 15W
…… ……
S5053, accumulating the second charging power, the first power increment and the second power increment to obtain the third charging power.
In other embodiments, if the connection mode between the terminal and the power adapter is such that the terminal establishes electrical connection with the power adapter through a power line, the third charging power is determined based on the second charging power and the memory overhead. For example, the second charging power and the first power increment are accumulated to obtain the third charging power.
Generally speaking, when a mobile phone is charged with high power quickly, the larger the power is, the faster the mobile phone is charged with high heat, but the more serious the heat is, and the heat generation phenomenon caused during charging can bring some bad experiences to a user.
For example, the user is in urgent need to fully charge the mobile phone at this time, and can tolerate more serious heating, that is, quick charging is the main requirement, heating is gradually changed into the secondary requirement, the user can select the maximum power to charge at this time, and the mobile phone can quickly charge at the maximum power within the safety range.
For another example, when charging a mobile phone, a user is playing a game, and at this time, the heat of the mobile phone cannot be tolerated, the heat generation is gradually changed into a main requirement, the charging speed is changed into a secondary requirement, the user can select low power to charge at this time, and the mobile phone can perform quick charging at the power closest to the power selected by the user in a safe range.
In the conventional high-power charging scheme, the charging power is controlled at the background of the mobile phone, and a user cannot control the charging power by himself. In the embodiment of the application, the user can set different charging powers in different application scenes to balance the influence of the charging speed and the heating degree on the mobile phone, so that better use experience is brought.
For example, a preset charging power setting interface is displayed on the mobile phone, and the button (i.e., charging power gear) selected by the user may be a specific numerical value, such as 20W, 30W, 40W, 50W, 60W, 70W, 80W, 90W, 100W, or may be an unspecified numerical value, such as high power, medium power, and low power.
The display mode of the button selected by the user can be selected by a pop-up box, can also be hidden in a notification bar for the user to select, and can also be selected from sub-options in a 'setting' APP of the mobile phone.
Assume that the user selectable charging power P _ user is 20W, 30W, 40W, 50W, 60W, 70W, 80W, 90W, 100W; the charging power P _ set which can be set by the background is 20W, 30W, 40W, 50W, 60W, 70W, 80W, 90W and 100W. When a User inserts the mobile phone into a power adapter for charging, a button for selecting charging power appears on a User Interface (UI) of the mobile phone for the User to select.
Under the conditions of different battery temperatures and different battery electric quantities, the current maximum safe charging power calculated by the background is Pmax _ set1, the charging power selected by the user on the mobile phone interface is P _ user1,
if P _ user1> is Pmax _ set1, the mobile phone is charged with the current maximum safe charging power Pmax _ set 1;
if the P _ user1 is less than Pmax _ set1, the mobile phone is charged by the charging power P _ user1 selected by the current user;
if the user does not select, the mobile phone is charged with the current maximum safe charging power Pmax _ set 1.
In addition, it should be noted that, regarding the implementation of high-power charging, the following modes can be referred to:
1. under the condition of not considering the heat of the mobile phone, the heat dissipation can be directly realized by increasing the output power of the power adapter. The charging architecture can use the existing fast charging architecture (low voltage and large current) or other charging architectures (high voltage and small current).
2. When the heat of the mobile phone is considered, that is, the heat of the mobile phone needs to be controlled, an additional heat dissipation device (for example, a fan, a cooling heat dissipation mode, or the like) may be added to dissipate the heat of the mobile phone being charged. The connection relationship between the handset, the power adapter and the heat sink is shown in fig. 4B. The mobile phone can detect whether the heat sink exists in various ways (such as induction and communication), for example, a prompt signal sent by the heat sink is received, and whether the heat sink is connected or not is determined according to an identification code of the heat sink carried by the prompt signal. If the heat dissipation device is connected to the mobile phone, the mobile phone can be charged by high-power charging (charging power exceeding 50W). In this case, the control of the charging power may be performed in combination with the user interaction described above.
It should be noted that the communication mode between the power adapter and the mobile phone may be a transfer mode through a communication interface and a heat dissipation device; or the mobile phone and the power adapter can directly interact in wireless communication. The power adapter charges the mobile phone, or can be transferred through a channel in the heat dissipation device. In addition, if the heat dissipation device needs to be powered, the adapter can also directly supply power.
Based on the foregoing embodiments, the present application provides a charging device, which includes modules and units included in the modules, and can be implemented by a processor in a terminal; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present application, and as shown in fig. 5, the charging device 500 includes a current state information obtaining module 501, a target charging power determining module 502, and a charging module 503, where:
a current state information obtaining module 501 configured to: when detecting that a condition for charging the charging device is met, acquiring current state information of the charging device; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters;
a target charging power determination module 502 configured to: determining a target charging power based on the current state information;
a charging module 503 configured to: and charging the battery assembly of the charging device by using the target charging power.
In other embodiments, when the current state information includes the charging parameter set by the user, the target charging power determining module 502 includes:
a first determination unit configured to: determining a first charging power corresponding to the charging parameter based on the charging parameter set by the user;
a second determination unit configured to: determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
a target charging power determination unit configured to: determining the target charging power based on the first charging power and the second charging power.
In other embodiments, the target charging power determination unit is configured to: comparing the first charging power with the second charging power; determining the first charging power as the target charging power if the first charging power is less than the second charging power; determining the second charging power as the target charging power if the first charging power is greater than or equal to the second charging power.
In other embodiments, the current state information obtaining module 501 is configured to: receiving a voice charging instruction, wherein the voice charging instruction is used for instructing the charging device to charge the battery assembly according to the charging parameters indicated by the voice charging instruction; and determining the charging parameters set by the user based on the voice charging instruction.
In other embodiments, the current state information obtaining module 501 is configured to: displaying a preset charging power setting interface, wherein the charging power setting interface comprises at least one charging power gear for the user to select; receiving a selection instruction on the charging power setting interface, wherein the selection instruction is used for instructing the charging device to charge the battery assembly according to the charging parameters indicated by the selection instruction; and determining the charging parameters set by the user based on the selection instruction.
In another embodiment, when the charging parameter set by the user is not included in the current state information, the second determining unit is configured to: determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly; the target charging power determination unit is configured to: determining the second charging power as the target charging power.
In other embodiments, the current state information obtaining module 501 is further configured to: acquiring other current state information of the charging device, wherein the other current state information at least comprises one of the following information: the current running state and the connection mode of the charging device and the power adapter; correspondingly, when the current state information does not include the charging parameter set by the user, the target charging power determining module 502 further includes a third determining unit; wherein the content of the first and second substances,
the second determination unit is configured to: determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
the third determining unit is configured to: determining a third charging power based on the second charging power and the other current state information;
the target charging power determination unit is further configured to: determining the target charging power based on the second charging power and the third charging power.
In other embodiments, the current state information obtaining module 501 is configured to: acquiring the memory overhead of the charging device, and determining the memory overhead as the current operating state of the charging device;
correspondingly, the third determining unit includes:
an acquisition subunit configured to: if the connection mode of the charging device and the power adapter is that the charging device is electrically connected with the power adapter through a heat dissipation device, obtaining heat dissipation parameters of the heat dissipation device, wherein the heat dissipation parameters are used for representing the heat dissipation capacity of the heat dissipation device;
a determination subunit configured to: and determining the third charging power based on the second charging power, the heat dissipation parameter and the memory overhead.
In other embodiments, the determining subunit is configured to: determining a first power increment corresponding to the memory overhead from a preset first power increment mapping table; determining a second power increment corresponding to the heat dissipation parameter from a preset second power increment mapping table; and accumulating the second charging power, the first power increment and the second power increment to obtain the third charging power.
In other embodiments, the determining subunit is further configured to, if the connection manner of the charging device and the power adapter is that the charging device is electrically connected to the power adapter through a power line, add up the second charging power and the first power increment to obtain a third charging power.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the charging method is implemented in the form of a software functional module and sold or used as a standalone product, the charging method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially embodied in the form of a software product stored in a storage medium, and including instructions for enabling a terminal (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides a terminal, fig. 6 is a schematic diagram of a hardware entity of the terminal according to the embodiment of the present application, and as shown in fig. 6, the hardware entity of the terminal 600 includes: comprising a memory 601 and a processor 602, said memory 601 storing a computer program operable on the processor 602, said processor 602 implementing the steps in the charging method provided in the above embodiments when executing said program.
The Memory 601 is configured to store instructions and applications executable by the processor 602, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 602 and modules in the terminal 600, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the charging method provided in the above embodiments.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially embodied in the form of a software product stored in a storage medium, and including instructions for enabling a terminal (which may be a mobile phone, a tablet computer, a desktop computer, a personal digital assistant, a navigator, a digital phone, a video phone, a television, a sensing device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A charging method is applied to a terminal, and comprises the following steps:
when the condition for charging the terminal is detected to be met, acquiring current state information of the terminal; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters;
determining a target charging power based on the current state information;
and charging the battery assembly of the terminal by using the target charging power.
2. The method of claim 1, wherein when the charging parameters set by the user are included in the current state information, the determining the target charging power based on the current state information comprises:
determining a first charging power corresponding to the charging parameter based on the charging parameter set by the user;
determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
determining the target charging power based on the first charging power and the second charging power.
3. The method of claim 2, wherein the determining the target charging power based on the first charging power and the second charging power comprises:
comparing the first charging power with the second charging power;
determining the first charging power as the target charging power if the first charging power is less than the second charging power;
determining the second charging power as the target charging power if the first charging power is greater than or equal to the second charging power.
4. The method of claim 1, wherein obtaining the charging parameters set by the user comprises:
receiving a voice charging instruction, wherein the voice charging instruction is used for instructing the terminal to charge the battery pack according to the charging parameters indicated by the voice charging instruction;
and determining the charging parameters set by the user based on the voice charging instruction.
5. The method of claim 1, wherein obtaining the charging parameters set by the user comprises:
displaying a preset charging power setting interface, wherein the charging power setting interface comprises at least one charging power gear for the user to select;
receiving a selection instruction on the charging power setting interface, wherein the selection instruction is used for instructing the terminal to charge the battery assembly according to the charging parameters indicated by the selection instruction;
and determining the charging parameters set by the user based on the selection instruction.
6. The method of claim 1, wherein when the charging parameter set by the user is not included in the current state information, the determining the target charging power based on the current state information comprises:
determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
determining the second charging power as the target charging power.
7. The method of claim 1, further comprising:
acquiring other current state information of the terminal, wherein the other current state information at least comprises one of the following information: the current running state and the connection mode of the terminal and the power adapter;
correspondingly, when the charging parameter set by the user is not included in the current state information, determining the target charging power based on the current state information includes:
determining a second charging power based on the battery temperature and the battery electric quantity, wherein the second charging power is the maximum safe charging power which can be currently accepted by the battery assembly;
determining a third charging power based on the second charging power and the other current state information;
determining the target charging power based on the second charging power and the third charging power.
8. The method of claim 7, wherein obtaining the current operating state of the terminal comprises: acquiring the memory overhead of the terminal, and determining the memory overhead as the current operation state of the terminal;
correspondingly, the determining a third charging power based on the second charging power and the other current state information includes:
if the connection mode of the terminal and the power adapter is that the terminal is electrically connected with the power adapter through a heat dissipation device, obtaining heat dissipation parameters of the heat dissipation device, wherein the heat dissipation parameters are used for representing the heat dissipation capacity of the heat dissipation device;
and determining the third charging power based on the second charging power, the heat dissipation parameter and the memory overhead.
9. The method of claim 8, wherein determining the third charging power based on the second charging power, the thermal dissipation parameter, and the memory overhead comprises:
determining a first power increment corresponding to the memory overhead from a preset first power increment mapping table;
determining a second power increment corresponding to the heat dissipation parameter from a preset second power increment mapping table;
and accumulating the second charging power, the first power increment and the second power increment to obtain the third charging power.
10. The method of claim 9, wherein determining a third charging power based on the second charging power and the other current state information further comprises:
and if the connection mode of the terminal and the power adapter is that the terminal is electrically connected with the power adapter through a power line, accumulating the second charging power and the first power increment to obtain third charging power.
11. A charging device, comprising:
a current state information acquisition module configured to: when detecting that a condition for charging the charging device is met, acquiring current state information of the charging device; wherein the current state information includes at least one of: battery temperature, battery power, user-set charging parameters;
a target charging power determination module configured to: determining a target charging power based on the current state information;
a charging module configured to: and charging the battery assembly of the charging device by using the target charging power.
12. A terminal comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor when executing the program implements the steps in the charging method of any one of claims 1 to 10.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the charging method according to any one of claims 1 to 10.
CN201910180561.7A 2019-03-11 2019-03-11 Charging method and device, terminal and storage medium Active CN111697636B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910180561.7A CN111697636B (en) 2019-03-11 2019-03-11 Charging method and device, terminal and storage medium
PCT/CN2020/076082 WO2020181971A1 (en) 2019-03-11 2020-02-20 Charging method and apparatus, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910180561.7A CN111697636B (en) 2019-03-11 2019-03-11 Charging method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111697636A true CN111697636A (en) 2020-09-22
CN111697636B CN111697636B (en) 2022-10-18

Family

ID=72427719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910180561.7A Active CN111697636B (en) 2019-03-11 2019-03-11 Charging method and device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111697636B (en)
WO (1) WO2020181971A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545081A (en) * 2023-07-06 2023-08-04 北京小米移动软件有限公司 Charging control method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401342B (en) * 2022-01-30 2024-02-20 深圳创维-Rgb电子有限公司 Screen recording mode determining method, screen projector and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203596649U (en) * 2013-12-18 2014-05-14 惠州市亿能电子有限公司 Rail transit train battery management system
CN104810890A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Charging control method and device
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN106451612A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method and charging apparatus
CN106487071A (en) * 2016-11-28 2017-03-08 深圳市金立通信设备有限公司 A kind of charging management method and terminal
CN106910952A (en) * 2017-03-23 2017-06-30 全椒县志宏机电设备设计有限公司 Method and mobile terminal that a kind of mobile terminal safety charges
CN108110854A (en) * 2018-01-16 2018-06-01 北京小米移动软件有限公司 Charging method, device and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222963B (en) * 2011-06-28 2013-06-26 深圳市英威腾电源有限公司 Charger current-limiting control method, charger current-limiting control device and uninterrupted power supply system
US9748788B2 (en) * 2015-09-17 2017-08-29 Qualcomm Incorporated Systems and methods for charging a battery
CN107980190A (en) * 2016-10-28 2018-05-01 深圳市柔宇科技有限公司 Electronic device and on demand charging method
CN106786871A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Charge control method, apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203596649U (en) * 2013-12-18 2014-05-14 惠州市亿能电子有限公司 Rail transit train battery management system
CN104810890A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Charging control method and device
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN106451612A (en) * 2016-09-21 2017-02-22 奇酷互联网络科技(深圳)有限公司 Charging method and charging apparatus
CN106487071A (en) * 2016-11-28 2017-03-08 深圳市金立通信设备有限公司 A kind of charging management method and terminal
CN106910952A (en) * 2017-03-23 2017-06-30 全椒县志宏机电设备设计有限公司 Method and mobile terminal that a kind of mobile terminal safety charges
CN108110854A (en) * 2018-01-16 2018-06-01 北京小米移动软件有限公司 Charging method, device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116545081A (en) * 2023-07-06 2023-08-04 北京小米移动软件有限公司 Charging control method, device, equipment and storage medium
CN116545081B (en) * 2023-07-06 2024-01-30 北京小米移动软件有限公司 Charging control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111697636B (en) 2022-10-18
WO2020181971A1 (en) 2020-09-17

Similar Documents

Publication Publication Date Title
US11368039B2 (en) Battery charging method and electronic device
CN102801199B (en) Terminal and terminal charging method
US11011925B2 (en) Battery charging apparatus and method, terminal, power adapter, and storage medium
US20220321987A1 (en) Management method and device of bluetooth® earphone charging paths, and non-transitory readable storage medium
CN111697636B (en) Charging method and device, terminal and storage medium
US11056903B2 (en) Electronic device including battery and method of controlling charging thereof
TWI566502B (en) Portable device and method for controlling charging current thereof
CN111446753A (en) Charging control method, device, equipment and storage medium
EP4161230A1 (en) Heat dissipation method and apparatus for electronic device, and storage medium
CN111404228A (en) Terminal battery charging method and device, terminal battery charging equipment and storage medium
CN106063072A (en) Terminal
CN111464674B (en) Electronic equipment and temperature control method thereof during charging
JP5694874B2 (en) Communication terminal, charge control program, and charge control method
WO2015090077A1 (en) Mobile terminal charging control method, device, system, and mobile terminal
US20140195827A1 (en) Electronic device with power control function
CN107863589B (en) Battery processing method and device
CN109256825B (en) Charging method and electronic device
CN108475097B (en) Electric quantity management method and terminal equipment
US20170093181A1 (en) Charging control method and apparatus, terminal and computer storage medium
CN112994173A (en) Wireless charging method and device, equipment and storage medium
US9685808B2 (en) USB energy harvesting
TW201110443A (en) Method of managing rechargeable battery for an electric device
JP2010029059A (en) Battery management system, and battery management method
CN112448429B (en) Control method, terminal and computer storage medium
CN204103538U (en) A kind of safe and intelligent power supply adaptor

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