Distribution method and system for batteries of battery swap station, electronic equipment and medium

By using different battery distribution strategies based on the arrival time and location information determination mode of the battery swap vehicle, different battery distribution strategies are solved, and the problem of difficulty in replacing a reservation and non-reserved vehicles is achieved due to the small location of the battery swap station, timely battery swap of the appointment and non-reserved vehicles is achieved, and user experience and operational efficiency are improved.

CN120270086APending Publication Date: 2025-07-08AULTON NEW ENERGY AUTOMOBILE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311863647.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing battery swap station has a small area, which makes it difficult to replace battery for appointment vehicles and non-appointed vehicles, low efficiency and poor user experience.

Method used

By receiving the arrival time and location information of the battery swap vehicle, it is determined that it is an appointment mode or a non-appointment mode, and using different battery distribution strategies, the remaining batteries or the highest battery capacity batteries are directly allocated to ensure that both the appointment and non-appointment vehicles can be replaced in time.

Benefits of technology

It improves the operation management effect and user experience of the battery swap station, ensures that both appointment and non-appointment vehicles can be replaced in time, avoids long-term waiting, and improves the operational efficiency and user satisfaction of the battery swap station in small venues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120270086A_ABST
    Figure CN120270086A_ABST
Patent Text Reader

Abstract

The invention discloses a battery swap station battery distribution method and system, electronic equipment and a medium. The distribution method comprises the following steps: receiving a battery swap service request sent by a battery swap vehicle; determining a battery distribution mode of the battery changing vehicle according to the arrival time information and the current position information; and determining a battery distribution strategy corresponding to the battery swapping vehicle based on the battery distribution mode, and distributing the battery of the target battery swapping station to the battery swapping vehicle based on the battery distribution strategy. According to the method and the device, whether the battery replacement vehicle is in the non-reservation mode or the reservation mode is judged, and different battery distribution strategies are determined based on different modes to perform battery distribution and battery replacement on the battery replacement vehicle, so that the reservation vehicle and the non-reservation vehicle can perform battery replacement in time without waiting for too long time, and the battery replacement efficiency is improved. The conditions that non-reserved vehicles have nowhere to wait for battery swapping and no enough place is available for moving the battery swapping vehicles in the battery swapping station are avoided, and the operation management effect of the battery swapping station is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power battery swapping for electric vehicles, and particularly to a method, a system, an electronic device, and a medium for allocating batteries in a battery swapping station. Background Art

[0002] With the shortage of oil resources and the update of battery technology, electric vehicles are gradually replacing traditional fuel vehicles and are being gradually promoted and applied worldwide. When the battery endurance of an electric vehicle is insufficient, it is necessary to drive to a charging station to charge the battery to replenish the battery power. However, the charging process of the electric vehicle battery takes a long time, bringing a lot of inconvenience to the vehicle owner. In recent years, with the development of intelligent battery swapping stations, electric vehicles have changed from charging to battery swapping. Most of the battery swapping vehicles in existing battery swapping stations are operation vehicles, and such vehicles have a large demand for fast battery swapping and high requirements for driving mileage.

[0003] However, due to the small site area of the battery swapping station and the lack of sufficient space to move reserved vehicles, the actual difficulty of making an appointment for queuing for battery swapping is large, the battery swapping efficiency is low, and the user experience is poor. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to overcome the defect that in the prior art, due to the small site area of the battery swapping station and the lack of sufficient space to move reserved vehicles, the actual difficulty of making an appointment for queuing for battery swapping is large and the battery swapping efficiency is low, and to provide a method, a system, an electronic device, and a medium for allocating batteries in a battery swapping station.

[0005] The present invention solves the above technical problem through the following technical solutions:

[0006] In a first aspect, the present invention provides a method for allocating batteries in a battery swapping station, and the allocation method includes:

[0007] Receiving a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes the arrival time information and the current position information of the battery swapping vehicle traveling to a target battery swapping station;

[0008] Determining the battery allocation mode of the battery swapping vehicle according to the arrival time information and the current position information; the battery allocation mode includes a non-reservation mode and a reservation mode, the non-reservation mode is used to represent the mode in which the battery swapping vehicle only reserves a battery at the target battery swapping station without reserving queuing for battery swapping, and the reservation mode is used to represent the mode in which the battery swapping vehicle reserves queuing for battery swapping at the target battery swapping station;

[0009] Determining a battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode, and allocating the battery of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy.

[0010] According to the arrival time information and the current location information, this solution determines whether the battery swapping vehicle is in a non-reservation mode or a reservation mode, and determines different battery allocation strategies based on different modes to allocate batteries to the battery swapping vehicle and perform battery swapping, so as to ensure that both reserved vehicles and non-reserved vehicles can perform battery swapping in a timely manner without waiting for too long, avoiding the situation where there is no place for non-reserved vehicles to wait for battery swapping due to the small site of the battery swapping station and there is not enough space to move the battery swapping vehicle, enhancing the operation and management effect of the battery swapping station; adopting different battery allocation strategies for reserved vehicles and non-reserved vehicles can ensure the fairness of battery swapping, thereby improving the user experience and satisfaction.

[0011] Preferably, the step of determining the battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode and allocating the battery of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy includes:

[0012] In the case where the battery allocation mode of the battery swapping vehicle is determined to be the reservation mode, allocate the battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle, and update the arrival vehicle information of the target battery swapping station; the arrival vehicle information is used to represent the vehicle information of the reserved battery swapping vehicle that has traveled to the target battery swapping station and has been deducted, and the reserved battery swapping vehicle refers to the battery swapping vehicle whose battery allocation mode is the reservation mode;

[0013] In the case where the battery allocation mode of the battery swapping vehicle is determined to be the non-reservation mode, obtain the battery information of the target battery swapping station and the arrival vehicle information, and allocate the battery from the unreserved batteries of the target battery swapping station to the battery swapping vehicle according to the battery information and the arrival vehicle information.

[0014] This solution directly allocates the remaining batteries of the battery swapping station in the reservation mode, and allocates the battery with the highest power in the unreserved batteries of the battery swapping station in the non-reservation mode, ensuring the battery swapping qualification of the battery swapping vehicle corresponding to the non-reservation mode and reserving the reserved battery for the battery swapping vehicle corresponding to the reservation mode, realizing the provision of instant battery swapping services for the arriving reserved battery swapping vehicles and non-reserved battery swapping vehicles based on different battery allocation strategies, and improving the operation efficiency of the battery swapping station with a small site.

[0015] Preferably, the step of allocating the battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle includes:

[0016] Based on the position of the battery swapping vehicle in the reserved battery swapping queue, allocate the battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle;

[0017] Or, select the battery with the highest power from the remaining batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0018] For the battery swapping vehicles in the reservation mode of this solution, the batteries can be allocated according to the order of the battery swapping vehicles in the reservation queue, or the highest-capacity battery can be directly selected for battery allocation, ensuring the flexibility of battery allocation.

[0019] Preferably, the battery information includes the quantity information and power information of the remaining batteries in the target battery swapping station, and the arriving vehicle information includes the number of the first vehicles of the reservation battery swapping vehicles arriving at the target battery swapping station;

[0020] The step of allocating batteries from the unreserved batteries of the target battery swapping station to the battery swapping vehicles according to the battery information and the arriving vehicle information includes:

[0021] Obtain the number of the second vehicles of the reservation battery swapping vehicles in the reservation queue, and determine the number of the third vehicles of the reservation battery swapping vehicles that have not completed battery swapping according to the number of the first vehicles and the number of the second vehicles;

[0022] Based on the number of the third vehicles and the quantity information of the remaining batteries in the target battery swapping station, determine the unreserved batteries of the target battery swapping station;

[0023] Based on the power information of the unreserved batteries of the target battery swapping station, select the battery with the highest power from the unreserved batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0024] This solution selects the battery with the highest power from the unreserved batteries of the target battery swapping station and allocates it to the battery swapping vehicle according to the number of the first vehicles, the quantity information of the remaining batteries and the power information of the reservation battery swapping vehicles of the target battery swapping station, ensuring the accuracy of the allocation of the battery with the highest power in the unreserved batteries.

[0025] Preferably, the battery swapping service request includes the reservation battery swapping time, the arriving time information includes the arriving time of the battery swapping vehicle, and the current location information includes the current location of the battery swapping vehicle;

[0026] The step of determining the battery allocation mode of the battery swapping vehicle according to the arriving time information and the current location information includes:

[0027] Detect whether the current location of the battery swapping vehicle is within the set area corresponding to the target battery swapping station, and detect whether the arriving time of the battery swapping vehicle is within the effective battery swapping time period, and the effective battery swapping time period is set based on the reservation battery swapping time;

[0028] When it is detected that the current location of the battery swapping vehicle is within the set area and the arriving time of the battery swapping vehicle is within the effective battery swapping time period, determine that the battery allocation mode is the reservation mode;

[0029] When it is detected that the current position of the battery swapping vehicle is not within the range of the set area, or the arrival time of the battery swapping vehicle is not within the effective battery swapping time period, determine that the battery allocation mode is the non-reservation mode.

[0030] This solution ensures the accuracy and reliability of the judgment result of the battery allocation mode corresponding to the battery swapping vehicle based on the current position information and the arrival time information at the same time, providing an effective basis for battery allocation in the further reservation mode or non-reservation mode.

[0031] Preferably, before the step of allocating a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle and updating the arrival vehicle information of the target battery swapping station, the allocation method further includes:

[0032] Sending a fee settlement notice to the battery swapping vehicle; the fee settlement notice is used to instruct the battery swapping vehicle to queue at the target battery swapping station waiting to be deducted.

[0033] This solution does not require the participation of staff, automatically notifies the battery swapping vehicle to queue at the battery swapping station waiting to be deducted for battery swapping, ensures the success of the deduction, and then conducts battery allocation to ensure the standardization of the operation and management of the battery swapping station, improves the working efficiency of the battery swapping station, and enhances the user experience.

[0034] Preferably, before the step of receiving the battery swapping service request sent by the battery swapping vehicle, the allocation method further includes:

[0035] Receiving a reservation battery swapping request sent by the battery swapping vehicle; the reservation battery swapping request includes vehicle information, a reservation battery swapping time, and a reservation battery swapping location;

[0036] Judging whether the battery swapping vehicle meets the battery swapping requirements according to the vehicle information, the reservation battery swapping time, and the reservation battery swapping location;

[0037] When the battery swapping vehicle meets the battery swapping requirements, sending a battery swapping notice to the battery swapping vehicle; the battery swapping notice is used to instruct the battery swapping vehicle to drive to the target battery swapping station corresponding to the reservation battery swapping location for battery swapping.

[0038] This solution indicates that the battery swapping vehicle drives to the target battery swapping station on the premise that the battery swapping vehicle meets the battery swapping requirements through comprehensive judgment of vehicle information, reservation battery swapping time, and reservation battery swapping location, ensuring the effectiveness of the judgment result of the battery allocation mode corresponding to the battery swapping vehicle subsequently.

[0039] In a second aspect, the present invention provides a battery allocation system for a battery swapping station, and the allocation system includes:

[0040] A data receiving module, configured to receive a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes arrival time information and current position information of the battery swapping vehicle traveling to a target battery swapping station.

[0041] A mode determination module, configured to determine a battery allocation mode of the battery swapping vehicle according to the arrival time information and the current position information; the battery allocation mode includes a non-reservation mode and a reservation mode. The non-reservation mode is used to represent a mode in which the battery swapping vehicle only reserves a battery at the target battery swapping station without reserving queuing for battery swapping. The reservation mode is used to represent a mode in which the battery swapping vehicle reserves queuing for battery swapping at the target battery swapping station.

[0042] A battery allocation module, configured to determine a battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode, and allocate the battery of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy.

[0043] This solution determines whether the battery swapping vehicle is in the non-reservation mode or the reservation mode according to the arrival time information and the current position information, and determines different battery allocation strategies based on different modes to allocate batteries and perform battery swapping for the battery swapping vehicle, so as to ensure that both reserved vehicles and non-reserved vehicles can perform battery swapping in a timely manner without waiting for too long, avoid the situation that non-reserved vehicles have nowhere to wait for battery swapping due to the small site of the battery swapping station and there is not enough space to move the battery swapping vehicle, and enhance the operation and management effect of the battery swapping station; adopting different battery allocation strategies for reserved vehicles and non-reserved vehicles can ensure the fairness of battery swapping, thereby improving the user experience and satisfaction.

[0044] Preferably, the battery allocation module includes:

[0045] A first allocation unit, configured to, when determining that the battery allocation mode of the battery swapping vehicle is the reservation mode, allocate a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle, and update the arrival vehicle information of the target battery swapping station; the arrival vehicle information is used to represent the vehicle information of the reserved battery swapping vehicle that has traveled to the target battery swapping station and has been deducted; the reserved battery swapping vehicle refers to the battery swapping vehicle whose battery allocation mode is the reservation mode.

[0046] A second allocation unit, configured to, when determining that the battery allocation mode of the battery swapping vehicle is the non-reservation mode, obtain the battery information and the arrival vehicle information of the target battery swapping station, and allocate a battery from the unreserved batteries of the target battery swapping station to the battery swapping vehicle according to the battery information and the arrival vehicle information.

[0047] In this solution, the remaining batteries of the battery swapping station are directly allocated in the reservation mode, while in the non-reservation mode, the battery with the highest power among the unreserved batteries of the battery swapping station is allocated, ensuring the battery swapping qualification of the battery swapping vehicles corresponding to the non-reservation mode and reserving the reserved batteries for the battery swapping vehicles corresponding to the reservation mode. Instant battery swapping services are provided for the arriving reservation battery swapping vehicles and non-reservation battery swapping vehicles based on different battery allocation strategies, improving the operation efficiency of the battery swapping station in a small area.

[0048] Preferably, the first allocation unit is specifically configured to:

[0049] Allocate batteries from the remaining batteries of the target battery swapping station to the battery swapping vehicle based on the position of the battery swapping vehicle in the reservation battery swapping queue;

[0050] Or, select the battery with the highest power from the remaining batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0051] In the case of the reservation mode of this solution, batteries can be allocated according to the order of the battery swapping vehicles in the reservation battery swapping queue or the battery with the highest power can be directly selected for battery allocation, ensuring the flexibility of battery allocation.

[0052] Preferably, the battery information includes the quantity information and power information of the remaining batteries in the target battery swapping station, and the arriving vehicle information includes the first vehicle quantity of the reservation battery swapping vehicles arriving at the target battery swapping station; the second allocation unit is specifically configured to:

[0053] The step of allocating batteries from the unreserved batteries of the target battery swapping station to the battery swapping vehicle according to the battery information and the arriving vehicle information includes:

[0054] Obtain the second vehicle quantity of the reservation battery swapping vehicles in the reservation battery swapping queue, and determine the third vehicle quantity of the reservation battery swapping vehicles whose battery swapping has not been completed according to the first vehicle quantity and the second vehicle quantity;

[0055] Based on the third vehicle quantity and the quantity information of the remaining batteries in the target battery swapping station, determine the unreserved batteries of the target battery swapping station;

[0056] Based on the power information of the unreserved batteries of the target battery swapping station, select the battery with the highest power from the unreserved batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0057] This solution selects the battery with the highest power from the unreserved batteries of the target battery swapping station and allocates it to the battery swapping vehicle according to the first vehicle data of the reservation battery swapping vehicles, the remaining battery quantity information and the power information of the target battery swapping station, ensuring the accuracy of the allocation of the battery with the highest power among the unreserved batteries.

[0058] Preferably, the battery swapping service request includes a reserved battery swapping time, the arrival time information includes the arrival time of the battery swapping vehicle, and the current location information includes the current location of the battery swapping vehicle; the mode determination module includes:

[0059] A detection unit, configured to detect whether the current location of the battery swapping vehicle is within the set area corresponding to the target battery swapping station, and detect whether the arrival time of the battery swapping vehicle is within the effective battery swapping time period; the effective battery swapping time period is set based on the reserved battery swapping time;

[0060] A first determination unit, configured to determine that the battery allocation mode is the reservation mode when it is detected that the current location of the battery swapping vehicle is within the set area and the arrival time of the battery swapping vehicle is within the effective battery swapping time period;

[0061] A second determination unit, configured to determine that the battery allocation mode is the non - reservation mode when it is detected that the current location of the battery swapping vehicle is not within the set area, or the arrival time of the battery swapping vehicle is not within the effective battery swapping time period.

[0062] This solution ensures the accuracy and reliability of the judgment result of the battery allocation mode corresponding to the battery swapping vehicle based on the current location information and the arrival time information at the same time, providing an effective basis for battery allocation in the further reservation mode or non - reservation mode.

[0063] Preferably, the battery allocation module further includes:

[0064] A fee notification unit, configured to send a fee settlement notification to the battery swapping vehicle; the fee settlement notification is used to instruct the battery swapping vehicle to queue up at the target battery swapping station waiting for deduction of fees.

[0065] This solution does not require the participation of staff, automatically notifies the battery swapping vehicle to queue up at the battery swapping station waiting for deduction of fees for battery swapping, and conducts battery allocation on the premise of ensuring successful deduction of fees to ensure the standardization of the operation and management of the battery swapping station, improve the working efficiency of the battery swapping station, and enhance the user experience.

[0066] Preferably, the allocation system further includes:

[0067] A request receiving module, configured to receive a reserved battery swapping request sent by the battery swapping vehicle; the reserved battery swapping request includes vehicle information, a reserved battery swapping time, and a reserved battery swapping location;

[0068] A judgment module, configured to judge whether the battery swapping vehicle meets the battery swapping requirements according to the vehicle information, the reserved battery swapping time, and the reserved battery swapping location;

[0069] A battery replacement notice sending module, configured to send a battery replacement notice to the battery replacement vehicle when the battery replacement vehicle meets the battery replacement requirement; the battery replacement notice is used to instruct the battery replacement vehicle to drive to a target battery replacement station corresponding to the reserved battery replacement location for battery replacement.

[0070] In this solution, based on a comprehensive judgment of vehicle information, reserved battery replacement time, and reserved battery replacement location to determine that the battery replacement vehicle meets the battery replacement requirement, the battery replacement vehicle is instructed to drive to the target battery replacement station, ensuring the effectiveness of the determination result of the battery allocation mode corresponding to the battery replacement vehicle subsequently.

[0071] In a third aspect, the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the battery allocation method for a battery replacement station described in the first aspect.

[0072] In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the battery allocation method for a battery replacement station described in the first aspect.

[0073] The positive and progressive effects of the present invention are as follows: The battery allocation method, system, electronic device, and medium for a battery replacement station provided by the present invention determine whether the battery replacement vehicle is in a non-reserved mode or a reserved mode, and based on different modes, determine different battery allocation strategies to allocate batteries and perform battery replacement for the battery replacement vehicle, thereby ensuring that both reserved vehicles and non-reserved vehicles can perform battery replacement in a timely manner without waiting for too long, avoiding the situation where non-reserved vehicles have nowhere to wait for battery replacement due to the small size of the battery replacement station and there is not enough space to move the battery replacement vehicle, and enhancing the operation and management effect of the battery replacement station. Description of the Drawings

[0074] Figure 1 It is the first flow chart of the battery allocation method for a battery replacement station according to Embodiment 1 of the present invention.

[0075] Figure 2 It is the second flow chart of the battery allocation method for a battery replacement station according to Embodiment 1 of the present invention.

[0076] Figure 3 It is the third flow chart of the battery allocation method for a battery replacement station according to Embodiment 1 of the present invention.

[0077] Figure 4 It is the fourth flow chart of the battery allocation method for a battery replacement station according to Embodiment 1 of the present invention.

[0078] Figure 5 It is the application flow chart of the battery allocation method for a battery replacement station according to Embodiment 1 of the present invention.

[0079] Figure 6 Schematic diagram of the first module of the battery distribution system for the battery swapping station in Embodiment 2 of the present invention.

[0080] Figure 7 Schematic diagram of the second module of the battery distribution system for the battery swapping station in Embodiment 2 of the present invention.

[0081] Figure 8 Schematic diagram of the structure of an electronic device for implementing the battery distribution method for the battery swapping station in Embodiment 3 of the present invention. Detailed implementation manners

[0082] The present invention will be further described below by way of embodiments, but the present invention is not limited to the scope of the described embodiments.

[0083] Embodiment 1

[0084] The battery distribution method for the battery swapping station in this embodiment is applied to a server or a server cluster. As Figure 1 shown, the distribution method includes:

[0085] S11. Receive a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes the arrival time information and the current location information of the battery swapping vehicle traveling to the target battery swapping station;

[0086] S12. Determine the battery distribution mode of the battery swapping vehicle according to the arrival time information and the current location information; the battery distribution mode includes a non-reservation mode and a reservation mode. The non-reservation mode is used to represent the mode in which the battery swapping vehicle only reserves a battery at the target battery swapping station without reserving a queuing battery swap, and the reservation mode is used to represent the mode in which the battery swapping vehicle reserves a queuing battery swap at the target battery swapping station;

[0087] S13. Determine the battery distribution strategy corresponding to the battery swapping vehicle based on the battery distribution mode, and allocate the battery of the target battery swapping station to the battery swapping vehicle based on the battery distribution strategy.

[0088] For the above steps S11 - S13, the battery swapping server extracts the arrival time information and the current location information of the battery swapping vehicle traveling to the target battery swapping station carried in the battery swapping service request. After comprehensive analysis according to the arrival time information, the current location information and the site operation situation of the target battery swapping station, it is judged whether the battery swapping vehicle can arrive near the target battery swapping station within a limited time and whether it can realize queuing reservation for battery swapping, so as to determine whether the battery swapping vehicle is in the non-reservation mode or the reservation mode. Different battery distribution strategies are determined for the battery swapping vehicles in the non-reservation mode and the reservation mode, and the batteries of the target battery swapping station are distributed according to the battery distribution strategy matching the battery swapping vehicle.

[0089] It should be noted that the above battery swapping service request includes, but is not limited to, license plate number information, remaining battery power information of the battery of the battery swapping vehicle, and battery information of the battery to be replaced. This embodiment does not make specific limitations.

[0090] This solution determines whether the battery swapping vehicle is in a non-reservation mode or a reservation mode based on the arrival time information and the current location information, and determines different battery allocation strategies based on different modes to allocate batteries to the battery swapping vehicle and perform battery swapping, so as to ensure that both reservation vehicles and non-reservation vehicles can perform battery swapping in a timely manner without waiting for too long, avoiding the situation that non-reservation vehicles have nowhere to wait for battery swapping due to the small site of the battery swapping station and there is not enough space to move the battery swapping vehicle, and enhancing the operation and management effect of the battery swapping station; adopting different battery allocation strategies for reservation vehicles and non-reservation vehicles can ensure the fairness of battery swapping, thereby improving the user experience and satisfaction.

[0091] In an alternative embodiment, as Figure 2 shown, step S13 specifically includes:

[0092] S131. When it is determined that the battery allocation mode of the battery swapping vehicle is the reservation mode, allocate a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle, and update the arrival vehicle information of the target battery swapping station; the arrival vehicle information is used to represent the vehicle information of the reservation battery swapping vehicle that has traveled to the target battery swapping station and has been deducted. The reservation battery swapping vehicle refers to the battery swapping vehicle whose battery allocation mode is the reservation mode.

[0093] S132. When it is determined that the battery allocation mode of the battery swapping vehicle is the non-reservation mode, obtain the battery information and arrival vehicle information of the target battery swapping station, and allocate a battery from the unreserved batteries of the target battery swapping station to the battery swapping vehicle according to the battery information and arrival vehicle information.

[0094] For the above step S131, after directly allocating a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle in the non-reservation mode, subtract one from the first vehicle quantity of the reservation battery swapping vehicle that has traveled to the target battery swapping station and has been deducted in the arrival vehicle information.

[0095] For the above step S132, screen out the reserved batteries in the remaining batteries of the target battery swapping station according to the battery information and arrival vehicle information of the target battery swapping station, and directly allocate a battery from the unreserved batteries to the battery swapping vehicle in the reservation mode.

[0096] In this solution, the remaining batteries of the battery swapping station are directly allocated in the reservation mode, while in the non-reservation mode, the battery with the highest power among the unreserved batteries of the battery swapping station is allocated, ensuring the battery swapping qualification of the battery swapping vehicles corresponding to the non-reservation mode and reserving the reserved batteries for the battery swapping vehicles corresponding to the reservation mode. Instant battery swapping services are provided for the arriving reservation battery swapping vehicles and non-reservation battery swapping vehicles based on different battery allocation strategies, improving the operation efficiency of the battery swapping station in a small site.

[0097] In an optional embodiment, before step S13, the allocation method includes:

[0098] Sending a fee settlement notice to the battery swapping vehicle; the fee settlement notice is used to instruct the battery swapping vehicle to queue at the target battery swapping station waiting for deduction of fees.

[0099] This solution does not require the participation of staff, automatically notifies the battery swapping vehicle to queue at the battery swapping station waiting for fee deduction and battery swapping, ensures the standardization of the operation management of the battery swapping station by allocating batteries on the premise of ensuring successful fee deduction, improves the working efficiency of the battery swapping station, and enhances the user experience.

[0100] In an embodiment, step S131 includes:

[0101] S1311. Allocate batteries from the remaining batteries of the target battery swapping station to the battery swapping vehicle based on the position of the battery swapping vehicle in the reservation battery swapping queue.

[0102] In another embodiment, step S131 includes:

[0103] S1312. Select the battery with the highest power from the remaining batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0104] For the battery swapping vehicles in the reservation mode of this solution, batteries can be allocated according to the order of the battery swapping vehicles in the reservation battery swapping queue, or the battery with the highest power can be directly selected for battery allocation, ensuring the flexibility of battery allocation.

[0105] In an optional embodiment, the battery information includes the quantity information and power information of the remaining batteries in the target battery swapping station, and the arriving vehicle information includes the number of the first vehicles of the reservation battery swapping vehicles arriving at the target battery swapping station; step S132 specifically includes:

[0106] Obtain the number of the second vehicles of the reservation battery swapping vehicles in the reservation battery swapping queue, and determine the number of the third vehicles of the reservation battery swapping vehicles whose battery swapping has not been completed according to the number of the first vehicles and the number of the second vehicles;

[0107] Based on the number of the third vehicles and the quantity information of the remaining batteries in the target battery swapping station, determine the unreserved batteries of the target battery swapping station;

[0108] Based on the power information of the unreserved batteries at the target battery swapping station, select the battery with the highest power from the unreserved batteries at the target battery swapping station and allocate it to the battery swapping vehicle.

[0109] This solution selects the battery with the highest power from the unreserved batteries at the target battery swapping station and allocates it to the battery swapping vehicle according to the first vehicle data, the remaining battery quantity information, and the power information of the reserved battery swapping vehicles at the target battery swapping station, ensuring the accuracy of the allocation of the battery with the highest power among the unreserved batteries.

[0110] In an alternative embodiment, as Figure 3 shown, the battery swapping service request includes the reserved battery swapping time, the arrival time information includes the arrival time of the battery swapping vehicle, and the current location information includes the current location of the battery swapping vehicle. Step S12 specifically includes:

[0111] S120. Detect whether the current location of the battery swapping vehicle is within the set area corresponding to the target battery swapping station, and detect whether the arrival time of the battery swapping vehicle is within the effective battery swapping time period; the effective battery swapping time period is set based on the reserved battery swapping time;

[0112] S121. When it is detected that the current location of the battery swapping vehicle is within the set area and the arrival time of the battery swapping vehicle is within the effective battery swapping time period, determine that the battery allocation mode is the reservation mode;

[0113] S122. When it is detected that the current location of the battery swapping vehicle is not within the set area, or the arrival time of the battery swapping vehicle is not within the effective battery swapping time period, determine that the battery allocation mode is the non - reservation mode.

[0114] For the above steps S120 - S122, detect whether the current location of the battery swapping vehicle is within 100 meters around the target battery swapping station, and further detect whether the arrival time of the battery swapping vehicle is within 30 minutes before or after the reserved battery swapping time. If both are satisfied, determine that the battery allocation mode of the battery swapping vehicle is the reservation mode. If either is not satisfied, determine that the battery allocation mode of the battery swapping vehicle is the non - reservation mode.

[0115] This solution ensures the accuracy and reliability of the judgment result of the battery allocation mode corresponding to the battery swapping vehicle based on the current location information and the arrival time information, providing an effective basis for battery allocation in the further reservation mode or non - reservation mode.

[0116] In an alternative embodiment, as Figure 4 shown, before the step of receiving the battery swapping service request sent by the battery swapping vehicle, this allocation method further includes:

[0117] S101. Receive the reserved battery swapping request sent by the battery swapping vehicle; the reserved battery swapping request includes vehicle information, the reserved battery swapping time, and the reserved battery swapping location;

[0118] S102. Determine whether the battery swapping vehicle meets the battery swapping requirements according to the vehicle information, the reserved battery swapping time, and the reserved battery swapping location;

[0119] S103. When the battery swapping vehicle meets the battery swapping requirements, send a battery swapping notice to the battery swapping vehicle; the battery swapping notice is used to instruct the battery swapping vehicle to drive to the target battery swapping station corresponding to the reserved battery swapping location for battery swapping.

[0120] For the above steps S101 - S103, first determine whether there are vacant positions in the battery swapping site at the reserved battery swapping location during the current period for the battery swapping vehicle to perform battery swapping according to the reserved battery swapping time, and then determine whether the reserved battery swapping location supports battery replacement for the current vehicle model according to the vehicle information. When the battery swapping vehicle meets both of the above judgment conditions, it indicates that the battery swapping vehicle meets the battery swapping requirements, and a battery swapping notice is sent to the battery swapping vehicle. When the battery swapping vehicle does not meet any of the above judgment conditions, it indicates that the battery swapping vehicle does not meet the battery swapping conditions, and a re - reservation notice is sent to the battery swapping vehicle; the re - reservation notice is used to instruct the battery swapping vehicle to initiate a new reserved battery swapping request again. When it is determined that the battery swapping vehicle does not meet the battery swapping requirements, a re - reservation notice is automatically sent to the battery swapping vehicle in a timely manner to ensure the battery operation management efficiency of the battery swapping station.

[0121] Under the premise that this solution comprehensively determines that the battery swapping vehicle meets the battery swapping requirements based on the vehicle information, the reserved battery swapping time, and the reserved battery swapping location, it instructs the battery swapping vehicle to drive to the target battery swapping station to ensure the effectiveness of the determination result of the subsequent battery allocation mode corresponding to the battery swapping vehicle.

[0122] In an alternative embodiment, as Figure 5 shown, when there are still vacant positions at the target battery swapping station reserved during the current period and it supports battery swapping for the current model of the battery swapping vehicle, it indicates that the order reservation is in an available reservation state. When the battery swapping vehicle drives to the vicinity of the target battery swapping station, that is, the current position of the battery swapping vehicle is within 100 meters around the target battery swapping station and the arrival time is within 30 minutes before and after the reserved battery swapping time, it indicates that the battery swapping vehicle's reservation is successful. For the non - reservation strategy, the battery with the highest power among the unreserved batteries at the target battery swapping station is allocated to the battery swapping vehicle for battery replacement.

[0123] The battery allocation method for the battery swapping station in this embodiment determines whether the battery swapping vehicle is in a non - reservation mode or a reservation mode according to the arrival time information and the current position information, and determines different battery allocation strategies based on different modes to allocate batteries and perform battery swapping for the battery swapping vehicle, so as to ensure that both reserved vehicles and non - reserved vehicles can perform battery swapping in a timely manner without having to wait for too long, avoiding the situation where non - reserved vehicles have nowhere to wait for battery swapping due to the small space of the battery swapping station and there is not enough space to move the battery swapping vehicle, and enhancing the operation management effect of the battery swapping station.

[0124] Embodiment 2

[0125] The battery distribution system of the battery swapping station in this embodiment is applied to a server or a server cluster, such as Figure 6 shown. The distribution system includes:

[0126] A data receiving module 310, configured to receive a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes the arrival time information of the battery swapping vehicle traveling to the target battery swapping station and the current location information;

[0127] A mode determination module 320, configured to determine the battery distribution mode of the battery swapping vehicle according to the arrival time information and the current location information; the battery distribution mode includes a non-reservation mode and a reservation mode. The non-reservation mode is used to represent the mode in which the battery swapping vehicle only reserves the battery at the target battery swapping station without reserving queuing for battery swapping, and the reservation mode is used to represent the mode in which the battery swapping vehicle reserves queuing for battery swapping at the target battery swapping station;

[0128] A battery distribution module 330, configured to determine the battery distribution strategy corresponding to the battery swapping vehicle based on the battery distribution mode, and distribute the battery of the target battery swapping station to the battery swapping vehicle based on the battery distribution strategy.

[0129] The data receiving module 310 extracts the arrival time information of the battery swapping vehicle traveling to the target battery swapping station and the current location information carried in the battery swapping service request. After comprehensive analysis by the mode determination module 320 according to the arrival time information, the current location information, and the site operation situation of the target battery swapping station, it is determined whether the battery swapping vehicle can arrive near the target battery swapping station within a limited time and whether queuing reservation for battery swapping can be achieved, so as to determine the battery swapping vehicle as the non-reservation mode or the reservation mode. Different battery distribution strategies are determined for the battery swapping vehicles in the non-reservation mode and the reservation mode. The battery distribution module 330 distributes the battery of the target battery swapping station according to the battery distribution strategy matching the battery swapping vehicle.

[0130] It should be noted that the above-mentioned battery swapping service request includes, but is not limited to, license plate number information, the remaining battery power information of the battery swapping vehicle, and the battery information of the battery to be replaced. This embodiment does not make specific limitations.

[0131] This solution determines whether the battery swapping vehicle is in the non-reservation mode or the reservation mode according to the arrival time information and the current location information, and determines different battery distribution strategies based on different modes to perform battery distribution and battery swapping for the battery swapping vehicle, so as to ensure that both reserved vehicles and non-reserved vehicles can perform battery swapping in a timely manner without waiting for too long, avoiding the situation where non-reserved vehicles have nowhere to wait for battery swapping due to the small site of the battery swapping station and there is not enough space to move the battery swapping vehicle, enhancing the operation management effect of the battery swapping station; adopting different battery distribution strategies for reserved vehicles and non-reserved vehicles can ensure the fairness of battery swapping, thereby improving the user experience and satisfaction.

[0132] In an alternative embodiment, as Figure 7 shown, the battery distribution module 330 includes:

[0133] A first distribution unit 331, configured to allocate a battery from the remaining batteries of the target swapping station to the swapping vehicle when it is determined that the battery distribution mode of the swapping vehicle is the reservation mode, and update the vehicle information of the arriving vehicles at the target swapping station; the vehicle information of the arriving vehicles is used to characterize the vehicle information of the reservation swapping vehicles that have traveled to the target swapping station and have been deducted fees, and the reservation swapping vehicle refers to a swapping vehicle whose battery distribution mode is the reservation mode.

[0134] A second distribution unit 332, configured to obtain the battery information and the vehicle information of the arriving vehicles at the target swapping station when it is determined that the battery distribution mode of the swapping vehicle is the non-reservation mode, and allocate a battery from the unreserved batteries of the target swapping station to the swapping vehicle according to the battery information and the vehicle information of the arriving vehicles.

[0135] After the first distribution unit 331 directly allocates a battery from the remaining batteries of the target swapping station to the swapping vehicle in the non-reservation mode, it decrements the first vehicle quantity of the reservation swapping vehicles that have traveled to the target swapping station and have been deducted fees in the vehicle information of the arriving vehicles by one.

[0136] The second distribution unit 332 screens out the reserved batteries from the remaining batteries of the target swapping station according to the battery information and the vehicle information of the arriving vehicles at the target swapping station, and directly allocates a battery from the unreserved batteries to the swapping vehicle in the reservation mode.

[0137] In this solution, the remaining batteries of the swapping station are directly distributed in the reservation mode, while the battery with the highest power in the unreserved batteries of the swapping station is distributed in the non-reservation mode, which ensures the swapping qualification of the swapping vehicles corresponding to the non-reservation mode and also reserves the batteries reserved by the swapping vehicles corresponding to the reservation mode, realizing the provision of instant swapping services for the arriving reservation swapping vehicles and non-reservation swapping vehicles based on different battery distribution strategies, and improving the operation efficiency of the swapping station in a small site.

[0138] In one embodiment, the first distribution unit 331 is specifically configured to: allocate a battery from the remaining batteries of the target swapping station to the swapping vehicle based on the position of the swapping vehicle in the reservation swapping queue.

[0139] In another embodiment, the first distribution unit 331 is further specifically configured to: select the battery with the highest power from the remaining batteries of the target swapping station and allocate it to the swapping vehicle.

[0140] For the swapping vehicles in the reservation mode of this solution, the batteries can be distributed according to the order of the swapping vehicles in the reservation swapping queue, or the highest battery can be directly selected for battery distribution, ensuring the flexibility of battery distribution.

[0141] In an optional implementation, the battery distribution module 330 further includes:

[0142] A fee notification unit 3301, configured to send a fee settlement notification to the battery swapping vehicle; the fee settlement notification is used to instruct the battery swapping vehicle to queue up at the target battery swapping station for deduction of fees.

[0143] This solution does not require the participation of staff, automatically notifies the battery swapping vehicle to queue up at the battery swapping station for deduction of fees and battery swapping, ensures the success of fee deduction, and guarantees the standardization of the operation and management of the battery swapping station, improves the working efficiency of the battery swapping station, and enhances the user experience.

[0144] In an optional implementation, the battery information includes the quantity information and power information of the remaining batteries in the target battery swapping station, and the arriving vehicle information includes the first vehicle quantity of the reserved battery swapping vehicles arriving at the target battery swapping station. The second distribution unit 332 is specifically configured to:

[0145] Obtain the second vehicle quantity of the reserved battery swapping vehicles in the reserved battery swapping queue, and determine the third vehicle quantity of the reserved battery swapping vehicles that have not completed battery swapping according to the first vehicle quantity and the second vehicle quantity;

[0146] Based on the third vehicle quantity and the quantity information of the remaining batteries in the target battery swapping station, determine the unreserved batteries of the target battery swapping station;

[0147] Based on the power information of the unreserved batteries of the target battery swapping station, select the battery with the highest power from the unreserved batteries of the target battery swapping station and allocate it to the battery swapping vehicle.

[0148] This solution selects the battery with the highest power from the unreserved batteries of the target battery swapping station according to the first vehicle data of the reserved battery swapping vehicles, the remaining battery quantity information, and the power information of the target battery swapping station, and allocates it to the battery swapping vehicle, ensuring the accuracy of the allocation of the battery with the highest power among the unreserved batteries.

[0149] In an optional implementation, the battery swapping service request includes a reserved battery swapping time, the arrival time information includes the arrival time of the battery swapping vehicle, and the current location information includes the current location of the battery swapping vehicle; the mode determination module 320 includes:

[0150] A detection unit 321, configured to detect whether the current location of the battery swapping vehicle is within the set area corresponding to the target battery swapping station, and detect whether the arrival time of the battery swapping vehicle is within the effective battery swapping time period; the effective battery swapping time period is set based on the reserved battery swapping time;

[0151] A first determination unit 322, configured to determine that the battery distribution mode is the reservation mode when it is detected that the current location of the battery swapping vehicle is within the set area and the arrival time of the battery swapping vehicle is within the effective battery swapping time period;

[0152] The second determination unit 323 is configured to determine that the battery allocation mode is a non-reservation mode when it is detected that the current position of the battery swapping vehicle is not within the set area range, or the arrival time of the battery swapping vehicle is not within the effective battery swapping time period.

[0153] The detection unit 321 detects whether the current position of the battery swapping vehicle is within 100 meters around the target battery swapping station, and further detects whether the arrival time of the battery swapping vehicle is within 30 minutes before and after the reserved battery swapping time. If both conditions are met, the first determination unit 322 determines that the battery allocation mode of the battery swapping vehicle is the reservation mode. If either condition is not met, the second determination unit 323 determines that the battery allocation mode of the battery swapping vehicle is the non-reservation mode.

[0154] This solution simultaneously ensures the accuracy and reliability of the judgment result of the battery allocation mode corresponding to the battery swapping vehicle based on the current position information and the arrival time information, providing an effective basis for further battery allocation in the reservation mode or the non-reservation mode.

[0155] In an alternative embodiment, as Figure 7 shown, the allocation system further includes:

[0156] A request receiving module 301, configured to receive a reserved battery swapping request sent by the battery swapping vehicle; the reserved battery swapping request includes vehicle information, a reserved battery swapping time, and a reserved battery swapping location;

[0157] A judgment module 302, configured to judge whether the battery swapping vehicle meets the battery swapping requirements according to the vehicle information, the reserved battery swapping time, and the reserved battery swapping location;

[0158] A battery swapping notification sending module 303, configured to send a battery swapping notification to the battery swapping vehicle when the battery swapping vehicle meets the battery swapping requirements; the battery swapping notification is used to instruct the battery swapping vehicle to drive to the target battery swapping station corresponding to the reserved battery swapping location for battery swapping.

[0159] The request receiving module 301 first judges whether there is a vacant position in the battery swapping site at the reserved battery swapping location during the current period for the battery swapping vehicle to perform battery swapping according to the reserved battery swapping time, and then judges whether the reserved battery swapping location supports battery replacement for the current vehicle model according to the vehicle information. When the judgment module 302 judges that the battery swapping vehicle meets both of the above judgment conditions, it indicates that the battery swapping vehicle meets the battery swapping requirements, and the battery swapping notification sending module 303 sends a battery swapping notification to the battery swapping vehicle. When the judgment module 302 judges that the battery swapping vehicle does not meet any of the above judgment conditions, it indicates that the battery swapping vehicle does not meet the battery swapping conditions, and a re-reservation notification is sent to the battery swapping vehicle; the re-reservation notification is used to instruct the battery swapping vehicle to initiate a new reserved battery swapping request again. When it is judged that the battery swapping vehicle does not meet the battery swapping requirements, a re-reservation notification is automatically sent to the battery swapping vehicle in a timely manner to ensure the battery operation management efficiency of the battery swapping station.

[0160] Based on the vehicle information, the reserved battery swapping time, and the reserved battery swapping location, this solution determines that the battery swapping vehicle meets the battery swapping requirements, and then instructs the battery swapping vehicle to drive to the target battery swapping station, ensuring the effectiveness of the subsequent determination result of the battery allocation mode corresponding to the battery swapping vehicle.

[0161] In the battery allocation system of the battery swapping station in this embodiment, the mode determination module determines whether the battery swapping vehicle is in a non-reserved mode or a reserved mode based on the arrival time information and the current location information. The battery allocation module determines different battery allocation strategies based on different modes to allocate batteries and perform battery swapping for the battery swapping vehicle, so as to ensure that both reserved vehicles and non-reserved vehicles can perform battery swapping in a timely manner without waiting for too long, avoiding the situation where non-reserved vehicles have nowhere to wait for battery swapping due to the small site of the battery swapping station and there is not enough space to move the battery swapping vehicle, and enhancing the operation and management effect of the battery swapping station.

[0162] Embodiment 3

[0163] Figure 8 It is a schematic structural diagram of an electronic device provided in this embodiment. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the battery allocation method of the battery swapping station in Embodiment 1. Figure 8 The displayed electronic device 90 is only an example and should not impose any restrictions on the functions and usage scope of the embodiments of the present invention.

[0164] As Figure 8 shown, the electronic device 90 can be presented in the form of a general computing device, for example, it can be a server device. The components of the electronic device 90 may include, but are not limited to: at least one of the above-mentioned processors 91, at least one of the above-mentioned memories 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0165] The bus 93 includes a data bus, an address bus, and a control bus.

[0166] The memory 92 may include volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922, and may further include a read-only memory (ROM) 923.

[0167] The memory 92 may further include a program / utilities 925 having a set (at least one) of program modules 924. Such program modules 924 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0168] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the battery allocation method for the battery swapping station in Embodiment 1 of the present invention.

[0169] The electronic device 90 can also communicate with one or more external devices 94 (such as a keyboard, a pointing device, etc.). Such communication can be carried out through the input / output (I / O) interface 95. And, the device 90 for model generation can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through the network adapter 96. As Figure 8 shown, the network adapter 96 communicates with other modules of the device 90 for model generation through the bus 93. It should be understood that although not shown in the figure, other hardware and / or software modules can be used in combination with the device 90 for model generation, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0170] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present invention, the features and functions of two or more of the above-described units / modules can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.

[0171] Embodiment 4

[0172] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the battery allocation method for the battery swapping station in Embodiment 1.

[0173] Among them, the more specific forms that the readable storage medium can adopt can include but are not limited to: portable disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0174] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the battery allocation method for the battery swapping station in Embodiment 1.

[0175] Among them, the program code for implementing the present invention can be written in any combination of one or more programming languages, and the program code can be executed entirely on the user device, partially on the user device, executed as an independent software package, partially on the user device and partially on a remote device, or entirely on a remote device.

[0176] Although the specific embodiments of the present invention have been described above, those skilled in the art should understand that this is only an example, and the protection scope of the present invention is defined by the appended claims. Without departing from the principle and essence of the present invention, those skilled in the art can make various changes or modifications to these embodiments, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A method for distributing batteries in a battery swapping station, characterized in that, The allocation method includes: Receiving a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes the arrival time information and the current location information of the battery swapping vehicle traveling to the target battery swapping station; Determining the battery allocation mode of the battery swapping vehicle according to the arrival time information and the current location information; the battery allocation mode includes a non-reservation mode and a reservation mode. The non-reservation mode is used to represent the mode in which the battery swapping vehicle only reserves a battery at the target battery swapping station without reserving queuing for battery swapping. The reservation mode is used to represent the mode in which the battery swapping vehicle reserves queuing for battery swapping at the target battery swapping station; Determining the battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode, and allocating the battery of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy.

2. The battery allocation method for the battery swapping station according to claim 1, wherein The step of determining the battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode, and allocating the battery of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy includes: When it is determined that the battery allocation mode of the battery swapping vehicle is the reservation mode, allocating a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle, and updating the arrival vehicle information of the target battery swapping station; the arrival vehicle information is used to represent the vehicle information of the reservation battery swapping vehicle that has traveled to the target battery swapping station and has been deducted. The reservation battery swapping vehicle refers to the battery swapping vehicle whose battery allocation mode is the reservation mode; When it is determined that the battery allocation mode of the battery swapping vehicle is the non-reservation mode, obtaining the battery information and the arrival vehicle information of the target battery swapping station, and allocating a battery from the unreserved batteries of the target battery swapping station according to the battery information and the arrival vehicle information.

3. The method for allocating batteries of a battery swapping station according to claim 2, wherein The step of allocating a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle includes: Allocating a battery from the remaining batteries of the target battery swapping station to the battery swapping vehicle based on the position of the battery swapping vehicle in the reservation battery swapping queue; Or, selecting the battery with the highest power from the remaining batteries of the target battery swapping station and allocating it to the battery swapping vehicle.

4. The battery allocation method for a battery swapping station according to claim 2, wherein, The battery information includes the quantity information and the power information of the remaining batteries in the target battery swapping station. The arrival vehicle information includes the first vehicle quantity of the reservation battery swapping vehicles arriving at the target battery swapping station; The step of allocating a battery from the unreserved batteries of the target battery swapping station to the battery swapping vehicle according to the battery information and the arrival vehicle information includes: Obtaining the second vehicle quantity of the reservation battery swapping vehicles in the reservation battery swapping queue, and determining the third vehicle quantity of the reservation battery swapping vehicles whose battery swapping has not been completed according to the first vehicle quantity and the second vehicle quantity; Determining the unreserved batteries of the target battery swapping station based on the third vehicle quantity and the quantity information of the remaining batteries in the target battery swapping station; Selecting the battery with the highest power from the unreserved batteries of the target battery swapping station and allocating it to the battery swapping vehicle based on the power information of the unreserved batteries of the target battery swapping station.

5. The battery distribution method for a battery swapping station according to claim 1, wherein, The battery swapping service request includes a reserved battery swapping time. The arrival time information includes the arrival time of the battery swapping vehicle, and the current location information includes the current location of the battery swapping vehicle; The step of determining the battery allocation mode of the battery swapping vehicle according to the arrival time information and the current location information includes: Detecting whether the current location of the battery swapping vehicle is within the set area corresponding to the target battery swapping station, and detecting whether the arrival time of the battery swapping vehicle is within the effective battery swapping time period; the effective battery swapping time period is set based on the reserved battery swapping time; When it is detected that the current location of the battery swapping vehicle is within the set area and the arrival time of the battery swapping vehicle is within the effective battery swapping time period, determining the battery allocation mode as the reservation mode; When it is detected that the current location of the battery swapping vehicle is not within the set area, or the arrival time of the battery swapping vehicle is not within the effective battery swapping time period, determining the battery allocation mode as the non-reservation mode.

6. The battery distribution method for a battery swapping station according to claim 2, wherein, Before the step of allocating batteries from the remaining batteries of the target battery swapping station to the battery swapping vehicle and updating the arrival vehicle information of the target battery swapping station, the allocation method further includes: Sending a fee settlement notice to the battery swapping vehicle; the fee settlement notice is used to instruct the battery swapping vehicle to queue at the target battery swapping station for deduction of fees.

7. The battery distribution method of the battery swapping station according to claim 1, wherein, Before the step of receiving the battery swapping service request sent by the battery swapping vehicle, the allocation method further includes: Receiving a reserved battery swapping request sent by the battery swapping vehicle; the reserved battery swapping request includes vehicle information, a reserved battery swapping time, and a reserved battery swapping location; Judging whether the battery swapping vehicle meets the battery swapping requirements according to the vehicle information, the reserved battery swapping time, and the reserved battery swapping location; When the battery swapping vehicle meets the battery swapping requirements, sending a battery swapping notice to the battery swapping vehicle; the battery swapping notice is used to instruct the battery swapping vehicle to drive to the target battery swapping station corresponding to the reserved battery swapping location for battery swapping.

8. A battery distribution system for a battery swapping station, characterized in that, The allocation system includes: A data receiving module, configured to receive a battery swapping service request sent by a battery swapping vehicle; the battery swapping service request includes arrival time information and current location information of the battery swapping vehicle driving to a target battery swapping station; A mode determining module, configured to determine the battery allocation mode of the battery swapping vehicle according to the arrival time information and the current location information; the battery allocation mode includes a non-reservation mode and a reservation mode. The non-reservation mode is used to represent a mode in which the battery swapping vehicle only reserves batteries at the target battery swapping station without reserving queuing for battery swapping, and the reservation mode is used to represent a mode in which the battery swapping vehicle reserves queuing for battery swapping at the target battery swapping station; A battery allocation module, configured to determine a battery allocation strategy corresponding to the battery swapping vehicle based on the battery allocation mode, and allocate the batteries of the target battery swapping station to the battery swapping vehicle based on the battery allocation strategy.

9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the battery allocation method for the battery swapping station as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, it implements the battery allocation method for the battery swapping station as described in any one of claims 1-7.