A backup battery scheduling method and device of an intelligent battery replacement system and electronic equipment

By using a comprehensive scheduling method based on information from battery swapping stations and battery warehouses in the intelligent battery swapping system, the allocation of backup batteries is optimized, solving the problem of poor resource allocation in existing technologies and improving scheduling efficiency and user satisfaction.

CN122155298APending Publication Date: 2026-06-05NINGBO ORIENTAL INST OF ADVANCED TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NINGBO ORIENTAL INST OF ADVANCED TECH
Filing Date
2026-04-01
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing backup battery scheduling methods fail to effectively consider road conditions, traffic conditions, and the needs of other smart battery swapping stations, resulting in poor battery resource allocation, low scheduling efficiency, increased scheduling costs, and reduced user satisfaction.

Method used

The target battery swapping sequence is determined based on the information of the battery swapping stations, and the scheduling coefficient is calculated based on the information of the battery warehouse. The optimal battery warehouse is selected for backup battery scheduling. The battery warehouse information is dynamically updated to optimize scheduling by comprehensively considering factors such as the current available storage capacity of the warehouse, the total storage capacity, the distance between the warehouse and the station, and the scheduling time.

Benefits of technology

It improves the efficiency and accuracy of backup battery scheduling, reduces scheduling costs, reduces the inclusion of unavailable or severely damaged batteries, shortens power outage time, and enhances user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122155298A_ABST
    Figure CN122155298A_ABST
Patent Text Reader

Abstract

The embodiment of the specification discloses a kind of intelligent battery replacement system backup battery scheduling method, device and electronic equipment.The method includes determining target battery replacement sequence by battery replacement station information based on each to-be-scheduled battery replacement station, then respectively calculating the scheduling coefficient of each battery warehouse according to each battery warehouse information, and determining the target battery warehouse corresponding to the to-be-scheduled battery replacement station based on each scheduling coefficient, finally the battery warehouse information of target warehouse is updated, until all target battery warehouses are determined, and backup battery scheduling is executed according to each target battery warehouse and target battery replacement sequence.Through the above steps, the real-time updated battery warehouse information and battery replacement station information are fully considered, and the navigation scheduling time length of each time point battery warehouse transported to the to-be-scheduled battery replacement station and other comprehensive factors are integrated into the scheduling coefficient, which reduces the scheduling cost as much as possible, improves the scheduling efficiency, reduces the system fluctuation influence caused by too long power failure time, and improves the user's use satisfaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to one or more embodiments in the field of intelligent scheduling technology, and in particular to a backup battery scheduling method for an intelligent battery swapping system. Background Technology

[0002] With the rapid development of power technology, intelligent battery swapping systems typically include multiple swapping stations and multiple battery depots. When a power outage occurs at one swapping station, it can negatively impact the entire system, causing demand overload and localized fluctuations. Therefore, a backup battery scheduling method is needed to quickly and effectively transport backup batteries from the battery depot to the affected swapping stations during power outages. Currently, common backup battery scheduling methods either rely on manual labor or simply prioritize the battery depot closest to the swapping station, neglecting other factors such as road conditions, traffic conditions, and the needs of other intelligent swapping stations. This results in poor battery resource allocation, low scheduling efficiency, wasted scheduling costs, and reduced user satisfaction. Summary of the Invention

[0003] This specification provides an embodiment of a backup battery scheduling method, apparatus, and electronic device for an intelligent battery swapping system, the technical solution of which is as follows:

[0004] In a first aspect, embodiments of this specification provide a backup battery scheduling method for an intelligent battery swapping system, the method comprising:

[0005] In response to the detection that at least one battery swapping station to be scheduled exists in the intelligent battery swapping system, the target battery swapping sequence corresponding to each battery swapping station to be scheduled is determined based on the battery swapping station information of each battery swapping station to be scheduled. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0006] For any of the battery swapping stations to be scheduled in the target battery swapping sequence, a scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be scheduled is calculated based on the information of each battery warehouse. The target battery warehouse corresponding to the battery swapping station to be scheduled is determined based on the scheduling coefficient. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time for transporting the battery from the warehouse to the battery swapping station to be scheduled at the current moment.

[0007] For any of the battery swapping stations to be scheduled, after the scheduling selection is completed based on the target battery warehouse, the battery warehouse information of the target warehouse is updated until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and the backup battery scheduling is performed according to each target battery warehouse and the target battery swapping order.

[0008] Secondly, a backup battery scheduling device for an intelligent battery swapping system is provided, the device comprising:

[0009] A determination module is used to determine the target battery swapping sequence corresponding to each scheduled battery swapping station based on the battery swapping station information of each scheduled battery swapping station in response to the detection that at least one scheduled battery swapping station exists in the intelligent battery swapping system. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0010] The calculation module is used to calculate the scheduling coefficient of the backup battery from each battery warehouse to the scheduled battery station for any of the scheduled battery stations in the target battery swapping sequence, based on the information of each battery warehouse, and to determine the target battery warehouse corresponding to the scheduled battery station based on the scheduling coefficient. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time of transporting the battery from the warehouse to the scheduled battery station at the current moment.

[0011] The scheduling module is used to update the battery warehouse information of the target battery warehouse for any of the battery swapping stations to be scheduled after completing the scheduling selection based on the target battery warehouse, until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and to perform backup battery scheduling according to each target battery warehouse and the target battery swapping order.

[0012] Thirdly, an electronic device is provided, including a device processor and a memory;

[0013] The device processor is connected to the memory;

[0014] The memory is used to store executable program code;

[0015] The device processor runs a program corresponding to the executable program code by reading executable program code stored in the memory, for performing the steps of the method provided by any possible implementation of the first aspect.

[0016] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or device processor, cause the computer or device processor to perform the method provided by any possible implementation of the first aspect.

[0017] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following:

[0018] In one or more embodiments of this specification, the target battery swapping sequence corresponding to each scheduled battery swapping station is determined based on the station information. Then, the scheduling coefficient for dispatching backup batteries from each battery warehouse to the scheduled battery swapping station is calculated based on the battery warehouse information. Based on these scheduling coefficients, the target battery warehouse corresponding to each scheduled battery swapping station is determined. Finally, after completing the scheduling selection based on the target battery warehouse, the battery warehouse information of the target warehouse is updated until all target battery warehouses corresponding to the scheduled battery swapping stations are determined. Backup battery scheduling is then performed according to each target battery warehouse and the target battery swapping sequence. Through these scheduling steps, the real-time updated battery warehouse information and battery swapping station information are fully considered. Comprehensive factors such as the navigation and scheduling time for transporting batteries from the warehouse to the scheduled battery swapping station at each time are integrated into the scheduling coefficient. This minimizes scheduling costs while improving scheduling efficiency, avoids including unusable or severely damaged backup batteries in the scheduling, reduces the impact of system fluctuations caused by prolonged power outages, and improves user satisfaction. Attached Figure Description

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

[0020] Figure 1 A flowchart illustrating a backup battery scheduling method for an intelligent battery swapping system provided in the embodiments of this specification;

[0021] Figure 2 This is a schematic diagram of the structure of a backup battery scheduling device for an intelligent battery swapping system provided in the embodiments of this specification;

[0022] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Detailed Implementation

[0023] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0024] The terms "first," "second," "third," etc., in the description, claims, and accompanying drawings are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.

[0025] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this specification. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

[0026] Please see Figure 1 , Figure 1 This document presents an overall flowchart of a backup battery scheduling method for an intelligent battery swapping system according to an embodiment of the present specification.

[0027] like Figure 1 As shown, the backup battery scheduling method of the intelligent battery swapping system may include at least the following steps:

[0028] Step 101: In response to detecting that there is at least one battery swapping station to be scheduled in the intelligent battery swapping system, determine the target battery swapping sequence corresponding to each battery swapping station to be scheduled based on the battery swapping station information of each battery swapping station to be scheduled.

[0029] The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The information of the battery swapping station includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0030] In the embodiments described in this specification, the battery swapping system generally includes multiple battery swapping stations and multiple battery warehouses. When a power outage occurs at one of the battery swapping stations in the system, i.e., there is at least one battery swapping station awaiting dispatch, it is necessary to immediately select the optimal battery warehouse from among the battery warehouses and dispatch its spare batteries to the battery swapping station awaiting dispatch to meet the continuous power supply demand. Alternatively, only one battery swapping station may experience a power outage, i.e., there is only one battery swapping station awaiting dispatch. In this case, it is only necessary to determine the optimal battery warehouse among the battery warehouses for that station and dispatch the battery swapping service accordingly. Optionally, it is also highly likely that multiple battery swapping stations will experience power outages simultaneously, meaning there are multiple battery swapping stations awaiting dispatch. However, due to differences in the distance and traffic conditions between each station and the battery warehouse, as well as the different numbers of backup battery devices, battery power, and preset power supply durations for each station, the demand for backup batteries varies. Therefore, it is necessary to determine the target battery swapping sequence for each station based on its information, so that backup batteries can be selected and dispatched sequentially for each station according to this target battery swapping sequence.

[0031] The information on battery swapping stations includes, but is not limited to, information on the location of the battery swapping stations.

[0032] In one possible implementation, the response to detecting the presence of at least one battery swapping station to be scheduled in the smart battery swapping system includes:

[0033] Obtain the power supply status of each battery swapping station in the intelligent battery swapping system;

[0034] In response to the presence of at least one power outage state in each of the aforementioned power supply states, it indicates that at least one battery swapping station awaiting dispatch is detected in the smart battery swapping system.

[0035] In the embodiments of this specification, in order to accurately and timely detect whether there are any battery swapping stations to be scheduled in the intelligent battery swapping system, so as to complete the backup battery scheduling as soon as possible and shorten the power outage time, the power supply status of each battery swapping station in the intelligent battery swapping system can be continuously monitored by power sensors. When the power sensor data is 0, that is, at least one of the power supply statuses is determined to be in a power outage state, it can be characterized that at least one battery swapping station to be scheduled is detected in the intelligent battery swapping system, and the battery swapping station in the power outage state is determined to be the battery swapping station to be scheduled.

[0036] In one possible implementation, determining the target battery swapping sequence corresponding to each of the battery swapping stations to be scheduled based on the station information of each station includes:

[0037] The backup battery requirements of each scheduled battery swapping station are determined based on the product of the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0038] The backup battery requirements are sorted by size to obtain the target battery swapping sequence corresponding to each battery swapping station to be scheduled.

[0039] In the embodiments of this specification, since the information of each battery swapping station to be scheduled, namely the number of backup battery devices, the power of the battery devices, and the preset power supply duration, are different, when multiple battery swapping stations to be scheduled exist, the backup battery requirements of each station can be determined first based on the product of the number of backup battery devices, the power of the battery devices, and the preset power supply duration of each station. Specifically, the backup battery requirements... The calculation formula is as follows:

[0040]

[0041] Where a is the number of backup battery devices at the battery swapping station to be scheduled, p is the power of each backup battery device, and T is the preset power supply duration for each backup battery device.

[0042] Next, after obtaining the backup battery requirements of each battery swapping station to be scheduled, since the larger the backup battery requirement, the higher its corresponding scheduling priority, it is necessary to sort the backup battery requirements from largest to smallest to obtain the target battery swapping order for each battery swapping station to be scheduled. In this target battery swapping order, the scheduling priority of the battery swapping station ranked earlier is higher than that of the battery swapping station ranked later. Therefore, it is necessary to subsequently select and schedule each battery swapping station according to this target battery swapping order.

[0043] Step 103: For any of the battery swapping stations to be scheduled in the target battery swapping sequence, calculate the scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be scheduled based on the information of each battery warehouse, and determine the target battery warehouse corresponding to the battery swapping station to be scheduled based on each scheduling coefficient.

[0044] The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the distance between the warehouse and the power station, and the scheduling time between the warehouse and the power station. The scheduling time between the warehouse and the power station is used to characterize the navigation and scheduling time for transporting the battery from the warehouse to the power station to be scheduled at the current moment.

[0045] In the embodiments of this specification, for any battery swapping station to be scheduled in the target battery swapping sequence, theoretically, backup batteries can be scheduled from each battery warehouse in the intelligent battery swapping system. However, since warehouse information such as the current available storage capacity, total storage capacity, warehouse-station distance, and warehouse-station scheduling time may differ for each battery warehouse, the scheduling cost of transporting backup batteries from each battery warehouse to the scheduled battery swapping station will vary. The scheduling cost may include transportation costs and time costs. Therefore, in order to select an optimal battery warehouse among the multiple battery warehouses in the intelligent battery swapping system—that is, the target battery warehouse with the lowest scheduling cost—it is necessary to first calculate the scheduling coefficient for dispatching backup batteries from each battery warehouse to the scheduled battery swapping station based on the battery warehouse information corresponding to each battery warehouse.

[0046] It is worth noting that the current available storage capacity of the warehouse is used to characterize the battery warehouse's power information in the current real-time state. Specifically, before obtaining the current available storage capacity of the warehouse through the internal management system of each battery, it is necessary to determine the health status of each backup battery by using image information of the backup batteries in each battery warehouse. The image information of the backup batteries can be obtained by an image acquisition device installed in the battery warehouse, which can collect the appearance status of each backup battery. Further, based on the image information, one or more appearance wear characteristics of the backup batteries, such as bulging, cracks, leakage, casing damage, and abnormal terminals / interfaces, can be identified. The health status of each backup battery is determined according to the appearance wear characteristics, and the backup batteries are divided into usable batteries, batteries under repair, and unusable batteries according to their health status. When a backup battery is determined to be a usable battery, the corresponding real-time battery capacity can be used as the effective storage capacity. When a backup battery is determined to be a battery under repair or an unusable battery, the corresponding real-time battery capacity is an invalid storage capacity. Finally, the effective storage capacities of all backup batteries are summed to obtain the current available storage capacity of the warehouse.

[0047] Specifically, the scheduling coefficient can be calculated using a pre-established formula or by inputting data into a trained deep learning model. This data includes battery warehouse information such as the current available storage capacity, total storage capacity, warehouse-to-power station distance, and warehouse-to-power station scheduling time. A higher scheduling coefficient indicates lower scheduling costs. Therefore, the target battery warehouse for the battery swapping station to be scheduled can be determined based on these coefficients. When executing scheduling instructions, spare batteries can be directly retrieved from this target warehouse. By identifying the health status of spare batteries before scheduling, unusable or severely damaged spare batteries can be avoided, thus improving the reliability and accuracy of scheduling.

[0048] Because the system is in a continuous dynamic scheduling process, the current available storage capacity of the warehouse will change constantly. The total storage capacity of the battery warehouse information represents the theoretically maximum number of spare batteries that the warehouse can store, and is a fixed value. The warehouse-to-station distance in the battery warehouse information represents the distance between the battery warehouse and the battery swapping station to be scheduled, and is a fixed value. The warehouse-to-station scheduling time in the battery warehouse information represents the navigation scheduling time for transporting batteries from the warehouse to the battery swapping station to be scheduled at the current scheduling moment. Since road conditions vary at different scheduling moments, this navigation scheduling time will change constantly. The scheduling coefficient is calculated by integrating multiple factors, including the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-to-station distance, and the warehouse-to-station scheduling time. This avoids poor resource allocation caused by considering only distance factors. The scheduling coefficient is calculated from multiple perspectives based on the actual scheduling situation, and unusable or severely damaged spare batteries are avoided from being included in the scheduling, thereby improving scheduling efficiency.

[0049] In one possible implementation, the step of calculating the scheduling coefficient for dispatching backup batteries from each of the battery warehouses to the battery swapping station to be scheduled based on the information of each battery warehouse includes:

[0050] For any of the battery warehouses, calculate the first product of the distance between the warehouse and the power station and a first preset coefficient, and the second product of the warehouse-power station scheduling time and a second preset coefficient.

[0051] Calculate the sum of the first product data and the second product data to obtain the first scheduling data;

[0052] The second scheduling data is determined based on the current available storage capacity of the battery warehouse, the total storage capacity of the warehouse, the third preset coefficient, and the backup battery demand of the battery swapping station to be scheduled.

[0053] The scheduling coefficient for dispatching the battery warehouse to the battery swapping station to be scheduled is determined based on the ratio of the second scheduling data to the first scheduling data.

[0054] In the embodiments of this specification, when calculating the scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station based on the information of each battery warehouse, for any battery warehouse, the first product data of the warehouse-to-station distance and a first preset coefficient, and the second product data of the warehouse-to-station dispatch time and a second preset coefficient can be calculated. Then, the first and second product data are summed to obtain the first scheduling data. Further, the second scheduling data is determined based on the current available storage capacity of the battery warehouse, a third preset coefficient, and the backup battery demand of the battery swapping station to be dispatched. Specifically, the difference between the current available storage capacity and the backup battery demand can be calculated first, and then the difference result can be multiplied by the current available storage capacity and the third preset coefficient to obtain the product result. Then, the product result is divided by the total storage capacity of the warehouse to obtain the second scheduling data. Finally, the ratio of the second scheduling data to the first scheduling data is calculated to obtain the scheduling coefficient for dispatching the battery warehouse to the battery swapping station to be dispatched. Specifically, the formula for calculating the scheduling coefficient D is as follows:

[0055]

[0056] in, , and These are the first, second, and third preset coefficients, obtained through preset calculations. C1 represents the current available storage capacity of the warehouse. For backup battery requirements, Cz is the total storage capacity of the warehouse, L is the distance between the warehouse and the power station, and t1 is the scheduling time between the warehouse and the power station.

[0057] In one possible implementation, determining the target battery warehouse corresponding to the battery swapping station to be scheduled based on each of the scheduling coefficients includes:

[0058] The maximum scheduling coefficient among the aforementioned scheduling coefficients is determined based on the extreme value algorithm;

[0059] The target battery warehouse corresponding to the battery swapping station to be scheduled is queried based on the maximum scheduling coefficient.

[0060] In the embodiments of this specification, after determining the scheduling coefficients corresponding to each battery warehouse, it can be deduced from the calculation formula of the scheduling coefficient D that the larger the scheduling coefficient, the smaller the corresponding scheduling cost, and vice versa. Therefore, in order to determine the optimal battery warehouse with the minimum scheduling cost corresponding to the battery swapping station to be scheduled, i.e., the target battery warehouse, we can first use the maximum value algorithm to filter through each scheduling coefficient and determine the maximum scheduling coefficient among all scheduling coefficients. Then, we query the battery warehouse corresponding to the maximum scheduling coefficient and determine it as the target battery warehouse corresponding to the battery swapping station to be scheduled.

[0061] Step 105: For any of the battery swapping stations to be scheduled, after completing the scheduling selection based on the target battery warehouse, update the battery warehouse information of the target warehouse until all the target battery swapping stations to be scheduled are determined, and execute the backup battery scheduling according to each target battery warehouse and the target battery swapping order.

[0062] In the embodiments of this specification, for any battery swapping station to be scheduled, after the scheduling selection is completed based on the target battery warehouse, the battery warehouse information in the target warehouse will change, that is, the current available storage capacity of the warehouse will decrease, and some of the spare batteries need to be scheduled to the battery swapping station to be scheduled. If the target battery warehouse still has spare batteries after completing the previous round of scheduling selection, the battery warehouse information of the target warehouse needs to be updated in real time before selecting the target battery warehouse for the next battery swapping station to be scheduled according to the target battery swapping sequence. Based on the updated battery warehouse information, the target battery warehouse corresponding to the next battery swapping station to be scheduled in the target battery swapping sequence is determined, and the battery warehouse information is updated again. This process is repeated until the target battery warehouses corresponding to all battery swapping stations to be scheduled are determined. Finally, based on the determined target battery warehouses corresponding to each battery swapping station to be scheduled, scheduling instructions are issued to the target battery warehouses corresponding to each battery swapping station to be scheduled in sequence according to the target battery swapping sequence. After receiving the scheduling instructions, each target battery warehouse transports the required spare batteries to its paired battery swapping station to be scheduled, completing the spare battery scheduling of the entire intelligent battery swapping system, minimizing scheduling costs and improving scheduling efficiency.

[0063] In one possible implementation, updating the battery warehouse information of the target warehouse includes:

[0064] The target difference data is obtained by calculating the difference between the current available storage capacity of the target battery warehouse and the number of backup battery devices of the battery swapping station to be scheduled.

[0065] The current available storage capacity of the battery warehouse in the battery warehouse information is updated based on the target difference data.

[0066] In the embodiments of this specification, after a battery swapping station to be scheduled completes its scheduling selection, the difference between the current available storage capacity of the target battery warehouse and the number of spare battery devices at the station to be scheduled can be calculated to obtain target difference data. This target difference data represents the remaining spare battery data in the target battery warehouse after the scheduling selection of the station to be scheduled is completed. Next, the current available storage capacity of the battery warehouse information is updated based on the target difference data, so that the next station to be scheduled can calculate the scheduling coefficient of each battery warehouse based on the latest battery warehouse information, thereby improving the dynamic processing capability of the scheduling system and enhancing scheduling accuracy and efficiency.

[0067] In one possible implementation, the method further includes:

[0068] For any of the battery swapping stations to be scheduled, in response to the fact that the current available storage capacity of the target battery warehouse is less than the number of backup battery devices of the battery swapping station to be scheduled, the corresponding allocation battery warehouse of the target battery warehouse is queried based on the preset warehouse allocation database.

[0069] A battery allocation execution command is issued to the battery allocation warehouse.

[0070] In the embodiments described in this specification, the available storage capacity of the target battery warehouse is generally much greater than the number of spare battery devices for the battery swapping station to be scheduled. However, due to prolonged single-target scheduling scenarios, there may be special cases where the available storage capacity of a target battery warehouse is less than the number of spare battery devices for the battery swapping station to be scheduled. In such cases, timely allocation from other battery warehouses is necessary to avoid a shortage of spare batteries. Therefore, for any battery swapping station to be scheduled, when the above-mentioned special case occurs, the corresponding allocation battery warehouse for the target battery warehouse can be queried according to the preset warehouse allocation database. The preset warehouse allocation database is a database of optimal scheduling based on a large number of historical scheduling records or manually set. Each target battery warehouse has a corresponding allocation battery warehouse, which is essentially a battery warehouse in the intelligent battery swapping system. Next, after determining the allocation battery warehouse, a battery allocation execution command is issued to the allocation battery warehouse to promptly transfer the spare batteries from the allocation battery warehouse to the target battery warehouse, thereby solving the problem that the available storage capacity of the target battery warehouse is less than the number to be scheduled.

[0071] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0072] Please refer to the following. Figure 2 , Figure 2 A schematic diagram of the backup battery scheduling device for an intelligent battery swapping system provided in an embodiment of this specification is shown. It should be noted that... Figure 2 The backup battery scheduling device of the intelligent battery swapping system shown is used to perform the functions described in this application. Figure 1 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 1 The example shown.

[0073] like Figure 2 As shown, the backup battery scheduling device of the intelligent battery swapping system may include at least:

[0074] The determination module 201 is used to determine the target battery swapping sequence corresponding to each scheduled battery swapping station based on the battery swapping station information of each scheduled battery swapping station in response to the detection that at least one scheduled battery swapping station exists in the intelligent battery swapping system. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0075] The calculation module 202 is used to calculate the scheduling coefficient of the backup battery from each battery warehouse to the scheduled battery swapping station for any of the scheduled battery swapping stations in the target battery swapping sequence, based on the information of each battery warehouse, and to determine the target battery warehouse corresponding to the scheduled battery swapping station based on the scheduling coefficients. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time of transporting the battery from the warehouse to the scheduled battery swapping station at the current moment.

[0076] The scheduling module 203 is used to update the battery warehouse information of the target battery warehouse for any of the battery swapping stations to be scheduled after completing the scheduling selection based on the target battery warehouse, until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and to perform backup battery scheduling according to each target battery warehouse and the target battery swapping order.

[0077] In one possible implementation, the determining module 201 is specifically used for:

[0078] Obtain the power supply status of each battery swapping station in the intelligent battery swapping system;

[0079] In response to the presence of at least one power outage state in each of the aforementioned power supply states, it indicates that at least one battery swapping station awaiting dispatch is detected in the smart battery swapping system.

[0080] In one possible implementation, the determining module 201 is further configured to:

[0081] The backup battery requirements of each scheduled battery swapping station are determined based on the product of the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0082] The backup battery requirements are sorted by size to obtain the target battery swapping sequence corresponding to each battery swapping station to be scheduled.

[0083] In one possible implementation, the computing module 202 is specifically used for:

[0084] For any of the battery warehouses, calculate the first product of the distance between the warehouse and the power station and a first preset coefficient, and the second product of the warehouse-power station scheduling time and a second preset coefficient.

[0085] Calculate the sum of the first product data and the second product data to obtain the first scheduling data;

[0086] The second scheduling data is determined based on the current available storage capacity of the battery warehouse, the total storage capacity of the warehouse, the third preset coefficient, and the backup battery demand of the battery swapping station to be scheduled.

[0087] The scheduling coefficient for dispatching the battery warehouse to the battery swapping station to be scheduled is determined based on the ratio of the second scheduling data to the first scheduling data.

[0088] In one possible implementation, the computing module 202 is further configured to:

[0089] The maximum scheduling coefficient among the aforementioned scheduling coefficients is determined based on the extreme value algorithm;

[0090] The target battery warehouse corresponding to the battery swapping station to be scheduled is queried based on the maximum scheduling coefficient.

[0091] In one possible implementation, the scheduling module 203 is specifically used for:

[0092] The target difference data is obtained by calculating the difference between the current available storage capacity of the target battery warehouse and the number of backup battery devices of the battery swapping station to be scheduled.

[0093] The current available storage capacity of the battery warehouse in the battery warehouse information is updated based on the target difference data.

[0094] In one possible implementation, the scheduling module 203 is further configured to:

[0095] For any of the battery swapping stations to be scheduled, in response to the fact that the current available storage capacity of the target battery warehouse is less than the number of backup battery devices of the battery swapping station to be scheduled, the corresponding allocation battery warehouse of the target battery warehouse is queried based on the preset warehouse allocation database.

[0096] A battery allocation execution command is issued to the battery allocation warehouse.

[0097] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.

[0098] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.

[0099] Please refer to the following. Figure 3 , Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.

[0100] like Figure 3 As shown, the electronic device 300 may include at least one device processor 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.

[0101] The communication bus 302 can be used to realize the connection and communication of the above components.

[0102] The user interface 303 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0103] The network interface 304 may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.

[0104] The device processor 301 may include one or more processing cores. The device processor 301 connects to various parts within the electronic device 300 using various interfaces and lines. It executes various functions and processes data of the electronic device 300 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and by calling data stored in the memory 305. Optionally, the device processor 301 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The device processor 301 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the device processor 301 and may be implemented as a separate chip.

[0105] The memory 305 may include RAM or ROM. Optionally, the memory 305 may include a non-transitory computer-readable medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 305 may also be at least one storage device located remotely from the aforementioned device processor 301. Figure 3 As shown, the memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.

[0106] Specifically, the device processor 301 can call the backup battery scheduling application of the intelligent battery swapping system stored in the memory 305, and perform the following operations:

[0107] In response to the detection that at least one battery swapping station to be scheduled exists in the intelligent battery swapping system, the target battery swapping sequence corresponding to each battery swapping station to be scheduled is determined based on the battery swapping station information of each battery swapping station to be scheduled. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0108] For any of the battery swapping stations to be scheduled in the target battery swapping sequence, a scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be scheduled is calculated based on the information of each battery warehouse. The target battery warehouse corresponding to the battery swapping station to be scheduled is determined based on the scheduling coefficient. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time for transporting the battery from the warehouse to the battery swapping station to be scheduled at the current moment.

[0109] For any of the battery swapping stations to be scheduled, after the scheduling selection is completed based on the target battery warehouse, the battery warehouse information of the target warehouse is updated until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and the backup battery scheduling is performed according to each target battery warehouse and the target battery swapping order.

[0110] As an optional embodiment of this specification, the response to detecting the presence of at least one battery swapping station to be dispatched in the smart battery swapping system includes:

[0111] Obtain the power supply status of each battery swapping station in the intelligent battery swapping system;

[0112] In response to the presence of at least one power outage state in each of the aforementioned power supply states, it indicates that at least one battery swapping station awaiting dispatch is detected in the smart battery swapping system.

[0113] As an optional embodiment of this specification, determining the target battery swapping sequence corresponding to each of the battery swapping stations to be scheduled based on the battery swapping station information includes:

[0114] The backup battery requirements of each scheduled battery swapping station are determined based on the product of the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices.

[0115] The backup battery requirements are sorted by size to obtain the target battery swapping sequence corresponding to each battery swapping station to be scheduled.

[0116] As an optional embodiment of this specification, the step of calculating the scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be scheduled based on the information of each battery warehouse includes:

[0117] For any of the battery warehouses, calculate the first product of the distance between the warehouse and the power station and a first preset coefficient, and the second product of the warehouse-power station scheduling time and a second preset coefficient.

[0118] Calculate the sum of the first product data and the second product data to obtain the first scheduling data;

[0119] The second scheduling data is determined based on the current available storage capacity of the battery warehouse, the total storage capacity of the warehouse, the third preset coefficient, and the backup battery demand of the battery swapping station to be scheduled.

[0120] The scheduling coefficient for dispatching the battery warehouse to the battery swapping station to be scheduled is determined based on the ratio of the second scheduling data to the first scheduling data.

[0121] As an optional embodiment of this specification, determining the target battery warehouse corresponding to the battery swapping station to be scheduled based on each of the scheduling coefficients includes:

[0122] The maximum scheduling coefficient among the aforementioned scheduling coefficients is determined based on the extreme value algorithm;

[0123] The target battery warehouse corresponding to the battery swapping station to be scheduled is queried based on the maximum scheduling coefficient.

[0124] As an optional embodiment of this specification, updating the battery warehouse information of the target warehouse includes:

[0125] The target difference data is obtained by calculating the difference between the current available storage capacity of the target battery warehouse and the number of backup battery devices of the battery swapping station to be scheduled.

[0126] The current available storage capacity of the battery warehouse in the battery warehouse information is updated based on the target difference data.

[0127] As an optional embodiment of this specification, the method further includes:

[0128] For any of the battery swapping stations to be scheduled, in response to the fact that the current available storage capacity of the target battery warehouse is less than the number of backup battery devices of the battery swapping station to be scheduled, the corresponding allocation battery warehouse of the target battery warehouse is queried based on the preset warehouse allocation database.

[0129] A battery allocation execution command is issued to the battery allocation warehouse.

[0130] This specification also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0131] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0132] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

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

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

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

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

[0137] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0138] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

Claims

1. A method for scheduling backup batteries in an intelligent battery swapping system, characterized in that, The method includes: In response to the detection that at least one battery swapping station to be scheduled exists in the intelligent battery swapping system, the target battery swapping sequence corresponding to each battery swapping station to be scheduled is determined based on the battery swapping station information of each battery swapping station to be scheduled. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices. For any of the battery swapping stations to be scheduled in the target battery swapping sequence, a scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be scheduled is calculated based on the information of each battery warehouse. The target battery warehouse corresponding to the battery swapping station to be scheduled is determined based on the scheduling coefficient. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time for transporting the battery from the warehouse to the battery swapping station to be scheduled at the current moment. For any of the battery swapping stations to be scheduled, after the scheduling selection is completed based on the target battery warehouse, the battery warehouse information of the target warehouse is updated until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and the backup battery scheduling is performed according to each target battery warehouse and the target battery swapping order.

2. The method according to claim 1, characterized in that, The response to detecting that at least one battery swapping station to be scheduled exists in the smart battery swapping system includes: Obtain the power supply status of each battery swapping station in the intelligent battery swapping system; In response to the presence of at least one power outage state in each of the aforementioned power supply states, it indicates that at least one battery swapping station awaiting dispatch is detected in the smart battery swapping system.

3. The method according to claim 1, characterized in that, The step of determining the target battery swapping sequence corresponding to each of the battery swapping stations to be scheduled based on the battery swapping station information includes: The backup battery requirements of each scheduled battery swapping station are determined based on the product of the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices. The backup battery requirements are sorted by size to obtain the target battery swapping sequence corresponding to each battery swapping station to be scheduled.

4. The method according to claim 3, characterized in that, The step of calculating the scheduling coefficient for dispatching backup batteries from each battery warehouse to the battery swapping station to be dispatched based on the information of each battery warehouse includes: For any of the battery warehouses, calculate the first product of the distance between the warehouse and the power station and a first preset coefficient, and the second product of the warehouse-power station scheduling time and a second preset coefficient. Calculate the sum of the first product data and the second product data to obtain the first scheduling data; The second scheduling data is determined based on the current available storage capacity of the battery warehouse, the total storage capacity of the warehouse, the third preset coefficient, and the backup battery demand of the battery swapping station to be scheduled. The scheduling coefficient for dispatching the battery warehouse to the battery swapping station to be scheduled is determined based on the ratio of the second scheduling data to the first scheduling data.

5. The method according to claim 1, characterized in that, The step of determining the target battery warehouse corresponding to the battery swapping station to be scheduled based on each of the aforementioned scheduling coefficients includes: The maximum scheduling coefficient among the aforementioned scheduling coefficients is determined based on the extreme value algorithm; The target battery warehouse corresponding to the battery swapping station to be scheduled is queried based on the maximum scheduling coefficient.

6. The method according to claim 1, characterized in that, The step of updating the battery warehouse information of the target warehouse includes: The target difference data is obtained by calculating the difference between the current available storage capacity of the target battery warehouse and the number of backup battery devices of the battery swapping station to be scheduled. The current available storage capacity of the battery warehouse in the battery warehouse information is updated based on the target difference data.

7. The method according to claim 1, characterized in that, The method further includes: For any of the battery swapping stations to be scheduled, in response to the fact that the current available storage capacity of the target battery warehouse is less than the number of backup battery devices of the battery swapping station to be scheduled, the corresponding allocation battery warehouse of the target battery warehouse is queried based on the preset warehouse allocation database. A battery allocation execution command is issued to the battery allocation warehouse.

8. A backup battery scheduling device for an intelligent battery swapping system, characterized in that, The device includes: A determination module is used to determine the target battery swapping sequence corresponding to each scheduled battery swapping station based on the battery swapping station information of each scheduled battery swapping station in response to the detection that at least one scheduled battery swapping station exists in the intelligent battery swapping system. The intelligent battery swapping system includes at least one battery swapping station and at least two battery warehouses. The battery swapping station information includes the number of backup battery devices, the power of the battery devices, and the preset power supply duration of the devices. The calculation module is used to calculate the scheduling coefficient of the backup battery from each battery warehouse to the scheduled battery station for any of the scheduled battery stations in the target battery swapping sequence, based on the information of each battery warehouse, and to determine the target battery warehouse corresponding to the scheduled battery station based on the scheduling coefficient. The battery warehouse information includes the current available storage capacity of the warehouse, the total storage capacity of the warehouse, the warehouse-station distance, and the warehouse-station scheduling time. The warehouse-station scheduling time is used to characterize the navigation scheduling time of transporting the battery from the warehouse to the scheduled battery station at the current moment. The scheduling module is used to update the battery warehouse information of the target battery warehouse for any of the battery swapping stations to be scheduled after completing the scheduling selection based on the target battery warehouse, until the target battery warehouses corresponding to all the battery swapping stations to be scheduled are determined, and to perform backup battery scheduling according to each target battery warehouse and the target battery swapping order.

9. An electronic 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, it implements the steps of the method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-7.