Search

CN-115940310-B - Charging method, charging device, and storage medium

CN115940310BCN 115940310 BCN115940310 BCN 115940310BCN-115940310-B

Abstract

The disclosure relates to a charging method, a charging device and a storage medium. The charging method is applied to the terminal and comprises the steps of detecting a first current, determining a first temperature change value generated by the first current, wherein the first current is a discharge current when the terminal is charged in the current application scene, determining a second temperature change value which allows the battery of the terminal to generate based on a temperature change threshold value and the first temperature change value, determining a second current based on the second temperature change value, and charging the terminal according to the charging current which meets the first current and the second current. According to the embodiment of the disclosure, different charging currents can be determined according to different application scenes, and the charging speed under the scenes is ensured.

Inventors

  • REN XING
  • LI BINGYANG

Assignees

  • 北京小米移动软件有限公司

Dates

Publication Date
20260505
Application Date
20210922

Claims (16)

  1. 1. A method of charging, the method comprising: Detecting a first current, and determining a first temperature change value generated by the first current, wherein the first current is a discharge current when a terminal is charged in a current application scene; Determining a second temperature change value allowing the terminal battery to generate based on a temperature change threshold and the first temperature change value; Determining a second current based on the second temperature change value; and charging the terminal by the charging current meeting the first current and the second current.
  2. 2. The charging method of claim 1, wherein determining a first temperature change value generated by the first current comprises: determining a current temperature rise change relation corresponding to the current application scene, wherein the current temperature rise change relation represents a corresponding relation between discharge current and a temperature change value; And determining a first temperature change value generated by the first current based on the current temperature rise change relation.
  3. 3. The charging method according to claim 2, wherein the current temperature rise change relationship is determined by: Acquiring a discharge current and a first temperature value when a terminal is not charged in a specified application scene, and acquiring a discharge current and a second temperature value in a terminal charging process in the specified application scene, wherein all charging currents generated in the terminal charging process are consumed by a system, and no current is provided for a terminal battery; And determining a temperature change value between the second temperature value and the first temperature value, and creating a corresponding relation between the corresponding temperature change value and the discharge current in the appointed application scene.
  4. 4. The charging method according to claim 1, wherein determining a second temperature change value that allows the terminal battery to generate based on the temperature change threshold and the first temperature change value comprises: And determining a difference value between the temperature change threshold value and the first temperature change value as a second temperature change value which allows the terminal battery to generate.
  5. 5. The charging method according to claim 1, wherein determining a second current based on the second temperature change value comprises: Determining charging power consumption generated in the charging process of the terminal battery based on the second temperature change value, the heat dissipation coefficient and the battery voltage of the terminal battery; And determining the current corresponding to the charging power consumption as a second current based on the corresponding relation between the charging power consumption and the current of the terminal battery.
  6. 6. The charging method according to claim 1, wherein the temperature change threshold is determined by: And determining the current application scene of the terminal, and determining a temperature change threshold corresponding to the current application scene.
  7. 7. The charging method of claim 6, wherein determining a temperature change threshold corresponding to the current application scenario comprises: determining the unified temperature change threshold configured by the terminal as the temperature change threshold corresponding to the current application scene, or And determining a matched temperature change threshold configured for the current application scene in the terminal as a temperature change threshold corresponding to the current application scene.
  8. 8. A charging device, characterized in that the charging device comprises: The terminal battery charging control device comprises a determining unit, a determining unit and a control unit, wherein the determining unit detects a first current and determines a first temperature change value generated by the first current, the first current is a discharging current when a terminal is charged in the current application scene; And the charging unit is used for charging the terminal with a charging current meeting the first current and the second current.
  9. 9. The charging device according to claim 8, wherein the determination unit determines the first temperature change value generated by the first current in such a manner that: determining a current temperature rise change relation corresponding to the current application scene, wherein the current temperature rise change relation represents a corresponding relation between discharge current and a temperature change value; And determining a first temperature change value generated by the first current based on the current temperature rise change relation.
  10. 10. The charging device according to claim 9, wherein the determining unit determines the current temperature rise change relationship by: Acquiring a discharge current and a first temperature value when a terminal is not charged in a specified application scene, and acquiring a discharge current and a second temperature value in a terminal charging process in the specified application scene, wherein all charging currents generated in the terminal charging process are consumed by a system, and no current is provided for a terminal battery; And determining a temperature change value between the second temperature value and the first temperature value, and creating a corresponding relation between the corresponding temperature change value and the discharge current in the appointed application scene.
  11. 11. The charging device according to claim 8, wherein the determination unit determines the second temperature change value that allows the terminal battery to generate based on the temperature change threshold value and the first temperature change value in such a manner that: And determining a difference value between the temperature change threshold value and the first temperature change value as a second temperature change value which allows the terminal battery to generate.
  12. 12. The charging device according to claim 8, wherein the determination unit determines the second current based on the second temperature change value by: Determining charging power consumption generated in the charging process of the terminal battery based on the second temperature change value, the heat dissipation coefficient and the battery voltage of the terminal battery; And determining the current corresponding to the charging power consumption as a second current based on the corresponding relation between the charging power consumption and the current of the terminal battery.
  13. 13. The charging device according to claim 8, wherein the determination unit determines the temperature change threshold value by: And determining the current application scene of the terminal, and determining a temperature change threshold corresponding to the current application scene.
  14. 14. The charging device according to claim 13, wherein the determining unit determines the temperature change threshold corresponding to the current application scenario by: determining the unified temperature change threshold configured by the terminal as the temperature change threshold corresponding to the current application scene, or And determining a matched temperature change threshold configured for the current application scene in the terminal as a temperature change threshold corresponding to the current application scene.
  15. 15. A charging device, characterized by comprising: A processor; A memory for storing processor-executable instructions; wherein the processor is configured to perform the charging method of any one of claims 1 to 7.
  16. 16. A storage medium having instructions stored therein which, when executed by a processor of a terminal, enable the terminal to perform the charging method of any one of claims 1 to 7.

Description

Charging method, charging device, and storage medium Technical Field The disclosure relates to the technical field of terminal charging, and in particular relates to a charging method, a charging device and a storage medium. Background With the continuous development of terminal technology, the configuration of terminals is higher and higher, and the demands of people for using the terminals are also increasing. The increase of the charging power of the terminal can cause the temperature change of the terminal to be obvious when the terminal is charged, so that the use experience of a user is influenced, and the service life of the terminal is also influenced. In order to ensure the charging safety of the terminal, the terminal temperature is controlled during charging, namely, a specific temperature is set, and if the terminal temperature reaches the specific temperature, the charging current is reduced so as to control the rise of the terminal temperature. However, for the use scene of terminal bright screen charging, different use scene systems occupy different power consumption, and the charging current of the terminal is uniformly controlled at a specific temperature, so that the charging requirement can not be met under the use scene of high power consumption. Disclosure of Invention To overcome the problems in the related art, the present disclosure provides a charging method, a charging apparatus, and a storage medium. According to a first aspect of embodiments of the present disclosure, a charging method is provided and applied to a terminal, and the method includes detecting a first current and determining a first temperature change value generated by the first current, wherein the first current is a discharge current when the terminal is charged in a current application scenario, determining a second temperature change value allowing the terminal battery to generate based on the temperature change threshold and the first temperature change value, determining a second current based on the second temperature change value, and charging the terminal by using a charging current satisfying the first current and the second current. In some embodiments, determining the first temperature change value generated by the first current includes determining a current temperature rise change relationship corresponding to the current application scenario, wherein the current temperature rise change relationship characterizes a correspondence between discharge current and a temperature change value, and determining the first temperature change value generated by the first current based on the current temperature rise change relationship. In some embodiments, the current temperature rise change relation is determined by obtaining a discharge current and a first temperature value when a terminal is not charged in a specified application scene, and obtaining a discharge current and a second temperature value in a terminal charging process in the specified application scene, wherein all charging currents generated in the terminal charging process are consumed by a system and no current is provided for a terminal battery, determining a temperature change value between the second temperature value and the first temperature value, and creating a corresponding relation between a corresponding temperature change value and the discharge current in the specified application scene. In some embodiments, determining a second temperature change value that allows the terminal battery to produce based on the temperature change threshold and the first temperature change value includes determining a difference between the temperature change threshold and the first temperature change value as the second temperature change value that allows the terminal battery to produce. In some embodiments, determining the second current based on the second temperature change value includes determining charging power consumption of the terminal battery generated in a charging process based on the second temperature change value, a heat dissipation coefficient, and a battery voltage of the terminal battery, and determining a current corresponding to the charging power consumption as the second current based on a correspondence between the charging power consumption of the terminal battery and the current. In some embodiments, the temperature change threshold is determined by determining a current application scenario of the terminal and determining a temperature change threshold corresponding to the current application scenario. In some embodiments, determining the temperature change threshold corresponding to the current application scene includes determining a unified temperature change threshold configured by the terminal as the temperature change threshold corresponding to the current application scene, or determining a matching temperature change threshold configured for the current application scene in the terminal as the temperature change th