Charging control method and device and power adapter

By detecting whether the power adapter is connected to the load and controlling the power supply switch, the heat accumulation problem caused by the power adapter not being connected to the load for a long time is solved, and the safety and durability of the power adapter are improved.

CN120237755APending Publication Date: 2025-07-01GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510285888.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

When the power adapter is not connected to the load for a long time, the continuous operation of the internal electronic components leads to accumulation of heat, shortening the service life and increasing safety risks.

Method used

By detecting whether the power adapter is connected to the load, the first switch controls to disconnect the external power supply when the load is not connected, and the power supply is restored by reconnecting the load or manually operating.

Benefits of technology

Extend the service life of the power adapter, reduce failure and fire risks, and improve safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120237755A_ABST
    Figure CN120237755A_ABST
Patent Text Reader

Abstract

The invention provides a charging control method and device and a power adapter. The charging control method comprises the steps that whether the power adapter is connected with a load or not is detected; when it is detected that the power adapter is not connected with the load, a first switch in the power adapter is controlled to be switched off, so that an external power supply stops supplying power to the power adapter; wherein the first switch is arranged on a loop where the external power supply supplies power to the power adapter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of charging control technology, and more particularly, to a charging control method, apparatus, and power adapter. Background Art

[0003] When the power adapter is plugged into the socket for a long time, even if no electronic device is connected, a weak current will continuously pass through the circuit components inside the power adapter. This continuous power-on state will keep the internal electronic components of the power adapter in a working state for a long time, generating heat. The long-term heat accumulation and the continuous operation of the electronic components will accelerate the aging and wear of the components, and thus seriously affect the service life of the power adapter. Moreover, long-term power-on may also increase the risk of safety accidents such as the power adapter malfunctioning or even causing a fire. Summary of the Invention

[0004] An object of embodiments of the present disclosure is to provide a charging control method, apparatus, and power adapter.

[0005] According to a first aspect of embodiments of the present disclosure, there is provided a charging control method, including:

[0006] Detecting whether the power adapter is connected to a load;

[0007] In the case where it is detected that the power adapter is not connected to the load, controlling a first switch in the power adapter to be turned off, so that the external power supply stops supplying power to the power adapter; wherein, the first switch is disposed on the circuit for the external power supply to supply power to the power adapter.

[0008] Optionally, the charging control method further includes:

[0009] In the case where the power adapter is re-connected to the load, controlling the first switch to be turned on, so that the external power supply supplies power to the power adapter.

[0010] Optionally, the charging control method further includes:

[0011] In response to a triggering operation on a second switch provided on the power adapter, controlling the first switch to be turned on, so that the external power supply supplies power to the power adapter; wherein, the second switch is connected in parallel with the first switch.

[0012] Optionally, the charging control method further includes:

[0013] When the external power supply supplies power to the power adapter, charging the load connected to the power adapter according to the alternating current provided by the external power supply.

[0014] Optionally, charging the load connected to the power adapter with the alternating current provided by the external power supply includes:

[0015] Converting the alternating current provided by the external power supply into a first direct current;

[0016] Converting the first direct current into a second direct current matching the load connected to the power adapter, and outputting the second direct current to charge the load connected to the power adapter.

[0017] Optionally, when it is detected that the power adapter is not connected to a load, controlling the first switch in the power adapter to disconnect includes:

[0018] Obtaining the cumulative duration of the power adapter not being connected to a load;

[0019] When the cumulative duration is greater than or equal to a first set duration, controlling the first switch to disconnect.

[0020] Optionally, the charging control method further includes:

[0021] When the cumulative duration is less than the first set duration and it is detected that the power adapter is reconnected to a load, or when the external power supply stops supplying power to the power adapter, clearing the cumulative duration.

[0022] According to a second aspect of the present disclosure, there is provided a charging control device, including:

[0023] A load detection module, configured to detect whether the power adapter is connected to a load;

[0024] A switch control module, configured to control the first switch in the power adapter to disconnect when it is detected that the power adapter is not connected to a load, so that the external power supply stops supplying power to the power adapter; wherein, the first switch is arranged on the loop where the external power supply supplies power to the power adapter.

[0025] Optionally, the switch control module is further configured to start when the power adapter is connected to a load, and control the first switch to conduct, so that the external power supply supplies power to the power adapter again.

[0026] According to a third aspect of the present disclosure, there is provided a power adapter, including a processor and a memory, the memory is used to store a computer program, and the processor is used to execute the method as described in the first aspect of the present disclosure under the control of the computer program.

[0027] According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method as described in the first aspect of the present disclosure.

[0028] Through the embodiments of the present disclosure,

[0029] Other features and advantages of the present invention will become clear from the following detailed description of the exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The drawings incorporated in and forming a part of this specification illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0031] Figure 1 is a schematic diagram showing an application scenario of a power adapter that can implement the embodiments of the present disclosure;

[0032] Figure 2 is a flowchart of a charging control method according to an embodiment of the present disclosure;

[0033] Figure 3 is a block diagram of a charging control device according to an embodiment of the present disclosure;

[0034] Figure 4 is a block diagram of a power adapter according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] Now, various exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that: Unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present invention.

[0036] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present invention, its application, or its use.

[0037] Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and devices should be considered as part of the specification.

[0038] In all the examples shown and discussed herein, any specific values should be construed as merely exemplary and not as a limitation. Thus, other examples of the exemplary embodiments may have different values.

[0039] It should be noted that: Similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it need not be further discussed in subsequent drawings.

[0040] <Application Scenario>

[0041] Figure 1 It is a schematic diagram showing the application scenario of a power adapter that can implement the embodiments of the present disclosure.

[0042] As Figure 1 shown, both ends of the power adapter 1100 can be connected to an external power supply 1200 and a load 1300 respectively.

[0043] In this embodiment, the external power supply 1200 can be a power socket that provides mains electricity.

[0044] In this embodiment, the load 1300 connected to the power adapter 1100 can be electronic products such as mobile phones, watches, tablets, speakers, virtual reality devices, and computers.

[0045] Further, the load 1300 can be connected to the power adapter 1100 through a data cable or directly connected to the plug in the power adapter 1100 that matches it.

[0046] When the power adapter 1100 is connected to the external power supply 1200 and the load 1300, the power adapter 1100 can charge the load 1300 according to the power provided by the external power supply 1200.

[0047] <Method Embodiment>

[0048] The present disclosure provides a charging control method, and this charging control method can be implemented by a power adapter.

[0049] Figure 2 It is a flowchart of the charging control method according to the embodiments of the present disclosure.

[0050] As Figure 2 shown, the method includes the following steps S2100 to S2200:

[0051] Step S2100, detect whether the power adapter is connected to a load.

[0052] In some embodiments, detecting whether the power adapter is connected to a load may include: detecting the output resistance of the power adapter and detecting whether the power adapter is connected to a load according to the output resistance.

[0053] In this embodiment, it can be through a detection circuit including a resistance measurement function to detect whether the power adapter is connected to a load. Specifically, this circuit can regularly or real-time measure the resistance value of the power output terminal of the power adapter and compare it with a preset resistance threshold, and output a corresponding signal according to the comparison result to indicate that the load is connected or disconnected.

[0054] In some embodiments, it may be that when the measured resistance value is less than the resistance threshold, the measurement circuit emits a first signal indicating that a load connection is detected; when the measured resistance value is greater than or equal to the resistance threshold, the measurement circuit emits a first signal indicating that the load is disconnected.

[0055] In some embodiments, detecting whether a power adapter is connected to a load may include: detecting the output current of the power adapter and detecting whether the power adapter is connected to the load based on the output current.

[0056] In this embodiment, a sampling resistor may be used in series in the output loop of the power adapter. When a load is connected, current passes through the sampling resistor, generating a voltage drop across the sampling resistor. By measuring this voltage drop, the magnitude of the load current can be indirectly detected. If current flowing through the sampling resistor is detected, it can be determined that the power adapter is connected to the load.

[0057] In some embodiments, detecting whether a power adapter is connected to a load may include: detecting the voltage of the first pin of the power adapter and detecting whether the power adapter is connected to the load based on the voltage of the first pin.

[0058] In this embodiment, the load includes a second pin. When the load is connected to the power adapter, the first pin and the second pin are correspondingly connected. The first pin and the second pin may be respectively connected to a pull-up resistor and a pull-down resistor. When the first pin and the second pin are correspondingly connected, the pull-up resistor and the pull-down resistor are connected in series between the positive output terminal and the negative output terminal of the power adapter. By detecting the voltage of the first pin, it can be determined whether the power adapter is connected to the load.

[0059] In some embodiments, detecting whether a power adapter is connected to a load may include: outputting a handshake signal, and determining that the power adapter is not connected to the load if a response to the handshake signal is not received after a second set duration; and determining that the power adapter is connected to the load if a response to the handshake signal is received within the second set duration.

[0060] In this embodiment, the power adapter may output a handshake signal at a set handshake frequency. The handshake frequency may be set in advance according to the application scenario or specific requirements. For example, the handshake frequency may be 10 hz.

[0061] The second set duration may be set according to the handshake frequency. Specifically, the second set duration may be greater than or equal to 1 / f, where f is the handshake frequency.

[0062] Step S2200, when it is detected that the power adapter is not connected to a load, control the first switch in the power adapter to open, so that the external power supply stops supplying power to the power adapter, where the first switch is set on the loop where the external power supply supplies power to the power adapter.

[0063] In this embodiment, when the external power supply supplies power to the power adapter and the power adapter is not connected to a load, the circuit components inside the power adapter are still working, which may affect the service life of the power adapter and increase the risk of safety accidents such as the power adapter malfunctioning or even causing a fire.

[0064] In this embodiment, the first switch can be an electrically controlled switch such as a transistor, a relay, or a thyristor, or it can be a mechanical double-control switch.

[0065] Based on the traditional manual switch, the mechanical double-control switch adds an electrically controlled function. Usually, components such as electromagnetic relays or electronic switches are used to achieve the electrically controlled function, while retaining the mechanical structure of manual operation, such as buttons, knobs, or levers, so that manual control can also be performed when there is no electrical signal input.

[0066] Through the embodiments of the present disclosure, when it is detected that the power adapter is not connected to a load, control the first switch to open, so that the external power supply stops supplying power to the power adapter, and the circuit components inside the power adapter will stop working when connected to the external power supply, which can extend the service life of the power adapter and reduce the risk of safety accidents such as the power adapter malfunctioning or even causing a fire.

[0067] In some embodiments, when it is detected that the power adapter is not connected to a load, controlling the first switch in the power adapter to open may include: obtaining the cumulative duration during which the power adapter is not connected to a load; when the cumulative duration is greater than or equal to the first set duration, controlling the first switch to open.

[0068] In this embodiment, the cumulative duration can be the duration during which the power adapter is not connected to a load when the external power supply supplies power to the power adapter this time.

[0069] The first set duration in this embodiment can be set in advance according to the application scenario or specific requirements. For example, the first set duration can be 1 minute.

[0070] When the cumulative duration of disconnecting the load from the power adapter is less than the first set duration, the possibility of continuing to charge the load is relatively high. Therefore, the first switch can be kept closed to allow the external power supply to continue powering the power adapter. When the cumulative duration of disconnecting the load from the power adapter is greater than or equal to the first set duration, the possibility of charging the load again in a short time is relatively low. Therefore, the first switch can be opened to stop the external power supply from powering the power adapter, which can extend the service life of the power adapter and reduce the risk of safety accidents such as the power adapter malfunctioning or even causing a fire.

[0071] Further, the charging control method may include: when the cumulative duration is less than the first set duration and it is detected that the power adapter is connected to the load, or when the external power supply stops powering the power adapter, clearing the cumulative duration.

[0072] In this embodiment, if the user manually disconnects the power adapter from the external power supply, the external power supply will stop powering the power adapter and the cumulative duration will be cleared. If the cumulative duration of the power adapter not being connected to the load is greater than or equal to the first set duration, the first switch will open and the external power supply will stop powering the power adapter, and the cumulative duration will be cleared. If the cumulative duration of the power adapter not being connected to the load is less than the first set duration and the user reconnects the load to the power adapter, the cumulative duration will be cleared.

[0073] In some embodiments, the charging control method may include: when the power adapter is reconnected to the load, controlling the first switch to conduct so that the external power supply powers the power adapter.

[0074] In this embodiment, when the first switch is open, if the user reconnects the power adapter to the load, the battery in the load can supply power to the power adapter in reverse, causing the processor in the power adapter to power on and work, controlling the first switch to conduct, and then enabling the external power supply to continue powering the power adapter.

[0075] Further, when the first switch is conducting, the battery in the load can stop supplying power to the power adapter, and the power adapter charges the battery in the load.

[0076] Through this embodiment, when the first switch is open, the power adapter can be enabled to recharge the connected load again.

[0077] Based on this embodiment, the power adapter can charge the load connected to the power adapter according to the alternating current provided by the external power supply.

[0078] In this embodiment, the power adapter can charge a load connected to the power adapter according to the AC power provided by the external power supply when the external power supply supplies power to the power adapter.

[0079] Specifically, charging a load connected to a power adapter based on AC power provided by an external power source may include: converting the AC power provided by the external power source into a first DC power; converting the first DC power into a second DC power that matches the load connected to the power adapter, and outputting the second DC power to charge the load connected to the power adapter.

[0080] In this embodiment, a rectifier circuit and a voltage stabilizing circuit may be provided in the power adapter, and the rectifier circuit converts the AC power provided by the external power source into a first DC power, and the voltage stabilizing circuit converts the first DC power into a second DC power that matches the load connected to the power adapter.

[0081] In some embodiments, the charging control method may further include: in response to a triggering operation on a second switch provided on the power adapter, controlling the first switch to be turned on so that an external power source supplies power to the power adapter; wherein the second switch is connected in parallel with the first switch.

[0082] In this embodiment, the second switch may be a manually controlled switch that controls the switch state by performing a trigger operation such as pressing, rotating, or toggling.

[0083] Furthermore, when the user stops performing a triggering operation such as pressing, rotating, or toggling the second switch, the second switch returns to an off state.

[0084] When the user triggers the second switch, the second switch is turned on, and the external power supply can supply power to the power adapter, so that the processor of the power adapter is powered on and controls the first switch to be turned on. When the user stops triggering the second switch, the second switch is turned off. At this time, since the first switch is turned on, the external power supply can continue to supply power to the power adapter, so that the power adapter can work normally and charge the load.

[0085] In some embodiments, the first switch is a mechanical double-control switch, so that the user can manually turn on the first switch when the load is reconnected to the power adapter, so that the power adapter charges the load.

[0086] <Device Example>

[0087] This embodiment provides a charging control device, such as Figure 3 As shown, the charging control device 3000 may include a load detection module 3100 and a switch control module 3200 .

[0088] The load detection module 3100 is used to detect whether a load is connected to the power adapter.

[0089] The switch control module 3200 is used to control the first switch in the power adapter to disconnect in the case where the load detection module 3100 detects that the power adapter is not connected to a load, so that the external power supply stops supplying power to the power adapter; wherein, the first switch is arranged on the loop where the external power supply supplies power to the power adapter.

[0090] In some embodiments, the switch control module 3200 is further used to: in the case where the power adapter is reconnected to the load, control the first switch to conduct, so that the external power supply supplies power to the power adapter.

[0091] In some embodiments, the switch control module 3200 is further used to: in response to a triggering operation on a second switch arranged on the power adapter, control the first switch to conduct, so that the external power supply supplies power to the power adapter; wherein, the second switch is connected in parallel with the first switch.

[0092] In some embodiments, the charging control device 3000 further includes a charging circuit, which is used to charge the load connected to the power adapter according to the alternating current provided by the external power supply in the case where the external power supply supplies power to the power adapter.

[0093] In some embodiments, charging the load connected to the power adapter according to the alternating current provided by the external power supply includes:

[0094] Converting the alternating current provided by the external power supply into a first direct current;

[0095] Converting the first direct current into a second direct current matching the load connected to the power adapter and outputting the second direct current to charge the load connected to the power adapter.

[0096] In some embodiments, the charging control device 3000 further includes a timing module, which is used to obtain the cumulative duration of the power adapter not being connected to a load. The switch control module 3200 is used to: in the case where the cumulative duration is greater than or equal to a first set duration, control the first switch to disconnect.

[0097] In some embodiments, the switch control module 3200 is used to: in the case where the cumulative duration is less than the first set duration and the power adapter is detected to be reconnected to a load, or, in the case where the external power supply stops supplying power to the power adapter, control the timing module to clear the cumulative duration.

[0098] <Power Adapter Embodiment>

[0099] This embodiment provides a power adapter. As Figure 4 shown, the power adapter 4000 may include a processor 4100 and a memory 4200. The memory 4200 is used to store a computer program, and the processor 4100 is used to control the power adapter to execute the method of any embodiment of the present disclosure under the control of the computer program.

[0100] <Readable Storage Medium Embodiment>

[0101] This embodiment provides a computer-readable storage medium. A computer program is stored in the storage medium. When the computer program is executed by a processor, it executes the method described in any method embodiment of the present disclosure.

[0102] The present invention may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium having thereon computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0103] A computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of the computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanically encoded device such as a punched card or raised structures in grooves having instructions stored thereon, and any suitable combination of the foregoing. The computer-readable storage medium used herein is not construed as an instantaneous signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated through a waveguide or other transmission medium (e.g., an optical pulse through an optical fiber cable), or an electrical signal transmitted through a wire.

[0104] The computer-readable program instructions described herein can be downloaded to various computing / processing devices from a computer-readable storage medium or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.

[0105] The computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state-setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider). In some embodiments, by using the state information of the computer-readable program instructions to customize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present invention.

[0106] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0107] These computer-readable program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus to produce a machine such that the instructions, when executed by the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions may also be stored in a computer-readable storage medium that causes a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises a manufacture, the instructions of which implement various aspects of the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0108] The computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process such that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in one or more boxes of the flowchart and / or block diagram.

[0109] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a segment of code, or a portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the boxes may occur out of the order noted in the figures. For example, two consecutive boxes may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each box of the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or acts, or by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

[0110] The embodiments of the present invention have been described above. The above description is exemplary and not exhaustive, and is also not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, the practical application, or the improvement of the technology in the market, or to enable other ordinary skilled persons in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A charging control method, characterized in that: include: Detect whether the power adapter is connected to a load; When it is detected that the power adapter is not connected to the load, the first switch in the power adapter is controlled to be disconnected so that the external power supply stops supplying power to the power adapter; wherein the first switch is arranged on the loop through which the external power supply supplies power to the power adapter.

2. The charging control method according to claim 1, characterized in that: The charging control method further includes: When the power adapter is connected to the load again, the first switch is controlled to be turned on so that the external power supply supplies power to the power adapter.

3. The charging control method according to claim 1, characterized in that: The charging control method further includes: In response to a triggering operation on a second switch provided on the power adapter, the first switch is controlled to be turned on so that the external power supply supplies power to the power adapter; wherein the second switch is connected in parallel with the first switch.

4. The charging control method according to claim 2 or 3, characterized in that: The charging control method further includes: In the case where the external power source supplies power to the power adapter, the load connected to the power adapter is charged according to the alternating current provided by the external power source.

5. The charging control method according to claim 4, characterized in that: The step of charging the load connected to the power adapter according to the AC power provided by the external power supply includes: Converting the alternating current provided by the external power source into a first direct current; The first direct current is converted into a second direct current that matches the load connected to the power adapter, and the second direct current is output to charge the load connected to the power adapter.

6. The charging control method according to claim 1, characterized in that: When it is detected that the power adapter is not connected to a load, controlling the first switch in the power adapter to be disconnected comprises: Obtaining a cumulative time duration during which the power adapter is not connected to the load; When the accumulated time is greater than or equal to the first set time, the first switch is controlled to be disconnected.

7. The charging control method according to claim 6, characterized in that: The charging control method further includes: When the accumulated time is less than the first set time and it is detected that the power adapter is reconnected to the load, or when the external power supply stops supplying power to the power adapter, the accumulated time is cleared.

8. A charging control device, characterized in that: include: A load detection module, used to detect whether the power adapter is connected to a load; A switch control module is used to control the first switch in the power adapter to be disconnected when it is detected that the power adapter is not connected to the load, so that the external power supply stops supplying power to the power adapter; wherein the first switch is arranged on the loop through which the external power supply supplies power to the power adapter.

9. The charging control device according to claim 8, characterized in that: The switch control module is also used to start when the power adapter is connected to the load, and control the first switch to be turned on, so that the external power supply supplies power to the power adapter again.

10. A power adapter, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method according to any one of claims 1 to 7 under the control of the computer program.