Multi-U-port automatic burning method and system

By expanding a single USB output port to multiple independent ports and adopting dynamic power distribution and fault fuse mechanisms, the problem of single USB port function and insufficient power supply is solved, and convenient connection and efficient burning is achieved.

CN120295642APending Publication Date: 2025-07-11CHENZHOU JINGXUN OPTOELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the USB port has a single function and rigid power distribution, requiring secondary development, and may be insufficient power supply during use, resulting in inconvenient connection with peripherals.

Method used

Expand a single USB output port into multiple independent output USB ports, providing adapted to the current and voltage of different devices through dynamic power distribution and fault fuse mechanisms, ensuring normal power supply, and terminating burning in the event of a fault.

Benefits of technology

It realizes convenient connection of multiple USB ports, avoids insufficient power supply and improves the safety and efficiency of burning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295642A_ABST
    Figure CN120295642A_ABST
Patent Text Reader

Abstract

According to the multi-U-port automatic burning method and system disclosed by the invention, a single USB output port is expanded into a plurality of independent output USB ports, power current is provided for each USB port, and the multi-U-port automatic burning method and system can adapt to various different devices, so that the devices can meet normal power supply, the phenomenon of insufficient power supply is avoided, and peripheral connection is more convenient; in addition, through dynamic power distribution and a fault fusing mechanism, the burning safety and efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of firmware burning, and more specifically, to a multi-USB port automatic burning method and system. Background Art

[0002] At present, in consumer products, industrial products, etc. on the market, a single fixed USB port is used for program upgrading. Among the other few USB ports, some can only be used to connect peripherals such as mice, keyboards, USB flash drives, or other USB devices in a single way, resulting in a single function of the USB port, or a rigid power distribution of the USB port, or in use, special markings or secondary development are required. Summary of the Invention

[0003] To solve at least one of the above technical problems, the present invention provides a multi-USB port automatic burning method and system, which expands a single USB output port into multiple independent output USB ports, provides power current for each USB port, can adapt to various different devices, enables normal power supply, avoids the phenomenon of insufficient power supply, and thus makes it more convenient to connect peripherals; in addition, the present invention improves the safety and efficiency of burning through dynamic power distribution and a fault fusing mechanism.

[0004] The first aspect of the present invention provides a multi-USB port automatic burning method, including:

[0005] Based on a preset USB expansion device, expanding a single USB output port into n independent output USB ports;

[0006] When a device is connected to any one of the USB ports, obtaining the connected device data information;

[0007] Based on a preset dynamic power distribution weight, obtaining the output current and output voltage of the corresponding USB port according to the historical data information in the connected device data information;

[0008] Calculating the difference between the output current and output voltage of the corresponding USB port and the rated voltage and rated current respectively to obtain a first current difference and a first voltage difference;

[0009] If the first current difference is less than or equal to a preset first current threshold, and the first voltage difference is less than or equal to a preset first voltage threshold, then allowing the connected device to be connected to the corresponding USB port;

[0010] The connected device data information at least includes historical data information, rated voltage information, and rated current information.

[0011] In this solution, it further includes:

[0012] If the first current difference is less than the preset second current threshold, or the first voltage difference is less than the preset second voltage threshold, a prompt message indicating the failure of the corresponding access device's programming is generated, and the number of times of the corresponding access device's programming failure is recorded;

[0013] When the number of times of the corresponding access device's programming failure is greater than or equal to the preset number threshold, the corresponding access device is recorded in the blacklist, and the programming of the corresponding independent output USB port and the corresponding access device is terminated.

[0014] This solution also includes:

[0015] Obtain the real-time current values at different time nodes and the duration values of the corresponding actual current values;

[0016] Multiply the real-time current value by the corresponding duration value to obtain the electric charge, and accumulate it to obtain the total electric charge;

[0017] Subtract the rated current of the corresponding access device from the preset fault current threshold to obtain the second current difference;

[0018] Divide the total electric charge by the second current difference to obtain the overcurrent protection response time value;

[0019] If the overcurrent protection response time value is greater than or equal to the preset protection time threshold, trigger the fusing mechanism to terminate the programming.

[0020] In this solution, the step of obtaining the output current and output voltage of the corresponding USB port according to the historical data information in the access device data information specifically includes:

[0021] Extract the historical working current from the historical data information;

[0022] Set the first output current of the corresponding USB port as I i―1 , and its formula is I i―1 =k1*I h +(1 - k1)*I s ; where k1 represents the weight coefficient of the historical working current of USB port i, I h represents the historical working current of the access device, and I s represents the instantaneous current of the access device;

[0023] Set the second output current of the corresponding USB port as I i―2 , and its formula is where I z represents the available total input current, η represents the system efficiency coefficient, j represents the USB port number of the access device, w j 、w irespectively represent the current distribution weight coefficients of USB ports j and i, and n represents the set of USB port numbers;

[0024] When the first output current is less than or equal to the second output current, set the first output current as the output current of the currently connected device; when the first output current is greater than the second output current, set the second output current as the output current of the currently connected device;

[0025] Set the output voltage of the corresponding USB port to V i , and its formula is V i = V0 + k2 * (I i * R1), where V0 represents the reference voltage of the connected device, k2 represents the compensation coefficient, R1 represents the line impedance of the connected device, and the line impedance is equal to the instantaneous voltage of the connected device divided by the instantaneous current; I i represents the output current of the currently connected device.

[0026] In this solution, it also includes:

[0027] Accumulate the output currents of all connected devices to obtain the total output current;

[0028] Obtain the total input current set for a single USB output port;

[0029] Multiply the total input current by a preset system efficiency coefficient to obtain a total output current comparison value;

[0030] If the total output current is less than or equal to the total output current comparison value, the output current of the USB port corresponding to the currently connected device is reasonable;

[0031] If the total output current is greater than the total output current comparison value, the output current of the USB port corresponding to the currently connected device is unreasonable.

[0032] In this solution, after the output current of the USB port corresponding to the currently connected device is unreasonable, it also includes:

[0033] Obtain the output current of the historical connected device;

[0034] Accumulate the output currents of the historical connected devices to obtain the total output current of the historical connected devices;

[0035] Multiply the available total input current by the system efficiency coefficient, subtract the total output current of the historical connected devices from the product to obtain the current remaining output current;

[0036] Use the remaining output current as the output current of the currently connected device.

[0037] In this solution, it also includes:

[0038] After programming the corresponding USB port, obtain the real-time temperature value of the connected device;

[0039] Subtract the temperature value of the connected device when it is not connected to the USB port from the real-time temperature value of the connected device to obtain a first temperature difference;

[0040] According to the preset temperature value range into which the first temperature difference falls, determine the corresponding temperature difference level, and obtain the corresponding current adjustment coefficient according to the corresponding temperature difference level;

[0041] Subtract the preset second current threshold from the output current of the USB port to obtain a third current difference;

[0042] Multiply the third current difference by the corresponding current adjustment coefficient to obtain a current adjustment value;

[0043] Subtract the current adjustment value from the output current of the USB port to obtain the output current of the USB port after adjustment.

[0044] The second aspect of the present invention provides a multi-USB-port automatic programming system, including a memory and a processor. A multi-USB-port automatic programming method program is stored in the memory. When the multi-USB-port automatic programming method program is executed by the processor, the following steps are implemented:

[0045] Based on a preset USB expansion device, expand a single USB output port into n independent output USB ports;

[0046] When a device is connected to any one of the USB ports, obtain the connected device data information;

[0047] Based on a preset dynamic power distribution weight, obtain the output current and output voltage of the corresponding USB port according to the historical data information in the connected device data information;

[0048] Perform difference calculations on the output current and output voltage of the corresponding USB port with the rated voltage and rated current respectively to obtain a first current difference and a first voltage difference;

[0049] If the first current difference is less than or equal to a preset first current threshold and the first voltage difference is less than or equal to a preset first voltage threshold, allow the connected device to be connected to the corresponding USB port;

[0050] The connected device data information at least includes historical data information, rated voltage information, and rated current information.

[0051] In this solution, it further includes:

[0052] If the first current difference is less than a preset second current threshold, or the first voltage difference is less than a preset second voltage threshold, a prompt message indicating the failure of the corresponding access device programming is generated, and the number of times of the failure of the corresponding access device programming is recorded;

[0053] When the number of times of the failure of the corresponding access device programming is greater than or equal to a preset number threshold, the corresponding access device is recorded in the blacklist, and the programming of the corresponding independent output USB port and the corresponding access device is terminated.

[0054] In this solution, it further includes:

[0055] Obtain the real-time current values at different time nodes and the time values during which the corresponding implementation currents last;

[0056] Multiply the real-time current value by the corresponding duration time value, accumulate the obtained electric charges to obtain the total electric charge;

[0057] Subtract the rated current of the corresponding access device from the preset fault current threshold to obtain a second current difference;

[0058] Divide the total electric charge by the second current difference to obtain an overcurrent protection response time value;

[0059] If the overcurrent protection response time value is greater than or equal to a preset protection time threshold, trigger a fusing mechanism to terminate the programming.

[0060] A multi-U-port automatic programming method and system disclosed by the present invention expand a single USB output port into multiple independent output USB ports, provide power currents for each of its USB ports, can adapt to various different devices, enable them to meet normal power supply, avoid the phenomenon of insufficient power supply, and thus make it more convenient to connect external devices; in addition, through dynamic power distribution and a fault fusing mechanism, the present invention improves the safety and efficiency of programming. Description of the Drawings

[0061] Figure 1 Shows a flowchart of a multi-U-port automatic programming method of the present invention;

[0062] Figure 2 Shows a step flowchart of a fault fusing mechanism of the present invention;

[0063] Figure 3 Shows a block diagram of a multi-U-port automatic programming system of the present invention. Detailed Embodiment

[0064] In order to be able to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention will be further described in detail below in conjunction with the drawings and specific embodiments. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0065] In the following description, many specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention may be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited by the specific embodiments disclosed below.

[0066] Figure 1 The flowchart of a multi-USB-port automatic programming method of the present invention is shown.

[0067] As Figure 1 shown, the present invention discloses a multi-USB-port automatic programming method, including:

[0068] S101, based on a preset USB expansion device, expand a single USB output port into n independent output USB ports;

[0069] S102, when a device is connected to any one of the USB ports, obtain the data information of the connected device;

[0070] S103, based on a preset dynamic power distribution weight, obtain the output current and output voltage of the corresponding USB port according to the historical data information in the data information of the connected device;

[0071] S104, perform difference calculations on the output current and output voltage of the corresponding USB port with the rated voltage and rated current respectively to obtain a first current difference and a first voltage difference;

[0072] S105, if the first current difference is less than or equal to a preset first current threshold and the first voltage difference is less than or equal to a preset first voltage threshold, then allow the connected device to be connected to the corresponding USB port;

[0073] S106, the data information of the connected device includes at least historical data information, rated voltage information, and rated current information.

[0074] According to an embodiment of the present invention, the USB port is a USB port, and a power distribution weight is set for each USB port according to the time sequence of the connected devices. The earlier the connected device is connected, the greater the corresponding power distribution weight. Then, divide the power distribution weight of the current connected device by the sum of the power distribution weights of all connected devices to obtain the dynamic power distribution weight of the current connected device. When a device is connected to a USB port, identify the device data information of the connected device through a preset protocol. The device data information includes information such as the name, capacity, serial number, rated current, and rated voltage of the connected device, which is specifically determined according to the connected device. When a device is connected to any one of the USB ports, set the corresponding device as the connected device. The connected device may be an electronic product such as a mobile phone, a mouse, or a keyboard.

[0075] According to an embodiment of the present invention, it further includes:

[0076] If the first current difference is less than a preset second current threshold, or the first voltage difference is less than a preset second voltage threshold, a burn-in failure prompt message for the corresponding access device is generated, and the number of times of burn-in failure of the corresponding access device is recorded;

[0077] When the number of times of burn-in failure of the corresponding access device is greater than or equal to a preset number threshold, the corresponding access device is recorded in the blacklist, and the burn-in of the corresponding independent output USB port and the corresponding access device is terminated.

[0078] It should be noted that the preset second current threshold is less than the preset first current threshold and is obtained by multiplying the preset first current threshold by the corresponding current floating weight coefficient; the preset second voltage threshold is less than the preset first voltage threshold and is obtained by multiplying the preset first voltage threshold by the corresponding voltage floating weight coefficient; both the current floating weight coefficient and the voltage floating weight coefficient are values greater than zero and less than 1. For example, the current floating weight coefficient is set to 0.75.

[0079] Figure 2 The step flow chart of a fault fusing mechanism of the present invention is shown.

[0080] As Figure 2 described, according to an embodiment of the present invention, it further includes:

[0081] S201, obtaining real-time current values at different time nodes and the time values for which the corresponding implementation currents persist;

[0082] S202, multiplying the real-time current values by the corresponding persistent time values, accumulating the obtained electric charges to obtain the total electric charge;

[0083] S203, subtracting the rated current of the corresponding access device from the preset fault current threshold to obtain a second current difference;

[0084] S204, dividing the total electric charge by the second current difference to obtain an overcurrent protection response time value;

[0085] S205, if the overcurrent protection response time value is greater than or equal to a preset protection time threshold, triggering the fusing mechanism to terminate the burn-in.

[0086] It should be noted that during the burn-in of the access device, protection is carried out through the overcurrent protection response time.

[0087] According to an embodiment of the present invention, the step of obtaining the output current and output voltage of the corresponding USB port according to the historical data information in the access device data information specifically includes:

[0088] Extract the historical working current from the historical data information;

[0089] Set the first output current corresponding to the USB port to I i―1 , and its formula is I i―1 =k1*I h +(1-k1)*I s ; where k1 represents the weight coefficient of the historical working current of USB port i, I h represents the historical working current of the access device, and I s represents the instantaneous current of the access device;

[0090] Set the second output current corresponding to the USB port to I i―2 , and its formula is where I z represents the available total input current, η represents the system efficiency coefficient, j represents the USB port number of the access device, and w j , w i respectively represent the current distribution weight coefficients of USB ports j and i, and n represents the set of USB port numbers;

[0091] When the first output current is less than or equal to the second output current, set the first output current as the output current of the current access device; when the first output current is greater than the second output current, set the second output current as the output current of the current access device;

[0092] Set the output voltage corresponding to the USB port to V i , and its formula is V i =V0+k2*(I i *R1), where V0 represents the reference voltage of the access device, k2 represents the compensation coefficient, R1 represents the line impedance of the access device, and the line impedance is equal to the instantaneous voltage of the access device divided by the instantaneous current; I i represents the output current of the current access device.

[0093] It should be noted that by comprehensively analyzing the historical working current of the access device and the instantaneous current when accessing the device, the first output current is determined, and then the second output current is determined according to the current distribution weight coefficient of the USB port of the access device, and the smaller value between the two is used as the output current of the current access device.

[0094] According to the embodiments of the present invention, it further includes:

[0095] Accumulate the output currents of all access devices to obtain the total output current;

[0096] Obtain the total input current set for a single USB output port;

[0097] Multiply the total input current by a preset system efficiency coefficient to obtain a total output current comparison value;

[0098] If the total output current is less than or equal to the total output current comparison value, the output current of the USB port corresponding to the currently connected device is reasonable;

[0099] If the total output current is greater than the total output current comparison value, the output current of the USB port corresponding to the currently connected device is unreasonable.

[0100] It should be noted that when the total output current is greater than the total output current comparison value, it indicates that the sum of the output currents of all connected devices is too high, which will cause the power of a single USB to be too high. Therefore, the output current of the USB port of the currently connected device is set to be unreasonable.

[0101] According to an embodiment of the present invention, after the output current of the USB port corresponding to the currently connected device is unreasonable, it further includes:

[0102] Obtain the output current of the historical connected device;

[0103] Accumulate the output currents of the historical connected devices to obtain the total output current of the historical connected devices;

[0104] Multiply the available total input current by the system efficiency coefficient, subtract the total output current of the historical connected devices from the product to obtain the current remaining output current;

[0105] Take the remaining output current as the output current of the currently connected device.

[0106] It should be noted that each time a device is independently connected to the USB port, the current remaining output current is calculated, and the remaining output current is used as the maximum output current of the next currently connected device. When the remaining output current is less than the output current of the currently connected device, the remaining output current replaces the output power of the currently connected device.

[0107] According to an embodiment of the present invention, it further includes:

[0108] After the corresponding USB port is burned, obtain the real-time temperature value of the connected device;

[0109] Subtract the temperature value of the connected device when it is not connected to the USB port from the real-time temperature value of the connected device to obtain a first temperature difference;

[0110] According to the preset temperature value range in which the first temperature difference falls, determine the corresponding temperature difference level, and obtain the corresponding current adjustment coefficient according to the corresponding temperature difference level;

[0111] Subtract a preset second current threshold from the output current of the USB port to obtain a third current difference;

[0112] Multiply the third current difference by a corresponding current adjustment coefficient to obtain a current adjustment value;

[0113] Subtract the current adjustment value from the output current of the USB port to obtain the output current of the USB port after adjustment.

[0114] It should be noted that relatively high energy is consumed during the burning process, which may cause the temperature to rise. When the temperature rises, the output current of the currently connected device is reduced through the current adjustment value, so as to mitigate the effect of the temperature rise; for example, the preset temperature value range is divided based on a preset temperature base number. For example, if the preset temperature base number is 10 degrees Celsius, then 0 to 10 degrees Celsius is a temperature value range, and greater than 10 and less than 20 is the second temperature value range, and so on. Among them, the larger the temperature value corresponding to the preset temperature value range, the larger the current adjustment coefficient corresponding to this temperature value range. The current adjustment coefficient is a dimensionless value greater than zero and less than 1.

[0115] According to an embodiment of the present invention, it further includes;

[0116] When the first temperature difference is greater than a preset temperature difference threshold, generate a high-temperature warning message, and abort the burning of the device connected to the USB port based on the high-temperature warning message. The cooling time for the abortion is equal to the first temperature difference multiplied by a corresponding temperature difference conversion weight coefficient.

[0117] Figure 3 Shows a block diagram of a multi-U-port automatic burning system of the present invention.

[0118] As Figure 3 shown, a second aspect of the present invention provides a multi-U-port automatic burning system 3, including a memory 31 and a processor 32. A multi-U-port automatic burning method program is stored in the memory. When the multi-U-port automatic burning method program is executed by the processor, the following steps are implemented:

[0119] Based on a preset USB expansion device, expand a single USB output port into n independent output USB ports;

[0120] When a device is connected to any one of the USB ports, obtain the connected device data information;

[0121] Based on a preset dynamic power distribution weight, obtain the output current and output voltage of the corresponding USB port according to the historical data information in the connected device data information;

[0122] Calculate the differences between the output current and output voltage of the corresponding USB port and the rated voltage and rated current respectively to obtain a first current difference and a first voltage difference;

[0123] If the first current difference is less than or equal to a preset first current threshold and the first voltage difference is less than or equal to a preset first voltage threshold, then allow the access device to be connected to the corresponding USB port;

[0124] The access device data information includes at least historical data information, rated voltage information, and rated current information.

[0125] This solution also includes:

[0126] If the first current difference is less than a preset second current threshold or the first voltage difference is less than a preset second voltage threshold, then generate a prompt message indicating that the burning of the corresponding access device fails, and record the number of times the burning of the corresponding access device fails;

[0127] When the number of times the burning of the corresponding access device fails is greater than or equal to a preset number threshold, then record the corresponding access device in the blacklist and terminate the burning of the corresponding independent output USB port and the corresponding access device.

[0128] This solution also includes:

[0129] Obtain the real-time current values at different time nodes and the duration values for which the corresponding actual current values persist;

[0130] Multiply the real-time current values by the corresponding duration values, accumulate the obtained electric charges to obtain the total electric charge;

[0131] Subtract the rated current of the corresponding access device from the preset fault current threshold to obtain a second current difference;

[0132] Divide the total electric charge by the second current difference to obtain an overcurrent protection response time value;

[0133] If the overcurrent protection response time value is greater than or equal to a preset protection time threshold, then trigger a fusing mechanism to terminate the burning.

[0134] A multi-U-port automatic burning method and system disclosed by the present invention expand a single USB output port into multiple independent output USB ports, provide power current for each USB port thereof, can adapt to various different devices, enable them to meet normal power supply, avoid the phenomenon of insufficient power supply, and thus make it more convenient to connect external devices; in addition, the present invention improves the safety and efficiency of burning through dynamic power distribution and a fault fusing mechanism.

[0135] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces. The indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.

[0136] The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units. They can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] In addition, each functional unit in the embodiments of the present invention can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of a combination of hardware and software functional units.

[0138] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments. The foregoing storage medium includes various media that can store program codes, such as removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.

[0139] Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as removable storage devices, ROM, RAM, magnetic disks, or optical discs.

Claims

1. A multi-USB-port automatic programming method, characterized in that, Including: Based on a preset USB expansion device, expand a single USB output port into n independent output USB ports; When a device is connected to any one of the USB ports, obtain the data information of the connected device; Based on a preset dynamic power distribution weight, obtain the output current and output voltage of the corresponding USB port according to the historical data information in the data information of the connected device; Perform difference calculations on the output current and output voltage of the corresponding USB port with the rated voltage and rated current respectively to obtain a first current difference and a first voltage difference; If the first current difference is less than or equal to a preset first current threshold and the first voltage difference is less than or equal to a preset first voltage threshold, then allow the connected device to be connected to the corresponding USB port; The data information of the connected device at least includes historical data information, rated voltage information, and rated current information.

2. The multi-U-port automatic programming method according to claim 1, wherein, It also includes: If the first current difference is less than a preset second current threshold, or the first voltage difference is less than a preset second voltage threshold, then generate a burn-in failure prompt message for the corresponding connected device and record the number of times of burn-in failure of the corresponding connected device; When the number of times of burn-in failure of the corresponding connected device is greater than or equal to a preset number threshold, record the corresponding connected device in the blacklist and terminate the burn-in of the corresponding independent output USB port and the corresponding connected device.

3. The multi-U-port automatic programming method according to claim 1, wherein It also includes: Obtain the real-time current value at different time nodes and the duration value of the corresponding actual current value; Multiply the real-time current value by the corresponding duration value, accumulate the obtained electric charges to obtain the total electric charge; Subtract the rated current of the corresponding connected device from the preset fault current threshold to obtain a second current difference; Divide the total electric charge by the second current difference to obtain an overcurrent protection response time value; If the overcurrent protection response time value is greater than or equal to a preset protection time threshold, trigger a fusing mechanism to terminate the burn-in.

4. A multi-USB port automatic programming method according to claim 1, characterized in that, The step of obtaining the output current and output voltage of the corresponding USB port according to the historical data information in the data information of the connected device specifically includes: Extract the historical working current from the historical data information; Set the first output current corresponding to the USB port to I i―1 , and its formula is I i―1 = k1 * I h + (1 - k1) * I s ; where k1 represents the weight coefficient of the historical working current of the USB port i, and I h represents the historical working current of the access device, and I s represents the instantaneous current of the access device; Set the second output current corresponding to the USB port to I i―2 , and its formula is where I z represents the total available input current, η represents the system efficiency coefficient, j represents the USB port number of the connected device, w j , w i respectively represent the current distribution weight coefficients of USB ports j and i, and n represents the set of USB port numbers; When the first output current is less than or equal to the second output current, set the first output current as the output current of the currently connected device; when the first output current is greater than the second output current, set the second output current as the output current of the currently connected device; Set the output voltage corresponding to the USB port to V i , and its formula is V i = V0 + k2 * (I i * R1), where V0 represents the reference voltage of the access device, k2 represents the compensation coefficient, R1 represents the line impedance of the access device, and the line impedance is equal to the instantaneous voltage of the access device divided by the instantaneous current; I i represents the output current of the currently connected device.

5. The multi-U-port automatic burning method according to claim 4, wherein, It also includes: Accumulate the output currents of all connected devices to obtain the total output current; Obtain the total input current set for a single USB output port; Multiply the total input current by a preset system efficiency coefficient to obtain a total output current comparison value; If the total output current is less than or equal to the total output current comparison value, the output current of the corresponding USB port of the currently connected device is reasonable; If the total output current is greater than the total output current comparison value, the output current of the corresponding USB port of the currently connected device is unreasonable.

6. The multi - U - port automatic programming method according to claim 5, wherein After the output current of the corresponding USB port of the currently connected device is unreasonable, it also includes: Obtain the output current of the historical connected device; Accumulate the output currents of the historical connected devices to obtain the total output current of the historical connected devices; Multiply the total available input current by the system efficiency coefficient, subtract the total output current of the historical access devices from the product to obtain the current remaining output current; Use the remaining output current as the output current of the current access device.

7. A multi-USB port automatic programming method according to claim 1, characterized in that It further includes: After burning to the corresponding USB port, obtain the real-time temperature value of the access device; Subtract the temperature value of the access device when it is not connected to the USB port from the real-time temperature value of the access device to obtain the first temperature difference; Determine the corresponding temperature difference level according to the preset temperature value range in which the first temperature difference falls, and obtain the corresponding current adjustment coefficient according to the corresponding temperature difference level; Subtract the preset second current threshold from the output current of the USB port to obtain the third current difference; Multiply the third current difference by the corresponding current adjustment coefficient to obtain the current adjustment value; Subtract the current adjustment value from the output current of the USB port to obtain the output current of the USB port after adjustment.

8. A multi-USB-port automatic programming system, characterized in that It includes a memory and a processor. A multi-U-port automatic burning method program is stored in the memory. When the multi-U-port automatic burning method program is executed by the processor, the following steps are implemented: Based on a preset USB expansion device, expand a single USB output port into n independent output USB ports; When a device accesses any one of the USB ports, obtain the access device data information; Based on a preset dynamic power distribution weight, obtain the output current and output voltage of the corresponding USB port according to the historical data information in the access device data information; Perform difference calculations on the output current and output voltage of the corresponding USB port with the rated voltage and rated current respectively to obtain the first current difference and the first voltage difference; If the first current difference is less than or equal to the preset first current threshold and the first voltage difference is less than or equal to the preset first voltage threshold, allow the access device to be connected to the corresponding USB port; The access device data information at least includes historical data information, rated voltage information, and rated current information.

9. The multi-U-port automatic programming system according to claim 8, wherein It further includes: If the first current difference is less than the preset second current threshold or the first voltage difference is less than the preset second voltage threshold, generate a burn failure prompt message for the corresponding access device and record the number of times of burn failure of the corresponding access device; When the number of times of burn failure of the corresponding access device is greater than or equal to the preset number threshold, record the corresponding access device in the blacklist and terminate the burning of the corresponding independent output USB port and the corresponding access device.

10. A multi-USB port automatic programming system according to claim 8, wherein, It further includes: Obtain the real-time current value at different time nodes and the duration value of the corresponding actual current value; Multiply the real-time current value by the corresponding duration value, accumulate the obtained electric charges to obtain the total electric charge; Subtract the rated current of the corresponding access device from the preset fault current threshold to obtain the second current difference; Divide the total electric charge by the second current difference to obtain the overcurrent protection response time value; If the overcurrent protection response time value is greater than or equal to the preset protection time threshold, trigger the fusing mechanism to terminate the burning.