Charging method and device for multiple chargers, electronic equipment and storage medium

By detecting and requesting charger types, multiple chargers are cascaded charging, solving the problem of inconsistent charger output power, improving charging efficiency and resource utilization, and enhancing the flexibility and security of the system.

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

Patent Information

Application Number
CN202410103071.8
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

The output power of existing chargers is inconsistent, resulting in wasted resources of small-power chargers and cannot meet the charging needs of high-power devices.

Method used

By detecting the accessed second charger type, a charging request is sent to expand the power of the first charger, and cascade charging is performed in combination with the output power of the multiple chargers to meet the charging needs of the high-power device.

Benefits of technology

Multiple small-power chargers are realized to charge high-power devices, reducing the waste of charger resources, improving charging efficiency and flexibility, and enhancing the safety and compatibility of the charging system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120377409A_ABST
    Figure CN120377409A_ABST
Patent Text Reader

Abstract

The invention provides a charging method and device for multiple chargers, electronic equipment and a storage medium, and relates to the technical field of charging equipment. Comprising the following steps: detecting the charging type of a second charger when a first charger detects that the second charger is connected; based on the charging type of the second charger, sending a charging request to the second charger to apply for first charging power; and based on the first charging power and the second charging power of the first charger, providing electric energy for a charged device connected with the first charger. Therefore, through cascade charging, the first charger can utilize the charging capacity of the second charger, so that the total charging power is increased, which is very beneficial to equipment needing a large amount of electric energy or quick charging requirements, and resource waste of low-power chargers can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of charging devices, and in particular, to a charging method, device, electronic device, and storage medium for multiple chargers. Background Art

[0002] At present, the maximum output power supported by chargers on the market varies. Some have a relatively small output power, such as 5W, while some have a larger output power, such as 200W or even higher.

[0003] For various electronic products in daily life, such as mobile phones, a charger with a corresponding power is usually required for charging. If it is a mobile phone that supports high-power charging, a high-power charger is usually also required for charging. If a low-power charger is used, it often can only charge slowly, and the charging efficiency is very low.

[0004] When the user has a charger with a relatively large power, the low-power chargers are usually discarded, resulting in waste of resources. Summary of the Invention

[0005] The present disclosure aims to at least partly solve one of the technical problems in the related art.

[0006] A first aspect of the present disclosure provides a charging method for multiple chargers, including:

[0007] When a first charger detects that a second charger is connected, it detects the charging type of the second charger;

[0008] Based on the charging type of the second charger, it sends a charging request to the second charger to apply for a first charging power;

[0009] Based on the first charging power and the second charging power of the first charger, it provides electrical energy to the charged device connected to the first charger.

[0010] A second aspect of the present disclosure provides a charging device for multiple chargers, including:

[0011] A detection module, configured to detect the charging type of the second charger when it detects that the second charger is connected;

[0012] A request module, configured to send a charging request to the second charger to apply for a first charging power based on the charging type of the second charger;

[0013] A charging module, configured to provide electrical energy to the charged device connected to the first charger based on the first charging power and the second charging power of the first charger.

[0014] A third aspect of the present disclosure provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the charging method for multiple chargers proposed in the embodiments of the first aspect of the present disclosure.

[0015] A fourth aspect of the present disclosure provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the charging method for multiple chargers proposed in the embodiments of the first aspect of the present disclosure.

[0016] A fifth aspect of the present disclosure provides a computer program product including a computer program, which when executed by a processor, implements the charging method for multiple chargers proposed in the embodiments of the first aspect of the present disclosure.

[0017] The charging method, device, electronic device, and storage medium for multiple chargers provided by the present disclosure have the following beneficial effects:

[0018] In the present disclosure, when the first charger detects that the second charger is connected, it detects the charging type of the second charger, then based on the charging type of the second charger, sends a charging request to the second charger to apply for a first charging power, and finally based on the first charging power and the second charging power of the first charger, provides electrical energy to the device to be charged connected to the first charger. Thus, when charging the device to be charged, the charging output powers of the first charger and the second charger can be combined. In this way, when the charging power of the first charger cannot meet the charging requirements of the device to be charged, the charging capacity of the second charger can be used to expand the charging power of the first charger. Furthermore, multiple low-power chargers can charge a high-power device to be charged, reducing the cost of purchasing chargers and reducing the waste of charger resources.

[0019] Additional aspects and advantages of the present disclosure will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present disclosure. Description of the Drawings

[0020] The above and / or additional aspects and advantages of the present disclosure will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, where:

[0021] Figure 1 is a schematic flowchart of a charging method for multiple chargers provided by an embodiment of the present disclosure;

[0022] Figure 2 shows a schematic hardware structure diagram of a first charger;

[0023] Figure 3Schematic flowchart of a charging method for a multi-charger provided by another embodiment of the present disclosure;

[0024] Figure 4 Schematic flowchart of a charging method for a multi-charger provided by another embodiment of the present disclosure;

[0025] Figure 5 Schematic flowchart of a charging method for a multi-charger provided by yet another embodiment of the present disclosure;

[0026] Figure 6 Schematic diagram of cascaded charging of a multi-charger provided by an embodiment of the present disclosure;

[0027] Figure 7 Schematic structural diagram of a charging device for a multi-charger provided by an embodiment of the present disclosure;

[0028] Figure 8 The block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure is shown. Detailed implementation manners

[0029] The embodiments of the present disclosure will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present disclosure, but should not be construed as limiting the present disclosure.

[0030] In the embodiments of the present disclosure, the charging method for the multi-charger is configured in a charging device for the multi-charger as an example. The charging device for the multi-charger can be applied to any electronic device so that the electronic device can execute the charging method for the multi-charger, which is not limited herein.

[0031] The charging method, device, electronic device, and storage medium for the multi-charger according to the embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0032] Figure 1 Schematic flowchart of a charging method for a multi-charger provided by an embodiment of the present disclosure.

[0033] It should be noted that, hereinafter, the first charger will be used as the execution subject of the embodiments of the present disclosure to illustrate the charging method for the multi-charger proposed by the embodiments of the present disclosure.

[0034] As Figure 1 shown, the charging method for the multi-charger may include the following steps:

[0035] Step 101, when the first charger detects that the second charger is connected, detect the charging type of the second charger.

[0036] Among them, the first charger is a charger whose output terminal is connected to the device to be charged, and the second charger can be a charger whose output terminal is inserted into the first charger. It should be noted that, relative to the device to be charged, the first charger is the source that provides electrical energy. Relative to the second charger, the first charger is the sink that receives electrical energy.

[0037] Optionally, the device to be charged connected to the first charger can be a terminal device, or it can also be a charger. Among them, the terminal device can be any electronic device such as a mobile phone, a tablet, a smartwatch, headphones, a digital camera, etc., which is not limited here.

[0038] Among them, the charging type can be Standard Charging, Fast Charging, etc., which is not limited here. Among them, fast charging can also be divided into different standards, such as Qualcomm Quick Charge, USB Power Delivery, etc., which is not limited here.

[0039] As an implementation method, since the charger can use a specific communication protocol to transmit charging-related information, when detecting the charging type of the second charger, the first charger can communicate with the second charger to identify the charging protocol used, such as the PD (Power Delivery) protocol or the QC (Quick Charge) protocol, which is not limited here.

[0040] As another implementation method, since different types of chargers usually have different output voltage and current specifications, the first charger can further determine the type of charger by measuring the charging voltage and current values connected to the second charger.

[0041] As another implementation method, the first charger can determine the charging type of the second charger by reading and parsing the identifier marked on the second charger.

[0042] Optionally, after the first charger is connected to the device to be charged, it can determine the maximum charging power that the device to be charged can accept.

[0043] Or, after the first charger is connected to the device to be charged, it can first determine the target charging power requested by the device to be charged.

[0044] Among them, the target charging power can be the power required for the current charging of the device to be charged, which can be the maximum charging power that the device to be charged can accept, or it can also be less than the maximum charging power that the device to be charged can accept, which is not limited here.

[0045] Step 102: Based on the charging type of the second charger, send a charging request to the second charger to apply for the first charging power.

[0046] The charging request is used to apply for the charging power of a specific power level from the second charger.

[0047] The first charging power may be the charging power requested by the first charger from the second charger.

[0048] In the embodiments of the present disclosure, the first charger can send a charging request to the second charger specifically based on the charging type of the second charger. Therefore, if it is detected that the charging types of the second chargers are different, the charging requests may be different, that is, the first charging powers applied to the second chargers may also be different.

[0049] For example, if the first charger detects that the charging type of the second charger is type A, the first charging power included in the charging request is 50W. If the first charger detects that the charging type of the second charger is type B, the first charging power included in the charging request may be 60W, or it may be the same as the first charging power corresponding to type A, which is 50W. This is not limited herein.

[0050] Step 103: Based on the first charging power and the second charging power of the first charger, provide electrical energy to the device to be charged connected to the first charger.

[0051] The second charging power may be the charging power provided by the first charger. Preferably, the second charging power may be the maximum charging power that the first charger can provide. Or, the second charging power may also be less than the maximum charging power that the first charger can provide. The second charging power can be adjusted during the actual charging process, which is not limited herein.

[0052] As a possible implementation, the first charging power and the second charging power of the first charger can be added to obtain the fifth charging power, and then electrical energy can be provided to the device to be charged based on the fifth charging power.

[0053] The fifth charging power may be the sum of the first charging power and the second charging power.

[0054] For example, if the first charging power is 30W and the second charging power is 40W, the fifth charging power is equal to 70W. Then, the first charger can supply power to the device to be charged based on the charging power of 70W. This is not limited herein.

[0055] As another possible implementation, the first charger can receive the target charging power sent by the device to be charged, and adjust the output power of the first charger based on the target charging power, the first charging power, and the second charging power.

[0056] For example, if the first charging power is 30W and the maximum charging power that the first charger can provide is 40W (the second charging power is 40W), and if the target charging power sent by the device to be charged is 60W, and this target charging power is the maximum charging power that the device to be charged can receive, if the charging power provided by the first charger to the device to be charged is greater than 60W, that is, when the charging power exceeds, it will damage the device to be charged and affect the safety of the device to be charged.

[0057] Therefore, the first charger can adjust the charging request, such as applying to the second charger for a first charging power of 20W, so that the sum of the first charging power and the second charging power is 60W. In this way, an output power of 60W can be provided for the device to be charged, without exceeding the maximum charging power that the device to be charged can receive, and no limitation is made here.

[0058] As another possible implementation, after the first charger determines the target charging power of the device to be charged, it can first apply to the cascaded second charger for the maximum charging power, that is, when the first charging power is the maximum charging power, the second charging power of the first charger can be adjusted to charge the device to be charged.

[0059] For example, if the target charging power is 60W (indicating that the maximum charging power that the device to be charged can receive is 60W), the first charger can apply to the cascaded second charger for the maximum charging power of the second charger as the first charging power. For example, if the first charging power is 30W, then the first charger can charge the device to be charged with a charging power of 60W based on the second charging power of 30W and the first charging power of 30W, and no limitation is made here.

[0060] Optionally, the first charger includes: a first input terminal, a second input terminal, an output terminal, a microcontroller, a transformer, a rectifier bridge, an overvoltage protection chip, a voltage conversion circuit, a first switch, and a second switch, where

[0061] The first input terminal is used to receive alternating current, which is converted into a first current by passing through the transformer and the rectifier bridge in sequence;

[0062] The second input terminal is used to receive the second current output by the second charger;

[0063] The first switch and the second switch are respectively used to adjust the first current and the second current;

[0064] The microcontroller is used to control the first switch and the second switch, synthesize the adjusted second current and the first current into a third current, and deliver it to the output terminal through a voltage conversion circuit and an overvoltage protection chip in sequence.

[0065] Among them, the first input terminal can be connected to an AC power supply. For example, it can be connected to 220V AC power.

[0066] Among them, the second input terminal can be connected to the output terminal of the second charger, that is, the DC power output by the second charger is connected. Among them, the first current can be the current obtained by the first charger after voltage conversion and rectification of the AC power after connection.

[0067] Among them, the second current can be the output current of the second charger received by the first charger.

[0068] As an example, Figure 2 shows a schematic diagram of the hardware structure of a first charger.

[0069] As Figure 2 shown, 220V AC power is connected to the first input terminal, and a typeC power input is connected to the second input terminal.

[0070] After the first charger connects to the AC power at the first input terminal, it passes through a transformer and a rectifier bridge in sequence, and then is regulated by the first switch (switch1). The second current is regulated by the second switch (switch2), and the regulated first current and second current are combined into a third current, and are output from the USB-A port (output terminal) to the device to be charged through a buck-boost (voltage conversion circuit) and an ovp chip (overvoltage protection chip).

[0071] Among them, the device to be charged can apply for voltage or current to the microcontroller (MCU) of the first charger through PD phy or BC1.2 phy.

[0072] Among them, PD phy refers to the physical layer protocol in the USB PD standard, which is mainly used to transmit high-power charging data. It uses differential signal transmission, supports two-way communication, and can transmit power exceeding 100W, so as to achieve fast charging. BC1.2 phy refers to the physical layer protocol in the BC1.2 (Battery Charging 1.2) standard, which is mainly used for charging communication between a USB charger and a mobile device. BC1.2 phy uses single-ended signal transmission and supports one-way communication.

[0073] Figure 2The CC (Configuration Channel) signal lines in it are a pair of differential signal lines used for communication between two connected devices. The role of the CC signal lines is to perform handshaking and negotiation on the USB Type-C connector to determine the appropriate charging power and data transfer speed. DM and DP are two data signal lines, whose Chinese names are "Data -" and "Data +" respectively, and the English names are "Data -" and "Data +". Among them, DM and DP are used to transmit information such as digital signals and power supply.

[0074] In the present disclosure, when the first charger detects the access of the second charger, it detects the charging type of the second charger, and then based on the charging type of the second charger, sends a charging request to the second charger to apply for the first charging power. Finally, based on the first charging power and the second charging power of the first charger, electrical energy is provided to the device to be charged connected to the first charger. Thus, when charging the device to be charged, the charging output powers of the first charger and the second charger can be combined. In this way, when the charging power of the first charger cannot meet the charging requirements of the device to be charged, the charging ability of the second charger can be used to expand the charging power of the first charger. Furthermore, multiple low-power chargers can be used to charge a high-power device to be charged, reducing the cost of purchasing chargers and reducing the waste of charger resources.

[0075] Figure 3 It is a schematic flowchart of a charging method for multiple chargers provided by an embodiment of the present disclosure.

[0076] As Figure 3 shown, the charging method for multiple chargers may include the following steps:

[0077] Step 201, when the first charger detects the access of the second charger, it detects the charging type of the second charger.

[0078] It should be noted that the specific implementation manner of step 201 can refer to the above embodiment and will not be elaborated here.

[0079] Step 202, according to the charging type of the second charger, determine whether the second charger meets the charging conditions for cascaded charging with the first charger.

[0080] It should be noted that when the second charger and the first charger are cascaded for charging, certain charging conditions need to be met. Optionally, it can first be determined whether the charging type is a preset charging type. If the charging type meets the preset charging type, it means that the second charger meets the charging conditions for cascaded charging with the first charger. If the charging type does not meet the preset charging type, it means that the second charger does not meet the charging conditions for cascaded charging with the first charger.

[0081] Specifically, if the charging type is not the preset charging type, it means that the first charger and the second charger cannot be cascaded for charging, and then the second charger needs to be prohibited from charging the first charger. If the charging type conforms to the preset charging type, it means that the first charger and the second charger can be cascaded for charging, and then the second charger can be allowed to charge the first charger.

[0082] Optionally, the preset charging type can include power delivery PD or the fast charging type in the Battery Charger 1.2 standard, which is not limited here.

[0083] Among them, PD is a charging technology that supports higher power output and two-way communication. It is based on the USB interface standard and realizes fast charging by negotiating the voltage, current, and power requirements between the power supply (such as a charger) and the device. USB PD can provide a higher power output to charge the device faster, and at the same time, it also supports other functions such as two-way charging and data transmission.

[0084] Step 203, if the second charger meets the charging conditions, determine the charging request method associated with the charging type.

[0085] It should be noted that for the second charger that meets the charging conditions, the corresponding charging request method can be further determined according to the charging type. Among them, for different charging types, the associated charging request methods may be different or the same.

[0086] More specifically, the charging request method can be the way for the first charger to request the charging power output from the second charger. The steps corresponding to different charging request methods may be different, and the magnitudes of the requested charging power may be the same or different.

[0087] Optionally, if the charging type is power delivery PD, the charging request method is the first method.

[0088] Optionally, if the charging type is the fast charging type in the Battery Charger 1.2 standard, the charging request method is the second method.

[0089] Among them, the first method and the second method are different.

[0090] Step 204: Based on the charging request method, send a charging request to the second charger to apply for the first charging power.

[0091] As a possible implementation, if the charging request method is the second method, the first charger may send a fourth charging request to the second charger to apply for the fourth charging power.

[0092] Among them, the fourth charging request may be the charging request sent by the first charger to the second charger when it determines that the charging request method is the second method.

[0093] Among them, the fourth charging power characterizes the maximum charging power of the second charger.

[0094] For example, if the maximum charging power of the second charger is 40W, after the first charger determines that the charging request method is the second method, it may request the highest gear of charging power from the second charger, that is, the fourth charging power of 40W, which is not limited here.

[0095] Step 205: Based on the first charging power and the second charging power of the first charger, provide electrical energy to the device to be charged connected to the first charger.

[0096] It should be noted that the specific implementation of step 205 may refer to the above embodiments and will not be elaborated here.

[0097] In the embodiments of the present disclosure, first, when the first charger detects the connection to the second charger, it detects the charging type of the second charger. Then, according to the charging type of the second charger, it determines whether the second charger meets the charging conditions for cascaded charging with the first charger. If the second charger meets the charging conditions, it determines the charging request method associated with the charging type, and based on the charging request method, sends a charging request to the second charger to apply for the first charging power. Finally, based on the first charging power and the second charging power of the first charger, it provides electrical energy to the device to be charged connected to the first charger. Thus, through cascaded charging, the first charger can utilize the charging capacity of the second charger, thereby increasing the total charging power, which is very beneficial for devices that require a large amount of electrical energy or have a fast charging demand. Since it is based on the charging type of the second charger, the charging request method associated with this type can be determined, which can ensure that the appropriate charging protocol and parameters are used for charging, thus maximizing the charging efficiency. And charging capacity matching can be performed. By detecting and determining whether the second charger meets the conditions for cascaded charging, the safety and compatibility of cascaded charging can be ensured. Since only chargers that meet the charging conditions can be cascaded with the first charger, it avoids electrical energy overload or other potential problems. In addition, it also has a certain degree of scalability and flexibility. Since this solution supports cascading of multiple chargers, the number and configuration of chargers can be dynamically adjusted according to actual needs to provide higher charging capacity. At the same time, the adaptability of the charging request method also increases the flexibility of the system. In summary, through cascaded charging and a suitable charging request method, this solution can improve the charging power, increase the charging efficiency, and provide greater scalability and flexibility, thereby providing a better charging experience for users.

[0098] Figure 4 It is a schematic flowchart of a charging method for multiple chargers provided by the embodiments of the present disclosure.

[0099] As Figure 4 shown, the charging method for multiple chargers may include the following steps:

[0100] Step 301, when the first charger detects the connection to the second charger, it detects the charging type of the second charger.

[0101] Step 302, according to the charging type of the second charger, it determines whether the second charger meets the charging conditions for cascaded charging with the first charger.

[0102] Step 303, if the second charger meets the charging conditions, it determines the charging request method associated with the charging type.

[0103] It should be noted that the specific implementation manners of steps 301, 302, and 303 can refer to the above embodiments and will not be elaborated here.

[0104] Step 304, if the charging request mode associated with the charging type is the first mode, determine whether the second charger supports programmable power output.

[0105] Optionally, if the charging type is Power Delivery (PD), the charging request mode is the first mode.

[0106] Among them, Programmable Power Supply (PPS) is a technical standard that can adjust the power output voltage and current in real time according to requirements. PPS is usually used in charging devices and can optimize power control and charging efficiency during the charging process.

[0107] As a possible implementation method, when determining whether the second charger supports programmable power output, it is possible to first confirm whether the second charger is marked with the programmable power output function or related information. If so, it means that the charger supports programmable power output.

[0108] Alternatively, a physical connection test can also be performed. Connect the second charger to a device that supports programmable power output, and check whether the programmable power output function of the second charger can be detected in the device. If the device can normally recognize this function, it means that the second charger supports the programmable power output function.

[0109] In the embodiments of the present disclosure, the first charger can determine whether the second charger supports programmable power output in any manner, which will not be elaborated here.

[0110] Step 305, if the second charger does not support programmable power output, send a first charging request to the second charger to apply for a third charging power.

[0111] Among them, the first charging request can be a charging request sent to the second charger when the charging request mode is the first mode and the second charger does not support programmable power output.

[0112] Step 306, if the second charger supports programmable power output, perform encryption authentication on the second charger to determine the first authentication result.

[0113] It should be noted that since the charging type is PD type, when the second charger supports PPS, the first charger needs to perform encryption authentication with the second charger, that is, PD encryption authentication.

[0114] Among them, PD encryption authentication is a mechanism that verifies identity and authorizes through encryption during communication between chargers. PD encryption authentication can ensure that the charging devices used are legal, safe, and have corresponding access rights. PD encryption authentication can prevent unauthorized charging devices from being used and prevent unauthorized personnel or programs from illegally modifying or operating the charging devices. PD encryption authentication can also protect electronic devices from electrical problems such as voltage fluctuations and overcurrents.

[0115] It should be noted that during the process of PD encryption authentication, secure and reliable encryption algorithms and protocols are used to ensure the security and reliability of communication. At the same time, the charging devices must have corresponding hardware and software support to achieve the functions and performance required for PD encryption authentication.

[0116] Among them, the first authentication result can be the authentication result of the first charger encrypting and authenticating the second charger when the second charger supports programmable power output. The first authentication result can be passed or not passed.

[0117] Step 307, if the first authentication result is passed, send a second charging request to the second charger to apply for the fourth charging power.

[0118] Among them, the second charging request can be a charging request sent to the second charger when the charging request method is the first method, the second charger supports programmable power output, and the first authentication result is passed.

[0119] Among them, the fourth charging power characterizes the maximum charging power of the second charger.

[0120] For example, if the maximum charging power of the second charger is 40W, the first charger sends a second charging request to the second charger to apply for the highest gear of charging power, that is, the fourth charging power of 40W, when it determines that the charging request method is the first method and the second charger supports programmable power output. This is not limited here.

[0121] Step 308, if the first authentication result is not passed, send a third charging request to the second charger to apply for the third charging power, and the third charging power is less than the fourth charging power.

[0122] Among them, the third charging power can be the maximum power applied by the first charger to the second charger when the first authentication result is not passed. Among them, the third charging power is less than the fourth charging power.

[0123] For example, if the third charging power is 30W, it means that when the first authentication result is not passed, the maximum power level that the first charger can apply to the second charger is 30W. If the highest charging power of the second charger is 40W, the first charger can send a third charging request to the second charger to request a third charging power of 30W, which is not limited here.

[0124] Step 309: If the charging request mode associated with the charging type is the second mode, send a fourth charging request to the second charger to request a fourth charging power.

[0125] Optionally, if the charging type is the fast charging type in the battery charger 1.2 standard (QC type in BC1.2), the charging request mode is the second mode.

[0126] Among them, the fourth charging request can be the charging request sent by the first charger to the second charger when it determines that the charging request mode is the second mode.

[0127] For example, if the maximum charging power of the second charger is 40W, after the first charger determines that the charging request mode is the second mode, it can request the highest charging power of the second charger, that is, a fourth charging power of 40W, which is not limited here.

[0128] Step 310: Provide electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger.

[0129] It should be noted that the specific implementation method of step 310 can refer to the above embodiments and will not be elaborated here.

[0130] In an embodiment of the present disclosure, when the first charger detects that the second charger is connected, it detects the charging type of the second charger, and then determines whether the second charger meets the charging conditions for cascaded charging with the first charger according to the charging type of the second charger. If the charging request method associated with the charging type is the first method, it determines whether the second charger supports programmable power output; if the second charger does not support programmable power output, it sends a first charging request to the second charger to apply for a third charging power; if the second charger supports programmable power output, it performs encryption authentication on the second charger to determine the first authentication result; if the first authentication result is passed, it sends a second charging request to the second charger to apply for a fourth charging power, where the fourth charging power represents the maximum charging power of the second charger; if the first authentication result is not passed, it sends a third charging request to the second charger to apply for the third charging power, and the third charging power is less than the fourth charging power; if the charging request method associated with the charging type is the second method, it sends a fourth charging request to the second charger to apply for the fourth charging power, and finally provides electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger. Thus, cascaded charging between two or more chargers can be supported, making full use of the charging power of multiple chargers and improving the charging efficiency. The first charger can detect in real time the charging type of the second charger, whether it meets the cascaded charging conditions, and information such as the maximum charging power supported by the second charger, ensuring the reliability and safety of the charging process. It can also support different types of charging methods, including PD charging and fast charging types in the battery charger 1.2 standard, etc., which can meet the charging needs of different devices, and can dynamically adjust the charging power according to the charging type of the second charger and the supported power output function, improving the charging efficiency and ensuring the stability and safety of the charging process.

[0131] Figure 5 It is a schematic flowchart of a charging method for multiple chargers provided by an embodiment of the present disclosure.

[0132] As Figure 5 shown, the charging method for multiple chargers may include the following steps:

[0133] Step 401, when the first charger detects that the second charger is connected, it detects the charging type of the second charger.

[0134] Step 402, according to the charging type of the second charger, it determines whether the second charger meets the charging conditions for cascaded charging with the first charger.

[0135] It should be noted that the specific implementation manners of steps 401 and 402 can refer to the above embodiments and will not be elaborated here.

[0136] Step 403: If the device to be charged is a terminal device, perform encrypted authentication with the terminal device to determine the second authentication result.

[0137] Among them, the terminal device can be a mobile phone, a digital camera, a tablet computer, etc., which is not limited here.

[0138] If the device to be charged is a terminal device, that is, the terminal device can be used as the sink end to receive the power output by the first charger for charging.

[0139] It should be noted that after the terminal device is connected to the first charger, encrypted authentication needs to be performed between the terminal device and the first charger to improve the security of the charging system and prevent unauthorized access.

[0140] Optionally, the first charger can send an authentication request to the terminal device, which can include a randomly generated challenge value and authentication parameters. After the terminal device receives the authentication request, it uses its own private key to encrypt the challenge value and authentication parameters and sends the encrypted result back to the first charger. After the first charger receives the encrypted result returned by the terminal device, it decrypts it using the pre-shared public key and compares it with the expected result. If the decrypted result is consistent with the expected result, the authentication passes; otherwise, it fails.

[0141] Among them, the second authentication result can be the encrypted authentication result of the terminal device and the first charger, which can be passed or not passed.

[0142] Step 404: Based on the second authentication result, send a broadcast to the terminal device, and the broadcast contains the charging power of the cascaded charging of the first charger and the second charger.

[0143] It should be noted that using the encrypted authentication method can ensure the credibility of the second authentication result. The first charger can send a broadcast to the terminal device after the second authentication passes, and the broadcast contains the charging power of the cascaded charging of the first charger and the second charger. The advantage of doing this is that the device to be charged can obtain effective charging power information by receiving the broadcast, so as to make corresponding adjustments according to its own charging needs and charging status. At the same time, this solution can also improve the charging efficiency, reduce the charging time, and thus enhance the user experience.

[0144] It should be noted that when performing encrypted authentication, it is necessary to ensure the security and privacy of the data to avoid security vulnerabilities and data leakage. At the same time, when sending a broadcast to the terminal device, it is also necessary to ensure the legality and effectiveness of the broadcast to avoid inaccurate or tampered broadcast information.

[0145] Optionally, if the second authentication result is passed, send a first broadcast to the terminal device, where the first broadcast contains a fifth charging power.

[0146] Optionally, if the second authentication result is not passed, send a second broadcast to the terminal device, where the second broadcast contains a sixth charging power, and the sixth charging power is less than the fifth charging power.

[0147] Among them, the first broadcast can be a broadcast sent by the first charger to the terminal device when the second authentication result is passed.

[0148] Among them, the second broadcast can be a broadcast sent by the first charger to the terminal device when the second authentication result is not passed.

[0149] Among them, the fifth charging power can be the sum of the first charging power and the second charging power. It should be noted that the second charging power is the maximum charging power of the first charger. If the first charging power is the maximum charging power of the second charger, then the fifth charging power is the maximum charging power of the cascaded charging of the first charger and the second charger.

[0150] It should be noted that if the encryption authentication between the terminal device and the first charger fails, the first charger can broadcast a smaller charging power, that is, the sixth charging power, and then charging can be performed based on the sixth charging power.

[0151] Step 405, receive an adjustment request sent by the terminal device, where the adjustment request contains the target charging power of the terminal device.

[0152] Among them, the target charging power can be the charging power required for the terminal device to charge, or it can also be the maximum safe charging power that the terminal device can accept, which is not limited here.

[0153] Among them, the adjustment request is used to adjust the charging power of the first charger to the terminal device.

[0154] It should be noted that the terminal device can send the target charging power required for its own charging to the first charger. Thus, the first charger can adjust the voltage and current according to the target charging power, so as to deliver corresponding power to the terminal device and avoid damage to the terminal device caused by excessive charging power.

[0155] Step 406, adjust the charging request based on the target charging power.

[0156] Specifically, the first charger can adjust the charging request based on the target charging power.

[0157] For example, if the target charging power is 60W, and the first charging power and the second charging power are currently 40W and 38W respectively, the first charger can modify the first charging power included in the charging request, and then apply to the second charger for a first charging power of 22W based on the modified charging request, so that the sum of the modified first charging power and the second charging power meets the target charging power, which is not limited herein.

[0158] Step 407: Provide electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger.

[0159] It should be noted that the specific implementation manner of step 407 can refer to the above embodiments and will not be elaborated herein.

[0160] In the embodiments of the present disclosure, first, when the first charger detects that the second charger is connected, it detects the charging type of the second charger, and then determines whether the second charger meets the charging conditions for cascaded charging with the first charger according to the charging type of the second charger. If the device to be charged is a terminal device, an encryption authentication is performed with the terminal device to determine the second authentication result. Then, based on the second authentication result, a broadcast is sent to the terminal device, and the broadcast includes the charging power of the cascaded charging of the first charger and the second charger. A adjustment request sent by the terminal device is received, and the adjustment request includes the target charging power of the terminal device. Then, based on the target charging power, the charging request is adjusted. Finally, electrical energy is provided to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger. Thereby, the effectiveness of the charging system is improved. Through the cascaded charging method, the chargers can work together, thus improving the effectiveness and charging efficiency of the entire charging system, enhancing the charging safety. By using the encryption authentication method, it can prevent illegal devices from interfering with and attacking the charging process, ensuring the safety and reliability of the charging system. By receiving the adjustment request of the terminal device and adjusting the charging request, it can better meet the actual needs of users, improving the charging user experience and satisfaction. By broadcasting the charging power of the cascaded charging of the first charger and the second charger and the target charging power of the terminal device, the charging request can be flexibly adjusted based on the target charging power, realizing the dynamic control and management of the charging power.

[0161] Figure 6 It is a schematic diagram of cascaded charging of multiple chargers provided by an embodiment of the present disclosure.

[0162] Such as Figure 6As shown, the device to be charged is a phone, and charger 1 can be used as the first charger. The first charger has two inputs, namely the type-C power input of charger 2 and the AC input of 220V, and the output end is the USB-A power output. At this time, charger 2 is the second charger. Among them, when charger 2 charges charger 1 based on the USB-A power output, it charges charger 1 based on the charging power of the cascade charging of charger 3 and charger 2. Similarly, charger 3 can also be superimposed with other chargers to expand the charging power.

[0163] Alternatively, charger 2 can be used as the first charger. At this time, charger 3 is the second charger and charger 1 is the device to be charged. If charger 3 is used as the first charger, then charger 2 is the device to be charged.

[0164] Thus, through cascade charging, the first charger can utilize the charging capacity of the second charger, thereby increasing the total charging power, which is very beneficial for devices that require a large amount of electrical energy or have a fast charging demand. It can support the cascade of multiple chargers, dynamically adjust the number and configuration of chargers according to actual needs, provide higher charging capacity, and also increase the flexibility of the system.

[0165] To implement the above embodiments, the present disclosure also proposes a charging device for multiple chargers.

[0166] Figure 7 It is a schematic structural diagram of the charging device for multiple chargers provided by the embodiments of the present disclosure.

[0167] As Figure 7 shown, the charging device 700 for multiple chargers may include:

[0168] A detection module 710, configured to detect the charging type of the second charger when it detects that the second charger is connected.

[0169] A request module 720, configured to send a charging request to the second charger based on the charging type of the second charger to apply for a first charging power.

[0170] A charging module 730, configured to provide electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger.

[0171] Optionally, the request module includes:

[0172] A judgment unit, configured to judge whether the second charger meets the charging conditions for cascade charging with the first charger according to the charging type of the second charger.

[0173] A determination unit, configured to determine a charging request mode associated with the charging type if the second charger meets the charging conditions;

[0174] An application unit, configured to send a charging request to the second charger based on the charging request mode to apply for a first charging power.

[0175] Optionally, the charging request mode associated with the charging type is a first mode, and the application unit is specifically configured to:

[0176] Determine whether the second charger supports programmable power output;

[0177] If the second charger does not support programmable power output, send a first charging request to the second charger to apply for a third charging power;

[0178] If the second charger supports programmable power output, perform encryption authentication on the second charger to determine a first authentication result;

[0179] If the first authentication result is passed, send a second charging request to the second charger to apply for a fourth charging power, where the fourth charging power represents the maximum charging power of the second charger;

[0180] If the first authentication result is not passed, send a third charging request to the second charger to apply for the third charging power, and the third charging power is less than the fourth charging power;

[0181] Optionally, the charging request mode associated with the charging type is a second mode, and the application unit is specifically configured to:

[0182] Send a fourth charging request to the second charger to apply for the fourth charging power.

[0183] Optionally, if the charging type is Power Delivery (PD), the charging request mode is the first mode;

[0184] If the charging type is the fast charging type in the Battery Charger 1.2 standard, the charging request mode is the second mode.

[0185] Optionally, the charging module is specifically configured to:

[0186] Add the first charging power and the second charging power of the first charger to obtain a fifth charging power;

[0187] Provide electrical energy for the device to be charged based on the fifth charging power.

[0188] Optionally, the charging module further includes:

[0189] An authentication unit for performing encrypted authentication with the terminal device to determine a second authentication result;

[0190] A broadcast unit for sending a broadcast to the terminal device based on the second authentication result, where the broadcast contains the charging power of cascaded charging of the first charger and the second charger;

[0191] A receiving unit for receiving an adjustment request sent by the terminal device, where the adjustment request contains the target charging power of the terminal device;

[0192] An adjustment unit for adjusting the charging request based on the target charging power.

[0193] Optionally, the broadcast unit is specifically configured to:

[0194] If the second authentication result is passed, send a first broadcast to the terminal device, where the first broadcast contains the fifth charging power;

[0195] If the second authentication result is not passed, send a second broadcast to the terminal device, where the second broadcast contains the sixth charging power, and the sixth charging power is less than the fifth charging power.

[0196] Optionally, the first charger includes:

[0197] A first input end, a second input end, an output end, a microcontroller, a transformer, a rectifier bridge, an overvoltage protection chip, a voltage conversion circuit, a first switch, and a second switch, where,

[0198] The first input end is used for the alternating current received to be converted into a first current through the transformer and the rectifier bridge in sequence;

[0199] The second input end is used for receiving a second current output by the second charger;

[0200] The first switch and the second switch are respectively used for adjusting the first current and the second current;

[0201] The microcontroller is used for controlling the first switch and the second switch, synthesizing the adjusted second current and the first current into a third current, and delivering the third current to the output end through the voltage conversion circuit and the overvoltage protection chip in sequence.

[0202] In the present disclosure, when the first charger detects that the second charger is connected, it detects the charging type of the second charger. Then, based on the charging type of the second charger, it sends a charging request to the second charger to apply for a first charging power. Finally, based on the first charging power and the second charging power of the first charger, it provides electrical energy to the device to be charged connected to the first charger. Thus, when charging the device to be charged, the charging output powers of the first charger and the second charger can be combined. In this way, when the charging power of the first charger cannot meet the charging requirements of the device to be charged, the charging ability of the second charger can be used to expand the charging power of the first charger. Furthermore, multiple low-power chargers can be used to charge a high-power device to be charged, reducing the cost of purchasing chargers and wasting charger resources.

[0203] To implement the above embodiments, the present disclosure also proposes an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the charging method for multiple chargers proposed in the foregoing embodiments of the present disclosure.

[0204] To implement the above embodiments, the present disclosure also proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the charging method for multiple chargers proposed in the foregoing embodiments of the present disclosure.

[0205] Figure 8 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 8 The illustrated electronic device 12 is merely an example and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.

[0206] As Figure 8 shown, the electronic device 12 is presented in the form of a general-purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0207] Bus 18 represents one or more of several types of bus architectures, including a memory bus or memory controller, a peripheral bus, an Accelerated Graphics Port, a processor, or a local bus using any of the various bus architectures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnection (PCI) bus.

[0208] Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 12, including volatile and nonvolatile media, removable and non-removable media.

[0209] Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and / or cache memory 32. Electronic device 12 may further include other removable / non-removable, volatile / nonvolatile computer system storage media. By way of example only, storage system 34 can be used for reading and writing on non-removable, nonvolatile magnetic media ( Figure 8 not shown, typically referred to as a "hard disk drive"). Although Figure 8 not shown in the figure, a disk drive for reading and writing on a removable nonvolatile disk (such as a "floppy disk") and an optical disk drive for reading and writing on a removable nonvolatile optical disk (such as Compact Disc Read Only Memory (CD-ROM), Digital Video Disc Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 through one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0210] A program / utility 40 having a set (at least one) of program modules 42 can be stored, for example, in a memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules 42 generally execute the functions and / or methods in the embodiments described in this disclosure.

[0211] The electronic device 12 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through an input / output (I / O) interface 22. Moreover, the electronic device 12 can also communicate with one or more networks (such as a Local Area Network (LAN), a Wide Area Network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0212] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the methods mentioned in the foregoing embodiments.

[0213] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0214] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0215] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logical function or process. The scope of the preferred embodiments of the present disclosure includes additional implementations, where functions may be executed in a substantially simultaneous manner or in a reverse order according to the functions involved, rather than in the order shown or discussed. This should be understood by those skilled in the art to which the embodiments of the present disclosure pertain.

[0216] Logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in conjunction with such instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then storing it in a computer memory.

[0217] It should be understood that various parts of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following techniques known in the art or a combination thereof can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.

[0218] Those of ordinary skill in the art can understand that all or part of the steps carried by the methods in the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0219] In addition, in each of the embodiments of the present disclosure, the functional units can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0220] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, or the like. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A charging method for a multi-charger, characterized in that, Including: When the first charger detects the connection to the second charger, it detects the charging type of the second charger; Based on the charging type of the second charger, it sends a charging request to the second charger to apply for a first charging power; Based on the first charging power and the second charging power of the first charger, it provides electrical energy to the device to be charged connected to the first charger.

2. The method according to claim 1, wherein The step of sending a charging request to the second charger to apply for a first charging power based on the charging type of the second charger includes: According to the charging type of the second charger, it determines whether the second charger meets the charging conditions for cascaded charging with the first charger; If the second charger meets the charging conditions, it determines the charging request method associated with the charging type; Based on the charging request method, it sends a charging request to the second charger to apply for a first charging power.

3. The method according to claim 2, wherein Wherein, The charging request method associated with the charging type is the first method. The step of sending a charging request to the second charger to apply for a first charging power based on the charging request method includes: Determines whether the second charger supports programmable power output; If the second charger does not support programmable power output, it sends a first charging request to the second charger to apply for a third charging power; If the second charger supports programmable power output, it performs encryption authentication on the second charger to determine a first authentication result; If the first authentication result is passed, it sends a second charging request to the second charger to apply for a fourth charging power, where the fourth charging power represents the maximum charging power of the second charger; If the first authentication result is not passed, it sends a third charging request to the second charger to apply for the third charging power, and the third charging power is less than the fourth charging power; The charging request method associated with the charging type is the second method. The step of sending a charging request to the second charger to apply for a first charging power based on the charging request method includes: Sends a fourth charging request to the second charger to apply for the fourth charging power.

4. The method according to claim 3, characterized in that, Wherein, If the charging type is Power Delivery (PD), the charging request method is the first method; If the charging type is the fast charging type in the Battery Charger 1.2 standard, the charging request method is the second method.

5. The method according to claim 1, characterized in that, The step of providing electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger includes: Adds the first charging power and the second charging power of the first charger to obtain a fifth charging power; Based on the fifth charging power, it provides electrical energy to the device to be charged.

6. The method according to claim 5, characterized in that The device to be charged is a terminal device. Before providing electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger, it further includes: Performs encryption authentication with the terminal device to determine a second authentication result; Based on the second authentication result, send a broadcast to the terminal device, where the broadcast contains the charging power of cascaded charging of the first charger and the second charger; Receive an adjustment request sent by the terminal device, where the adjustment request contains the target charging power of the terminal device; Based on the target charging power, adjust the charging request.

7. The method according to claim 6, characterized in that, The sending a broadcast to the terminal device based on the second authentication result includes: If the second authentication result is passed, send a first broadcast to the terminal device, and the first broadcast contains the fifth charging power; If the second authentication result is not passed, send a second broadcast to the terminal device, and the second broadcast contains the sixth charging power, and the sixth charging power is less than the fifth charging power.

8. The method according to claim 1, characterized in that Wherein, The first charger includes: A first input terminal, a second input terminal, an output terminal, a microcontroller, a transformer, a rectifier bridge, an overvoltage protection chip, a voltage conversion circuit, a first switch and a second switch, wherein, The first input terminal is used for the alternating current received to be converted into a first current through the transformer and the rectifier bridge in sequence; The second input terminal is used for receiving the second current output by the second charger; The first switch and the second switch are respectively used for adjusting the first current and the second current; The microcontroller is used for controlling the first switch and the second switch, synthesizing the adjusted second current and the first current into a third current, and sequentially delivering the third current to the output terminal through the voltage conversion circuit and the overvoltage protection chip.

9. A charging device for multiple chargers, characterized in that, Includes: A detection module, configured to detect the charging type of the second charger when it detects that the second charger is connected; A request module, configured to send a charging request to the second charger based on the charging type of the second charger to apply for a first charging power; A charging module, configured to provide electrical energy to the device to be charged connected to the first charger based on the first charging power and the second charging power of the first charger.

10. An electronic device, characterized in that, Includes: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1-8.