Power scheduling method, device, computer equipment and storage medium

By generating a relationship table between the charging interface device and the power module group and combining priority rules to match the required power, the problem of confusing power scheduling method version management in traditional technology is solved, and safe and efficient charging is achieved.

CN114665538BActive Publication Date: 2024-12-31SHENZHEN CAR ENERGY NET CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210143250.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-16
Publication Date
2024-12-31
Estimated Expiration
2042-02-16

AI Technical Summary

Technical Problem

There are many versions of power scheduling methods in traditional technology, which leads to inconvenience in management and can easily lead to safety accidents and inefficient business efficiency.

Method used

By obtaining the connection relationship between the charging interface device and the power module group, a relationship table is generated and combined with pre-set priority rules, a success rate scheduling path table is generated to match the required power to achieve safe and efficient charging.

Benefits of technology

It realizes unified management of multiple power scheduling methods, avoids safety accidents, improves business efficiency, and can adapt to changing charging power requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114665538B_ABST
    Figure CN114665538B_ABST
Patent Text Reader

Abstract

The present invention discloses a power scheduling method, which is applied to the field of intelligent charging technology. The method provided by the present invention includes: obtaining a first number of charging interface devices and a second number of power module groups, and obtaining a connection relationship set of the charging interface device connected to the power module group through a relay; generating a first relationship table between the charging interface device and the power module group according to the first number, the second number and the connection relationship set; generating a power scheduling path table corresponding to each expected power according to the first relationship table and a preset priority rule; obtaining the required power of an external device connected to the charging interface device, and obtaining a first power scheduling path matching the expected power with the required power from the power scheduling path table; according to the first power scheduling path, obtaining the corresponding charging interface device, relay and power module group to charge the external device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent charging technology, and in particular to a power scheduling method, device, computer equipment and storage medium. Background Art

[0002] In current new energy vehicle charging stations, the power dispatching method of traditional technology is bound to the actual charging pile hardware and the electrification parameters of the charging pile hardware, which is highly coupled and inconvenient to manage due to the large number of versions. With the emergence of various types of charging piles, there are many types and versions of power dispatching methods. Using the wrong type or version of power dispatching method can lead to serious safety accidents, and the original power dispatching method cannot be applied to new charging pile products. Summary of the invention

[0003] The embodiments of the present invention provide a power scheduling method, apparatus, computer equipment and storage medium to solve the problems in traditional technologies that there are many versions of power scheduling methods that are inconvenient to manage, the probability of safety accidents caused by incorrect scheduling is high, and the efficiency of business implementation is low.

[0004] A power scheduling method, comprising:

[0005] Acquire a first number of charging interface devices and a second number of power module groups, and acquire a connection relationship set in which the charging interface devices are connected to the power module groups through relays;

[0006] Generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set;

[0007] Generate a power scheduling path table corresponding to each expected power according to the first relationship table and the preset priority rule;

[0008] Acquire a required power of an external device connected to the charging interface device, and acquire a first power scheduling path from the power scheduling path table whose expected power matches the required power;

[0009] According to the first power scheduling path, a corresponding charging interface device, relay and power module group are obtained to charge the external device.

[0010] A power dispatching device, comprising:

[0011] an information acquisition module, configured to acquire a first number of charging interface devices and a second number of power module groups, and to acquire a connection relationship set in which the charging interface devices are connected to the power module groups via relays;

[0012] A first relationship table management module, configured to generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set;

[0013] A power scheduling path table module, used to generate a power scheduling path table corresponding to each expected power according to the first relationship table and a preset priority rule;

[0014] A first power scheduling path module, configured to obtain a required power of an external device connected to the charging interface device, and obtain a first power scheduling path from the power scheduling path table whose expected power matches the required power;

[0015] The charging management module is used to obtain the corresponding charging interface device, relay and power module group to charge the external device according to the first power scheduling path.

[0016] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the power scheduling method when executing the computer program.

[0017] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power scheduling method are implemented.

[0018] The above-mentioned power scheduling method, device, computer equipment and storage medium establish a connection relationship table for the connection relationship between the charging interface device, relay and charging module group, and then combine the connection relationship table with the pre-set priority rules to generate a power scheduling path table corresponding to each expected power. The power path table can meet the power supply requirements of various expected powers. When the charging interface device receives a charging power requirement, it searches for an optimal power scheduling path in the power scheduling path table by looking up the table, and finally operates the corresponding charging module group according to the optimal power scheduling path to provide the expected power to the outside through the relay and the charging interface device. This application abstracts all charging and discharging power storage devices into power module groups, and only focuses on the maximum output power of each power module group and the connection method of each power module group with the charging interface device, which can unify many power scheduling methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0020] Figure 1 is a schematic diagram of an application environment of a power scheduling method in one embodiment of the present invention;

[0021] Figure 2 is a flow chart of a power scheduling method in one embodiment of the present invention;

[0022] Figure 3 is a schematic diagram of the structure of a power dispatching device in one embodiment of the present invention;

[0023] Figure 4 is a structural schematic diagram of power scheduling related equipment in one embodiment of the present invention;

[0024] Figure 5 is a first relationship diagram of a power scheduling method in one embodiment of the present invention;

[0025] Figure 6 is a schematic diagram of a power scheduling path of a power scheduling method in one embodiment of the present invention;

[0026] Figure 7 is another structural schematic diagram of a power scheduling related device in one embodiment of the present invention;

[0027] Figure 8 is another first relationship diagram of a power scheduling method in one embodiment of the present invention;

[0028] Fig. 9 is another schematic diagram of a power scheduling path of a power scheduling method according to an embodiment of the present invention;

[0029] Fig.10 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] The power scheduling method provided in this application can be applied in Figure 1 The computer device may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and various embedded devices.

[0032] In one embodiment, if Figure 2 As shown, a power scheduling method is provided, which is applied in Figure 1The client in the example is used to illustrate, including the following steps S101 to S105:

[0033] S101. Obtain a first number of charging interface devices and a second number of power module groups, and obtain a connection relationship set in which the charging interface devices are connected to the power module groups via relays.

[0034] The power module group includes at least one power module. The connection relationship between the charging interface device, the relay, the power module group and the power module is as follows: Figure 4 or Figure 7 As shown, each of the charging interface devices is connected to at least one of the power module groups via at least one of the relays, and each of the power module groups includes at least one of the power modules. Figure 4 The diagram shows an application scenario where each charging interface device is connected to the power module group via a relay. Figure 7 The illustration shows an application scenario where some charging interface devices are not connected to the power module group through relays. It should be noted that Figure 4 and Figure 7 The number of power modules given in the figure is only for reference. In actual application scenarios, the number can be increased or decreased according to actual needs. Figure 4 and Figure 7 The number of charging interface devices, relays, and power module groups is only for illustration purposes, and can be increased or decreased in actual application scenarios according to actual needs. Existing charging station equipment can also be modified using the power scheduling method of this application, which can efficiently increase or decrease the number of charging interface devices and the number of charging pile devices to meet the ever-changing charging power requirements.

[0035] S102: Generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set.

[0036] Specifically, first, each of the charging interface devices in the first quantity is used as each row variable of the first relationship table. Then, each of the power module groups in the second quantity is used as each column variable of the first relationship table. Finally, the connection relationship set is traversed, and the unique charging interface device and the unique power module group contained in each traversed single connection relationship are matched with the target charging interface device represented by the row variable and the target power module group represented by the column variable in the first relationship table, and the matched single connection relationship is filled into the corresponding cell in the first relationship table. Figure 5 and Figure 7are different first relationship tables corresponding to the charging interface device, the relay and the power module group in application scenarios with different connection relationships, Figure 5 The schematic table is Figure 4 The first relationship table corresponding to the schematic diagram, Figure 8 The schematic table is Figure 7 The first relationship table corresponding to the schematic diagram. It should be noted that Figure 7 In the application scenario of the connection relationship between the charging interface device, the relay and the power module group given in the schematic diagram, not every charging interface device is connected to each power module group through a relay, so there is a "—" symbol in the table, and the "—" symbol indicates that the charging interface device and the power module group are not connected through a relay.

[0037] Furthermore, there is a one-to-one correspondence between the relay and each connection relationship in the connection relationship set, the number of the relays is a third number, and after taking each of the power module groups in the second number as each column variable of the first relationship table, it also includes: comparing the size relationship between the third number and a fourth number of elements in the connection relationship set; if the third number is greater than the fourth number, reacquiring the connection relationship set, or removing the relay that is not simultaneously connected to the charging interface device and the power module group; if the third number is less than the fourth number, removing the repeated connection relationships in the connection relationship set, or reacquiring the third number of the relays.

[0038] S103: Generate a power scheduling path table corresponding to each expected power according to the first relationship table and a preset priority rule.

[0039] Specifically, first, the charging interface device is obtained as the first column of the power scheduling path table. Then, each power module group connected to each charging interface device in the first column is obtained as the second column of the power scheduling path table. At the same time, for the case where the corresponding charging interface device in the first column is the same as that in the second column, a merge cell operation is performed on the first column where the same charging interface device exists. A scheduling path parameter is generated according to the connection relationship between each charging interface device in the first column and each power module group in the second column, and the scheduling path parameter is used as the third column of the power scheduling path table. The scheduling path parameter includes priority parameter information, and the priority parameter information is set according to the preset priority rule. Figure 6 is based on Figure 5 The schematic first relationship table and a power scheduling path table generated by the priority rule, Fig. 9 is based on Figure 8The first relationship table and another power scheduling path table generated by the priority rule are shown. Figure 6 and Fig. 9 The scheduling path parameter in is a 4-digit string, the first and second digits of the string together represent the priority of the scheduling path, where "01" represents the highest priority, and "02" represents a priority lower than "01", and the third and fourth digits of the string represent the unique identifier of the relay. In the present application, the unique identifier of the relay is represented by connecting the serial number of the charging interface device connected to the relay and the serial number of the charging module group in series, which is only a preferred implementation method, and other implementation methods can also be used in actual application. By analogy, the aforementioned priority representation method is only a schematic representation of a preferred implementation method, and other implementation methods that can distinguish priorities can also be used in actual application. It should be noted that the content and length of the string of the scheduling path parameter are not limited to the schematic content in this embodiment, and the content and length of the string can be modified as needed in actual application scenarios.

[0040] Optionally, the maximum output power of each charging module group is obtained. Since the scheduling path represented by each row in the power scheduling path table only contains one charging module group, the maximum output power of each charging module group is used as the maximum output path that can be provided by the scheduling path represented by each row in the power scheduling path table, and the maximum output path is used as the fourth column of the power scheduling path table.

[0041] S104: Obtain required power of an external device connected to the charging interface device, and obtain a first power scheduling path whose expected power matches the required power from the power scheduling path table.

[0042] Specifically, first, the required power of the external device connected to the target charging interface device is obtained, and then, according to the power scheduling path table, each associated power module group connected to the target charging interface device is obtained and added to a preset set of candidate power module groups. Then, at least one of the associated power module groups is selected from the candidate power module group set and added to the charging power module group set, and the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than or equal to the required power. Then, the charging power module group set is traversed, and the scheduling path parameters of each traversed associated power module group are searched according to the power scheduling path table. Finally, at least one of the scheduling path parameters is combined to generate the first power scheduling path.

[0043] Preferably, before acquiring each associated power module group connected to the target charging interface device and adding them to a preset set of selectable power module groups, first acquire a power module group in use and a power module group in a faulty state, mark the power module group in use and the power module group in the faulty state as unselectable in the power scheduling path table, and select at least one power module group from the remaining selectable power module groups in the power scheduling path table to meet the power requirements of the external device.

[0044] Furthermore, the method of acquiring each associated power module group connected to the target charging interface device and adding the associated power module group to a preset set of candidate power module groups according to the power scheduling path table also includes: traversing the set of candidate power module groups to check whether the traversed power module group has a fault, and if so, removing the traversed power module group; traversing the set of candidate power module groups to check whether the traversed power module group is working, and if so, removing the traversed power module group.

[0045] Further, the selecting at least one of the associated power module groups from the set of candidate power module groups to be added to the charging power module group set, wherein the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than or equal to the required power, comprises: first, sorting the associated power module groups according to the priority parameter information; and then, selecting the associated power module groups in order from high to low priority to add them to the charging power module group set until the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than the required power.

[0046] S105. According to the first power scheduling path, obtain a corresponding charging interface device, relay, and power module group to charge the external device.

[0047] The connection relationship between the charging interface device, the relay and the charging module group is established to establish a connection relationship table, and then the connection relationship table is combined with the pre-set priority rules to generate a power scheduling path table corresponding to each expected power. The power path table can meet the power supply requirements of various expected powers. When the charging interface device receives a charging power requirement, an optimal power scheduling path is searched in the power scheduling path table by looking up the table, and finally the corresponding charging module group is operated according to the optimal power scheduling path to provide the expected power to the outside through the relay and the charging interface device. This application abstracts all charging and discharging power storage devices into power module groups, and only focuses on the maximum output power of each power module group and the connection method of each power module group with the charging interface device. It can unify many power scheduling methods, solve the problem of chaotic version management of power scheduling methods, and avoid safety accidents caused by incorrect use of power scheduling methods in actual applications. At the same time, the power scheduling method of this application can efficiently realize the increase or decrease in the number of charging interface devices and the increase or decrease in the number of charging pile devices to meet the ever-changing charging power requirements. For example, the charging piles at urban charging stations provide pure electric vehicle charging services with different power requirements through charging guns, but the total power requirements of the batteries used by various pure electric vehicles are not necessarily the same. The method of this embodiment can efficiently meet various different charging power requirements.

[0048] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0049] In one embodiment, a power dispatching device 20 is provided, which corresponds one-to-one to the power dispatching method in the above embodiment. Figure 3 As shown, the power dispatching device includes an information acquisition module 201, a first relationship table management module 202, a power dispatching path table module 203, a first power dispatching path module 204 and a charging management module 205. The functional modules are described in detail as follows:

[0050] An information acquisition module 201 is used to acquire a first number of charging interface devices and a second number of power module groups, and to acquire a connection relationship set in which the charging interface devices are connected to the power module groups via relays;

[0051] A first relationship table management module 202, configured to generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set;

[0052] A power scheduling path table module 203 is used to generate a power scheduling path table corresponding to each expected power according to the first relationship table and a preset priority rule;

[0053] A first power scheduling path module 204, configured to obtain a required power of an external device connected to the charging interface device, and obtain a first power scheduling path from the power scheduling path table that matches an expected power with the required power;

[0054] The charging management module 205 is used to obtain the corresponding charging interface device, relay and power module group to charge the external device according to the first power scheduling path.

[0055] Furthermore, the first relationship table management module 202 further includes:

[0056] a row variable management submodule, configured to use each of the charging interface devices in the first quantity as each row variable of the first relationship table;

[0057] a column variable management submodule, configured to use each of the power module groups in the second quantity as each column variable of the first relationship table;

[0058] The cell management submodule traverses the connection relationship set, matches the unique charging interface device and the unique power module group contained in a single connection relationship with the target charging interface device represented by the row variable and the target power module group represented by the column variable in the first relationship table, and fills the corresponding single connection relationship into the corresponding cell in the first relationship table.

[0059] Furthermore, the column variable module also includes:

[0060] A size comparison subunit, used for comparing the size relationship between the third number and a fourth number of elements in the connection relationship set;

[0061] a first conditional execution subunit, configured to reacquire the connection relationship set or remove a relay that is not simultaneously connected to the charging interface device and the power module group if the third number is greater than the fourth number;

[0062] The second conditional execution subunit is used to remove repeated connection relationships in the connection relationship set, or to re-acquire the third number of the relays if the third number is smaller than the fourth number.

[0063] Furthermore, the power scheduling path table module 203 also includes:

[0064] A first column management subunit, configured to obtain the charging interface device as the first column of the power scheduling path table;

[0065] A second column management subunit, configured to obtain each of the power module groups connected to each of the charging interface devices in the first column as a second column of the power scheduling path table;

[0066] A priority parameter management subunit is used to generate a scheduling path parameter according to the connection relationship between each of the charging interface devices in the first column and each of the power module groups in the second column, wherein the scheduling path parameter includes priority parameter information, and the priority parameter information is set according to the pre-set priority rule.

[0067] Furthermore, the first power scheduling path module 204 further includes:

[0068] A required power acquisition submodule, used to acquire the required power of an external device connected to a target charging interface device;

[0069] A candidate power module group set submodule, configured to obtain, according to the power scheduling path table, each associated power module group connected to the target charging interface device and add it to a preset candidate power module group set;

[0070] a charging power module group set submodule, configured to select at least one of the associated power module groups from the to-be-selected power module group set and add it to the charging power module group set, wherein the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than or equal to the required power;

[0071] A scheduling path parameter submodule, used to traverse the charging power module group set and search for a scheduling path parameter of each associated power module group traversed according to the power scheduling path table;

[0072] The first power scheduling path generating submodule is used to combine at least one of the scheduling path parameters to generate the first power scheduling path.

[0073] Furthermore, the to-be-selected power module group set submodule further includes:

[0074] A fault detection subunit is used to traverse the set of to-be-selected power module groups, check whether the traversed power module groups have faults, and if so, remove the traversed power module groups;

[0075] The working state detection subunit is used to traverse the set of to-be-selected power module groups, check whether the traversed power module groups are working, and if so, remove the traversed power module groups.

[0076] Furthermore, the charging power module group assembly submodule also includes:

[0077] A priority sorting subunit, used to sort the associated power module groups according to the priority parameter information;

[0078] The charging power module group set generation subunit is used to select the associated power module groups in order from high to low priority and add them to the charging power module group set until the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than the required power.

[0079] The meaning of "first" and "second" in the above modules / units is only to distinguish different modules / units, and is not used to define which module / unit has a higher priority or other limiting meanings. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The division of modules in this application is only a logical division, and there may be other division methods when implemented in actual applications.

[0080] For the specific definition of the power dispatching device, please refer to the definition of the power dispatching method above, which will not be repeated here. Each module in the above power dispatching device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0081] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, a power scheduling method is implemented.

[0082] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the power scheduling method in the above embodiment are implemented, such as Figure 2Alternatively, when the processor executes the computer program, the functions of each module / unit of the power dispatching device in the above embodiment are realized, for example, Figure 3 The functions of modules 201 to 205 are shown in Figure 2. To avoid repetition, they are not described here.

[0083] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the computer device, and various interfaces and lines are used to connect various parts of the entire computer device.

[0084] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the computer device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, video data, etc.), etc.

[0085] The memory may be integrated into the processor or may be arranged separately from the processor.

[0086] In one embodiment, a computer-readable storage medium is provided on which a computer program is stored. When the computer program is executed by a processor, the steps of the power scheduling method in the above embodiment are implemented, such as Figure 2 Steps S101 to S105 shown in the figure and other extensions of the method and related steps. Alternatively, when the computer program is executed by the processor, the functions of each module / unit of the power dispatching device in the above embodiment are realized, for example Figure 3 The functions of modules 201 to 205 are shown in Figure 2. To avoid repetition, they are not described here.

[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0088] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0089] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A power scheduling method, characterized in that: include: Acquire a first number of charging interface devices and a second number of power module groups, and acquire a connection relationship set in which the charging interface devices are connected to the power module groups through relays; Generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set; Generate a power scheduling path table corresponding to each expected power according to the first relationship table and the preset priority rule; Acquire a required power of an external device connected to the charging interface device, and acquire a first power scheduling path from the power scheduling path table whose expected power matches the required power; According to the first power scheduling path, obtaining a corresponding charging interface device, relay, and power module group to charge the external device; The generating of the first relationship table of the charging interface devices and the power module groups according to the first quantity, the second quantity and the connection relationship set includes: taking each of the charging interface devices in the first quantity as each row variable of the first relationship table; taking each of the power module groups in the second quantity as each column variable of the first relationship table; traversing the connection relationship set, matching the unique charging interface device and the unique power module group included in a single connection relationship with the target charging interface device represented by the row variable and the target power module group represented by the column variable in the first relationship table, and filling the corresponding single connection relationship into the corresponding cell in the first relationship table; Among them, generating a power scheduling path table corresponding to each expected power according to the first relationship table and the preset priority rules includes: obtaining the charging interface device as the first column of the power scheduling path table; obtaining each power module group connected to each charging interface device in the first column as the second column of the power scheduling path table; generating scheduling path parameters according to the connection relationship between each charging interface device in the first column and each power module group in the second column, the scheduling path parameters including priority parameter information, and the priority parameter information is set according to the preset priority rules.

2. The power scheduling method according to claim 1, characterized in that: The relay and each connection relationship in the connection relationship set are in a one-to-one correspondence, the number of the relays is a third number, and after taking each of the power module groups in the second number as each column variable of the first relationship table, the following further comprises: Comparing the third number with a fourth number of elements in the connection relationship set; If the third number is greater than the fourth number, reacquiring the connection relationship set, or removing the relay that is not simultaneously connected to the charging interface device and the power module group; If the third number is smaller than the fourth number, the repeated connection relationships in the connection relationship set are removed, or the third number of the relays is reacquired.

3. The power scheduling method according to claim 1, characterized in that: The acquiring the required power of the external device connected to the charging interface device, and acquiring a first power scheduling path matching the expected power with the required power from the power scheduling path table comprises: Obtaining the required power of an external device connected to the target charging interface device; According to the power scheduling path table, each associated power module group connected to the target charging interface device is acquired and added to a preset set of candidate power module groups; Select at least one of the associated power module groups from the set of candidate power module groups and add it to the set of charging power module groups, wherein the sum of the maximum powers of the associated power module groups in the set of charging power module groups is greater than or equal to the required power; Traversing the charging power module group set, and searching for a scheduling path parameter of each of the associated power module groups traversed according to the power scheduling path table; At least one of the scheduling path parameters is combined to generate the first power scheduling path.

4. The power scheduling method according to claim 3, characterized in that: The acquiring, according to the power scheduling path table, each associated power module group connected to the target charging interface device and adding it to a preset set of candidate power module groups further comprises: Traversing the set of to-be-selected power module groups, checking whether the traversed power module groups are faulty, and if so, removing the traversed power module groups; The set of to-be-selected power module groups is traversed to check whether the traversed power module groups are working, and if so, the traversed power module groups are removed.

5. The power scheduling method according to claim 3, characterized in that: The selecting at least one associated power module group from the set of candidate power module groups to be added to the set of charging power module groups, wherein the sum of the maximum powers of the associated power module groups in the set of charging power module groups is greater than or equal to the required power, comprises: Sorting the associated power module groups according to the priority parameter information; The associated power module groups are selected in order from high to low priority and added to the charging power module group set until the sum of the maximum powers of the associated power module groups in the charging power module group set is greater than the required power.

6. A power dispatching device, characterized in that: include: an information acquisition module, configured to acquire a first number of charging interface devices and a second number of power module groups, and to acquire a connection relationship set in which the charging interface devices are connected to the power module groups via relays; A first relationship table management module, configured to generate a first relationship table between the charging interface device and the power module group according to the first quantity, the second quantity and the connection relationship set; A power scheduling path table module, used to generate a power scheduling path table corresponding to each expected power according to the first relationship table and a preset priority rule; A first power scheduling path module, configured to obtain a required power of an external device connected to the charging interface device, and obtain a first power scheduling path from the power scheduling path table whose expected power matches the required power; A charging management module group, used for acquiring a corresponding charging interface device, a relay and a power module group to charge the external device according to the first power scheduling path; Wherein, the first relationship table management module further includes: a row variable management submodule, used to use each of the charging interface devices in the first quantity as each row variable of the first relationship table; a column variable management submodule, used to use each of the power module groups in the second quantity as each column variable of the first relationship table; a cell management submodule, traversing the connection relationship set, matching the unique charging interface device and the unique power module group contained in a single connection relationship with the target charging interface device represented by the row variable and the target power module group represented by the column variable in the first relationship table, and filling the corresponding single connection relationship into the corresponding cell in the first relationship table; Among them, the power scheduling path table module also includes: a first column management subunit, used to obtain the charging interface device as the first column of the power scheduling path table; a second column management subunit, used to obtain each of the power module groups connected to each of the charging interface devices in the first column as the second column of the power scheduling path table; a priority parameter management subunit, used to generate a scheduling path parameter according to the connection relationship between each of the charging interface devices in the first column and each of the power module groups in the second column, the scheduling path parameter including priority parameter information, and the priority parameter information is set according to the pre-set priority rule.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the power scheduling method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the power scheduling method according to any one of claims 1 to 5 are implemented.