Charging method, power supply device, and computer readable storage medium

By detecting and adjusting the power distribution of the power supply equipment and sending reset commands to the load electronic devices, the problem of load electronic devices not supporting real-time broadcast power changes is solved, thereby improving the power supply efficiency and stability of the power supply equipment.

CN115514033BActive Publication Date: 2025-11-18ANKER INNOVATIONS TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110693967.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-22
Publication Date
2025-11-18
Estimated Expiration
2041-06-22

AI Technical Summary

Technical Problem

Some load electronic devices do not support real-time broadcast power changes, resulting in low power supply efficiency or entering protection mode. Existing technologies cannot effectively solve this compatibility problem.

Method used

By detecting the access of the load electronic device, its actual charging power is obtained, and when the power is mismatched, the power distribution of the power supply device is adjusted. A reset command is sent to the load electronic device so that it can recognize the adjusted power distribution, thereby achieving adaptive power supply.

Benefits of technology

It improves the power supply efficiency of power supply equipment, avoids low power supply efficiency or protection mode caused by power mismatch, and improves the compatibility of load electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115514033B_ABST
    Figure CN115514033B_ABST
Patent Text Reader

Abstract

The application discloses a charging method, a power supply device and a computer readable storage medium. The charging method comprises the following steps: detecting the access of a load electronic device, allocating power to the load electronic device and outputting; acquiring the actual charging power of the load electronic device; in response to the charging power not matching the allocated power, adjusting the allocated power of the power supply device; and sending a reset instruction to the load electronic device, so that the load electronic device identifies the adjusted allocated power and charges according to the adjusted allocated power. In the foregoing manner, the application can improve the situation that the load electronic device does not support real-time power change, and improve the power supply efficiency of the power supply device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of charging technology, and in particular to charging methods, power supply equipment, and computer-readable storage media. Background Technology

[0002] The existing power supply equipment adopts a method of real-time monitoring of the load power of the load electronic devices, adjusting the power distribution of the power supply equipment accordingly, and broadcasting the power distribution to the load electronic devices to achieve automatic power distribution, thereby dynamically adjusting the power distributed to each load electronic device.

[0003] However, some load electronic devices do not support real-time broadcast power changes, such as some laptops. They cannot recognize the broadcasted power allocation, and the charging power they pull cannot be changed according to the new broadcast power allocation. This results in situations where the load power of the electronic device is less than the power allocation of the power supply equipment, leading to low power supply efficiency of the power supply equipment. Alternatively, if the load power is greater than the power allocation of the power supply equipment, the power supply equipment will enter protection mode and stop supplying power, which also affects the power supply efficiency of the power supply equipment. Summary of the Invention

[0004] In view of this, the main technical problem solved by the present invention is to provide a charging method, a power supply device, and a computer-readable storage medium that can improve the situation where the load electronic device does not support real-time broadcast power change and improve the power supply efficiency of the power supply device.

[0005] To solve the above-mentioned technical problems, one technical solution adopted by the present invention is to provide a charging method, which includes: detecting the access of a load electronic device, allocating power to the load electronic device and outputting power; obtaining the actual charging power of the load electronic device; adjusting the allocation power of the power supply device in response to a mismatch between the charging power and the allocated power; and sending a reset command to the load electronic device so that the load electronic device can recognize the adjusted allocation power and start charging according to the adjusted allocation power.

[0006] In one embodiment of the present invention, sending a reset command to the load electronic device to enable the load electronic device to recognize the adjusted power allocation, and charging according to the adjusted power allocation includes: controlling the load electronic device to go offline and reconnecting it to the power supply equipment, and outputting charging power to the load electronic device according to the adjusted power allocation.

[0007] In one embodiment of the present invention, before adjusting the allocation power of the power supply device in response to a mismatch between the charging power and the allocated power, the method includes: obtaining charging configuration parameters of the load electronic device, the charging configuration parameters including a minimum charging power threshold of the load electronic device; adjusting the allocation power of the power supply device includes: controlling the adjusted allocation power to be greater than or equal to the minimum charging power threshold.

[0008] In one embodiment of the present invention, obtaining the charging configuration parameters of the load electronic device includes: obtaining the device identifier of the load electronic device; and searching for the charging configuration parameters corresponding to the device identifier of the load electronic device based on a charging strategy statistics table. The charging strategy statistics table is pre-stored on the power supply device and contains the correspondence between the device identifier and the charging configuration parameters.

[0009] In one embodiment of the present invention, obtaining the charging configuration parameters of the load electronic device includes: obtaining the device identifier and charging configuration parameters of the load electronic device, wherein the charging configuration parameters are pre-stored on the load electronic device.

[0010] In one embodiment of the present invention, adjusting the power allocation of the power supply device includes: if the remaining power to be allocated by the power supply device is less than the minimum charging power threshold of the load electronic device, then obtaining the charging current of the connected load electronic device; if the time for which the charging current is less than the first threshold is greater than the second threshold, then stopping the supply of power to the load electronic device whose charging current is less than the first threshold, and allocating the recovered power to the newly connected load electronic device.

[0011] In one embodiment of the present invention, adjusting the power distribution of the power supply device includes: obtaining the difference between the charging power and the power distribution; and, in response to the difference being greater than or equal to the minimum unit power, recovering or increasing the power distribution, wherein the recovered or increased power value is an integer multiple of the minimum unit power.

[0012] In one embodiment of the present invention, adjusting the power distribution of the power supply equipment includes: if the charging power is greater than the distribution power, then gradually increasing the distribution power in increments of minimum unit power until the distribution power is greater than or equal to the charging power and the difference is less than the minimum unit power; if the charging power is less than the distribution power and the difference is greater than twice the minimum unit power, then gradually decreasing the distribution power in increments of minimum unit power until the distribution power is greater than or equal to the charging power and the difference is less than the minimum unit power.

[0013] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is: to provide a power supply device, the power supply device comprising: a charging interface for connecting a load electronic device; a controller for detecting the connection of the load electronic device, allocating power to the load electronic device and outputting power; obtaining the actual charging power of the load electronic device; adjusting the allocation power of the power supply device in response to a mismatch between the charging power and the allocated power; and sending a reset command to the load electronic device so that the load electronic device recognizes the adjusted allocation power and starts charging according to the adjusted allocation power.

[0014] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is to provide a computer-readable storage medium for storing instruction / program data, which can be executed to implement the charging method described in the above embodiments.

[0015] The beneficial effects of this invention are as follows: Unlike existing technologies, this invention provides a charging method, a power supply device, and a computer-readable storage medium. This invention can be applied to adaptively powering load electronic devices. For example, if the load electronic device does not support real-time broadcast power changes, i.e., it cannot recognize the changed power allocation broadcast by the power supply device, the power supply device sends a reset command to the load electronic device, causing the load electronic device to reset and reconnect to the power supply device. This allows it to recognize the adjusted power allocation and charge according to the adjusted power allocation, thereby alleviating the problem of low power supply efficiency when the load power of the load electronic device is less than the power supply device's allocated power, or when the load power of the load electronic device is greater than the power supply device's allocated power, causing the power supply device to enter protection mode and stop supplying power. This improves the situation where the load electronic device does not support real-time broadcast power changes, thus increasing the power supply efficiency of the power supply device. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention. Furthermore, these drawings and textual descriptions are not intended to limit the scope of the inventive concept in any way, but rather to illustrate the concept of the invention to those skilled in the art by reference to specific embodiments.

[0017] Figure 1 This is a schematic flowchart of the first embodiment of the charging method of the present invention;

[0018] Figure 2 This is a flowchart illustrating the second embodiment of the charging method of the present invention;

[0019] Figure 3 This is a schematic diagram of the structure of an embodiment of the charging method of the present invention;

[0020] Figure 4 This is a flowchart illustrating the third embodiment of the charging method of the present invention;

[0021] Figure 5 This is a flowchart illustrating the fourth embodiment of the charging method of the present invention;

[0022] Figure 6 This is a schematic diagram of the structure of an embodiment of the power supply equipment of the present invention;

[0023] Figure 7 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions in the embodiments of this invention will be clearly and completely described below in conjunction with the embodiments of this invention. Obviously, the described embodiments are only some embodiments of this invention, not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0025] To address the technical problem of low power supply efficiency caused by the lack of real-time broadcast power change support for load electronic devices in existing technologies, this invention provides a charging method, a power supply device, and a computer-readable storage medium. The charging method includes: detecting the connection of a load electronic device; allocating power to the load electronic device and outputting it; acquiring the actual charging power of the load electronic device; adjusting the allocated power of the power supply device in response to a mismatch between the charging power and the allocated power; and sending a reset command to the load electronic device to enable it to recognize the adjusted allocated power and start charging according to the adjusted allocated power. The details are described below.

[0026] Please see Figure 1 , Figure 1 This is a schematic flowchart of the first embodiment of the charging method of the present invention.

[0027] S101: Detects the connection of the load electronic device, allocates power to the load electronic device and outputs power.

[0028] When the power supply equipment detects that the load electronic device is connected, it allocates power to the load and outputs power to supply power to the load electronic device.

[0029] S102: Obtain the actual charging power of the load electronic device.

[0030] After the power supply equipment outputs distributed power to the load electronic equipment, it detects and obtains the actual charging power carried by the load electronic equipment to identify whether the distributed power and the charging power match, thereby improving the power supply power of the power supply equipment or saving energy.

[0031] S103: In response to a mismatch between charging power and distribution power, adjust the distribution power of the power supply equipment.

[0032] The power distribution of a power supply device is equivalent to the power it broadcasts that it can currently provide to the load electronic device. The charging power of the load electronic device is equivalent to the power it draws for charging after recognizing the power distribution broadcast by the power supply device. In other words, the power that the load electronic device draws and uses for charging is the charging power. It is easy to understand that the power distribution of the power supply device and the charging power of the load electronic device can be different.

[0033] A mismatch between charging power and allocated power can specifically include situations where the difference between the charging power and allocated power exceeds a certain range (such as minimum unit power) or other conditions affecting power supply efficiency, which will not be elaborated upon here. When a mismatch occurs, the allocated power of the power supply equipment can be adjusted to match the actual charging power of the load electronic device. This alleviates the energy waste when the allocated power exceeds the charging power, and addresses the issue of low power supply efficiency or even failure to charge the load electronic device when the allocated power is less than the charging power, thereby improving the power supply efficiency of the power supply equipment.

[0034] S104: Send a reset command to the load electronic device so that the load electronic device can recognize the adjusted power allocation and start charging according to the adjusted power allocation.

[0035] Most load electronic devices on the market can support real-time broadcast changes to the power allocation of the power supply. That is, when the power supply detects that the power allocation does not match the charging power, the power supply will adjust its power allocation and rebroadcast. At this time, the load electronic device can recognize the broadcast changed power allocation and may adjust the charging power it pulls accordingly.

[0036] For example, if a power supply device has already connected to a load electronic device, when another load electronic device is connected to the power supply device, the power supply device will adjust the power allocation to each load electronic device. The load electronic device that was connected earlier will recognize the adjusted power allocation and adjust the charging power it is connected to according to the adjusted power allocation.

[0037] However, some load electronic devices still do not support real-time broadcast changes to the allocated power from the power supply. In other words, after the power supply adjusts its allocated power, the load electronic devices cannot recognize the change and cannot adjust their charging power accordingly, resulting in compatibility issues. To address this problem, this embodiment sends a reset command to the load electronic devices, enabling them to recognize the adjusted allocated power and adjust the power they are charged, thus changing their actual charging power.

[0038] The specific implementation method for sending a reset command to the load electronic device will be described later.

[0039] In this embodiment, adaptive power supply can be provided to the load electronic device. For example, if the load electronic device does not support real-time broadcast power change, i.e., it cannot recognize the changed power allocation broadcast by the power supply device, the power supply device sends a reset command to the load electronic device, causing the load electronic device to reset and reconnect to the power supply device. In this case, it can recognize the adjusted power allocation and start charging according to the adjusted power allocation, thereby alleviating the problem of low power supply efficiency caused by the load power of the load electronic device being less than the power allocation power of the power supply device, or the power supply device entering protection mode and stopping power supply when the load power of the load electronic device is greater than the power allocation power of the power supply device. This improves the situation where the load electronic device does not support real-time broadcast power change and increases the power supply efficiency of the power supply device.

[0040] Please see Figure 2 , Figure 2 This is a schematic flowchart of the second embodiment of the charging method of the present invention.

[0041] In this embodiment, a charging strategy statistics table is pre-established and stored on the power supply equipment; that is, the charging strategy statistics table is pre-stored on the power supply equipment. The charging strategy statistics table may include device identifiers and charging configuration parameters. For example, the device identifier may include device information such as the device brand, vendor identity (VID), and product identifier (PID), while the charging configuration parameters may include charging rules such as the minimum charging power threshold and whether the device supports real-time broadcasting of changes to the allocated power.

[0042] The minimum charging power threshold indicates that if the charging power of the input load electronic device is lower than the minimum charging power threshold, the load electronic device will not be able to charge. For example, if the minimum charging threshold of the load electronic device is 45W, the load electronic device will not be able to charge if the power supplied by the power supply device to the load electronic device is less than 45W.

[0043] The following table, Table 1, illustrates the contents of the charging strategy statistics table:

[0044] Table 1. Charging Strategy Statistics

[0045]

[0046] Whether the device supports real-time broadcasting to change the allocated power can be written in the remarks column; alternatively, a separate table can be added to fill in whether the device supports real-time broadcasting to change the allocated power, which is not limited here.

[0047] As is easily understood, load electronic devices such as laptops pre-store corresponding device identifiers and charging configuration parameters; that is, the device identifier and charging configuration parameters are pre-stored on the load electronic device. Optionally, the device identifier of the load electronic device can be obtained through the Discovery Identify message in the Power Delivery (PD) specification, or it can be obtained through other methods, which are not limited here.

[0048] Optionally, the charging strategy statistics table pre-stored in the power supply equipment can be a powerful dynamic table (Power Table), etc., so that when the power supply equipment detects that the device identifier and charging configuration parameters of the load electronic device are not stored in the charging strategy statistics table, the power supply equipment can obtain the device identifier and charging configuration parameters of the load electronic device and write them into the charging strategy statistics table. Alternatively, it can be updated through an application (APP), etc.

[0049] S201: Detect the connection of the load electronic device.

[0050] When the power supply equipment detects that the load electronic device is connected, it allocates power to the load electronic device and outputs power to supply power to the load electronic device.

[0051] When a load electronic device is connected, its device identifier can be obtained. Based on this identifier, the corresponding charging configuration parameters can be retrieved. These parameters include the minimum charging power threshold described earlier and whether the device supports real-time broadcast power changes. Specifically, the charging configuration parameters corresponding to the device identifier of the load electronic device are found based on the charging strategy statistics table. If the device identifier of the load electronic device cannot be obtained, it can be assumed that it has no special requirements and can be charged as long as it has power output. In this case, step S205 is executed (this implementation method is not specifically shown in the figure).

[0052] S202: Determine whether the remaining unallocated power of the power supply equipment is less than the minimum charging power threshold of the load electronic equipment.

[0053] If the remaining power to be allocated by the power supply equipment is not less than the minimum charging power threshold of the load electronic device, then step S205 is executed; if the remaining power to be allocated by the power supply equipment is less than the minimum charging power threshold of the load electronic device, then step S203 is executed.

[0054] The minimum charging power threshold can be obtained in the above steps. If the current load electronic device has no minimum charging power, it means that the load electronic device is not particularly limited and can be charged as long as there is power output. Then, step S205 is executed.

[0055] The power supply equipment can compare its remaining power to be allocated with the minimum charging power threshold of the load electronic equipment, and then take corresponding actions autonomously according to the status of the power supply equipment and the load electronic equipment, so as to reasonably distribute power to each load electronic equipment and improve power supply efficiency.

[0056] S203: Obtain the charging current of the connected load electronic device.

[0057] If the remaining power to be allocated by the power supply device is less than the minimum charging power threshold of the load electronic device, it is considered that the power output of the current power supply device is insufficient to supply power to the load electronic device, i.e., the load electronic device cannot be charged. In this case, the charging current of the load electronic device connected previously is acquired and monitored. Simultaneously, notifications containing relevant information can be pushed to the user's mobile terminal or APP, for example, informing the user that the remaining power to be allocated by the power supply device is insufficient to supply power to the newly connected load electronic device, and that power will be supplied to this load electronic device after other load electronic devices have finished charging. In alternative embodiments, other information that may change during the charging process of the load electronic device can also be acquired, not limited to acquiring the charging current of the load electronic device, such as the remaining battery capacity, which will not be elaborated here.

[0058] S204: If the time during which the charging current is less than the first threshold is greater than the second threshold, then power supply to the load electronic device whose charging current is less than the first threshold is stopped, and the recovered power is allocated to the newly connected load electronic device.

[0059] During the monitoring of previously connected load electronic devices, if the charging current of a load electronic device is less than a first threshold for a period of time that is greater than a second threshold, it can be considered that the load electronic device is fully charged. In this case, charging of the load electronic device whose charging current is less than the first threshold is stopped, the allocated power output to the load electronic device is recovered, and the recovered power is allocated to the newly connected load electronic device, i.e., the load electronic device connected in step S201. This ensures that the allocated power is reasonably distributed to each load electronic device connected to the power supply, and that power can be supplied to the previously connected load electronic devices. Furthermore, once the previously connected load electronic devices are fully charged, they can supply power to the subsequently connected load electronic devices, thereby improving the user experience.

[0060] In an alternative embodiment, priority can also be set for each charging interface of the charging device, and output power can be allocated to the load electronic device connected to the high-priority charging interface first, so as to ensure that the load electronic device connected to the high-priority charging interface can achieve fast charging.

[0061] Optionally, the priority of each charging port can be initially set at the factory; or, the priority of each charging port is not set at the factory and can be customized and modified by the user; or, the priority of each charging port can be initially set at the factory and the user can modify the priority of each charging port.

[0062] S205: Distributes and outputs power to the load electronic device.

[0063] The power that can be allocated to the load electronic devices is output to the load electronic devices in a reasonable way, so that each load electronic device can be charged effectively, thereby improving the power supply efficiency of the power supply equipment and improving the user experience.

[0064] S206: Obtain the actual charging power of the load electronic device.

[0065] While distributing and outputting power to the load electronics, the power supply equipment can also acquire the actual charging power of the load electronics to identify whether the power distribution of the power supply equipment matches the charging power of the load electronics. If the power distribution and charging power do not match, the power distribution of the power supply equipment is adjusted; if they match, the power supply equipment continues to output power to the load electronics at the current power distribution. The following details the implementation method for adjusting the power distribution.

[0066] S207: Obtain the difference between the charging power and the allocated power.

[0067] The difference between the power allocated to the power supply equipment and the charging power of the load electronic equipment is obtained to determine whether the charging power matches the power allocated.

[0068] S208: Determine whether the difference between the charging power and the allocated power is greater than or equal to the minimum unit power.

[0069] If the difference between the charging power and the allocated power is greater than or equal to the minimum unit power, then proceed to step S209; if the difference between the charging power and the allocated power is not greater than or equal to the minimum unit power, then the charging power and the allocated power are considered to be matched, and the process ends.

[0070] Specifically, if the difference between the allocated power and the charging power is greater than or equal to the minimum unit power, the charging power is considered to be mismatched with the allocated power. In response, the allocated power is recovered or increased, and the recovered / increased power value is an integer multiple of the minimum unit power. If the difference is less than the minimum unit power, the charging power is considered to be matched with the allocated power, and there is no need to adjust the charging power of the power supply equipment. This makes the charging method more rational and improves the user experience.

[0071] The minimum unit power can be pre-stored in the power supply equipment and can be 1W, 2W, 3W, etc., without limitation. In a specific embodiment, the minimum unit power is 3W. If the difference between the power allocated by the power supply equipment and the charging power of the load electronic device is detected to be 16W, the power allocation is adjusted, and its power value is recovered / increased to an integer multiple of the minimum unit power (3W) until the difference between the power allocation and the charging power is less than the minimum unit power, that is, the difference between the power allocation and the charging power is less than 3W. At this point, the power allocation is considered to match the charging power, and there is no need to continue to recover / increase the power allocation.

[0072] Matching the power distribution with the charging power does not mean that the power distribution and the charging power must be exactly the same. Since the power distribution output by the power supply equipment may still change dynamically, if the power distribution and the charging power are required to be exactly the same, the power distribution needs to be constantly adjusted. Therefore, it is permissible for there to be a certain difference between the power distribution and the charging power. If the difference between the two is within a certain range (such as the minimum unit power in this invention), then the power distribution and the charging power can be considered to be matched, so as to improve the charging method.

[0073] S209: Determine whether the charging power is greater than the allocated power.

[0074] If the charging power is greater than the allocated power, proceed to step S210; if the charging power is not greater than the allocated power, proceed to step S212.

[0075] By comparing the current power distribution of the power supply equipment with the charging power drawn by the load electronic equipment, the system can autonomously decide whether to recover or increase the power distribution, thereby improving the power supply efficiency of the power supply equipment.

[0076] S210: Increase the power distribution step size using the minimum unit power.

[0077] When the charging power of the load electronic device exceeds the allocated power of the power supply equipment, it means that the power currently being drawn by the load electronic device is greater than the power allocated to it by the power supply equipment. Over time, this may cause the power supply equipment to enter protection mode and stop supplying power. Therefore, increasing the allocated power in increments of minimum unit power reduces the difference between the allocated power and the charging power, which helps to stably supply power to the load electronic device and improves the reliability of the power supply equipment.

[0078] S211: Determine whether the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power.

[0079] If the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power, then proceed to step S215; if the allocated power is not greater than or equal to the charging power, and the difference is less than the minimum unit power, then repeat step S210.

[0080] After increasing the power allocation by the minimum unit power increment, it is determined whether the current power allocation is greater than or equal to the charging power and the difference is less than the minimum unit power. If so, it is considered that the power allocation of the power supply equipment matches the charging power of the load electronic equipment and the power supply equipment can stably supply power to the load electronic equipment. If not, step S210 is repeated, that is, the power allocation is increased again by the minimum unit power increment.

[0081] In other words, if the charging power is greater than the allocated power, the allocated power is gradually increased in increments of the minimum unit power until the allocated power is greater than or equal to the charging power, and the difference between the two is less than the minimum unit power. This ensures that the allocated power matches the charging power, which is beneficial for stable power supply to the load electronic devices. Specifically, taking a minimum unit power of 3W as an example, when the allocated power and charging power do not match, the allocated power is increased by 3W each time. After each increase, it is determined whether the current allocated power matches the charging power. If the allocated power matches the charging power, the increase in allocated power stops; if the allocated power still does not match the charging power, the increase in allocated power continues by 3W. This design avoids increasing the allocated power by too much at once, which could affect the stability of the power supply, thus contributing to a stable power supply to the load electronic devices.

[0082] Of course, in an alternative embodiment, the allocated power can be increased directly by an integer multiple of the minimum unit power, or the difference between the allocated power and the charging power can be increased directly, without limitation.

[0083] S212: Determine whether the difference is greater than twice the minimum unit power.

[0084] If the difference is greater than twice the minimum unit power, then proceed to step S213; if the difference is not greater than twice the minimum unit power, then the process ends.

[0085] When the charging power is not greater than the allocated power (i.e., the allocated power of the power supply equipment is greater than the charging power of the load electronic device), it is further determined whether the difference between the two is greater than twice the minimum unit power. If the difference is greater than twice the minimum unit power, it is considered that the allocated power of the power supply equipment is mismatched with the charging power of the load electronic device, and the allocated power of the power supply equipment will be adjusted to output a reasonable allocated power to the load electronic device, thereby improving the power supply efficiency of the power supply equipment. If the difference is less than twice the minimum unit power, it is considered that the allocated power of the power supply equipment matches the charging power of the load electronic device, and no adjustment of the allocated power of the power supply equipment is required.

[0086] The purpose of determining whether the difference is greater than twice the minimum unit power is that, since the power distribution of the power supply equipment may fluctuate, adjusting the power distribution when the difference is greater than twice the minimum unit power can alleviate the unstable power distribution, thereby facilitating a stable power supply to the load electronic equipment and improving the user experience.

[0087] S213: Reduce the power distribution step size using the minimum unit power.

[0088] When the charging power of the load electronic device is not greater than the allocated power of the power supply device, it means that there is a surplus of power allocated to the load electronic device by the current power supply device. The allocated power can be reduced in increments of minimum unit power, that is, the excess allocated power can be recovered and allocated to other connected load electronic devices. This is not limited here, thereby improving the power supply efficiency of the power supply device.

[0089] Optionally, the minimum unit power in this step can be different from the minimum unit power in step S210. For example, the minimum unit power when increasing the distributed power can be 3W, and the minimum unit power when decreasing the distributed power can be 4W; this is not limited here.

[0090] S214: Determine whether the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power.

[0091] If the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power, then proceed to step S215; if the allocated power is not greater than or equal to the charging power, and the difference is less than the minimum unit power, then repeat step S213.

[0092] After reducing the allocated power in increments of minimum unit power, it is determined whether the allocated power is greater than or equal to the charging power and the difference is less than the minimum unit power. If so, it is considered that the allocated power of the power supply equipment matches the charging power of the load electronic equipment, and the power supply equipment can stably supply power to the load electronic equipment. If not, step S213 is repeated, that is, the allocated power is reduced again in increments of minimum unit power.

[0093] In other words, if the charging power is less than the allocated power, and the difference is greater than twice the minimum unit power, the allocated power is gradually reduced in increments of the minimum unit power until the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power. This ensures that the allocated power matches the charging power, which is beneficial for stably supplying power to the load electronic devices.

[0094] Specifically, taking a minimum unit power of 3W as an example, when the allocated power and charging power do not match, 3W of allocated power is recovered each time, which is equivalent to reducing the value of the allocated power by 3W each time. After each recovery of allocated power, it is determined whether the current allocated power and charging power match. If the allocated power and charging power match, the recovery of allocated power stops; if the allocated power and charging power still do not match, the recovery of 3W of allocated power continues. This design can avoid recovering too much allocated power at one time, which would affect the stability of the power supply, thus facilitating a stable power supply to the load electronic devices.

[0095] Of course, in an alternative embodiment, the allocated power can be recovered directly in integer multiples of the minimum unit power, or the difference between the allocated power and the charging power can be recovered directly to simplify the charging method, which is not limited here.

[0096] It is important to note that some load electronics have a minimum charging power threshold. As explained above, if the charging power efficiency of the current load electronic device is less than the minimum charging power threshold, the load electronic device cannot be charged.

[0097] The information regarding the minimum charging power threshold of the load electronic device can be included in the charging configuration parameters, as explained above. When obtaining the corresponding charging configuration parameters (in the charging strategy statistics table) based on the device identifier of the load electronic device, the relevant information regarding the minimum charging power threshold of the load electronic device can be obtained.

[0098] Therefore, when adjusting the power distribution of the power supply equipment, the adjusted power distribution is controlled to be greater than or equal to the minimum charging power threshold of the load electronic device, so that the load electronic device can be charged when connected to the power supply equipment.

[0099] In an alternative embodiment, determining whether the difference between the allocated power and the charging power is less than the minimum unit power in this step can be replaced by determining whether the difference between the allocated power and the charging power is less than twice the minimum unit power, in order to improve the stability of the power supply.

[0100] S215: Determine if the load electronic equipment can recognize the adjusted power distribution.

[0101] If the load electronic device can recognize the adjusted power allocation, it is considered that the load electronic device can pull the load for charging according to the adjusted power allocation, and the process ends; if the load electronic device cannot recognize the adjusted power allocation, then step S216 is executed.

[0102] Information regarding whether the load electronic device can recognize the adjusted power allocation can be included in the charging configuration parameters, as explained above. When obtaining the corresponding charging configuration parameters (in the charging strategy statistics table) based on the device identifier of the load electronic device, information regarding whether the load electronic device can recognize the adjusted power allocation can be obtained, i.e., whether the load electronic device supports real-time broadcast power changes.

[0103] S216: Send a reset command to the load electronic device.

[0104] When the load electronic device cannot recognize the adjusted power allocation, a reset command is sent to the load electronic device so that the load electronic device can recognize the adjusted power allocation and start charging according to the adjusted power allocation.

[0105] Optionally, the load electronic device can be taken offline and reconnected to the power supply, and charging power can be output to the load electronic device according to the adjusted power allocation. In other words, controlling the load electronic device to go offline and reconnect to the power supply is equivalent to realizing a plug-and-unplug process of the load electronic device through software. This allows the load electronic device to recognize the adjusted power allocation and draw charging power according to the adjusted power allocation to achieve charging. This can mitigate the impact of the load electronic device not supporting real-time broadcast power change, improve the power supply efficiency of the power supply equipment, and protect the safety of the power supply equipment.

[0106] Optionally, during the charging process of the load electronic device connected to the power supply, the number of times the load electronic device is reset can be controlled to avoid affecting the user experience and lifespan of the load electronic device due to excessive resets. For example, during the charging process of the load electronic device, the number of times a reset command is sent to the load electronic device after adjusting the power distribution can not exceed 3 times, and there is no limit to this.

[0107] In an alternative embodiment, if the charging configuration parameters of the accessed load electronic device are obtained and it is identified that the load electronic device does not support real-time broadcasting of power changes, then during the charging process of the load electronic device, the allocated power to the load electronic device will not be adjusted to avoid the situation where the power supply changes the allocated power and the load electronic device cannot recognize it.

[0108] For example, please see Figure 3 , Figure 3 This is a schematic diagram of an embodiment of the charging method of the present invention.

[0109] The power supply device 31 can output a total power of 115W and includes three charging interfaces for load electronic devices 32, namely charging interface 311, charging interface 312 and charging interface 313, which are connected to load electronic devices 321, load electronic devices 322 and load electronic devices 323 respectively.

[0110] When the power supply device 31 is connected to the load electronic device 321 only through the charging interface 311, the load electronic device 321 can obtain a maximum power distribution of 115W. If the power supply device 31 is connected to the load electronic device 322 through the charging interface 312, the load electronic device 321 and the load electronic device 322 can each obtain a power distribution of 57W. If the load electronic device 323 is connected to the charging interface 313 at this time, the load electronic device 321, the load electronic device 322 and the load electronic device 323 can each obtain a power distribution of 40W.

[0111] If load electronic devices 321 and 322 have a minimum charging power threshold of 45W, they cannot charge when each receives an allocated power of 40W. Optionally, the allocated power to each charging port can be adjusted, with charging ports 311 and 312 each receiving an allocated power of 50W and charging port 313 receiving an allocated power of 15W. As the charge of load electronic device 32 gradually increases, the allocated power to each charging port can be adjusted as follows: 45W for charging port 311, 45W for charging port 312, and 25W for charging port 313.

[0112] If the load electronic device 323 also has a minimum charging power threshold, and the minimum charging power threshold is greater than 15W but less than 25W; in the charging process described above, where "charging interface 311 and charging interface 312 each receive a allocated power of 50W, and charging interface 313 receives a allocated power of 15W", given that the load electronic device 323 is the last power supply device 31 connected, to ensure that charging interface 311 and charging interface 312 receive sufficient allocated power, as described in steps S203 and S204 above, the charging current of the connected load electronic devices 321 and 322 can be obtained, and the time for detecting whether the charging current is less than the first threshold is greater than the second threshold, so that when the charging current is less than the first threshold, the time is greater than the second threshold. When the second threshold is reached, power supply to the load electronic device 321 (or load electronic device 322) whose charging current is less than the first threshold is stopped, and the recovered power is allocated to the load electronic device 323. If, during this process, the power allocation of each charging interface is adjusted as follows: the power allocation of charging interface 311 is 45W, the power allocation of charging interface 312 is 45W, and the power allocation of charging interface 313 is 25W, that is, the power allocation of charging interface 313 corresponding to load electronic device 323 is greater than the minimum charging power threshold of load electronic device 323, then load electronic device 323 can charge normally, that is, it can charge simultaneously with load electronic device 321 and load electronic device 322, thereby rationally and intelligently supplying power to load electronic device 32.

[0113] If the minimum charging power threshold of the load electronic device 323 is greater than 25W, given that the load electronic device 323 is the last connected power supply device 31, then as described in steps S203 and S204 above, the charging current of the connected load electronic devices 321 and 322 is obtained. If the charging current is less than the first threshold for a longer period than the second threshold, then power supply to the load electronic device 321 (or load electronic device 322) whose charging current is less than the first threshold is stopped, and the recovered power is allocated to the load electronic device 323 so as to reasonably supply power to each load electronic device 32.

[0114] Taking the example that the load electronic device 321 cannot recognize the adjusted power allocation, after adjusting the allocation of the overcharge interface 311, a reset command can be sent to the load electronic device 321 so that it can pull the load for charging according to the adjusted power allocation.

[0115] In an alternative embodiment, the charging method of the present invention may not be implemented entirely according to the steps in the above embodiments. For example, when the load electronic device is connected to the power supply device, power can be allocated to the load electronic device and output first. After allocation, it can be determined whether the allocated power is less than the minimum charging power threshold. That is, steps S202-S204 in the above embodiments can be executed after step S205, which is not limited here. Of course, the execution order of other steps in the above embodiments can also be changed, or adjustments can be made thereon, which will not be elaborated here.

[0116] Please see Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the charging method of the present invention.

[0117] S401: Detect the temperature of the power supply equipment and / or the load electronic equipment.

[0118] When power supply equipment charges load electronic devices, the temperature of the power supply equipment and / or load electronic devices may be high due to factors such as the environment, the high output power of the power supply equipment, and the high input power of the load electronic devices, which may pose certain safety hazards. Therefore, the temperature of the power supply equipment and / or load equipment can be detected and monitored to understand the current temperature status of the power supply equipment and / or load electronic devices in real time.

[0119] S402: In response to the temperature of the power supply equipment and / or load electronic equipment exceeding a temperature threshold, reduce the power distribution of the power supply equipment.

[0120] When the temperature of the power supply equipment and / or the load electronic equipment is detected to be higher than a temperature threshold, it is considered that the power supply equipment and / or the load electronic equipment are currently overheating and pose a safety hazard. In response, the power allocation of the power supply equipment can be reduced. The load electronic equipment can detect the reduction in the power allocation of the power supply equipment and thus reduce its load power to alleviate the high temperature of the power supply equipment and / or the load electronic equipment and improve safety. If the current load electronic equipment does not support broadcasting a power change and cannot recognize the broadcasted changed power allocation, a reset command can be sent to the load electronic equipment as described in the above embodiments. For example, the load electronic equipment can be taken offline and reconnected to the power supply equipment, i.e., simulating a physical plugging and unplugging of the load electronic equipment, so that the load electronic equipment can recognize the changed power allocation and charge according to the changed power allocation.

[0121] Please see Figure 5 , Figure 5 This is a flowchart illustrating the fourth embodiment of the charging method of the present invention.

[0122] S501: Obtain the power information and current time of the load electronic device.

[0123] Obtaining the power information of the load electronic device can refer to the power status of the electronic device, charging current, etc., without any limitation; obtaining the current time refers to obtaining the current point in time, such as Beijing time, New York time, etc.

[0124] S502: In response to the fact that the power information of the load electronic device is greater than the power information threshold and the current time is within the time threshold range, charging is paused.

[0125] Taking the current battery information of the electronic device as an example, the current battery level is obtained as a percentage of the total battery level. Correspondingly, the battery information thresholds are 75%, 80%, 85%, 90%, 95%, etc.

[0126] For example, the time threshold range can be selected as between 23:00 and 07:00 Beijing time, and the power information threshold is 80% to suspend charging at night, avoiding overcharging of electronic devices and potential safety hazards, thus improving safety. The system obtains the power information and current time of the electronic device. If the power of the electronic device is 80% and it is 23:30 Beijing time, then the power information of the electronic device is greater than the power information threshold, and the current time is within the time threshold range. Therefore, the power supply equipment suspends the output of power to the electronic device, i.e., it suspends charging the electronic device. It should be noted that the power information, power information threshold, and time threshold range in this embodiment are illustrative examples. In actual use, they can be selected according to actual needs, and users can also customize the power information, power information threshold, and time threshold range according to their own requirements.

[0127] Furthermore, when the battery level of the load electronic device is detected to be greater than the battery level threshold and the current time is within the time threshold range, a corresponding message can be pushed to the user to remind them of the current status. The user can then choose whether to pause charging. In other words, the user can choose to pause charging of the load electronic device or continue charging the load electronic device, thereby improving the user experience.

[0128] S503: If the current time is outside the time threshold range, the power supply device charges the load electronic device.

[0129] After the power supply equipment stops charging the load electronic device, it can continue to monitor the time. When the time falls outside the time threshold range, the power supply equipment can resume charging the load electronic device. Taking the time threshold range in step S502 as between 23:00 and 07:00 Beijing time as an example, if the power supply equipment has stopped charging the load electronic device before 07:00, the power supply equipment can start charging the load electronic device when the current time is detected to be 07:01 or 07:00.

[0130] In one embodiment, the charging method of the present invention can also detect the load power of the load electronic device. When the load power of the load electronic device is greater than a preset value, it is considered that the load electronic device requires a large charging power, which affects the charging of other load electronic devices. When its charging current is detected to be lower than a preset value, it is considered that its power is sufficient, and the power allocated to the load electronic device is reduced. Alternatively, a preset value for charging time can be set. When the charging time of the load electronic device reaches the preset value, the power allocation to the load electronic device is paused or the power allocation to the load electronic device is reduced, so as to allocate sufficient power to other load electronic devices and improve power supply efficiency.

[0131] In summary, this invention can identify the device identifiers of each load electronic device connected to the power supply equipment and adjust the allocated power to each load electronic device according to the corresponding charging strategy in the charging strategy statistics table. If a load electronic device that does not support real-time broadcast power changes is connected, and a power allocation change is broadcast, a reset command is sent to that load electronic device to enable it to recognize the adjusted power allocation. This improves the situation where the load electronic device does not support real-time broadcast power changes and enhances the power supply efficiency of the power supply equipment. If a load electronic device with a minimum charging power threshold is connected, during the power allocation adjustment process, it is necessary to ensure that the power allocation of the power supply equipment is greater than or equal to the minimum charging power threshold of the load electronic device to facilitate stable power supply to the load electronic device. In other words, this invention can achieve dynamic power allocation and improve the compatibility of the power supply device.

[0132] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an embodiment of the power supply equipment of the present invention.

[0133] In one embodiment, the power supply device 61 includes a charging interface 611 and a controller 612. The charging interface 611 is connected to the load electronic device 62, and the power supply device 61 supplies power to the load electronic device 62 through the charging interface 611. The controller 612 can coordinate and control the various components of the power supply device 61 to work together, and can also detect the access of the load electronic device 62, allocate power to the load electronic device 62 and output it; obtain the actual charging power of the load electronic device 62; adjust the allocation power of the power supply device 61 in response to a mismatch between the charging power and the allocated power; and send a reset command to the load electronic device 62 so that the load electronic device 62 can recognize the adjusted allocation power and start charging according to the adjusted allocation power, thereby improving the situation where the load electronic device 62 does not support real-time broadcast power change and improving the power supply efficiency of the power supply device 61.

[0134] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of the present invention.

[0135] In one embodiment, the computer-readable storage medium 7 is used to store instruction / program data 71, which can be executed to implement the charging method as described in the above embodiments, and will not be repeated here.

[0136] In the several embodiments provided by this invention, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are illustrative; for instance, the division of modules or units is a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, apparatuses, or units, and may be electrical, mechanical, or other forms.

[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0138] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0139] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium 7 and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium 7 includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks, and servers.

[0140] Furthermore, in this invention, unless otherwise explicitly specified and limited, the terms "connected," "linked," "stacked," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A charging method, characterized in that, include: The system detects the connection of load electronic devices, allocates power to the load electronic devices, and outputs power. Obtain the actual charging power of the load electronic device; In response to a mismatch between the charging power and the allocated power, the allocated power of the power supply equipment is adjusted; Send a reset command to the load electronic device so that the load electronic device can recognize the adjusted power allocation and pull the load for charging according to the adjusted power allocation; The step of sending a reset command to the load electronic device to enable the load electronic device to recognize the adjusted power allocation and to pull the load for charging according to the adjusted power allocation includes: The load electronic device is taken offline and then reconnected to the power supply device, and charging power is output to the load electronic device according to the adjusted power allocation.

2. The charging method according to claim 1, characterized in that, Before adjusting the power allocation of the power supply device in response to a mismatch between the charging power and the allocated power, the following steps are included: Obtain the charging configuration parameters of the load electronic device, the charging configuration parameters including the minimum charging power threshold of the load electronic device; The adjustment of the power distribution of the power supply equipment includes: The adjusted power allocation is greater than or equal to the minimum charging power threshold.

3. The charging method according to claim 2, characterized in that, The process of obtaining the charging configuration parameters of the load electronic device includes: Obtain the device identifier of the load electronic device; Based on the charging strategy statistics table, the charging configuration parameters corresponding to the device identifier of the load electronic device are found. The charging strategy statistics table is pre-stored on the power supply equipment and contains the correspondence between device identifiers and charging configuration parameters.

4. The charging method according to claim 2, characterized in that, The process of obtaining the charging configuration parameters of the load electronic device includes: Obtain the device identifier and charging configuration parameters of the load electronic device, wherein the charging configuration parameters are pre-stored on the load electronic device.

5. The charging method according to claim 1, characterized in that, The adjustment of the power distribution of the power supply equipment includes: If the remaining power to be allocated by the power supply equipment is less than the minimum charging power threshold of the load electronic device, then the charging current of the connected load electronic device is obtained. If the time during which the charging current is less than the first threshold is greater than the second threshold, then power supply to the load electronic device whose charging current is less than the first threshold is stopped, and the recovered power is allocated to the newly connected load electronic device.

6. The charging method according to claim 1, characterized in that, The adjustment of the power distribution of the power supply equipment includes: Obtain the difference between the charging power and the allocated power; In response to the difference being greater than or equal to the minimum unit power, the allocated power is recovered / increased, and the recovered / increased power value is an integer multiple of the minimum unit power.

7. The charging method according to claim 6, characterized in that, The adjustment of the power distribution of the power supply equipment includes: If the charging power is greater than the allocated power, the allocated power is gradually increased in increments of the minimum unit power until the allocated power is greater than or equal to the charging power and the difference is less than the minimum unit power. If the charging power is less than the allocated power, and the difference is greater than twice the minimum unit power, then the allocated power is gradually reduced in increments of the minimum unit power until the allocated power is greater than or equal to the charging power, and the difference is less than the minimum unit power.

8. A power supply device, characterized in that, include: A charging port is used to connect to the load electronic device; The controller is used to detect the connection of the load electronic device, allocate power to the load electronic device, and output power. Obtain the actual charging power of the load electronic device; in response to a mismatch between the charging power and the allocated power, adjust the allocated power of the power supply device; send a reset command to the load electronic device so that the load electronic device recognizes the adjusted allocated power and starts charging according to the adjusted allocated power; The step of sending a reset command to the load electronic device to enable the load electronic device to recognize the adjusted power allocation and to pull the load for charging according to the adjusted power allocation includes: The load electronic device is taken offline and then reconnected to the power supply device, and charging power is output to the load electronic device according to the adjusted power allocation.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store instruction / program data that can be executed to implement the charging method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Blade server system and power consumption management method thereof

    CN101441506A

  • Method and device for controlling battery to charge, and system thereof

    CN108702017A

  • Programmable multipurpose intelligent charger device and apparatus

    CN111555405A