Power distribution method and device of multi-port charging device and multi-port charging device

The MCU of the multi-port charging device dynamically adjusts the charging power of the wireless charging port according to the actual charging protocol supported by the device connected to the wireless charging port, and redistributes it to other ports according to the difference. This solves the problems of resource waste and device interruption in traditional multi-port charging devices, and achieves more reasonable charging power distribution and device stability.

CN120879830APending Publication Date: 2025-10-31ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410536465.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

Traditional multi-port charging devices suffer from unreasonable power allocation, leading to resource waste and charging interruptions. This is especially true when the wireless charging port supports a low wireless charging protocol, resulting in either excessively high or low charging power allocation using traditional methods.

Method used

The MCU of the multi-port charging device dynamically adjusts the charging power of the wireless charging port according to the actual charging protocol supported by the device connected to the wireless charging port, and redistributes it to other ports based on the difference, taking into account the device type and priority, and reasonably allocates the charging power.

Benefits of technology

This technology enables the efficient allocation of charging power to avoid resource waste and device interruption when the wireless charging power of the connected device is low, thus improving charging efficiency and device stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120879830A_ABST
    Figure CN120879830A_ABST
Patent Text Reader

Abstract

The invention relates to a power distribution method and device of a multi-port charging device and the multi-port charging device. The method comprises the steps of distributing first power for a wireless charging port under the condition that the wireless charging port of the multi-port charging device is connected with an external device, then obtaining a charging protocol of the external device, and redistributing second power for the wireless charging port based on the charging protocol, so that the wireless charging port is connected with the external device. Charging power may be allocated to other ports of the multi-port charging device according to the first power and the second power. By adopting the method, the charging power can be reasonably distributed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of multi-port charging technology, and in particular to a power distribution method, apparatus, and multi-port charging device for a multi-port charging device. Background Technology

[0002] With the development of multi-port charging technology, wireless charging functionality has also been applied to multi-port charging devices.

[0003] Traditional multi-port charging devices with wireless charging interfaces typically allocate power to the wireless charging port higher than its maximum supported charging power, taking into account power loss during wireless charging. For example, if the maximum supported charging power of the wireless charging port is 15W, it will be allocated 20W of charging power. Then, the remaining charging power of the multi-port charging device is allocated to the other ports.

[0004] However, traditional power distribution methods for multi-port charging devices suffer from unreasonable power allocation. Summary of the Invention

[0005] Therefore, it is necessary to provide a power allocation method, apparatus, and multi-port charging device that can reasonably allocate charging power to address the above-mentioned technical problems.

[0006] In a first aspect, this application provides a power allocation method for a multi-port charging device, including:

[0007] When the wireless charging port of a multi-port charging device is connected to an external device, allocate the first power to the wireless charging port;

[0008] Obtain the charging protocol of the external device and reallocate the second power to the wireless charging port based on the charging protocol;

[0009] The charging power is allocated to the other ports of the multi-port charging device based on the first power and the second power.

[0010] In one embodiment, allocating charging power to other ports of the multi-port charging device according to a first power and a second power includes:

[0011] The recovery power of the wireless charging port is determined based on the first power and the second power.

[0012] Distribute the recovered power to other ports.

[0013] In one embodiment, the other ports include multiple charging ports, distributing reclaimed power to the other ports, including:

[0014] Determine the device type of the device connected to each charging port;

[0015] Depending on the device type, the recovered power is distributed to other ports.

[0016] In one embodiment, the reclaimed power is distributed to other ports based on the device type, including:

[0017] Distribute the recovered power to other ports corresponding to the target device type;

[0018] Among them, the charging voltage of other ports corresponding to the target device type is greater than the preset voltage threshold, and / or the charging current of other ports corresponding to the target device type is greater than the preset current threshold.

[0019] In one embodiment, the reclaimed power is distributed to other ports based on the device type, including:

[0020] Determine the priority of each other port based on the device type;

[0021] The power recovery is allocated to each of the other ports according to their respective priorities.

[0022] In one embodiment, the feature is that, when the wireless charging port of the multi-port charging device is connected to an external device, allocating a first power to the wireless charging port includes:

[0023] If an external device is detected connected to the wireless charging port, obtain the online duration of the wireless charging port;

[0024] If the online duration exceeds a preset first duration threshold, then obtain the wireless charging power of the protocol supported by the device connected to the wireless charging port and the first power configured for the wireless charging port.

[0025] In one embodiment, the method further includes:

[0026] If no external device is connected to the wireless charging port, determine the type of other online ports;

[0027] Distribute charging power to each of the other ports based on the type of the other ports online.

[0028] In one embodiment, charging power is allocated to other ports of each connected external device according to the type of other ports of each connected external device, including:

[0029] Determine the online duration of each of the other ports;

[0030] Based on the online duration of each other port, the preset second duration threshold, and the type of other online ports, the charging power is allocated to each other port.

[0031] Secondly, this application also provides a power distribution device for a multi-port charging device, comprising:

[0032] The acquisition module is used to allocate a first power to the wireless charging port when an external device is connected to the wireless charging port of the multi-port charging device;

[0033] The determination module is used to obtain the charging protocol of the external device and allocate a second power to the wireless charging port based on the charging protocol.

[0034] The distribution module is used to distribute charging power to the other ports of the multi-port charging device according to the first power and the second power.

[0035] Thirdly, embodiments of this application provide a multi-port charging device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in the first aspect above.

[0036] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect above.

[0037] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.

[0038] The power allocation method, apparatus, and multi-port charging device described above, when the wireless charging port is online, determines the second power to be allocated to the wireless charging port based on the actual charging protocol supported by the device connected to the wireless charging port. Then, based on the second power allocated to the wireless charging port and the first power, the charging power of other ports is redistributed. In contrast, in traditional technology, when a device is connected to the wireless charging port for charging, the multi-port charging device does not consider the power supported by the charging protocol of the external device and directly allocates a fixed first power to the wireless charging port. This first power is relatively high and is configured based on the highest supported charging power of the wireless charging port. When the wireless charging power supported by the protocol of the device connected to the wireless charging port is low, directly allocating the first power to the wireless charging port according to the traditional power allocation method will not only waste power, but also cause the devices connected to other ports to disconnect from charging due to insufficient charging power allocated to other ports. Therefore, the power allocation method, apparatus, and multi-port charging device provided in this application allocate more power to other ports more reasonably. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a diagram illustrating the application environment of the power allocation method in one embodiment;

[0041] Figure 2 This is a flowchart illustrating a power allocation method in one embodiment;

[0042] Figure 3 This is a flowchart illustrating step 203 in another embodiment;

[0043] Figure 4 This is a flowchart illustrating step 302 in another embodiment;

[0044] Figure 5 A schematic diagram illustrating the process of allocating charging power to other online ports according to default rules in another embodiment;

[0045] Figure 6 This is a flowchart illustrating a power allocation method for a multi-port charging device where only one port is online, as shown in another embodiment.

[0046] Figure 7 This is a flowchart illustrating a power distribution method for a multi-port charging device with two ports online, as shown in another embodiment.

[0047] Figure 8 This is a flowchart illustrating a power distribution method for a multi-port charging device with three ports online, as shown in another embodiment.

[0048] Figure 9 This is a flowchart illustrating a power distribution method for a multi-port charging device with four ports online, as shown in another embodiment.

[0049] Figure 10 This is a structural block diagram of a power distribution device in one embodiment;

[0050] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0052] Traditional multi-port charging devices typically deploy multiple charging ports, such as 2C1A (2 Type-C ports and 1 USB-A port) or 2C2A (2 Type-C ports and 2 USB-A ports). With the development of multi-port charging technology, wireless charging has also been applied to multi-port charging devices.

[0053] Wireless charging is a technology that uses non-physical contact to transfer electrical energy. When a multi-port charging device has a wireless charging port, it is generally configured with the highest supported charging power for the wireless charging port. Considering the power loss of the wireless charging port during the charging process, the multi-port charging device usually allocates a power higher than the highest supported charging power to the wireless charging port. For example, if the wireless charging protocol that supports the highest charging power is the MPP protocol (Magnetic Power Profile), then the wireless charging port can support a charging power of 15W. When the multi-port charging device charges the device through the wireless charging port, it will allocate 20W of charging power to the wireless charging port and then allocate the remaining charging power to the other ports.

[0054] However, when the device connected to the wireless charging port supports a wireless charging protocol with a low wireless charging power, for example, if the device supports the BPP (Base Power Profile) protocol with a supported wireless charging power of 5W, it is unreasonable to directly allocate 20W of charging power to the wireless charging port according to the traditional power allocation method. This not only wastes resources but also risks power outages for other connected devices due to insufficient charging power allocated to other ports. For example, in a 67W output multi-port charging device with 2C1A ports, one Type-C port is connected to a computer with a minimum charging power of 30W, another Type-C port is connected to a mobile phone, the USB-A port is allocated 12W of power by default, and the wireless charging port is allocated 20W of charging power. In this case, the two Type-C ports can only be allocated 35W of output power. According to the default rules, the Type-C port connected to the computer can only be allocated a maximum of 20W of charging power, and the connected computer will disconnect from charging because the charging power is not at the minimum charging power.

[0055] Therefore, traditional power allocation methods suffer from the problem of unreasonable charging power allocation.

[0056] Traditional methods for addressing unreasonable power allocation typically involve increasing the output power of multi-port charging devices. However, this approach is prohibitively expensive. Therefore, this application provides a power allocation method, apparatus, and device for multi-port charging devices. When the wireless charging port is online, the method determines the second power to be allocated to the wireless charging port based on the actual charging protocol supported by the connected device. Then, it reallocates the charging power to other ports based on the second power allocated to the wireless charging port and the first power. In contrast, traditional technologies often disregard the power supported by the external device's charging protocol when a device is connected to the wireless charging port, directly allocating a fixed first power to the port. This first power is relatively high, configured based on the highest supported charging power of the wireless charging port. When the wireless charging power supported by the connected device is low, directly allocating the first power to the port using traditional methods not only wastes power but also causes other ports to disconnect from charging due to insufficient power allocation. Therefore, the power allocation method, apparatus, and device provided in this application allocate power to other ports more reasonably.

[0057] The power allocation method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the MCU (microprogrammed control unit) connects to the PD circuit (USB Power Delivery US, fast charging protocol standard) corresponding to each charging port based on the I2C (Inter-integrated Circuit) protocol. The MCU can send the power value allocated to each port to the corresponding PD circuit based on the I2C protocol. The PD circuit controls the charging power allocated to the port according to the received power value. The charging ports include wireless charging ports and other ports. The MCU can collect the charging voltage and charging current on each charging port in real time through the ADC (Analog to Digital Converter).

[0058] In one exemplary embodiment, such as Figure 2 As shown, a power allocation method is provided, which is applied to Figure 1 The following steps are used as an example of the MCU in the example, including steps 201 to 203.

[0059] Step 201: When the wireless charging port of the multi-port charging device is connected to an external device, allocate the first power to the wireless charging port.

[0060] In this embodiment of the application, the multi-port charging device is equipped with multiple charging ports, wherein the charging ports may include wireless charging ports.

[0061] A wireless charging port is a charging port that supports wireless charging and can perform wireless charging services for connected devices. In this embodiment, the wireless charging port is online, that is, the wireless charging port is connected to a device that supports wireless charging and is wirelessly charging the device.

[0062] Once the device connected to the wireless charging port is successfully connected, the MCU can obtain the connection status between the wireless charging port and the device based on the I2C protocol. The attribute value corresponding to this connection status is stored in the MCU's static random access memory (SRAM). The MCU can read the attribute value corresponding to the connection status between the wireless charging port and the device from the SRAM to determine whether the wireless charging port is online. For example, when the wireless charging port is connected to a device, the MCU can detect that the connection status attribute value of the wireless charging port is 1, indicating that the wireless charging port is online. When the wireless charging port is not connected to a device, the MCU can detect that the connection status attribute value of the wireless charging port is 0, indicating that the wireless charging port is offline.

[0063] In one possible implementation, when the MCU determines that the wireless charging port is online, it directly allocates the first power to the wireless charging port. In another possible implementation, in order to ensure that the connection between the wireless charging port and the device is stable and not accidental, when the MCU detects that the wireless charging port of the charging device is connected to an external device, it also obtains the first online duration of the wireless charging port, which is the duration for which the wireless charging port is connected to the external device. If the first online duration is greater than a preset first duration threshold, for example, if the first online duration is greater than 10 seconds, the MCU determines that the wireless charging port is stably online, and at this time, it allocates the first power to the wireless charging port.

[0064] When the wireless charging port is online, the first power is the charging power allocated by the MCU to the wireless charging port according to the highest charging power supported by the wireless charging port. For example, when the wireless charging port can support multiple wireless charging protocols, the highest corresponding charging power among the wireless charging protocols is the EPP protocol (Extended Power Profile) and the MPP protocol. The charging power corresponding to the EPP protocol / MPP protocol is 15W. Considering the power loss of the wireless charging port during the charging process, the MCU will allocate 20W of first power to the wireless charging port.

[0065] Step 202: Obtain the charging protocol of the external device and reallocate the second power to the wireless charging port based on the charging protocol.

[0066] Different charging protocols correspond to different wireless charging power. The wireless charging power is the charging power supported by the wireless charging protocol of the device connected to the wireless charging port when the wireless charging port is online. The wireless charging protocol can be one of the following: EPP protocol (supports 15W wireless charging power), MPP protocol (supports 15W wireless charging power), SFC protocol (Super Flash Charge, supports 10W wireless charging power), APL protocol (Application Programming Interface for Power Leveling, supports 7.5W wireless charging power), or BPP protocol (supports 5W wireless charging power). Different wireless charging protocols correspond to different wireless charging power.

[0067] In this embodiment, the MCU can obtain the wireless charging protocol supported by the device connected to the wireless charging port based on the I2C protocol. The protocol charging power corresponding to the wireless charging protocol can be stored as an attribute value in the MCU's SRAM. When the MCU needs to obtain the protocol wireless charging power, it can read the SRAM to obtain the protocol wireless charging power supported by the device connected to the wireless charging port.

[0068] It is understandable that the wireless charging protocol supported by the device connected to the wireless charging port may not be the same as the wireless charging protocol corresponding to the highest wireless charging power supported by the wireless charging port. Therefore, the wireless charging power required by the device and the first power allocated to the wireless charging port by the MCU according to the default rules may not be the same. For example, the wireless charging protocol corresponding to the highest wireless charging power supported by the wireless charging port is the MPP protocol, which can support 15W charging power, and the first power allocated to the wireless charging port is 20W, while the wireless charging protocol supported by the device is the BPP protocol, which supports a wireless charging power of 5W.

[0069] At this point, it would be unreasonable to continue allocating the first 20W of power to the wireless charging port according to the traditional power allocation method. Therefore, the MCU can determine the second power to be reallocated to the wireless charging port based on the wireless charging power protocol corresponding to the charging protocol of the external device. The second power is the power that the MCU finally allocates to the wireless charging port.

[0070] Optionally, the MCU can directly use the value of the protocol wireless charging power as the value of the second power and allocate the second power to the wireless charging port. For example, if the value of the protocol wireless charging power is 5W, then the value of the second power is also 5W. Optionally, considering the power loss during the wireless charging process, a preset redundancy threshold is set, and the value of the second power allocated by the wireless charger to the wireless charging port is the sum of the protocol wireless charging power value and the preset redundancy threshold. For example, if the preset redundancy threshold is 3W and the protocol wireless charging power is 5W, then the MCU allocates 8W of second power to the wireless charging port. Optionally, a preset redundancy ratio is set, and the value of the second power allocated by the wireless charger to the wireless charging port is the product of the protocol wireless charging power value and the preset redundancy ratio. For example, if the preset redundancy ratio is 1.4 and the protocol wireless charging power is 5W, then the MCU allocates 7W of second power to the wireless charging port.

[0071] In one possible implementation, before determining the second power, the MCU also determines whether the protocol wireless charging power is greater than or equal to the maximum charging power supported by the wireless charging device. If it is greater than or equal to the second power, the value of the first power is directly used as the value of the second power.

[0072] Step 203: Distribute charging power to the other ports of the multi-port charging device according to the first power and the second power.

[0073] Other ports are charging ports on the charging device other than the wireless charging port. Optionally, other ports may include a type-C port, a USB-A port, etc.

[0074] In one possible implementation, when the second power equals the first power, the MCU allocates charging power to other ports according to the conventional power allocation method. In another possible implementation, when there is a difference between the second power and the first power, the MCU can reallocate the charging power to other ports. Optionally, the MCU calculates the difference between the second power and the first power to determine the excess charging power allocated to the wireless charging port. The MCU can directly recover the excess charging power and distribute it evenly to other ports other than the wireless charging port. Alternatively, the MCU can recover the excess charging power and distribute it to other ports according to a preset ratio.

[0075] The aforementioned power allocation method, when the wireless charging port is online, determines the second power to be allocated to the wireless charging port based on the actual charging protocol supported by the device connected to the wireless charging port. Then, it reallocates the charging power to other ports based on the second power allocated to the wireless charging port and the first power. In contrast, in traditional technology, when a device is connected to the wireless charging port for charging, the multi-port charging device does not consider the power supported by the charging protocol of the external device and directly allocates a fixed first power to the wireless charging port. This first power is relatively high and is configured based on the highest supported charging power of the wireless charging port. When the wireless charging power supported by the protocol of the device connected to the wireless charging port is low, directly allocating the first power to the wireless charging port according to the traditional power allocation method will not only waste power, but also cause the devices connected to other ports to disconnect from charging due to insufficient charging power allocated to other ports. Therefore, the power allocation method, device, and multi-port charging device provided in this application allocate more power to other ports more reasonably.

[0076] In one embodiment, based on Figure 2 The illustrated embodiment can be found in [reference]. Figure 3 This application's embodiments relate to the process of allocating charging power to other ports of a multi-port charging device based on a first power and a second power. For example... Figure 3 As shown, step 203 may include Figure 3 Steps 301 and 302 are shown.

[0077] Step 301: Determine the recycling power of the wireless charging port based on the first power and the second power.

[0078] Reclaimed power is the excess charging power allocated by the MCU to the wireless charging port. The MCU can recover the reclaimed power from the wireless charging port and adjust the charging power allocated to other ports based on the reclaimed power.

[0079] Optionally, the MCU can calculate the difference between the first power and the second power, and use the difference as the value of the recovered power. For example, if the second power is 8W and the first power is 20W, then the recovered power is 12W. Optionally, the MCU can calculate the difference between the first power and the second power, preset the recovery ratio, and determine the product of the difference and the recovery ratio as the value of the recovered power. For example, if the second power is 12W, the first power is 20W, and the preset recovery ratio is 0.8, then the recovered power is 6.4W.

[0080] Step 302: Distribute the recovered power to other ports.

[0081] Once the MCU determines the reclaimed power, it can allocate the reclaimed power to other ports. Optionally, the MCU can distribute the reclaimed power evenly among the other ports. For example, if the reclaimed power is 12W and there are 4 online other ports, the MCU can allocate an additional 3W of charging power to the other ports on top of the original charging power. Optionally, different other ports can have different allocation ratios, and the MCU can allocate the reclaimed power to the other ports according to a preset allocation ratio. Optionally, different other ports are connected to different devices, and each device supports a different charging power. The MCU can allocate all the reclaimed power to the other port corresponding to the device with the highest charging power.

[0082] In one embodiment, based on Figure 3 The illustrated embodiment can be found in [reference]. Figure 4 In this embodiment of the application, the other ports include multiple charging ports, and this embodiment relates to the process of distributing the recovered power to the other ports. For example... Figure 4 As shown, step 302 may include Figure 4 Steps 401 and 402 are shown.

[0083] Step 401: Determine the device type of the device connected to each charging port.

[0084] Step 402: Distribute the recovered power to other ports according to the device type.

[0085] Other ports include multiple charging ports, which can be either Type-C or USB-A ports. Different charging ports can connect to different types of devices, including computer devices and non-computer devices. Non-computer devices can include mobile phones, watches, etc.

[0086] Different types of devices require different charging power. For example, computer devices require 30W of charging power, while some mobile phone devices only require 7.5W of charging power. In this case, the MCU can allocate the recovered power to other ports according to the device type.

[0087] In one possible implementation, devices of different types have different priorities. The MCU detects the device type of the device connected to each charging port, determines the priority of each other port according to the device type, and allocates recovery power to each other port according to the priority of each other port.

[0088] Optionally, the MCU can allocate all the recovered power to the other ports with the highest priority; alternatively, the MCU can determine the allocation ratio for each other port based on its priority, and the MCU can allocate the recovered power to each other port according to the allocation ratio.

[0089] In one embodiment, based on Figure 4 The embodiment shown in this application describes a process for allocating recovered power to other ports based on the device type. This process includes allocating recovered power to other ports corresponding to the target device type.

[0090] Among them, the charging voltage of other ports corresponding to the target device type is greater than the preset voltage threshold, and / or the charging current of other ports corresponding to the target device type is greater than the preset current threshold.

[0091] In this embodiment, the target device type can be a computer device. The device type requires a higher charging power. In this embodiment, the MCU can collect the charging voltage and charging current of each other port in real time through the ADC and store the charging voltage and charging current in the MCU's SRAM. When the MCU determines the type of the device connected to other ports, it can read the charging voltage and / or charging current of other ports from the SRAM, preset voltage threshold and / or preset current threshold. When the charging voltage of other ports is greater than the preset voltage threshold and / or the charging current of other ports is greater than the preset current threshold, for example, the preset charging voltage is 18V. When the charging voltage is greater than 18V, the MCU determines that the device type is the target device type.

[0092] In one embodiment, based on Figure 2 The embodiment shown in this application relates to a power allocation method for a multi-port charging device when the wireless charging port is offline, which further includes: allocating charging power to other online ports according to a default allocation rule when the wireless charging port is offline.

[0093] When the wireless charging port is offline, the MCU can read the attribute value corresponding to the connection status of the wireless charging port stored in the SRAM. For example, if the MCU reads that the connection status attribute value of the wireless charging port is 0, it will determine that the wireless charging port is offline. At this time, for other ports, the MCU will allocate charging power to other ports according to the default power allocation rules.

[0094] In one possible implementation, there are multiple other ports. When allocating charging power to these other ports, the MCU also needs to determine which ports are online. Ports that are offline are not allocated power, while online ports are allocated charging power according to a default power allocation rule. Regarding the method by which the MCU determines whether other ports are online, the MCU can obtain the connection status attributes of the other ports based on the I2C protocol. These connection status attributes are stored in the MCU's SRAM. The MCU can obtain the connection status attributes of the other ports by reading the SRAM, thereby determining whether the other ports are online.

[0095] Based on the above embodiments, see Figure 5 The power distribution method for multi-port charging devices also includes:

[0096] Step 501: If no external device is connected to the wireless charging port, determine the type of other ports that are connected to external devices.

[0097] Step 502: Assign charging power to the other ports of each connected external device according to the type of the other ports of each connected external device.

[0098] Optionally, other ports may include Type-C ports and USB-A ports. The default allocation rules assign different charging powers to different types of other ports. For other ports that are online, the MCU also needs to determine the type of the other ports and then allocate charging power to each online port according to the type of the other ports and the default allocation rules.

[0099] For example, the USB-A port is allocated 12W of charging power by default, while the charging power allocated to the Type-C port by the MCU is determined based on the total output power of the charging device and the charging power allocated to other online ports other than the Type-C port.

[0100] The process by which the MCU allocates charging power to each other port according to the default allocation rules and the types of other online ports includes: determining the second online duration of each other port; and allocating charging power to each other port connected to the external device according to the second online duration, a preset second duration threshold, and the types of other ports connected to the external device.

[0101] When other ports are online, it means that the port is connected to an external device. The second online duration can be the duration that other ports are connected to external devices. When different types of other ports have different second online durations, the MCU will allocate different amounts of charging power to them. For example, the Type-C ports include Type-C1 and Type-C2 ports. There is a preset second duration threshold. When the online duration of Type-C1 and Type-C2 ports at the same time is less than the preset second duration threshold, equal charging power will be allocated to Type-C1 and Type-C2 ports. When the online duration of Type-C1 and Type-C2 ports at the same time is greater than the preset second duration threshold, different charging power will be allocated according to the device type or the order in which the devices are connected to Type-C1 and Type-C2 ports.

[0102] The following example illustrates the power allocation method for a multi-port charging device with an output power of 67W, equipped with 2C1A ports (C1 port, C2 port, and A port) and a wireless charging port:

[0103] See Figure 6 This refers to the case where only one port of a multi-port charging device is online:

[0104] 1) When the charging device is connected to the power supply, the MCU initializes the relevant parameters of each charging port. These parameters include port connection status, port online time, device type of the connected device, charging voltage, and charging current.

[0105] 2) Set a charging power of 67W to C1 or C2.

[0106] 3) Check the connection status of each port; there will be four possible outcomes:

[0107] A. If port C1 is online and other ports are offline, then 67W of charging power will be directly allocated to port C1.

[0108] B. If port C2 is online and other ports are offline, then 30W of charging power will be directly allocated to port C2.

[0109] If ports C and A are online, and other ports are offline, then 12W of charging power will be allocated to port A by default.

[0110] D. When the wireless charging port is online, check if the online duration of the wireless charging port is greater than the first duration threshold (10 seconds). If it is less than 10 seconds, allocate 20W of charging power to the wireless charging port. If it is greater than 10W, obtain the wireless charging power corresponding to the charging protocol of the device connected to the wireless charging port, and determine the second power to allocate to the wireless charging port based on the wireless charging power of the protocol. When the device supports the BPP protocol, the protocol wireless charging power is determined to be 5W. The preset redundancy threshold is 2-3W, so the second power is 7W, and the recovered power is 13W. The 13W is superimposed on the charging power reserved for C1 or C2 port, so the charging power reserved for C1 or C2 port is 58W. Similarly, when the device supports the APL protocol, the charging power reserved for C1 or C2 port is 55W. When the device supports the SFC protocol, the charging power reserved for C1 or C2 port is 52W. When the device supports the EPP / MPP protocol, the charging power reserved for C1 or C2 port is 45W.

[0111] See Figure 7 This refers to the scenario where a multi-port charging device has two ports online simultaneously:

[0112] 1) When the charging device is connected to the power supply, the MCU initializes the relevant parameters of each charging port. These parameters include port connection status, port online time, device type of the connected device, charging voltage, and charging current.

[0113] 2) Set a charging power of 67W to C1 or C2.

[0114] 3) Check the connection status of each port. The following scenarios may occur:

[0115] If C1 and C2 are online simultaneously, and other ports are offline except for C1 and C2, then the duration of C1 and C2's online status is detected, and their charging voltages are collected. If the duration of C1 and C2's simultaneous online status is less than the second duration threshold (5 seconds), then 30W of charging power is evenly distributed to C1 and C2. If the duration of C1 and C2's simultaneous online status is greater than 5 seconds, then the charging voltages of C1 and C2 are detected to be greater than the preset voltage threshold (18V). If both are greater than or both are less than the preset voltage threshold, then 30W of charging power is evenly distributed to C1 and C2. If only one port's charging voltage is greater than 18V, then the device connected to that port is determined to be the target device type (computer device), and 45W of charging power is distributed to that port, while the other port is distributed with 20W of charging power.

[0116] If B, C1, or C2 are online at the same time as A, then 12W of charging power will be allocated to port A, and 45W of charging power will be allocated to C1 or C2.

[0117] C. When C1 or C2 is online at the same time as the wireless charging port, initially allocate 45W of charging power to the online C1 or C2. If the wireless charging port is online for 10 seconds, determine the recovery power of the wireless charging port and allocate the recovery power to the online C1 or C2.

[0118] D. When A and the wireless charging port are online at the same time, 12W of charging power is allocated to port A, and 30W of charging power is reserved for C1 or C2. If the wireless charging port is online for 10 seconds, the recovery power of the wireless charging port is determined and the recovery power is added to the 30W reserved power and allocated to C1 or C2.

[0119] See Figure 8 This refers to a multi-port charging device with three ports online simultaneously:

[0120] 1) When the charging device is connected to the power supply, the MCU initializes the relevant parameters of each charging port. These parameters include port connection status, port online time, device type of the connected device, charging voltage, and charging current.

[0121] 2) Set a charging power of 67W to C1 or C2.

[0122] 3) Check the connection status of each port. The following scenarios may occur:

[0123] If ports A, C1, C2, and A are all online simultaneously, 12W of charging power is allocated to port A. The online duration of C1 and C2 is monitored, and their charging voltages are collected. If the online duration of C1 and C2 is less than the second duration threshold (5 seconds), the timing of C1 and C2's online status is determined. If C1 is online first, 30W is allocated to C1 and 20W to C2. If C2 is online first, 20W is allocated to C1 and 30W to C2. If the online duration of C1 and C2 is greater than 5 seconds, the charging voltages of C1 and C2 are checked to see if they are greater than the preset voltage threshold (18V). If both are greater than or less than the threshold, the charging power allocated to C1 and C2 remains the same as when it was less than 5 seconds. If only one port's charging voltage is greater than 18V, the device connected to that port is determined to be the target device type (computer device), and 30W of charging power is allocated to that port, while the other port is allocated 20W of charging power.

[0124] B. With C1, C2, and the wireless charging port online, the initial charging power allocation for C1 and C2 is 45W. The online duration of C1 and C2 is monitored, and their charging voltages are collected. If the online duration of C1 and C2 is less than the second duration threshold (5 seconds), the timing of their online status is determined. If C1 goes online first, 30W is allocated to C1 and 15W to C2. If C2 goes online first, 15W is allocated to C1 and 30W to C2. If the online duration of C1 and C2 is greater than 5 seconds, the charging voltages of C1 and C2 are checked to see if they are greater than the preset voltage threshold (18V). If both are greater than or less than the threshold, the charging power allocated to C1 and C2 remains the same as when it was less than 5 seconds. If only one port has a charging voltage greater than 18V, the device connected to that port is identified as the target device type (computer device), and 30W of charging power is allocated to that port, while the other port is allocated 15W of charging power.

[0125] Regarding the allocation of charging power at the wireless charging ports, an initial 20W charging power is allocated. The online duration of the wireless charging ports is monitored. If the wireless charging port is online for 10 seconds, the regenerative braking power is determined and allocated to ports C1 and C2. Whether the regenerative braking power is allocated to C1 or C2 depends on whether the device type connected to C1 and C2 is the target device type. If the target device type exists among the connected devices, the regenerative braking power is allocated to the corresponding port; otherwise, the charging power allocation strategy remains unchanged.

[0126] If C, C1 or C2, A, and the wireless charging port are online, then 12W of charging power is allocated to A, 30W of charging power is allocated to the online C1 or C2, and 20W of charging power is initially allocated to the wireless charging port. The online duration of the wireless charging port is detected. If the wireless charging port is online for 10 seconds, the recovery power of the wireless charging port is determined and allocated to the online C1 or C2 port.

[0127] See Figure 9 This refers to a multi-port charging device with three ports online simultaneously:

[0128] 1) When the charging device is connected to the power supply, the MCU initializes the relevant parameters of each charging port. These parameters include port connection status, port online time, device type of the connected device, charging voltage, and charging current.

[0129] 2) Set a charging power of 67W to C1 or C2.

[0130] 3) By checking the connection status of each port, it can be determined that C1, C2, A and the wireless charging port are online at the same time.

[0131] For port A, the MCU allocates 12W of charging power.

[0132] For C1 and C2, an initial total of 45W of charging power is allocated. Regarding the specific allocation of charging power, it is necessary to detect the online duration of C1 and C2 and collect the charging voltage of C1 and C2. When the online duration of C1 and C2 is less than the second duration threshold (5 seconds), the timing of C1 and C2 going online is determined. If C1 goes online first, 20W is allocated to C1 and 15W to C2. If C2 goes online first, 15W is allocated to C1 and 20W to C2. When the online duration of C1 and C2 is greater than 5 seconds, it is detected whether the charging voltage of C1 and C2 is greater than the preset voltage threshold (18V). If both are greater than or both are less than, the charging power allocated to C1 and C2 remains the same as the allocation when it was less than 5 seconds. If only one port has a charging voltage greater than 18V, it is determined that the device connected to that port is the target device type (computer device), and 20W of charging power is allocated to that port, while the other port is allocated 15W of charging power.

[0133] For the wireless charging port, an initial charging power of 20W is allocated to it. The online duration of the wireless charging port is detected. If the wireless charging port is online for 10 seconds, the regenerative braking power is determined and allocated to the online ports C1 and C2. Regarding whether the regenerative braking power is allocated to C1 or C2, the MCU determines this based on whether the device type of the devices connected to C1 and C2 is the target device type. If the target device type exists among the device types of the devices connected to C1 and C2, the regenerative braking power is allocated to the corresponding port; otherwise, the charging power allocation strategy remains unchanged.

[0134] In one embodiment, a power allocation method is provided. The method includes the following steps:

[0135] Step a: If the wireless charging port of the charging device is detected to be connected to an external device, obtain the first online duration of the wireless charging port.

[0136] Step b: If the online duration exceeds the preset first duration threshold, then the first power is reallocated to the wireless charging port.

[0137] Step c: Obtain the charging protocol of the external device and reallocate the second power to the wireless charging port based on the charging protocol.

[0138] Step d: Determine the recycling power of the wireless charging port based on the first power and the second power.

[0139] Step e: Determine the device type of the device connected to each charging port.

[0140] Step f involves distributing the recovered power to other ports corresponding to the target device type.

[0141] Among them, the charging voltage of other ports corresponding to the target device type is greater than the preset voltage threshold, and / or the charging current of other ports corresponding to the target device type is greater than the preset current threshold.

[0142] Other ports include multiple charging ports.

[0143] Step g: If no external device is connected to the wireless charging port, determine the type of the other ports that are connected to the external device.

[0144] Step h, determine the second online duration for each of the other ports.

[0145] Step i: Allocate charging power to each other port based on the second online duration of each other port, the preset second duration threshold, and the type of the other online ports.

[0146] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0147] Based on the same inventive concept, this application also provides a power distribution device for implementing the power distribution method of the multi-port charging device described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more power distribution device embodiments provided below can be found in the limitations of the power distribution method for the multi-port charging device described above, and will not be repeated here.

[0148] In one exemplary embodiment, such as Figure 10 As shown, a power distribution device for a multi-port charging device is provided, comprising: an acquisition module 1001, a determination module 1002, and a distribution module 1003, wherein:

[0149] The acquisition module 1001 is used to allocate a first power to the wireless charging port when the wireless charging port of the multi-port charging device is connected to an external device;

[0150] The determining module 1002 is used to obtain the charging protocol of the external device and reallocate the second power to the wireless charging port based on the charging protocol;

[0151] The allocation module 1003 is used to allocate charging power to other ports of the multi-port charging device according to the first power and the second power.

[0152] In one embodiment, the allocation module 1003 includes:

[0153] A power recovery determination unit is used to determine the power recovery of the wireless charging port based on the first power and the second power;

[0154] A power recovery distribution unit is used to distribute the recovered power to other ports.

[0155] In one embodiment, the other ports include multiple charging ports, and the power recovery distribution unit is also used to perform:

[0156] Determine the device type of the device connected to each of the charging ports;

[0157] The recovered power is allocated to other ports according to the device type.

[0158] In one embodiment, the power recovery distribution unit is also used to perform:

[0159] Distribute the recovered power to other ports corresponding to the target device type;

[0160] Wherein, the charging voltage of other ports corresponding to the target device type is greater than a preset voltage threshold, and / or, the charging current of other ports corresponding to the target device type is greater than a preset current threshold.

[0161] In one embodiment, the power recovery distribution unit is also used to perform:

[0162] The priority of each of the other ports is determined according to each of the device types;

[0163] The recovery power is allocated to each of the other ports according to the priority corresponding to each of the other ports.

[0164] In one embodiment, the acquisition module 1001 includes:

[0165] The online duration acquisition unit is used to acquire the first online duration of the wireless charging port when it is detected that the wireless charging port is connected to an external device;

[0166] The power acquisition unit is used to allocate a first power to the wireless charging port if the first online duration is greater than a preset first duration threshold.

[0167] In one embodiment, the power distribution device further includes:

[0168] A type determination unit is used to determine the type of the other online ports when the wireless charging port is not connected to an external device;

[0169] A default power allocation unit is used to allocate charging power to each of the other online ports according to the type of the other online ports.

[0170] In one embodiment, the default power allocation unit is also used to perform:

[0171] Determine the second online duration for each of the other ports;

[0172] Based on the second online duration of each of the other ports, a preset second duration threshold, and the type of the other online ports, charging power is allocated to each of the other ports.

[0173] Each module in the aforementioned power distribution device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0174] In one exemplary embodiment, a computer device is provided, which may be an MCU, and its internal structure diagram may be as follows: Figure 11 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores power allocation data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a power allocation method.

[0175] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0176] In one exemplary embodiment, a charging device is provided, including a memory and a processor. The memory stores a computer program, and the processor may be an MCU. When the processor executes the computer program, it performs the following steps:

[0177] When the wireless charging port of the multi-port charging device is connected to an external device, a first power is allocated to the wireless charging port;

[0178] Obtain the charging protocol of the external device, and reallocate a second power to the wireless charging port based on the charging protocol;

[0179] The charging power is allocated to the other ports of the multi-port charging device based on the first power and the second power.

[0180] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0181] The recovery power of the wireless charging port is determined based on the first power and the second power.

[0182] The recovered power is distributed to other ports.

[0183] In one embodiment, the other ports include a plurality of charging ports, and the processor, when executing a computer program, further implements the following steps:

[0184] Determine the device type of the device connected to each of the charging ports;

[0185] The recovered power is allocated to other ports according to the device type.

[0186] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0187] Distribute the recovered power to other ports corresponding to the target device type;

[0188] Wherein, the charging voltage of other ports corresponding to the target device type is greater than a preset voltage threshold, and / or, the charging current of other ports corresponding to the target device type is greater than a preset current threshold.

[0189] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0190] The priority of each of the other ports is determined according to each of the device types;

[0191] The recovery power is allocated to each of the other ports according to the priority corresponding to each of the other ports.

[0192] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0193] If an external device is detected to be connected to the wireless charging port, the first online duration of the wireless charging port is obtained;

[0194] If the first online duration exceeds a preset first duration threshold, then the first power is allocated to the wireless charging port.

[0195] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0196] Determine the second online duration for each of the other ports connected to the external devices;

[0197] Based on the second online duration, the preset second duration threshold, and the type of other ports of each of the external devices, charging power is allocated to the other ports of each of the external devices.

[0198] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0199] Determine the second online duration for each of the other ports connected to the external devices;

[0200] Based on the second online duration, the preset second duration threshold, and the type of other ports of each of the external devices, charging power is allocated to the other ports of each of the external devices.

[0201] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0202] When the wireless charging port of the multi-port charging device is connected to an external device, a first power is allocated to the wireless charging port;

[0203] Obtain the charging protocol of the external device, and reallocate a second power to the wireless charging port based on the charging protocol;

[0204] The charging power is allocated to the other ports of the multi-port charging device based on the first power and the second power.

[0205] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0206] The recovery power of the wireless charging port is determined based on the first power and the second power.

[0207] The recovered power is distributed to other ports.

[0208] In one embodiment, the other ports include a plurality of charging ports, and the computer program, when executed by a processor, further implements the following steps:

[0209] Determine the device type of the device connected to each of the charging ports;

[0210] The recovered power is allocated to other ports according to the device type.

[0211] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0212] Distribute the recovered power to other ports corresponding to the target device type;

[0213] Wherein, the charging voltage of other ports corresponding to the target device type is greater than a preset voltage threshold, and / or, the charging current of other ports corresponding to the target device type is greater than a preset current threshold.

[0214] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0215] The priority of each of the other ports is determined according to each of the device types;

[0216] The recovery power is allocated to each of the other ports according to the priority corresponding to each of the other ports.

[0217] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0218] If an external device is detected to be connected to the wireless charging port, the first online duration of the wireless charging port is obtained;

[0219] If the first online duration exceeds a preset first duration threshold, then the first power is allocated to the wireless charging port.

[0220] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0221] If no external device is connected to the wireless charging port, determine the type of each other port that is connected to an external device;

[0222] According to the type of other ports of each of the external devices, allocate charging power to the other ports of each of the external devices.

[0223] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0224] Determine the second online duration for each of the other ports connected to the external devices;

[0225] Based on the second online duration, the preset second duration threshold, and the type of other ports of each of the external devices, charging power is allocated to the other ports of each of the external devices.

[0226] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0227] When the wireless charging port of the multi-port charging device is connected to an external device, a first power is allocated to the wireless charging port;

[0228] Obtain the charging protocol of the external device, and reallocate a second power to the wireless charging port based on the charging protocol;

[0229] The charging power is allocated to the other ports of the multi-port charging device based on the first power and the second power.

[0230] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0231] The recovery power of the wireless charging port is determined based on the first power and the second power.

[0232] The recovered power is distributed to other ports.

[0233] In one embodiment, the other ports include a plurality of charging ports, and the computer program, when executed by a processor, further implements the following steps:

[0234] Determine the device type of the device connected to each of the charging ports;

[0235] The recovered power is allocated to other ports according to the device type.

[0236] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0237] Distribute the recovered power to other ports corresponding to the target device type;

[0238] Wherein, the charging voltage of other ports corresponding to the target device type is greater than a preset voltage threshold, and / or, the charging current of other ports corresponding to the target device type is greater than a preset current threshold.

[0239] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0240] The priority of each of the other ports is determined according to each of the device types;

[0241] The recovery power is allocated to each of the other ports according to the priority corresponding to each of the other ports.

[0242] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0243] If an external device is detected to be connected to the wireless charging port, the first online duration of the wireless charging port is obtained;

[0244] If the first online duration exceeds a preset first duration threshold, then the first power is allocated to the wireless charging port.

[0245] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0246] If no external device is connected to the wireless charging port, determine the type of each other port that is connected to an external device;

[0247] According to the type of other ports of each of the external devices, allocate charging power to the other ports of each of the external devices.

[0248] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0249] Determine the second online duration for each of the other ports connected to the external devices;

[0250] Based on the second online duration, the preset second duration threshold, and the type of other ports of each of the external devices, charging power is allocated to the other ports of each of the external devices.

[0251] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0252] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0253] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0254] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A power allocation method for a multi-port charging device, characterized in that, The method includes: When the wireless charging port of the multi-port charging device is connected to an external device, a first power is allocated to the wireless charging port; Obtain the charging protocol of the external device, and reallocate a second power to the wireless charging port based on the charging protocol; The charging power is allocated to the other ports of the multi-port charging device based on the first power and the second power.

2. The method according to claim 1, characterized in that, The step of allocating charging power to other ports of the multi-port charging device based on the first power and the second power includes: The recovery power of the wireless charging port is determined based on the first power and the second power. The recovered power is distributed to the other ports.

3. The method according to claim 2, characterized in that, The other ports include multiple charging ports, and the allocation of the recovered power to the other ports includes: Determine the device type of the device connected to each of the charging ports; The recovered power is allocated to the other ports according to the device type.

4. The method according to claim 3, characterized in that, The step of allocating the recovered power to the other ports according to the device type includes: Distribute the recovered power to other ports corresponding to the target device type; Wherein, the charging voltage of other ports corresponding to the target device type is greater than a preset voltage threshold, and / or, the charging current of other ports corresponding to the target device type is greater than a preset current threshold.

5. The method according to claim 3, characterized in that, The step of allocating the recovered power to the other ports according to the device type includes: The priority of each of the other ports is determined according to each of the device types; The recovery power is allocated to each of the other ports according to the priority corresponding to each of the other ports.

6. The method according to any one of claims 1-5, characterized in that, When the wireless charging port of the multi-port charging device is connected to an external device, allocating a first power to the wireless charging port includes: If an external device is detected to be connected to the wireless charging port, the first online duration of the wireless charging port is obtained; If the first online duration exceeds a preset first duration threshold, then the first power is allocated to the wireless charging port.

7. The method according to claim 1, characterized in that, The method further includes: If no external device is connected to the wireless charging port, determine the type of each other port that is connected to an external device; According to the type of other ports of each of the external devices, allocate charging power to the other ports of each of the external devices.

8. The method according to claim 7, characterized in that, The step of allocating charging power to other ports of each of the external devices according to the type of other ports of each of the external devices includes: Determine the second online duration for each of the other ports connected to the external devices; Based on the second online duration, the preset second duration threshold, and the type of other ports of each of the external devices, charging power is allocated to the other ports of each of the external devices.

9. A power distribution device for a multi-port charging device, characterized in that, The device includes: The acquisition module is used to allocate a first power to the wireless charging port when the wireless charging port of the multi-port charging device is connected to an external device; The determination module is used to obtain the charging protocol of the external device and allocate a second power to the wireless charging port based on the charging protocol; The allocation module is used to allocate charging power to other ports of the multi-port charging device according to the first power and the second power.

10. A multi-port charging device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Dynamic power distribution method and device for multiple types of equipment, equipment and medium

    CN121478101A