Charging control method and device, charging circuit and system, electronic equipment and medium

By controlling the transmission of charging current during the charging process, using the combination of level signals and switch tube resistors, the problem of high-temperature charging of terminal equipment is solved, and the safety performance and service life of the equipment are improved.

CN120377408APending Publication Date: 2025-07-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410102939.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

During the charging process, the temperature of the terminal device is prone to rise, and long-term high-temperature charging will reduce the service life and safety performance of the device.

Method used

By sending a first level signal to receive the charging current when the charger is connected, and sending a second level signal to stop charging when the terminal device temperature exceeds the first preset threshold, the transmission of the charging current is controlled by using a switching tube and a resistor.

Benefits of technology

Effectively avoid damage to terminal equipment due to high temperature charging, improve safety performance and extend service life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120377408A_ABST
    Figure CN120377408A_ABST
Patent Text Reader

Abstract

The invention relates to a charging control method and device, a charging circuit and system, electronic equipment and a medium, and the method comprises the steps: transmitting a first level signal to a charger, receiving a charging current provided by the charger, obtaining the current temperature of terminal equipment under the condition that the terminal equipment is connected with the charger, and carrying out the charging control under the condition that the current temperature is greater than a first preset temperature threshold. And sending the second level signal to the charger, so that the charger stops providing the charging current to the terminal equipment. Thus, the second level signal can be timely and effectively sent to the charger when the current temperature of the terminal device is determined to be greater than the first preset temperature threshold value, so that the charger stops providing the charging current to the terminal device when the terminal device is at a high temperature, the phenomenon that the terminal device is burnt down can be effectively avoided, and the user experience is improved. Therefore, the safety performance of the terminal equipment can be effectively improved, and the service life of the terminal equipment can be effectively prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of charging technologies, and in particular, to a charging control method, apparatus, charging circuit, system, electronic device, and medium. Background Art

[0002] With the development of technology, the functions of terminal devices have become more and more diverse, making terminal devices an indispensable part of people's lives. In order to adapt to the diverse functions of terminal devices, the standby time of terminal devices needs to be improved. At the same time, the battery capacity of terminal devices is also increasing day by day. And in order to improve the experience of terminal device users, the charging power of terminal devices has also increased accordingly. However, with the increase in charging power, during the charging process, the temperature of the terminal device is likely to rise. Prolonged high-temperature charging is not conducive to extending the service life of the terminal device, nor is it conducive to improving the safety performance of the terminal device. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a charging control method, apparatus, charging circuit, system, electronic device, and medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a charging control method is provided. The method includes:

[0005] When connected to a charger, send a first level signal to the charger, where the first level signal is within a first preset level range;

[0006] Receive the charging current provided by the charger;

[0007] Obtain the current temperature of the terminal device. When it is determined that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device, where the second level signal is within a second preset level range.

[0008] Optionally, the terminal device includes: a configuration channel port, a first switch tube, a second switch tube, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switch tube, and the pull-down resistor is connected to the configuration channel port through the second switch tube. The configuration channel port is used to connect to the charger. When connected to the charger, sending the first level signal to the charger includes:

[0009] When it is determined that the charger is connected to the configuration channel port, control the first switch tube to disconnect and the second switch tube to conduct, so that the charger forms a first path with the pull-down resistor, and send the first level signal to the charger through the configuration channel port.

[0010] Optionally, when it is determined that the current temperature is greater than a first preset temperature threshold, sending a second level signal to the charger includes:

[0011] When it is determined that the current temperature is greater than the first preset temperature threshold, controlling the first switching tube to conduct and the second switching tube to disconnect, so that the charger forms a second path with the pull-up resistor, and sending the second level signal to the charger through the configuration channel port.

[0012] Optionally, the method further includes:

[0013] When the current temperature is less than a second preset temperature threshold, sending a third level signal to the charger, so that when the charger determines that the third level signal is within the first preset level range, the charger provides a charging current to the terminal device.

[0014] Optionally, the sending the third level signal to the charger includes:

[0015] When it is determined that the first switching tube is conducting and the second switching tube is disconnecting, controlling the first switching tube to disconnect and the second switching tube to conduct, so that the charger forms the first path with the pull-down resistor, and sending the third level signal to the charger through the configuration channel port.

[0016] Optionally, the terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switching tube; the method further includes:

[0017] When it is determined that the first switching tube is conducting and the second switching tube is disconnecting, forming a second path for the preset power supply terminal to supply power to the pull-up resistor and the configuration channel port.

[0018] According to a second aspect of the embodiments of the present disclosure, there is provided a charging control device, and the device includes:

[0019] A first sending module, configured to send a first level signal to the charger when connected to the charger, where the first level signal is within a first preset level range;

[0020] A receiving module, configured to receive the charging current provided by the charger;

[0021] A second sending module, configured to obtain the current temperature of the terminal device, and in the case of determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing a charging current to the terminal device, wherein the second level signal is within a second preset level range.

[0022] Optionally, the terminal device includes: a configuration channel port, a first switching tube, a second switching tube, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switching tube, and the pull-down resistor is connected to the configuration channel port through the second switching tube. The configuration channel port is used to connect to the charger. The first sending module is configured to:

[0023] In the case of determining that the charger is connected to the configuration channel port, control the first switching tube to disconnect and the second switching tube to conduct, so that the charger forms a first path with the pull-down resistor, and send a first level signal to the charger through the configuration channel port.

[0024] Optionally, the second sending module is configured to:

[0025] In the case of determining that the current temperature is greater than the first preset temperature threshold, control the first switching tube to conduct and the second switching tube to disconnect, so that the charger forms a second path with the pull-up resistor, and send a second level signal to the charger through the configuration channel port.

[0026] Optionally, the device further includes:

[0027] A third sending module, configured to send a third level signal to the charger in the case where the current temperature is less than a second preset temperature threshold, so that the charger provides a charging current to the terminal device in the case of determining that the third level signal is within the first preset level range.

[0028] Optionally, the third sending module is configured to:

[0029] In the case of determining that the first switching tube is conducting and the second switching tube is disconnecting, control the first switching tube to disconnect and the second switching tube to conduct, so that the charger forms the first path with the pull-down resistor, and send the third level signal to the charger through the configuration channel port.

[0030] Optionally, the terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switching tube; the device further includes:

[0031] The conduction module is configured to form a second path for powering the pull-up resistor and the configuration channel port by the preset power supply terminal when it is determined that the first switching tube is conducting and the second switching tube is off.

[0032] According to a third aspect of the embodiments of the present disclosure, a charging circuit is provided. The charging circuit includes: a controller, configured to:

[0033] When connected to a charger, send a first level signal to the charger, where the first level signal is within a first preset level range;

[0034] The charging circuit is configured to receive a charging current provided by the charger;

[0035] The controller is further configured to obtain the current temperature of the terminal device, and when it is determined that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing a charging current to the terminal device, where the second level signal is within a second preset level range.

[0036] Optionally, the charging circuit further includes: a configuration channel port, a first switching tube, a second switching tube, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switching tube, the pull-down resistor is connected to the configuration channel port through the second switching tube, and the configuration channel port is used to connect to a charger;

[0037] The controller, connected to the first switching tube and the second switching tube, is configured to, when it is determined that the charger is connected to the configuration channel port, control the first switching tube to be off and the second switching tube to be on, so that the charger forms a first path with the pull-down resistor, and send a first level signal to the charger through the configuration channel port.

[0038] Optionally, the controller is configured to, when it is determined that the current temperature is greater than a first preset temperature threshold, control the first switching tube to be on and the second switching tube to be off, so that the charger forms a second path with the pull-up resistor, and send a second level signal to the charger through the configuration channel port.

[0039] Optionally, the controller is further configured to, when the current temperature is less than a second preset temperature threshold, send a third level signal to the charger to cause the charger to provide a charging current to the terminal device when it is determined that the third level signal is within the first preset level range.

[0040] Optionally, when the controller determines that the first switching transistor is turned on and the second switching transistor is turned off, the controller controls the first switching transistor to turn off and the second switching transistor to turn on, so that the charger and the pull-down resistor form the first path, and the third level signal is sent to the charger through the configuration channel port.

[0041] Optionally, the terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switching transistor;

[0042] The controller is further configured to, when determining that the first switching transistor is turned on and the second switching transistor is turned off, form a second path in which the preset power supply terminal supplies power to the pull-up resistor and the configuration channel port, so that when the charger determines that the second level signal is within a second preset level range, the charger stops providing a charging current to the terminal device.

[0043] According to a fourth aspect of the embodiments of the present disclosure, a charging system is provided, and the charging system includes: a terminal device and a charger,

[0044] The terminal device is configured to send a first level signal to the charger when connected to the charger, where the first level signal is within a first preset level range;

[0045] The charger is configured to provide a charging current to the terminal device in response to receiving the first level signal;

[0046] The terminal device is further configured to receive the charging current provided by the charger; obtain the current temperature of the terminal device, and when determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing a charging current to the terminal device, where the second level signal is within a second preset level range.

[0047] Optionally, the terminal device further includes: a configuration channel port, a first switching transistor, a second switching transistor, a first pull-up resistor, and a pull-down resistor. The first pull-up resistor is connected to the configuration channel port through the first switching transistor, and the pull-down resistor is connected to the configuration channel port through the second switching transistor. The configuration channel port is used to connect to the charger;

[0048] The terminal device is configured to, when determining that the charger is connected to the configuration channel port, control the first switching transistor to turn off and the second switching transistor to turn on, so that the charger and the pull-down resistor form a first path, and send a first level signal to the charger through the configuration channel port.

[0049] Optionally, the terminal device is configured to control the first switching tube to conduct and the second switching tube to disconnect when determining that the current temperature is greater than a first preset temperature threshold, so as to form a second path between the charger and the pull-up resistor, and send a second level signal to the charger through the configuration channel port.

[0050] Optionally, the terminal device is further configured to send a third level signal to the charger when the current temperature is less than a second preset temperature threshold;

[0051] The charger is configured to provide a charging current to the terminal device when determining that the third level signal is within a first preset level range.

[0052] Optionally, the terminal device is configured to control the first switching tube to disconnect and the second switching tube to conduct when determining that the first switching tube is conducting and the second switching tube is disconnecting, so as to form the first path between the charger and the pull-down resistor, and send the third level signal to the charger through the configuration channel port.

[0053] Optionally, the terminal device further includes: a first preset power supply terminal, and the first preset power supply terminal is connected to the configuration channel port through the first pull-up resistor and the first switching tube;

[0054] The terminal device is further configured to form a second path in which the first preset power supply terminal supplies power to the first pull-up resistor and the configuration channel port when determining that the first switching tube is conducting and the second switching tube is disconnecting.

[0055] Optionally, the charger includes: a third switching tube, a second pull-up resistor, and a second preset power supply terminal;

[0056] The second preset power supply terminal is connected to the configuration channel port through the second pull-up resistor and the third switching tube;

[0057] The charger is configured to control the third switching tube to conduct and send a fourth level signal to the terminal device when determining that the second preset power supply terminal is connected to an external power supply, and control the third switching tube to disconnect when determining that the second preset power supply terminal is disconnected from the external power supply;

[0058] The terminal device is configured to control the first switching tube to disconnect and the second switching tube to conduct when determining that the fourth level signal is received.

[0059] According to a fifth aspect of the embodiments of the present disclosure, an electronic device is provided, and the electronic device includes:

[0060] A memory storing a computer program thereon;

[0061] A processor for executing the computer program in the memory to implement the steps of the charging control method provided in the first aspect.

[0062] According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing computer program instructions thereon, and when the program instructions are executed by a processor, the steps of the charging control method provided in the first aspect are implemented.

[0063] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: When connected to a charger, a first level signal is sent to the charger, where the first level signal is within a first preset level range, the charging current provided by the charger is received, the current temperature of the terminal device is obtained, and when it is determined that the current temperature is greater than a first preset temperature threshold, a second level signal is sent to the charger to cause the charger to stop providing the charging current to the terminal device, where the second level signal is within a second preset level range. In this way, when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, the second level signal can be sent to the charger in a timely and effective manner, so that the charger stops providing the charging current to the terminal device when the terminal device is at a high temperature, effectively avoiding the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0064] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0066] Figure 1 is a schematic diagram of a charging circuit of a terminal device shown according to an exemplary embodiment;

[0067] Figure 2 is a flowchart of a charging control method shown according to an exemplary embodiment;

[0068] Figure 3 is a schematic diagram of a charging control circuit of a terminal device shown according to an exemplary embodiment;

[0069] Figure 4 is a flowchart of another charging control method shown according to an exemplary embodiment;

[0070] Figure 5 is a block diagram of a charging system shown according to an exemplary embodiment;

[0071] Figure 6 is a schematic diagram of a charging circuit shown according to an exemplary embodiment;

[0072] Figure 7 is a block diagram of a charging control device shown according to an exemplary embodiment;

[0073] Figure 8 is a block diagram of a device for charging control shown according to an exemplary embodiment. Detailed implementation manners

[0074] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all the implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0075] Before detailing the specific implementation manners of the present disclosure, first, the application scenario of the present disclosure will be described. The present disclosure is applied to a terminal device. Figure 1 is a schematic diagram of a charging circuit of a terminal device shown according to an exemplary embodiment. As Figure 1 shown, the terminal device may include: a DC-DC converter, a battery pack BT, and a charging port VBUS. The input end of the DC-DC converter is connected to the charging port VBUS, the output end of the DC-DC converter is connected to the positive electrode of the battery pack BT. The DC-DC converter converts the voltage provided by the charger into the charging voltage of the battery pack BT. The negative electrode of the battery pack BT is grounded. The charging port VBUS is used to connect to the charger so that the charger provides a charging current to the terminal device. During the process of the charger providing a high-power charging current to the terminal device, the temperature of the terminal device will continuously increase. Long-term high-temperature charging will cause the problem that the terminal device may be burned out, not only reducing the service life of the terminal device, but also reducing the safety performance of the terminal device.

[0076] To solve the above problems, the present disclosure provides a charging control method, apparatus, charging circuit, system, electronic device and medium. The charging control method includes: when connected to a charger, sending a first level signal to the charger, where the first level signal is within a first preset level range; receiving the charging current provided by the charger; obtaining the current temperature of the terminal device; and when it is determined that the current temperature is greater than a first preset temperature threshold, sending a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device, where the second level signal is within a second preset level range. In this way, by sending the second level signal to the charger in a timely and effective manner when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, the charger can be caused to stop providing the charging current to the terminal device when the terminal device is at a high temperature, effectively avoiding the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0077] Figure 2 is a flowchart of a charging control method shown according to an exemplary embodiment, as Figure 2 shown, the charging control method may include the following steps:

[0078] In step 201, when connected to a charger, send a first level signal to the charger.

[0079] Wherein, the first level signal is within a first preset level range, and the first preset level range may be a preset level value range according to the resistance value of the pull-down resistor in the terminal device.

[0080] It should be noted that when the terminal device determines that it is connected to a charger, it can trigger a first level signal within the first preset level range and send the first level signal to the charger. The charger can provide the charging current to the terminal device when it receives the first level signal.

[0081] In step 202, receive the charging current provided by the charger.

[0082] It should be noted that the terminal device can receive the charging current provided by the charger through the charging interface VBUS in the circuit as Figure 1 shown to charge the battery pack BT.

[0083] In step 203, obtain the current temperature of the terminal device. When it is determined that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device.

[0084] Among them, the second level signal is within a second preset level range. The second preset level range is different from the first preset level range. Generally, the minimum value in the second preset level range is greater than the maximum value in the first preset level range. For example, the first preset level range can be (0.85V, 2.60V), and the second preset level range can be (2.75V, 3.50V). The second preset level range can be a range of level values preset according to the resistance value of the pull-up resistor in the terminal device. The current temperature of the terminal device can be obtained through a temperature sensor. The first preset temperature threshold can be understood as the maximum temperature value that will not cause damage to the terminal device.

[0085] It should be noted that during the charging process, the terminal device collects the current temperature of the terminal device through a temperature sensor, compares the current temperature with the first preset temperature threshold, and when it is determined that the current temperature is greater than the first preset temperature threshold, triggers the second level signal and sends the second level signal to the charger. When the charger receives the second level signal sent, it provides a charging current to the terminal device.

[0086] The above technical solution can effectively send the second level signal to the charger in a timely manner when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, so that the charger stops providing a charging current to the terminal device when the terminal device is at a high temperature, effectively avoiding the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0087] Figure 3 It is a schematic diagram of a charging control circuit of a terminal device shown according to an exemplary embodiment. As Figure 3 shown, the terminal device may include: a configuration channel port CC, a first switching transistor Q1, a second switching transistor Q2, a pull-up resistor Rp1, and a pull-down resistor Rd. The pull-up resistor Rp1 can be connected to the configuration channel port CC through the first switching transistor Q1, and the pull-down resistor Rd can be connected to the configuration channel port CC through the second switching transistor Q2. The configuration channel port CC can be used to connect to a charger. The above Figure 2 The specific implementation manner of step 201 shown above may include:

[0088] When it is determined that the charger is connected to the configuration channel port CC, control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on, so that the charger and the pull-down resistor Rd form a first path, and send a first level signal to the charger through the configuration channel port CC.

[0089] It should be noted that when the charger is connected to the configuration channel port CC, the charger can send a fourth-level signal to the terminal device through the configuration channel port CC. When the terminal device receives the fourth-level signal, it can control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on. The charger can form a first path with the pull-down resistor Rd, and pull down the level value at the configuration channel port CC through the pull-down resistor Rd. The terminal device can trigger a first-level signal and send the first-level signal to the charger through the configuration channel port CC, so that the charger can receive the first-level signal at the configuration channel port CC, and the charger can provide a charging current to the terminal device through the charging port VBUS.

[0090] Optionally, in the above Figure 2 The specific implementation manner of sending a second-level signal to the charger when it is determined that the current temperature is greater than the first preset temperature threshold in step 203 shown above may include:

[0091] When it is determined that the current temperature is greater than the first preset temperature threshold, the first switching transistor Q1 can be controlled to turn on and the second switching transistor Q2 to turn off, so that the charger forms a second path with the pull-up resistor Rp1, and a second-level signal can be sent to the charger through the configuration channel port CC.

[0092] It should be noted that when the terminal device is in the charging state (that is, the first switching transistor Q1 is off and the second switching transistor Q2 is on), the current temperature of the terminal device is obtained through the temperature sensor. If it is determined that the current temperature is greater than the first preset temperature threshold, the first switching transistor Q1 is controlled to turn on and the second switching transistor Q2 is turned off. The charger forms a second path with the pull-up resistor Rp1, and the level value at the configuration channel port CC is pulled up through the pull-up resistor Rp1. The terminal device can trigger a second-level signal and send the second-level signal to the charger through the configuration channel port CC, so that when the charger receives the second-level signal, it stops providing a charging current to the terminal device.

[0093] Optionally, still taking Figure 3 as shown, the terminal device further includes: a preset power supply terminal VCC1, and the preset power supply terminal VCC1 is connected to the configuration channel port CC through the pull-up resistor Rp1 and the first switching transistor Q1; Figure 4 is a flowchart of another charging control method shown according to an exemplary embodiment. As Figure 4 shown, this charging control method may further include the following steps:

[0094] In step 204, when it is determined that the first switching transistor is on and the second switching transistor is off, a second path for supplying power to the pull-up resistor and the configuration channel port by the preset power supply terminal is formed.

[0095] It should be noted that when the terminal device determines that the first switching transistor Q1 is turned on and the second switching transistor Q2 is turned off (i.e., the charger and the pull-up resistor Rp1 form a second path), a second path for the preset power supply terminal VCC1 to supply power to the pull-up resistor Rp1 and the configuration channel port CC can be formed. The preset power supply terminal VCC1 pulls up the level value of the configuration channel port CC, and the terminal device can trigger a second level signal. When the charger receives the second level signal, it stops supplying a charging current to the terminal device.

[0096] The above technical solution can, when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, effectively send a second level signal to the charger in a timely manner, so that when the terminal device is at a high temperature, the charger stops supplying a charging current to the terminal device, effectively avoiding the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0097] Optionally, still taking Figure 4 as an example, the charging control method may further include the following steps:

[0098] In step 205, when the current temperature is less than the second preset temperature threshold, a third level signal is sent to the charger, so that when the charger determines that the third level signal is within the first preset level range, it supplies a charging current to the terminal device.

[0099] Among them, the third level signal and the first level signal may be the same or different. The second preset temperature threshold is less than the first preset temperature threshold, and the second preset temperature threshold can be understood as the optimal charging temperature of the terminal device during the charging process.

[0100] The specific implementation manner of sending the third level signal to the charger in this step may include: when it is determined that the first switching transistor Q1 is turned on and the second switching transistor Q2 is turned off, controlling the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on, so that the charger and the pull-down resistor Rd form the first path, and sending the third level signal to the charger through the configuration channel port CC.

[0101] It should be noted that when the terminal device is connected to the charger and the charger stops supplying charging current to the terminal device (i.e., the first switching tube is turned on and the second switching tube is turned off), the current temperature of the terminal device is continuously collected through the temperature sensor. When it is determined that the current temperature is less than the second preset temperature threshold and the battery of the resistor BT is not fully charged, the first switching tube Q1 can be controlled to turn off and the second switching tube Q2 to turn on. The charger and the pull-down resistor Rd form a first path, which can trigger a third-level signal, and the third-level signal is sent to the charger through the configuration channel port CC. When the charger determines that the received third-level signal is within the first preset level range, it resumes supplying charging current to the terminal device.

[0102] The above technical solution can send a third-level signal to the charger when the terminal device determines that the current temperature of the terminal device is less than the second preset temperature threshold, enabling the battery of the terminal device to resume charging and effectively improving the practicality of charging control.

[0103] Figure 5 It is a block diagram of a charging system shown according to an exemplary embodiment, as Figure 5 shown. The charging system may include: a terminal device 101 and a charger 102. The terminal device 101 is configured to send a first-level signal to the charger 102 when connected to the charger 102, where the first-level signal is within a first preset level range. The charger 102 is configured to provide a charging current to the terminal device 101 in response to receiving the first-level signal. The terminal device 101 is further configured to receive the charging current provided by the charger 102; obtain the current temperature of the terminal device 101, and when it is determined that the current temperature is greater than the first preset temperature threshold, send a second-level signal to the charger 102 to cause the charger 102 to stop providing the charging current to the terminal device 101, where the second-level signal is within a second preset level range.

[0104] It should be noted that when the terminal device 101 is connected to the charger 102, it can trigger a first-level signal and send the first-level signal to the charger 102. When the charger 102 receives the first-level signal, it can provide a charging current to the terminal device 101. When the terminal device receives the charging current provided by the charger 102 through the charging interface VBUS, it can obtain the current temperature of the terminal device 101, and when it is determined that the current temperature is greater than the first preset temperature threshold, it can trigger a second-level signal and send the second-level signal to the charger 102. When the charger 102 receives the second-level signal, it stops providing the charging current to the terminal device 101.

[0105] Optionally, still takingFigure 5 For example, the terminal device 101 further includes: a configuration channel port CC, a first switching transistor Q1, a second switching transistor Q2, a first pull-up resistor Rp1, and a pull-down resistor Rd. The first pull-up resistor Rp1 can be connected to the configuration channel port CC through the first switching transistor Q1, and the pull-down resistor Rd can be connected to the configuration channel port CC through the second switching transistor Q2. The configuration channel port CC can be used to connect to a charger. The terminal device 101 is configured to control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on when it is determined that the charger 102 is connected to the configuration channel port CC, so that the charger 102 and the pull-down resistor Rd form a first path, and send a first level signal to the charger 102 through the configuration channel port CC.

[0106] It should be noted that when the terminal device 101 determines that the charger 102 is connected to the configuration channel port CC and the configuration channel port CC receives a fourth level signal sent by the charger 102, it can control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on. The charger 102 can form a first path with the pull-down resistor Rd, and the pull-down resistor Rd can pull down the fourth level signal at the configuration channel port CC, and a first level signal triggered by the terminal device 101 can be obtained. The terminal device 101 can send the first level signal to the charger 102 through the configuration channel port CC.

[0107] Optionally, still taking Figure 5 For example, the terminal device 101 is configured to control the first switching transistor Q1 to turn on and the second switching transistor Q2 to turn off when it is determined that the current temperature is greater than a first preset temperature threshold, so that the charger 102 and the first pull-up resistor Rp1 form a second path, and send a second level signal to the charger 102 through the configuration channel port CC.

[0108] Optionally, still taking Figure 5 For example, the terminal device 101 is further configured to send a third level signal to the charger 102 when the current temperature is less than a second preset temperature threshold; the charger 102 is configured to provide a charging current to the terminal device 101 when it is determined that the third level signal is within a first preset level range.

[0109] Optionally, still taking Figure 5For example, the terminal device 101 is configured to control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on when it is determined that the first switching transistor Q1 is on and the second switching transistor Q2 is off, so as to form the first path between the charger 102 and the pull-down resistor, and send the third level signal to the charger through the configuration channel port.

[0110] Optionally, still taking Figure 5 as an example, the terminal device 101 may further include: a first preset power supply terminal VCC1, and the first preset power supply terminal VCC1 may be connected to the configuration channel port CC through the first pull-up resistor Rp1 and the first switching transistor Q1. The terminal device 101 is further configured to form a second path for supplying power to the first pull-up resistor Rp1 and the configuration channel port CC by the first preset power supply terminal VCC1 when it is determined that the first switching transistor Q1 is on and the second switching transistor Q2 is off.

[0111] Optionally, still taking Figure 5 as an example, the charger 102 may include: a third switching transistor Q3, a second pull-up resistor Rp2, and a second preset power supply terminal VCC2. The second preset power supply terminal may be connected to the configuration channel port through the second pull-up resistor and the third switching transistor. The charger 102 is configured to control the third switching transistor Q3 to turn on and send a fourth level signal to the terminal device 101 when it is determined that the second preset power supply terminal VCC2 is connected to an external power supply, and control the third switching transistor Q3 to turn off when it is determined that the second preset power supply terminal VCC2 is disconnected from the external power supply. The terminal device 101 is configured to control the first switching transistor Q1 to turn off and the second switching transistor Q2 to turn on when it is determined that the fourth level signal is received.

[0112] The above technical solution can effectively send the second level signal to the charger in a timely manner when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, so that the charger stops providing a charging current to the terminal device when the terminal device is at a high temperature, effectively avoiding the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0113] Figure 6 is a schematic diagram of a charging circuit shown according to an exemplary embodiment, as Figure 6As shown, the charging circuit includes: a controller configured to, when connected to a charger, send a first level signal to the charger, where the first level signal is within a first preset level range; the charging circuit is configured to receive a charging current provided by the charger; the controller is further configured to obtain the current temperature of the terminal device, and when determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device, where the second level signal is within a second preset level range.

[0114] Optionally, still taking Figure 6 as an example, the charging circuit further includes: a configuration channel port CC, a first switching transistor Q1, a second switching transistor Q2, a pull-up resistor Rp1, and a pull-down resistor Rd. The pull-up resistor Rp1 can be connected to the configuration channel port CC through the first switching transistor Q1, the pull-down resistor Rd can be connected to the configuration channel port CC through the second switching transistor Q2, and the configuration channel port CC can be used to connect to a charger; the controller is connected to the first switching transistor Q1 and the second switching transistor Q2, and is configured to, when determining that the charger is connected to the configuration channel port CC, control the first switching transistor Q1 to be turned off and the second switching transistor Q2 to be turned on, so that the charger forms a first path with the pull-down resistor Rd, and send a first level signal to the charger through the configuration channel port CC.

[0115] Optionally, still taking Figure 6 as an example, the controller is configured to, when determining that the current temperature is greater than a first preset temperature threshold, control the first switching transistor Q1 to be turned on and the second switching transistor Q2 to be turned off, so that the charger forms a second path with the pull-up resistor Rp1, and can send a second level signal to the charger through the configuration channel port CC.

[0116] Optionally, still taking Figure 6 as an example, the controller is further configured to, when the current temperature is less than a second preset temperature threshold, send a third level signal to the charger to cause the charger to provide a charging current to the terminal device when determining that the third level signal is within the first preset level range.

[0117] Optionally, still taking Figure 6 as an example, the controller is configured to, when determining that the first switching transistor Q1 is turned on and the second switching transistor Q2 is turned off, control the first switching transistor Q1 to be turned off and the second switching transistor Q2 to be turned on, so that the charger forms the first path with the pull-down resistor Rd, and send the third level signal to the charger through the configuration channel port CC.

[0118] Optionally, still taking Figure 6 as an example, the terminal device further includes: a preset power supply terminal VCC1, the preset power supply terminal VCC1 is connected to the configuration channel port CC through the pull-up resistor Rp1 and the first switching transistor Q1; the controller is further configured to, when determining that the first switching transistor Q1 is turned on and the second switching transistor Q2 is turned off, form a second path for supplying power to the pull-up resistor Rp1 and the configuration channel port CC by the preset power supply terminal VCC1, so that when the charger determines that the second-level signal is within a second preset level range, the charger stops providing a charging current to the terminal device.

[0119] The above technical solution can, when determining that the current temperature of the terminal device is greater than the first preset temperature threshold, effectively send a second-level signal to the charger in a timely manner, so that when the terminal device is in a high-temperature state, the charger stops providing a charging current to the terminal device, which can effectively avoid the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0120] Figure 7 is a block diagram of a charging control device shown according to an exemplary embodiment. As Figure 7 shown, the charging control device may include:

[0121] A first sending module 701, configured to send a first-level signal to the charger when connected to the charger, where the first-level signal is within a first preset level range;

[0122] A receiving module 702, configured to receive the charging current provided by the charger;

[0123] A second sending module 703, configured to obtain the current temperature of the terminal device, and when determining that the current temperature is greater than the first preset temperature threshold, send a second-level signal to the charger to cause the charger to stop providing a charging current to the terminal device, where the second-level signal is within a second preset level range.

[0124] Optionally, the terminal device includes: a configuration channel port, a first switching transistor, a second switching transistor, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switching transistor, the pull-down resistor is connected to the configuration channel port through the second switching transistor, the configuration channel port is used to connect to the charger, and the first sending module 701 is configured to:

[0125] When it is determined that the charger is connected to the configuration channel port, control the first switching transistor to turn off and the second switching transistor to turn on, so that the charger and the pull-down resistor form a first path, and send a first level signal to the charger through the configuration channel port.

[0126] Optionally, the second sending module 703 is configured to:

[0127] When it is determined that the current temperature is greater than the first preset temperature threshold, control the first switching transistor to turn on and the second switching transistor to turn off, so that the charger and the pull-up resistor form a second path, and send a second level signal to the charger through the configuration channel port.

[0128] Optionally, the device further includes:

[0129] A third sending module 704, configured to send a third level signal to the charger when the current temperature is less than a second preset temperature threshold, so that the charger provides a charging current to the terminal device when it is determined that the third level signal is within the first preset level range.

[0130] Optionally, the third sending module 704 is configured to:

[0131] When it is determined that the first switching transistor is on and the second switching transistor is off, control the first switching transistor to turn off and the second switching transistor to turn on, so that the charger and the pull-down resistor form the first path, and send the third level signal to the charger through the configuration channel port.

[0132] Optionally, the terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switching transistor; the device further includes:

[0133] A conduction module 705, configured to form a second path for supplying power to the pull-up resistor and the configuration channel port by the preset power supply terminal when it is determined that the first switching transistor is on and the second switching transistor is off.

[0134] The above technical solution can effectively send a second level signal to the charger in a timely manner when it is determined that the current temperature of the terminal device is greater than the first preset temperature threshold, so that the charger stops providing a charging current to the terminal device when the terminal device is at a high temperature, can effectively avoid the phenomenon that the terminal device is burned out, thereby effectively improving the safety performance of the terminal device and effectively extending the service life of the terminal device.

[0135] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0136] Figure 8 FIG. is a block diagram of a device for charging control according to an exemplary embodiment. For example, device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0137] Referring to Figure 8 , device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output interface 812, a sensor component 814, and a communication component 816.

[0138] The processing component 802 generally controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the Figure 2 or Figure 4 described charging control method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0139] The memory 804 is configured to store various types of data to support the operation of device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0140] The power component 806 provides power to the various components of device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 800.

[0141] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0142] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

[0143] The input / output interface 812 provides an interface between the processing component 802 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0144] The sensor component 814 includes one or more sensors for providing a status assessment of various aspects of the device 800. For example, the sensor component 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and the keypad of the device 800. The sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0145] The communication component 816 is configured to facilitate communication, in a wired or wireless manner, between the device 800 and other devices. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0146] In an exemplary embodiment, the device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0147] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions may be executed by a processor 820 of the device 800 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0148] In addition to being an independent electronic device, the above device may also be a part of an independent electronic device. For example, in one embodiment, the device may be an Integrated Circuit (IC) or a chip. The integrated circuit may be a single IC or a collection of multiple ICs. The chip may include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip may be used to execute executable instructions (or code) to implement the above Figure 2 or Figure 4The charging control method described above. The executable instructions can be stored in the integrated circuit or chip, or obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions can be stored in the memory, and when the executable instructions are executed by the processor, the above-mentioned Figure 2 or Figure 4 The charging control method described above; alternatively, the integrated circuit or chip can receive the executable instructions through the interface and transmit them to the processor for execution to implement the above-mentioned Figure 2 or Figure 4 The charging control method described above.

[0149] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has code portions for executing the above-mentioned Figure 2 or Figure 4 The charging control method when executed by the programmable device.

[0150] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0151] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A charging control method, characterized in that, The method includes: When connected to a charger, sending a first level signal to the charger, where the first level signal is within a first preset level range; Receiving the charging current provided by the charger; Obtaining the current temperature of the terminal device, and when it is determined that the current temperature is greater than a first preset temperature threshold, sending a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device, where the second level signal is within a second preset level range.

2. The charging control method according to claim 1, wherein The terminal device includes: a configuration channel port, a first switching tube, a second switching tube, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switching tube, and the pull-down resistor is connected to the configuration channel port through the second switching tube. The configuration channel port is used to connect to the charger. When connected to the charger, sending the first level signal to the charger includes: When it is determined that the charger is connected to the configuration channel port, controlling the first switching tube to turn off and the second switching tube to turn on, so that the charger and the pull-down resistor form a first path, and sending the first level signal to the charger through the configuration channel port.

3. The charging control method according to claim 2, wherein When it is determined that the current temperature is greater than the first preset temperature threshold, sending the second level signal to the charger includes: When it is determined that the current temperature is greater than the first preset temperature threshold, controlling the first switching tube to turn on and the second switching tube to turn off, so that the charger and the pull-up resistor form a second path, and sending the second level signal to the charger through the configuration channel port.

4. The charging control method according to claim 2, wherein The method further includes: When the current temperature is less than a second preset temperature threshold, sending a third level signal to the charger to cause the charger to provide the charging current to the terminal device when it is determined that the third level signal is within the first preset level range.

5. The charging control method according to claim 4, wherein, Sending the third level signal to the charger includes: When it is determined that the first switching tube is on and the second switching tube is off, controlling the first switching tube to turn off and the second switching tube to turn on, so that the charger and the pull-down resistor form the first path, and sending the third level signal to the charger through the configuration channel port.

6. The charging control method according to claim 2, wherein, The terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switching tube; the method further includes: When it is determined that the first switching tube is on and the second switching tube is off, forming a second path for powering the pull-up resistor and the configuration channel port by the preset power supply terminal.

7. A charging control device, characterized in that, The device includes: A first sending module configured to send a first level signal to the charger when connected to the charger, where the first level signal is within a first preset level range; A receiving module configured to receive the charging current provided by the charger; A second sending module, configured to obtain the current temperature of the terminal device, and in the case of determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing a charging current to the terminal device, wherein the second level signal is within a second preset level range.

8. A charging circuit, characterized in that, The charging circuit includes: a controller, configured to: When connected to the charger, send a first level signal to the charger, wherein the first level signal is within a first preset level range; The charging circuit is configured to receive the charging current provided by the charger; The controller is further configured to obtain the current temperature of the terminal device, and in the case of determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing a charging current to the terminal device, wherein the second level signal is within a second preset level range.

9. The charging circuit according to claim 8, wherein The charging circuit further includes: a configuration channel port, a first switch transistor, a second switch transistor, a pull-up resistor, and a pull-down resistor. The pull-up resistor is connected to the configuration channel port through the first switch transistor, the pull-down resistor is connected to the configuration channel port through the second switch transistor, and the configuration channel port is used to connect to the charger; The controller, connected to the first switch transistor and the second switch transistor, is configured to, in the case of determining that the charger is connected to the configuration channel port, control the first switch transistor to be turned off and the second switch transistor to be turned on, so that the charger forms a first path with the pull-down resistor, and send a first level signal to the charger through the configuration channel port.

10. The charging circuit according to claim 9, wherein The controller is configured to, in the case of determining that the current temperature is greater than a first preset temperature threshold, control the first switch transistor to be turned on and the second switch transistor to be turned off, so that the charger forms a second path with the pull-up resistor, and send a second level signal to the charger through the configuration channel port.

11. The charging circuit according to claim 9, wherein, The controller is further configured to, in the case that the current temperature is less than a second preset temperature threshold, send a third level signal to the charger to cause the charger to provide a charging current to the terminal device in the case of determining that the third level signal is within the first preset level range.

12. The charging circuit according to claim 11, wherein The controller is configured to, in the case of determining that the first switch transistor is turned on and the second switch transistor is turned off, control the first switch transistor to be turned off and the second switch transistor to be turned on, so that the charger forms the first path with the pull-down resistor, and send the third level signal to the charger through the configuration channel port.

13. The charging circuit according to claim 9, wherein The terminal device further includes: a preset power supply terminal, and the preset power supply terminal is connected to the configuration channel port through the pull-up resistor and the first switch transistor; The controller is further configured to, in the case of determining that the first switch transistor is turned on and the second switch transistor is turned off, form a second path for powering the pull-up resistor and the configuration channel port by the preset power supply terminal, so that the charger stops providing a charging current to the terminal device in the case of determining that the second level signal is within the second preset level range.

14. A charging system, characterized in that, The charging system includes: a terminal device and a charger. The terminal device is configured to, when connected to the charger, send a first level signal to the charger, wherein the first level signal is within a first preset level range. The charger is configured to, in response to receiving the first level signal, provide a charging current to the terminal device. The terminal device is further configured to receive the charging current provided by the charger; obtain the current temperature of the terminal device, and when determining that the current temperature is greater than a first preset temperature threshold, send a second level signal to the charger to cause the charger to stop providing the charging current to the terminal device, wherein the second level signal is within a second preset level range.

15. An electronic device, characterized in that, The electronic device includes: a memory having a computer program stored thereon; a processor configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1-6.

16. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the steps of the method according to any one of claims 1-6 are implemented.