Automatic battery replacement system and method for automatically replacing power battery of vehicle

CN122770652APending Publication Date: 2026-09-18SUNSHINE MINGDAO ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510321766.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2026-09-18

AI Technical Summary

Technical Problem

[0004]在相关技术中,由于不同换电站(如不同品牌车企运营的换电站)通常支持不同的站车交互协议,导致同一车辆往往无法在不同的换电站接受换电服务,因此换电站难以兼容多种换电车辆,既限制了换电站所提供换电服务的覆盖范围,也限制了电动汽车可用换电站的数量,导致换电服务的通用性较差,亟待改进

Benefits of technology

[0037]The TT described in this invention includes a battery swapping station that provides battery swapping services and a battery swapping vehicle that receives battery swapping services. The battery swapping vehicle is equipped with a replaceable first power battery, and the battery swapping station is equipped with an automatic battery swapping device at the battery swapping location. The battery swapping vehicle and the battery swapping station first establish a wireless connection so that the two can send and receive wireless communication messages through the wireless connection during the subsequent battery swapping service process (i.e., the two can interact through the wireless connection). Specifically, the battery-swapping vehicle sends a first status message to the battery-swapping station. The battery-swapping station determines whether the vehicle meets the battery-swapping conditions based on the pre-swapping status information carried in the first status message. If the battery-swapping vehicle meets the battery-swapping conditions and is parked at the battery-swapping location, the battery-swapping station sends an unlock command message to the vehicle. The vehicle responds to this message by unlocking the first power battery and returns a corresponding unlock reply message. If the unlock reply message indicates that the first power battery has been successfully unlocked, the battery-swapping station controls the automatic battery-swapping equipment to replace the first power battery with a second power battery. After the replacement is completed, the battery-swapping station sends a lock command message to the vehicle. The vehicle responds to this message by locking the second power battery and returns a corresponding lock reply message. After successful locking, the vehicle sends a second status message to the battery-swapping station and leaves the battery-swapping location. The battery-swapping station performs post-swapping processing based on the post-swapping status information carried in the second status message.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122770652A_ABST
    Figure CN122770652A_ABST
Patent Text Reader

Abstract

This invention provides an automatic battery swapping system and a method for automatically swapping a vehicle's power battery. The method is applied to an automatic battery swapping system including a battery swapping vehicle and a battery swapping station. The battery swapping vehicle is equipped with a replaceable first power battery, and an automatic battery swapping device is installed at the battery swapping location within the battery swapping station. The method includes: establishing a wireless connection between the battery swapping vehicle and the battery swapping station for sending and receiving wireless communication messages; the battery swapping vehicle sending a first status message to the battery swapping station; the battery swapping station, based on the pre-swapping status information in the message, determining that the battery swapping vehicle meets the swapping conditions and is parked at the swapping location, sending an unlock command message to the battery swapping vehicle; and after the first power battery is successfully unlocked, controlling the automatic battery swapping device to replace the first power battery and then sending a lock command message to the battery swapping vehicle; after successful locking, the battery swapping vehicle sending a second status message to the battery swapping station and leaving the swapping location; and the battery swapping station performing post-swapping processing based on the post-swapping status information in the second status message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle battery swapping, and more particularly to an automatic battery swapping system and a method for automatically swapping vehicle power batteries. Background Technology

[0002] With the widespread adoption of electric vehicles, technologies for replenishing vehicle batteries have also developed rapidly. Among these, battery swapping technology, which replenishes electric vehicles by replacing the power battery, has been adopted by some companies due to its advantages such as fast replenishment speed and reduced vehicle costs.

[0003] At present, vehicles waiting to have their batteries swapped typically need to enter a battery swapping station and connect to the battery swapping equipment within the station via a wireless network in order to complete the battery swapping process.

[0004] In related technologies, different battery swapping stations (such as those operated by different car manufacturers) typically support different station-vehicle interaction protocols, which means that the same vehicle often cannot receive battery swapping services at different battery swapping stations. Therefore, battery swapping stations are difficult to be compatible with a variety of battery swapping vehicles, which limits both the coverage of the battery swapping services provided by the stations and the number of available battery swapping stations for electric vehicles. This results in poor universality of battery swapping services, which urgently needs to be improved. Summary of the Invention

[0005] In view of this, the present invention provides an automatic battery swapping system and a method for automatically swapping vehicle power batteries to overcome the shortcomings of related technologies.

[0006] Specifically, the present invention is achieved through the following technical solution:

[0007] According to a first aspect of the present invention, a method for automatically swapping a vehicle's power battery is provided, applied to an automatic battery swapping system, the system comprising a battery swapping vehicle and a battery swapping station, the battery swapping vehicle being equipped with a replaceable first power battery, and an automatic battery swapping device being installed at a battery swapping location in the battery swapping station, the method comprising:

[0008] The battery swapping vehicle establishes a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0009] The battery swapping vehicle sends a first status message to the battery swapping station, and the battery swapping station determines whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0010] When the battery swapping station determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location, it sends an unlocking command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by unlocking the first power battery and returns a corresponding unlocking reply message.

[0011] When the unlock reply message indicates that the first power battery has been successfully unlocked, the battery swapping station controls the automatic battery swapping equipment to replace the first power battery with the second power battery.

[0012] After the battery swapping station completes the swapping, it sends a lock command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by locking the second power battery and returns a corresponding lock reply message.

[0013] After the battery swapping vehicle is successfully locked, it sends a second status message to the battery swapping station and drives away from the battery swapping location. The battery swapping station performs post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0014] According to a second aspect of the present invention, a method for automatically swapping a vehicle's power battery is provided, applied to a battery-swapping vehicle equipped with a replaceable first power battery in an automatic battery-swapping system, the automatic battery-swapping system further comprising a battery-swapping station, wherein an automatic battery-swapping device is installed at a battery-swapping location in the battery-swapping station, the method comprising:

[0015] Establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection;

[0016] Send a first status message to the battery swapping station so that the battery swapping station can determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0017] The system receives an unlock command message sent by the battery swapping station when it determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location. In response to the message, the system unlocks the first power battery and returns a corresponding unlock reply message. This allows the battery swapping station to control the automatic battery swapping equipment to replace the first power battery with the second power battery when the unlock reply message indicates that the first power battery has been successfully unlocked.

[0018] Upon receiving the lockout command message sent by the battery swapping station after the swapping is completed, the second power battery is locked in response to the message, and a corresponding lockout reply message is returned.

[0019] After successful locking, the vehicle sends a second status message to the battery swapping station and leaves the battery swapping location. The post-battery swapping status information carried in the second status message is used by the battery swapping station for post-battery swapping processing.

[0020] According to a third aspect of the present invention, a method for automatically swapping a vehicle's power battery is provided, applied to a battery swapping station in an automatic battery swapping system, wherein an automatic battery swapping device is installed at the battery swapping location in the battery swapping station, and the automatic battery swapping system further includes a battery swapping vehicle equipped with a replaceable first power battery, the method comprising:

[0021] Establish a wireless connection with the battery swapping vehicle so that the two can send and receive wireless communication messages through the wireless connection;

[0022] Receive the first status message sent by the battery swapping vehicle, and determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0023] If it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location, an unlocking command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to unlock the first power battery and returns a corresponding unlocking reply message.

[0024] If the unlock reply message indicates that the first power battery has been successfully unlocked, control the automatic battery swapping device to replace the first power battery with the second power battery.

[0025] After the replacement is completed, a lock command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to lock the second power battery and returns a corresponding lock reply message, and after successful locking, sends a second status message to the battery swapping station and drives away from the battery swapping location;

[0026] Post-battery swapping processing is performed based on the post-battery swapping status information carried in the second status message.

[0027] According to a fourth aspect of the present invention, an automatic battery swapping system is provided, the system comprising a battery swapping vehicle and a battery swapping station, the battery swapping vehicle being equipped with a replaceable first power battery, and the battery swapping station being equipped with an automatic battery swapping device at a battery swapping location, wherein:

[0028] The battery swapping vehicle is used to establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0029] The battery swapping vehicle is used to send a first status message to the battery swapping station, and the battery swapping station is used to determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0030] The battery swapping station is used to send an unlocking command message to the battery swapping vehicle when it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location. The battery swapping vehicle is used to unlock the first power battery in response to the message and return a corresponding unlocking reply message.

[0031] The battery swapping station is used to control the automatic battery swapping equipment to replace the first power battery with the second power battery when the unlocking reply message indicates that the first power battery has been successfully unlocked.

[0032] The battery swapping station is used to send a lock command message to the battery swapping vehicle after the swapping is completed. The battery swapping vehicle is used to lock the second power battery in response to the message and return a corresponding lock reply message.

[0033] The battery swapping vehicle is used to send a second status message to the battery swapping station after successful locking and then drive away from the battery swapping location. The battery swapping station is used to perform post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0034] According to a fifth aspect of the invention, a computer-readable storage medium is provided having computer instructions stored thereon that, when executed by a processor, implement the steps of the method as described in the second or third aspect.

[0035] According to a sixth aspect of the present invention, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the method as described in the second or third aspect.

[0036] The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

[0037] The TT described in this invention includes a battery swapping station that provides battery swapping services and a battery swapping vehicle that receives battery swapping services. The battery swapping vehicle is equipped with a replaceable first power battery, and the battery swapping station is equipped with an automatic battery swapping device at the battery swapping location. The battery swapping vehicle and the battery swapping station first establish a wireless connection so that the two can send and receive wireless communication messages through the wireless connection during the subsequent battery swapping service process (i.e., the two can interact through the wireless connection). Specifically, the battery-swapping vehicle sends a first status message to the battery-swapping station. The battery-swapping station determines whether the vehicle meets the battery-swapping conditions based on the pre-swapping status information carried in the first status message. If the battery-swapping vehicle meets the battery-swapping conditions and is parked at the battery-swapping location, the battery-swapping station sends an unlock command message to the vehicle. The vehicle responds to this message by unlocking the first power battery and returns a corresponding unlock reply message. If the unlock reply message indicates that the first power battery has been successfully unlocked, the battery-swapping station controls the automatic battery-swapping equipment to replace the first power battery with a second power battery. After the replacement is completed, the battery-swapping station sends a lock command message to the vehicle. The vehicle responds to this message by locking the second power battery and returns a corresponding lock reply message. After successful locking, the vehicle sends a second status message to the battery-swapping station and leaves the battery-swapping location. The battery-swapping station performs post-swapping processing based on the post-swapping status information carried in the second status message.

[0038] Therefore, this specification presents a novel station-vehicle interaction process and corresponding interaction protocol, as well as an automatic battery swapping scheme based on this process and protocol. Specifically, the interaction protocol is based on a wireless connection between the battery swapping vehicle and the battery swapping station. The two interact by sending and receiving communication messages through this wireless connection to complete the battery swapping service. During the interaction, they sequentially send and receive communication messages such as a first status message, an unlock command message, a lock command message, and a second status message via the wireless connection, thereby sequentially implementing steps such as pre-swap verification, unlocking the battery (before the swap begins), locking the battery (after the swap is completed), and reporting information after the swap. It is understood that regardless of the type of battery swapping station and vehicle, as long as both parties support the above interaction protocol and send and receive communication messages according to the above interaction process, the battery swapping service can be implemented in an orderly manner. This improves the bidirectional compatibility of the battery swapping station and vehicle (expanding both the coverage of the battery swapping service provided by the station and the number of available battery swapping stations for electric vehicles) and enhances the versatility of the battery swapping service, while ensuring smooth battery swapping for the vehicle. Attached Figure Description

[0039] To more clearly illustrate the technical solutions of the present invention, the accompanying drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.

[0040] Figure 1 This is a schematic diagram illustrating the interaction between a battery swapping vehicle and a battery swapping station according to an embodiment of the present invention;

[0041] Figure 2 This is a schematic diagram of the structure of an automatic battery swapping system according to an embodiment of the present invention;

[0042] Figure 3 This is a flowchart illustrating an automatic vehicle power battery replacement method according to an embodiment of the present invention;

[0043] Figure 4 This is an interactive flowchart illustrating an embodiment of the present invention for an automatic vehicle power battery replacement method;

[0044] Figure 5 This is a flowchart illustrating another method for automatically replacing a vehicle's power battery, as shown in an embodiment of the present invention.

[0045] Figure 6 This is a flowchart illustrating another method for automatically replacing a vehicle's power battery, as shown in an embodiment of the present invention.

[0046] Figure 7 This is a schematic structural diagram of an electronic device according to an embodiment of the present invention;

[0047] Figure 8 This is a block diagram of an automatic vehicle power battery replacement device according to an embodiment of the present invention;

[0048] Figure 9 This is a block diagram of another device for automatically replacing a vehicle's power battery, as shown in an embodiment of the present invention. Detailed Implementation

[0049] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present invention.

[0050] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular forms “a,” “the,” and “the” used in this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0051] It should be understood that although the terms first, second, third, etc., may be used in this invention to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of this invention, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0052] With the widespread adoption of electric vehicles, technologies for replenishing vehicle batteries have also developed rapidly. Among these, battery swapping technology, which replenishes electric vehicles by replacing the power battery, has been adopted by some companies due to its advantages such as fast replenishment speed and reduced vehicle costs.

[0053] At present, vehicles waiting to have their batteries swapped typically need to enter a battery swapping station and connect to the battery swapping equipment within the station via a wireless network in order to complete the battery swapping process.

[0054] In related technologies, different battery swapping stations (such as those operated by different car manufacturers) typically support different station-vehicle interaction protocols, which means that the same vehicle often cannot receive battery swapping services at different battery swapping stations. Therefore, battery swapping stations are difficult to be compatible with a variety of battery swapping vehicles, which limits both the coverage of the battery swapping services provided by the stations and the number of available battery swapping stations for electric vehicles. This results in poor universality of battery swapping services, which urgently needs to be improved.

[0055] To address the aforementioned technical problems in related technologies, this invention proposes a novel station-vehicle interaction process and corresponding interaction protocol, as well as an automatic battery swapping scheme based on this process and protocol. Specifically, the battery swapping vehicle and the battery swapping station sequentially perform steps such as pre-swapping verification, battery unlocking (before battery swapping begins), battery locking (after battery swapping is completed), and post-swapping information reporting through wireless interaction. This aims to improve the bidirectional compatibility between the battery swapping station and the battery swapping vehicle while ensuring smooth battery swapping, thereby enhancing the versatility of the battery swapping service.

[0056] like Figure 1As shown, the battery swapping vehicle 11 transmits and receives wireless signals through its own wireless transceiver equipment (or transceiver), and the battery swapping station 12 transmits and receives wireless signals through its locally installed wireless transceiver equipment. The two establish a wireless connection and interact via the corresponding wireless signals. The wireless connection described in this embodiment can be a Wi-Fi connection, a Bluetooth connection, or a NearLink connection, etc., and this embodiment does not limit this to any particular type. Taking a Wi-Fi connection as an example, the Wi-Fi router in the battery swapping station 12 can transmit Wi-Fi signals into the surrounding space. After the battery swapping vehicle 11 accesses the Wi-Fi network (i.e., establishes a Wi-Fi connection with the battery swapping station 12), it can interact with the battery swapping station 12 by transmitting and receiving Wi-Fi signals.

[0057] It should be noted that the battery swapping vehicles described in this manual (such as...) Figure 1 The battery-swapping vehicle 11 shown is an electric vehicle equipped with battery-swapping functionality. This vehicle uses the electrical energy stored in a replaceable battery (or replaceable battery) as at least a partial power source. It can be a hybrid electric vehicle (using fuel and battery-stored electrical energy separately or simultaneously as power sources), a hydrogen-electric hybrid vehicle (using hydrogen stored in a hydrogen storage device and battery-stored electrical energy separately or simultaneously as power sources), or a pure electric vehicle (using only battery-stored electrical energy as a power source). In terms of its functional form, the battery-swapping vehicle can be any type of vehicle, such as a truck, pickup truck, sedan, SUV (Sport Utility Vehicle), or motorhome; or it can be categorized as a private car or commercial vehicle, etc. This embodiment of the invention does not impose any limitations on this.

[0058] In one embodiment, the battery-swapping vehicle can be a pure electric commercial vehicle, that is, a commercial vehicle that uses only the electrical energy stored in the power battery as its power source. Specifically, it can be a truck (refrigerated truck, tanker truck, mining truck, etc.), a bus (bus, long-distance bus, tourist bus), a special vehicle (fire truck, ambulance, garbage truck), etc., which will not be elaborated further.

[0059] When the charge stored in the replaceable power battery is insufficient or the battery condition is poor, the battery-swapping vehicle has a battery-swapping need. The automatic battery-swapping scheme described in this invention is used to perform a battery-swapping operation on the vehicle within a battery-swapping station to provide battery-swapping services and thus meet its battery-swapping needs. The automatic battery-swapping scheme in this specification is used to replace the currently installed power battery in the battery-swapping vehicle with another power battery. For simplicity, the battery before replacement will be referred to as the first power battery, and the battery after replacement will be referred to as the second power battery. This invention does not limit the specific information such as the type, size, material, and capacity of the first and second power batteries. Of course, their sizes should be the same or as close as possible to ensure that the second power battery can be smoothly installed in the battery frame (or battery box) after being removed from the vehicle.

[0060] The battery swapping station described in this embodiment of the invention has a battery swapping function for electric vehicles and can provide battery swapping services for the aforementioned vehicles. This specification does not limit the brand, location, or internal equipment layout of the battery swapping station; it can be reasonably configured according to actual needs.

[0061] The automatic battery swapping system and its implementation scheme described in this invention will be described in detail below with reference to the accompanying drawings and related embodiments.

[0062] This invention proposes an automatic battery swapping system, comprising a battery swapping vehicle and a battery swapping station. The battery swapping vehicle is equipped with a replaceable first power battery, and the battery swapping station is equipped with automatic battery swapping equipment at the battery swapping location.

[0063] The battery swapping vehicle is used to establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0064] The battery swapping vehicle is used to send a first status message to the battery swapping station, and the battery swapping station is used to determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0065] The battery swapping station is used to send an unlocking command message to the battery swapping vehicle when it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location. The battery swapping vehicle is used to unlock the first power battery in response to the message and return a corresponding unlocking reply message.

[0066] The battery swapping station is used to control the automatic battery swapping equipment to replace the first power battery with the second power battery when the unlocking reply message indicates that the first power battery has been successfully unlocked.

[0067] The battery swapping station is used to send a lock command message to the battery swapping vehicle after the swapping is completed. The battery swapping vehicle is used to lock the second power battery in response to the message and return a corresponding lock reply message.

[0068] The battery swapping vehicle is used to send a second status message to the battery swapping station after successful locking and then drive away from the battery swapping location. The battery swapping station is used to perform post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0069] The specific interaction process between the battery swapping vehicles and the battery swapping stations in this system can be found in the following embodiments, which will not be elaborated here.

[0070] Figure 2 This is a schematic diagram illustrating the structure of an automatic battery swapping system according to an embodiment of the present invention. Figure 2 As shown, the battery swapping station 22 is equipped with a battery swapping controller 221, wireless communication equipment 222 (such as a Wi-Fi router, Bluetooth hotspot device, etc.), and various battery swapping related equipment (such as an RFID reader 223, a traffic restriction device 224, an automatic battery swapping device 225, fire-fighting equipment 226, a smart meter 227, and a charging pile 228 and its connected switch 229, etc.). The wireless communication equipment 222 in the battery swapping station 22 sends downlink communication messages to the battery swapping vehicle or receives uplink communication messages sent by the battery swapping vehicle in the form of transmitting and receiving wireless signals. The battery swapping controller 221 is used to generate the downlink communication messages or process the uplink communication messages according to preset logic, which will not be described in detail.

[0071] As the service target of the battery swapping station 22, the battery swapping vehicle 21 can be of any type, such as a tractor 211, a van 212, a sedan 213, an SUV 214, etc. Any battery swapping vehicle described in this invention can be any of the above-mentioned vehicles. The following related embodiments use the tractor 211 as an example for illustrative purposes. Of course, any battery swapping vehicle is also equipped with corresponding wireless communication equipment (or vehicle transceiver), controllers (such as domain controllers, vehicle controllers VCU, microcontroller units MCU, battery management systems BMS, etc.) and battery lock control equipment (such as motors that control unlocking and locking, etc.) to send and receive wireless communication messages, process wireless communication messages, and perform unlocking and locking actions.

[0072] In addition, at least some of the equipment in the battery swapping vehicle 21 and the battery swapping station 22 (such as the battery swapping controller 221) can be connected to the cloud-deployed server 23, so that the server 23 can participate in the online implementation of some functions of the battery swapping service (such as information updates, battery swapping station recommendations and navigation, online automatic settlement after battery swapping, and service evaluation after battery swapping), thereby improving the intelligence level of the automatic battery swapping system and the battery swapping service.

[0073] Figure 3This is a flowchart illustrating an embodiment of the present invention of a method for automatically swapping a vehicle's power battery. The method is applied to an automatic battery swapping system, which includes a battery swapping vehicle and a battery swapping station. The battery swapping vehicle (e.g., Figure 1 The battery swapping vehicle 11 shown is or Figure 2 The battery swapping vehicle 21 shown is equipped with a removable first power battery, and the battery swapping station is equipped with automatic battery swapping equipment (such as...). Figure 2 The automatic battery swapping device 225 shown is an example. Figure 3 As shown, the method includes steps 302-312.

[0074] Step 302: The battery swapping vehicle establishes a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0075] For subsequent wireless communication (i.e., sending and receiving wireless communication messages), the battery swapping vehicle and the battery swapping station need to establish a wireless connection first. This wireless connection can be a Wi-Fi connection, a Bluetooth connection, or a NearLink connection; of course, other forms of wireless connection can also be used, and this specification does not limit this approach.

[0076] In one embodiment, given that battery swapping stations typically occupy a certain space, and factors such as installation location and operating power can affect the effective signal range (or effective signal radius) of the wireless communication equipment within the station, the battery swapping vehicle can search for the station's wireless signal (emitted by the wireless communication equipment within the station) while approaching it or before and after entering the station. Upon finding the station's wireless signal, the vehicle establishes a wireless connection using the station's wireless login information. For example, with Wi-Fi, the Wi-Fi router in the station can transmit Wi-Fi signals to the surrounding space, allowing the vehicle to access the Wi-Fi network after finding the signal and completing the login process. Similarly, with Bluetooth, the Bluetooth hotspot device in the station can transmit Bluetooth signals to the surrounding space, allowing the vehicle to access the Bluetooth hotspot (or pair) after finding the signal.

[0077] In one embodiment, the wireless login information may include the target wireless name and target wireless password of the battery swapping station, such as Wi-Fi name and password, Bluetooth hotspot name and password, etc. In this case, the battery swapping vehicle can obtain the aforementioned wireless login information in various ways. For example, it can first determine the target wireless name based on the searched wireless signal, and then query the target wireless password corresponding to the target wireless name from the wireless account information list stored locally in the battery swapping vehicle. The wireless account information list records at least one wireless password corresponding to a wireless account name (this list can be considered as recording the mapping relationship between wireless names and passwords). Therefore, the battery swapping vehicle only needs to query this list after searching for the target wireless name to quickly determine the corresponding target wireless password. Furthermore, the wireless login information recorded in the wireless account information list can be wireless login information that the battery swapping vehicle has used before the current moment; in other words, after successfully establishing a connection with any battery swapping station, the battery swapping vehicle can record the corresponding wireless login information in the aforementioned wireless account information list so that it can be directly queried when connecting again. Of course, the aforementioned wireless account information list can also be pre-written into the local storage space when the vehicle leaves the factory.

[0078] For example, if the automatic battery swapping system also includes a server, the target wireless name can be determined first based on the searched wireless signal. Then, a password query request containing the target wireless name can be sent to the server, and the target wireless password returned by the server in response to the request can be received. In this way, the battery swapping vehicle can temporarily obtain the accurate target wireless password from the cloud server, minimizing the possibility of login failure due to expired locally stored passwords. Of course, the battery swapping vehicle can also obtain the aforementioned list of wireless account information from the server in advance and store it in its local storage space, which will not be elaborated further. It is understood that the server can uniformly manage the wireless accounts and passwords of each battery swapping station (e.g., after the battery swapping vehicle manager updates the account and / or password on the wireless communication device, the new account and password correspondence can be uploaded to the server for management), and provide account and password query functions to each battery swapping vehicle receiving the battery swapping service. This helps to achieve unified deployment and management of wireless connections of each battery swapping station, improves the online management level of the battery swapping station, and also increases the success rate of establishing wireless connections between the battery swapping vehicle and the battery swapping station.

[0079] To improve the compatibility of battery swapping stations with different battery swapping vehicles, the wireless account information list described in the above embodiments can be unified or shared among different battery swapping stations. For example, assuming the battery swapping vehicle belongs to car manufacturer A, whether the battery swapping vehicle itself maintains the wireless account information list or the aforementioned server maintains the wireless account information list, the list can be obtained from car manufacturer A's independently maintained battery swapping service platform (battery swapping stations on this platform are operated by car manufacturer A) or from a public battery swapping service platform (battery swapping stations on this platform can be operated by car manufacturer A, other car manufacturers B or C, or third-party service providers that are not car manufacturers). This approach fully leverages the unified management capabilities of the battery swapping service platform to share the wireless account information of the swapping stations with the swapping vehicles. This effectively eliminates business barriers between swapping vehicles and swapping stations (especially between automakers and the operators of swapping stations), enabling swapping stations to provide battery swapping services for more types of vehicles (e.g., vehicles from automaker A can connect to swapping stations operated by automaker B or third-party service providers and receive battery swapping services), thus significantly improving the battery swapping service experience for electric vehicle users.

[0080] In addition, to ensure the security of the aforementioned wireless account information list and to facilitate effective tracing of vehicle connection records, the aforementioned server and battery swapping service platform can store the wireless account information list based on data encryption and blockchain technology, which will not be elaborated further.

[0081] Of course, each battery swapping station sharing the wireless account information list needs to have the necessary software / hardware capabilities (such as needing to follow the wireless communication protocol proposed in this solution, needing to be equipped with automatic battery swapping equipment, etc.) to ensure that battery swapping can be completed smoothly after the wireless connection is established, which will not be elaborated further.

[0082] A single battery swapping station may simultaneously establish wireless connections with multiple vehicles and provide battery swapping services to them respectively. The battery swapping vehicles described in the embodiments of this specification can be any of these vehicles. In one embodiment, after a successful wireless connection is established between the battery swapping vehicle and the battery swapping station, the battery swapping station can be considered the master and the battery swapping vehicle can be considered the slave; that is, the wireless communication equipment of the battery swapping station can act as the master of wireless communication, and the wireless communication equipment of the battery swapping vehicle can act as the slave of wireless communication. In this case, the battery swapping station can specify the configuration information for subsequent wireless communication. For example, after establishing the wireless connection, the battery swapping station can send a control command message to the battery swapping vehicle; correspondingly, the battery swapping vehicle can subsequently send various communication messages to the battery swapping station according to the interaction configuration method specified in the message. The interaction configuration method may include the message sending mode, order, and frequency, such as the heartbeat period of the heartbeat message (i.e., the period for sending heartbeat messages), which will not be elaborated further. Through this method, both communicating parties can pre-determine the specific method of subsequent interaction, ensuring smooth subsequent interaction and helping to ensure the smooth provision of battery swapping services.

[0083] Of course, since the wireless communication equipment installed in different vehicles may have different electrical parameters or performance indicators, in order to ensure that the battery swapping station can smoothly interact wirelessly with each vehicle, the battery swapping station can also specify the configuration information for subsequent wireless communication. For example, after the wireless connection is established, the battery swapping vehicle can send a control command message to the battery swapping station; accordingly, the battery swapping station can then send various communication messages to the battery swapping vehicle according to the interaction configuration specified in the message, which will not be elaborated further.

[0084] In one embodiment, the interaction configuration method may include a heartbeat cycle. When the battery swapping vehicle sends communication messages to the battery swapping station according to the aforementioned interaction configuration method, it can periodically send heartbeat messages to the station according to the heartbeat cycle. The heartbeat cycle can be reasonably set according to the electrical parameters and processing performance of both communicating parties, such as 100ms or 200ms. This embodiment does not limit this setting. This method ensures that the battery swapping vehicle and the battery swapping station maintain a valid heartbeat connection throughout the provision / reception of battery swapping services, avoiding process delays or even errors in battery swapping operations due to unexpected connection drops, thus improving the stability of the battery swapping service.

[0085] Since a battery swapping station may connect to multiple battery swapping stations simultaneously, the heartbeat message sent by the battery swapping station can carry the vehicle's unique identifier, such as VIN (Vehicle Identification Number) or license plate number, so that the battery swapping station can accurately identify which vehicle sent the received heartbeat message.

[0086] Based on the wireless connection established in the aforementioned manner, the battery swapping vehicle and the battery swapping station can sequentially send the corresponding wireless communication messages in steps 304-312 below.

[0087] Step 304: The battery swapping vehicle sends a first status message to the battery swapping station. The battery swapping station determines whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0088] Before the battery swapping operation begins, the battery swapping vehicle needs to send a first status message to the battery swapping station. The pre-swapping status information carried in the message is used to indicate the current status of the vehicle to the battery swapping station, so that the station can determine whether the station's current status meets the battery swapping conditions based on this information.

[0089] In one embodiment, before the battery swapping operation begins, the battery swapping station can also verify the identity of the vehicle to determine whether it is a legitimate vehicle with battery swapping authority (i.e., the authority to receive battery swapping services at the station), in order to avoid subsequent errors or disputes in the battery swapping service. For example, a vehicle with battery swapping needs can proactively send an authentication request message to the battery swapping station; correspondingly, the battery swapping station can verify the authority-related information carried in the message and return a corresponding authentication reply message to the vehicle. The returned authentication reply message should contain different content depending on whether the vehicle passes verification (indicating that it has battery swapping authority) or fails verification (indicating that it does not have battery swapping authority), such as different values ​​for the verification result field in the message. The authority-related information may include the vehicle's brand, type, unique identifier (i.e., the first vehicle identifier below), available resources (remaining amount of pre-paid funds, available discount coupons, account level / points, etc.), and encrypted battery status information. Based on the above-mentioned permission-related information verification, vehicle battery swapping permissions can be flexibly managed from multiple dimensions, facilitating efficient and precise management of the scope of battery swapping service provision.

[0090] Furthermore, if the authentication response message indicates that the battery swapping vehicle has passed authentication, the battery swapping vehicle can send a first status message to the battery swapping station; if the authentication response message indicates that the battery swapping vehicle has failed authentication, the battery swapping vehicle can terminate the subsequent battery swapping process of local interaction. Of course, it can then retry, or output the above authentication result to the driver and passengers, which will not be elaborated further.

[0091] Based on the authorization information carried in the authentication request message, the battery swapping station can employ various methods for verification. For example, if the authorization information includes the first vehicle identifier (i.e., the aforementioned unique identifier of the vehicle), the first vehicle identifier can be queried from a preset set of authorized vehicle identifiers. If the unique identifier is successfully found, the battery swapping vehicle is deemed to have passed verification; if the unique identifier is not found, the battery swapping vehicle is deemed to have failed verification. It is understood that battery swapping vehicles whose identifiers are recorded in the set of authorized vehicle identifiers possess battery swapping authorization. This set can be created and maintained by the battery swapping station itself (i.e., the battery swapping station manages vehicles with battery swapping authorization itself), or it can be obtained from the aforementioned server (i.e., the server centrally manages vehicles with battery swapping authorization). This embodiment does not limit this approach.

[0092] And / or, if the permission-related information includes encrypted battery status information of the battery swapping vehicle, the encrypted battery status information can also be decrypted using the data decryption algorithm specified in the authentication request message. If decryption is successful, the battery swapping vehicle is deemed to have passed verification; otherwise, if decryption fails, the battery swapping vehicle is deemed to have failed verification. The encrypted battery status information is obtained by the battery swapping vehicle encrypting at least one piece of its own battery status information (such as battery type, current remaining charge, cumulative battery swap count, software version number, etc.) using a specific data encryption algorithm. The data decryption algorithm specified in the authentication request message is the decryption algorithm corresponding to the aforementioned specific data encryption algorithm.

[0093] Furthermore, the specific data encryption algorithms mentioned above can be symmetric encryption algorithms such as DES (Data Encryption Standard), 3DES (Triple DES), and AES (Advanced Encryption Standard); asymmetric encryption algorithms such as RSA (Rivest-Shamir-Adleman), ECC (Elliptic Curve Cryptography), and Diffie-Hellman; or hash algorithms such as MD5 (Message Digest Algorithm 5) and SHA-2 (Secure Hash Algorithm 2). Examples include AES-256-GCM, CHACHA20-POLY1305, and the Zu Chongzhi algorithm, which will not be elaborated further.

[0094] In one embodiment, if the battery swapping station fails verification, it can exit the battery swapping process for the vehicle; and / or, if the authentication reply message indicates that the vehicle has failed verification, the battery swapping vehicle can also exit the battery swapping process, i.e., it will no longer send the first status message. This effectively avoids providing battery swapping services to vehicles without battery swapping permissions.

[0095] If the verification process is successful (i.e., the battery swapping vehicle is authenticated), the battery swapping vehicle can send a first status message to the battery swapping station. The pre-swapping status information carried in this message can be encrypted, meaning the battery swapping vehicle can encrypt it using an encryption algorithm and corresponding key negotiated with the battery swapping station. For example, the battery swapping vehicle and the battery swapping station can pre-negotiate the encryption algorithm and corresponding key (symmetric key, or asymmetric public and private key) during the wireless connection establishment process (handshake / login phase). Based on this, the battery swapping vehicle can use the aforementioned encryption algorithm and key to encrypt the pre-swapping status information and include the corresponding ciphertext in the first status message before sending it to the battery swapping station. This method ensures that the pre-swapping status information sent by the battery swapping vehicle can only be successfully obtained and decrypted by the true recipient (i.e., the battery swapping station). Even if a malicious third party eavesdrops on the first status message, they will not be able to decrypt the plaintext pre-swapping status information because they do not know the aforementioned key, thus effectively guaranteeing the data security of the pre-swapping status information and the battery swapping vehicle.

[0096] In one embodiment, upon successfully receiving the first status message, the battery swapping station can return a corresponding first status reply message to the battery swapping vehicle, so that the battery swapping vehicle is aware of the message's transmission result. Of course, if the first status reply message is not received within a preset error time, the battery swapping vehicle can resend the first status message to ensure that the battery swapping station receives the first status message carrying the pre-swapping status information; this will not be elaborated further.

[0097] Upon receiving the first status message, the battery swapping station can determine whether the vehicle meets the battery swapping conditions based on the pre-swap status information it carries. This pre-swap status information may include software version information, battery type, current remaining battery power, high-voltage connection disconnection status, current vehicle speed, and / or current gear. Correspondingly, the battery swapping conditions may include conditions corresponding to at least one of the aforementioned pre-swap status information, such as software version not lower than V2.0, battery type being lithium iron phosphate or ternary lithium battery, current remaining battery power less than 60%, high-voltage connection disconnected, current vehicle speed zero, and current gear in P (parking) position. It is understood that if the pre-swap status information meets the battery swapping conditions, it indicates that the battery swapping station can begin the battery swapping process.

[0098] In one embodiment, given that commercial vehicles typically possess certain special functions, to ensure a smooth battery swapping process, the pre-swapping status information may further include vehicle function-related status information. For example, for dump trucks (such as dump trucks, dump garbage trucks, etc.), the pre-swapping status information may include dump truck status information; correspondingly, this information can be used to determine whether the current dump truck status meets the battery swapping conditions: for example, for bottom-discharge dump trucks (i.e., the power battery needs to be moved out / into the vehicle chassis), to avoid the vehicle tilting or moving during the battery swapping process, the battery swapping conditions are met when the dump truck is in a lowered state; while for top-discharge dump trucks (i.e., the power battery needs to be raised and moved out / into the chassis from above), the battery swapping conditions are met when the dump truck is in a raised state. For example, for water trucks, since water vapor may damage the power battery and / or the electrical equipment of the battery swapping station, its pre-swapping status information can include water spraying status information; accordingly, it can be determined whether the current state of the tipper meets the battery swapping conditions based on this information: if the information indicates that the water truck is not currently spraying water, then it is determined that it meets the battery swapping conditions (of course, without considering other conditions); otherwise, it does not meet the battery swapping conditions.

[0099] In one embodiment, given that the vehicle's uploaded pre-swapping status information may contain errors (such as incomplete uploads or lost data), the battery swapping station can further improve the accuracy of determining whether a vehicle meets the swapping conditions by using relevant equipment installed at the swapping location. For example, the image acquisition device can be used to capture images from the front, rear, and / or side of the vehicle, and the external status of the vehicle can be determined accordingly. Image recognition can also be used to determine whether a dump truck's bucket is lowered, whether a water truck's spray nozzle is spraying water (if it is, the swapping conditions are not met), and whether there are passengers on a bus (for safety reasons, if there are passengers, the swapping conditions are not met).

[0100] In one embodiment, given that occupants of battery-swapping vehicles (such as drivers) are typically aware of the vehicle's status, they usually possess a relatively accurate judgment regarding whether the vehicle meets the battery-swapping conditions. Therefore, the battery-swapping station can also instruct the occupants to confirm whether the vehicle meets the battery-swapping conditions themselves. For example, the battery-swapping station can also prompt the occupants to check the status of the battery-swapping vehicle themselves through voice announcements, screen displays, etc., to confirm whether the vehicle meets the battery-swapping conditions. And / or, considering that occupants may not get out of the vehicle or even close the windows, the battery-swapping station can also send a prompt message to the battery-swapping vehicle, so that the battery-swapping vehicle can prompt the occupants to check and confirm through voice announcements, central control screen displays, etc. Furthermore, after confirmation, the occupants can receive feedback on the confirmation result through relevant equipment at the battery-swapping station (such as microphones, buttons, or barcode scanners) or vehicle-side equipment, which will not be elaborated further.

[0101] Since the automatic battery swapping equipment in the battery swapping station is installed at the battery swapping location, in addition to the battery swapping status information meeting the battery swapping conditions, the battery swapping vehicle also needs to be accurately parked at the battery swapping location (or battery swapping vehicle position, battery swapping point) so that the automatic battery swapping equipment can perform automatic battery swapping operations.

[0102] In one embodiment, the battery swapping station may be equipped with a vehicle guidance system for guiding battery swapping vehicles into and / or out of the battery swapping location. For example, during the entry of a battery swapping vehicle, the vehicle guidance system may calculate positional data such as the vehicle's front position or tilt angle using a laser rangefinder (such as multiple point laser rangefinders or a line-scan laser rangefinder); then, it may guide the driver (e.g., through visual or voice means) to correct the vehicle's position, or, if it is determined that the vehicle is in intelligent driving mode, send a guidance signal to the vehicle to instruct the intelligent driving system to correct the vehicle's position so that the battery swapping vehicle is accurately parked at the battery swapping location.

[0103] In one embodiment, an identification acquisition device (such as one installed at the vehicle parking location or the entrance to the battery swapping location) may be installed at the battery swapping location to collect the unique identifier of the vehicle parked at that location. Based on this, the battery swapping station can parse the first vehicle identifier of the battery swapping vehicle from the first status message and obtain the second vehicle identifier collected by the identification acquisition device for any vehicle parked at the battery swapping location. If the second vehicle identifier is the same as the first vehicle identifier, it is determined that the battery swapping vehicle is parked at the battery swapping location. It is understood that the second vehicle identifier collected by the identification acquisition device is used to identify the vehicle actually parked at the battery swapping location (i.e., any of the aforementioned vehicles), while the first vehicle identifier is used to identify the battery swapping vehicle that sent the first status message to the battery swapping station. Therefore, if the second vehicle identifier is the same as the first vehicle identifier, it indicates that the battery swapping vehicle is indeed the vehicle actually parked at the battery swapping location, meaning that the battery swapping vehicle has been parked at the battery swapping location.

[0104] It is understood that the aforementioned first vehicle identifier and second vehicle identifier are of the same type. Depending on the specific form of the first vehicle identifier, a corresponding type of identifier acquisition device can be set up to acquire the aforementioned second vehicle identifier. For example, if the first vehicle identifier includes the VIN of the battery swapping vehicle, the identifier acquisition device may include an RFID (Radio Frequency Identification) reader. In this case, the battery swapping vehicle needs to be equipped with a corresponding RFID tag. Based on this, when the battery swapping vehicle enters the battery swapping location or parks at that location, the RFID reader can read the vehicle's VIN (i.e., as the aforementioned second vehicle identifier) ​​from the vehicle's RFID tag via radio frequency signals.

[0105] For example, if the first vehicle identifier includes the license plate number of the battery swapping vehicle, the identifier acquisition device may include an image acquisition device (such as a camera). Based on this, when the battery swapping vehicle enters the swapping location or parks there, the image acquisition device can capture images from the front or rear of the vehicle and extract its license plate number (i.e., as the aforementioned second vehicle identifier) ​​through image recognition. Alternatively, the identifier acquisition device may also include a radio frequency identification (RFID) reader, in which case the battery swapping vehicle needs to be equipped with a corresponding RFID tag. Based on this, when the battery swapping vehicle enters the swapping location or parks there, the RFID reader can read the vehicle's license plate number (i.e., as the aforementioned second vehicle identifier) ​​from the vehicle's RFID tag via radio frequency signals.

[0106] Of course, the vehicle identification can also be a unique identifier for the power battery, which will not be elaborated further.

[0107] Step 306: When the battery swapping station determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location, it sends an unlocking command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by unlocking the first power battery and returns a corresponding unlocking reply message.

[0108] In response to the unlocking command message sent by the battery swapping station, the battery swapping vehicle can control its own installed battery lock control device to unlock the first power battery, such as by using a motor or electromagnetic mechanism to drive the battery's locking structure to open, so as to change the battery from a locked state to an unlocked state.

[0109] In addition, to ensure proper subsequent processing, the battery swapping station can also check whether the unlocking effect is normal, that is, check whether the first power battery is successfully unlocked. If it is successfully unlocked, it can return the corresponding unlocking response message to the battery swapping station; otherwise, if it has not been successfully unlocked (such as being stuck by foreign objects or not unlocking properly), it can retry unlocking or prompt relevant personnel (such as the maintenance personnel of the battery swapping station) to manually check and handle the situation.

[0110] Step 308: When the unlock reply message indicates that the first power battery has been successfully unlocked, the battery swapping station controls the automatic battery swapping equipment to replace the first power battery with the second power battery.

[0111] Upon receiving an unlock response message from the battery swapping vehicle, it indicates that the vehicle's first power battery has been successfully unlocked. At this point, the battery swapping station can control the automated battery swapping equipment to perform a preset battery swapping operation, replacing the first power battery with the second power battery. For example, the automated battery swapping equipment may include a robotic arm and its control tools, which can remove the first power battery from the battery compartment of the battery swapping vehicle and place it in a transfer area, and then pick up the second power battery and place it in the battery compartment in the correct orientation. Additionally, the station can control related equipment to recharge or repair the replaced first power battery.

[0112] In this scenario, the second power battery may have a larger remaining charge than the first power battery. In this case, a battery swapping service can replace the depleted first power battery with a second power battery that has a larger charge (e.g., fully charged), thus replenishing the vehicle's power. Alternatively, the second battery may be in better health than the first power battery. In this case, a battery swapping service can replace a relatively unhealthy first power battery (e.g., with greater battery degradation, more severe overheating) with a relatively healthier second power battery, thereby upgrading the vehicle's battery, mitigating or even eliminating safety hazards associated with battery swapping, and improving vehicle safety.

[0113] Step 310: After the battery swapping station completes the swapping, it sends a lock command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by locking the second power battery and returns a corresponding lock reply message.

[0114] After the second power battery is replaced, the battery swapping station can control the automatic battery swapping equipment to automatically check the replacement effect (such as checking whether the battery is placed correctly, whether the deviation of the center point of the lock hole is less than the error range, etc.), and send a locking command message to the battery swapping vehicle if the check is correct.

[0115] In response to the lock command message, the battery swapping vehicle can control its own battery lock control device to lock the replaced second power battery, such as by using a motor or electromagnetic mechanism to drive the battery's locking structure to close, so as to change the battery from an unlocked state to a locked state.

[0116] Similar to the unlocking mechanism described above, battery swapping vehicles can also check whether the locking effect is normal, that is, check whether the first power battery is successfully locked. If it is successfully locked, it can return the corresponding lock response message to the battery swapping station; otherwise, if it is not successfully locked (such as being stuck by foreign objects or not being properly tightened), it can retry locking or prompt relevant personnel (such as the maintenance personnel of the battery swapping station) to manually check and handle the situation.

[0117] Step 312: After the battery swapping vehicle is successfully locked, it sends a second status message to the battery swapping station and drives away from the battery swapping location. The battery swapping station performs post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0118] After confirming successful locking, the battery swapping vehicle can send a second status message to the battery swapping station. The message carries post-battery swapping status information to indicate the vehicle's current status to the battery swapping station, so that the station can perform post-battery swapping processing based on this information.

[0119] In one embodiment, upon receiving the second status message, the battery swapping station can send a corresponding second status reply message to the battery swapping vehicle, so that the other party is aware of the reception status of the second status message. Of course, if the second status reply message is not received within a preset error time, the battery swapping vehicle can resend the second status message to ensure that the battery swapping station receives the second status message carrying the status information after the battery swap, which will not be elaborated further.

[0120] In one embodiment, similar to the pre-swapping status information in the first status message, the post-swapping status information in the second status message can also be encrypted. This encrypted information can also be obtained by the battery swapping vehicle using an encryption algorithm and a corresponding key negotiated with the battery swapping station. For example, the battery swapping vehicle and the battery swapping station can pre-negotiate the encryption algorithm and corresponding key during the establishment of a wireless connection. Based on this, the battery swapping vehicle can use the aforementioned encryption algorithm and key to encrypt the post-swapping status information and include the corresponding encrypted information in the second status message before sending it to the battery swapping station. This method ensures that the post-swapping status information sent by the battery swapping vehicle can only be successfully obtained and decrypted by the true recipient (i.e., the battery swapping station). Even if a malicious third party eavesdrops on the second status message, they will not be able to decrypt the plaintext post-swapping status information because they do not know the aforementioned key, thus effectively guaranteeing the data security of the post-swapping status information and the battery swapping vehicle.

[0121] In one embodiment, the battery-swapping vehicle can perform corresponding post-swapping processing based on the different post-swapping status information. For example, if the post-swapping status information includes the duration of the current battery swap, the client app used by the driver or passengers can be triggered to evaluate, recommend, or make suggestions regarding the battery swapping service.

[0122] For example, a battery swapping station can determine whether a battery swapping vehicle meets the departure requirements based on the post-swap status information, such as when the information indicates that the dump truck's bucket is in a lowered state, thus meeting the departure conditions. Alternatively, it can use equipment installed at the battery swapping location to detect whether the vehicle meets the departure conditions (e.g., taking photos to identify the vehicle's status) or instruct the vehicle's occupants to confirm whether the vehicle has fully de-batteryed, etc., which will not be elaborated further.

[0123] For example, a battery swapping station can determine whether the battery swapping vehicle meets the departure conditions based on the post-swap status information, and instruct or allow the vehicle to leave the swapping location if the departure conditions are met. For instance, the station can determine whether the tipper truck's dump truck has lowered its dump truck based on the post-swap status information. Of course, similar to the aforementioned swapping conditions, the station can also use equipment installed at the swapping location to detect whether the vehicle meets the departure conditions (e.g., by capturing and identifying the vehicle's status), or instruct the vehicle's occupants to confirm whether the vehicle meets the departure conditions themselves, etc., which will not be elaborated further.

[0124] For example, if the post-swap status information includes the amount of data swapped, the settlement platform can be triggered to settle resource costs based on this data swap amount. The amount of resources settled should be positively correlated with the amount of data swapped. This settlement platform can be an offline platform, allowing users to pay at the exit point (e.g., cash or card payment); or it can be an online platform, where the battery swap service is settled online, allowing drivers and passengers to drive directly out of the swapping location or even out of the swapping station, achieving seamless automatic settlement upon departure and improving the user experience and station turnover rate. Furthermore, to prevent toll evasion, the settlement results from the settlement platform can also control the access control devices installed at the station exit (e.g., [missing information]). Figure 2 The traffic restriction device 224 shown (such as a rising barrier, rising bollard, or gate) allows vehicles to pass. If it receives a notification message from the settlement platform indicating that the battery swapping service is complete, it can control the rising barrier to rise when it detects the vehicle approaching the exit, allowing the vehicle to leave the battery swapping station and completing the battery swapping service. Furthermore, the resources used for settlement on the platform during this phase can be limited but valuable available resources such as funds, coupons, or points; this embodiment does not impose any limitations on this.

[0125] In one embodiment, an identification acquisition device may be installed at the exit of the battery swapping station. As mentioned earlier, when the vehicle identification is a VIN, the identification acquisition device may include a radio frequency identification (RFID) reader, and the battery swapping vehicle should be equipped with a corresponding RFID tag; when the vehicle identification is a license plate number, the identification acquisition device may include an image acquisition device; or, the identification acquisition device may also include a radio frequency identification (RFID) reader, and the battery swapping vehicle should be equipped with a corresponding RFID tag. Based on this, when the battery swapping station obtains the first vehicle identification of the battery swapping vehicle collected by the identification acquisition device, it can disconnect the wireless connection with the vehicle. It is understood that when the identification acquisition device installed at the exit of the battery swapping station collects the first vehicle identification of the battery swapping vehicle, it indicates that the vehicle has left the battery swapping station (regardless of whether the battery swapping service for the vehicle has been successfully completed or interrupted due to a fault). At this time, there is no need to continue to establish a wireless connection with the vehicle. Therefore, actively disconnecting the wireless connection can reduce the number of vehicles managed by the battery swapping station and reduce the processing pressure on the battery swapping station.

[0126] In another embodiment, if the battery swapping vehicle cannot detect the wireless signal of the battery swapping station or the strength of the detected wireless signal is below a threshold, it can directly stop sending the heartbeat message to disconnect the wireless connection with the battery swapping station. The inability to detect a wireless signal or the detected signal strength being below the threshold indicates that the distance between the battery swapping vehicle and the battery swapping station (at least the distance between the vehicle and its wireless communication equipment) is sufficiently far. In this case, the vehicle has likely already completed the battery swap and left the station. Stopping the heartbeat message transmission in this situation can quickly interrupt the wireless connection and reduce the burden of ineffective communication between the two parties.

[0127] As can be seen from the foregoing embodiments, this specification proposes a novel station-vehicle interaction process and corresponding interaction protocol, as well as an automatic battery swapping scheme based on this process and protocol. Specifically, the interaction protocol is based on a wireless connection between the battery swapping vehicle and the battery swapping station, that is, the two interact by sending and receiving communication messages through this wireless connection to complete the battery swapping service. During the interaction process, the two sequentially send and receive communication messages such as a first status message, an unlock command message, a lock command message, and a second status message through the wireless connection, thereby sequentially realizing steps such as pre-swapping verification, unlocking the battery (before the start of battery swapping), locking the battery (after the completion of battery swapping), and reporting information after battery swapping. It can be understood that regardless of the type of battery swapping station and battery swapping vehicle, as long as both parties support the above interaction protocol and send and receive communication messages according to the above interaction process, the battery swapping service can be realized in an orderly manner. This improves the bidirectional compatibility of the battery swapping station and the battery swapping vehicle while ensuring smooth battery swapping for the vehicle (both expanding the coverage of the battery swapping service provided by the station and increasing the number of available battery swapping stations for electric vehicles), and enhances the universality of the battery swapping service.

[0128] Figure 4 This is an interactive flowchart illustrating an embodiment of the present invention for an automatic vehicle power battery replacement method. The following is a description of the process. Figure 4 Taking Wi-Fi connectivity as an example, this paper details the specific interaction process between battery-swapping vehicles and battery-swapping stations during the implementation of an automatic battery-swapping solution, as well as the new protocols followed by each message. Figure 4 As shown, the interaction process includes the following steps 401-419.

[0129] Step 401: The battery swapping vehicle drives into the battery swapping station and scans for the Wi-Fi signal emitted by the station.

[0130] Step 402: The battery swapping vehicle interacts with the battery swapping station to establish a Wi-Fi connection.

[0131] In one embodiment, when the battery swapping vehicle detects the wireless signal of the battery swapping station, it establishes a corresponding Wi-Fi connection with the battery swapping station using the station's Wi-Fi login information.

[0132] The Wi-Fi login information may include the target Wi-Fi name and target Wi-Fi password of the battery swapping station. The battery swapping vehicle can obtain this information in the following ways: For example, it can first determine the target Wi-Fi name based on the detected Wi-Fi signal, and then query the target Wi-Fi password corresponding to the target Wi-Fi name from the Wi-Fi account information list stored locally on the battery swapping vehicle. Alternatively, if the automatic battery swapping system also includes a server, it can first determine the target Wi-Fi name based on the detected Wi-Fi signal, then send a password query request containing the target Wi-Fi name to the server, and receive the target Wi-Fi password returned by the server in response to the request.

[0133] In one embodiment, after the Wi-Fi connection is established, the battery swapping station can send a control command message to the battery swapping vehicle, and the battery swapping vehicle sends a communication message to the battery swapping station according to the interaction configuration specified in the message.

[0134] The interaction configuration method may include a heartbeat cycle, in which the battery swapping vehicle can periodically send heartbeat messages to the battery swapping station according to the heartbeat cycle.

[0135] Based on the aforementioned Wi-Fi connection, the battery swapping station and the battery swapping vehicle can send and receive wireless communication messages. Specifically, the control command messages, heartbeat messages, authentication request messages, first status messages, and second status messages sent by the battery swapping vehicle to the battery swapping station, as well as the unlock command messages and lock command messages sent by the battery swapping station to the battery swapping vehicle, can use the same message format. For example, the message formats shown in Table 1 below can be used:

[0136] Table 1 Request / Command Message Format

[0137]

[0138] The "Command Identifier" field in Table 1 represents the type and function of the message. For example, the values ​​for this field can be found in Table 2 below:

[0139] Table 2 Command Identifiers

[0140]

[0141] It should be noted that the aforementioned first and second status messages can be special forms of heartbeat messages. For example, in a normal heartbeat message, the command identifier field is "0x01", but its data unit length x = 0 (or the data unit length x > 0, but the data unit field is empty). In the first status message, the command identifier field is "0x01" (thus, it is also a heartbeat message), but its data unit length x > 0, and the data unit field is not empty (actually, it is the status information before the battery swap); similarly, in the second status message, the command identifier field is "0x01" (thus, it is also a heartbeat message), but its data unit length x > 0, and the data unit field is not empty (actually, it is the status information after the battery swap).

[0142] Alternatively, the aforementioned first and second status messages do not have to be special heartbeat messages. For example, reserved values ​​can be assigned to these two messages. For instance, the command identifier field can be defined as "0x82" for the first status message, in which case its data unit length x > 0, and the value of the data unit field is not empty (actually the status information before battery swapping); and the identifier field can be defined as "0x84" for the second status message, in which case its data unit length x > 0, and the value of the data unit field is not empty (actually the status information after battery swapping). Further details are omitted.

[0143] in addition, Figure 1 The values ​​for the "Response Identifier" field shown indicate the optional content of the corresponding field in the response message from the other party. For example, the values ​​for this field can be found in Table 3 below:

[0144] Table 3 Response Identifiers

[0145] coding definition illustrate 0x01 success The received information is correct. 0x02 mistake Setup failed. 0x03 Broadcast only Broadcast command only 0xFE Order This indicates that the data packet is a command packet, not a response packet.

[0146] Corresponding to Table 1 above, the response messages from battery swapping vehicles and stations to various request / command messages have the following message formats, which can be found in Table 4 below:

[0147] Table 4 Response Message Format

[0148]

[0149]

[0150] Step 403: The battery swapping vehicle sends an authentication request message carrying authorization-related information to the battery swapping station.

[0151] Following the foregoing embodiments, the message format of the authentication request message can be found in Table 5 below:

[0152] Table 5 Authentication Request Message Format

[0153]

[0154] Step 404: The battery swapping station verifies the battery swapping authority of the battery swapping vehicle based on the aforementioned authority-related information.

[0155] In one embodiment, the battery swapping station can verify the information in the following manner: For example, if the permission-related information includes a first vehicle identifier of the battery swapping vehicle, the first vehicle identifier can be queried from a preset set of authorized vehicle identifiers. If the unique identifier is successfully found, the battery swapping vehicle is determined to have passed verification; otherwise, it is determined to have failed verification. And / or, if the permission-related information includes encrypted battery status information of the battery swapping vehicle, the encrypted battery status information can be decrypted using a data decryption algorithm specified in the authentication request message. If decryption is successful, the battery swapping vehicle is determined to have passed verification; otherwise, it is determined to have failed verification.

[0156] In one embodiment, the battery swapping station can exit the battery swapping process for the vehicle if the vehicle fails verification; that is, it will not execute subsequent steps when the vehicle fails verification. Of course, regardless of whether the verification passes or fails, step 405 can be executed to return the authentication response message, but the content of the returned message will differ depending on whether the verification passes or fails, to distinguish between them.

[0157] Step 405: The battery swapping station sends an authentication reply message back to the battery swapping vehicle.

[0158] Step 406: The battery swapping vehicle sends a first status message containing pre-swapping status information to the battery swapping station.

[0159] In one embodiment, the battery swapping vehicle may send the first status message if the authentication reply message indicates that the battery swapping vehicle has passed authentication; and if the message indicates that the battery swapping vehicle has failed authentication, the battery swapping process for the battery swapping vehicle shall be terminated, that is, the first status message shall not be sent and no subsequent steps shall be executed.

[0160] In one embodiment, the pre-swapping status information in the first status message is encrypted information. This encrypted information can be obtained by the battery swapping vehicle encrypting the plaintext of the pre-swapping status information using an encryption algorithm and a corresponding key negotiated with the battery swapping station.

[0161] Following the foregoing embodiments, the message formats of the first status message and the second status message can be found in Table 6 below:

[0162] Table 6 First / Second Status Message Format

[0163]

[0164]

[0165] It is understandable that if the value of the command identifier field in Table 6 above is "0x05", then the message is a first-state message; if the value of the command identifier field is "0x07", then the message is a second-state message.

[0166] In addition, the pre-swap status information in the first status message and the post-swap status information in the second status message can be recorded in the data unit field. The pre-swap status information and post-swap status information can include various types of information. For example, the specific information content and its order in the data unit field can be seen in Table 7 below:

[0167] Table 7: Meaning of Data Unit Fields

[0168]

[0169]

[0170] Step 407: The battery swapping station sends a first status reply message to the battery swapping vehicle.

[0171] Step 408: The battery swapping station determines whether the battery swapping vehicle meets the battery swapping conditions based on the status information before battery swapping.

[0172] Step 409: The battery swapping station sends an unlock command message to the battery swapping vehicle.

[0173] When the battery swapping station determines that the battery swapping vehicle meets the swapping conditions and is parked at the swapping location, it sends the unlocking command message. The swapping location may be equipped with an identification acquisition device. In this case, the battery swapping station can parse the first vehicle identification of the battery swapping vehicle from the first status message and obtain the second vehicle identification collected by the identification acquisition device for any vehicle parked at the swapping location. If the second vehicle identification is the same as the first vehicle identification, then it is determined that the battery swapping vehicle is parked at the swapping location.

[0174] Wherein, if the first vehicle identification includes the Vehicle Identification Number (VIN) of the battery swapping vehicle, the identification acquisition device includes an RFID reader, and the battery swapping vehicle is equipped with a corresponding RFID tag; and if the first vehicle identification includes the license plate number of the battery swapping vehicle, the identification acquisition device includes an image acquisition device; or, the identification acquisition device includes an RFID reader, and the battery swapping vehicle is equipped with a corresponding RFID tag.

[0175] Step 411: The battery swapping vehicle sends an unlock reply message back to the battery swapping station.

[0176] Following the foregoing embodiments, the command codes in the unlock command message and the corresponding unlock reply message can be found in Table 8 below:

[0177] Table 8. Command codes in unlock commands and reply messages

[0178]

[0179] Step 412: The battery swapping station performs a battery swapping operation, replacing the first power battery with the second power battery.

[0180] Wherein, the health status of the second power battery may be better than that of the first power battery; and / or, the amount of electricity stored in the second power battery may be greater than the remaining amount of electricity in the first power battery.

[0181] Step 413: The battery swapping station sends a lockout command message to the battery swapping vehicle.

[0182] Step 414: Lock the replaced second power battery in the battery swapping vehicle.

[0183] Step 415: The battery swapping vehicle sends a lockout reply message back to the battery swapping station.

[0184] Following the foregoing embodiments, the command codes in the lock command message and the corresponding lock reply message can be found in Table 9 below:

[0185] Table 9 shows the command codes in the lock command and reply message.

[0186]

[0187]

[0188] Step 416: The battery swapping vehicle sends a second status message containing post-battery swapping status information to the battery swapping station.

[0189] In one embodiment, the post-battery swap status information in the second status message is encrypted information. This encrypted information can be obtained by the battery swapping vehicle encrypting the plaintext of the post-battery swap status information using an encryption algorithm and a corresponding key negotiated with the battery swapping station.

[0190] Step 417: The battery swapping station sends a second status reply message to the battery swapping vehicle.

[0191] Step 418: The battery swapping station performs post-swapping processing based on the post-swapping status information.

[0192] In one embodiment, if the post-battery swap status information includes the amount of data swapped this time, the battery swapping station can trigger the settlement platform to perform resource settlement based on the amount of data swapped this time.

[0193] Step 419: The battery swapping vehicle drives out of the battery swapping station and disconnects the Wi-Fi connection with the station.

[0194] In one embodiment, the battery swapping station is equipped with an identification acquisition device at its exit. The battery swapping station can disconnect its Wi-Fi connection with the vehicle after acquiring the first vehicle identification of the battery swapping vehicle from the identification acquisition device.

[0195] In another embodiment, the battery swapping vehicle may stop sending the heartbeat message to disconnect the Wi-Fi connection if it cannot find the wireless signal of the battery swapping station or if the strength of the wireless signal of the found battery swapping station is lower than a threshold.

[0196] Corresponding to the foregoing embodiments, this specification also proposes another method for automatically replacing a vehicle's power battery, applied to a battery-swapping vehicle equipped with a replaceable first power battery in an automatic battery-swapping system. The automatic battery-swapping system further includes a battery-swapping station, and an automatic battery-swapping device is installed at the battery-swapping location in the battery-swapping station. Figure 5 This is a flowchart illustrating another method for automatically replacing a vehicle's power battery, as shown in an embodiment of the present invention. Figure 5 As shown, the method includes steps 502-510.

[0197] Step 502: Establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0198] Step 504: Send a first status message to the battery swapping station so that the battery swapping station can determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0199] Step 506: Receive an unlock command message sent by the battery swapping station when it determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location; in response to the message, unlock the first power battery and return a corresponding unlock reply message, so that when the unlock reply message indicates that the first power battery has been successfully unlocked, the battery swapping station controls the automatic battery swapping equipment to replace the first power battery with the second power battery.

[0200] Step 508: Receive the lockout command message sent by the battery swapping station after the swapping is completed, lock the second power battery in response to the message, and return a corresponding lockout reply message.

[0201] Step 510: After successful locking, send a second status message to the battery swapping station and leave the battery swapping location. The post-battery swapping status information carried in the second status message is used by the battery swapping station for post-battery swapping processing.

[0202] Corresponding to the foregoing embodiments, this specification also proposes a method for automatically replacing a vehicle's power battery, applied to a battery swapping station in an automatic battery swapping system. The battery swapping station is equipped with automatic battery swapping equipment at the battery swapping location, and the automatic battery swapping system also includes a battery swapping vehicle equipped with a replaceable first power battery. Figure 6 This is a flowchart illustrating another method for automatically replacing a vehicle's power battery, as shown in an embodiment of the present invention. Figure 6 As shown, the method includes steps 602-612.

[0203] Step 602: Establish a wireless connection with the battery swapping vehicle so that the two can send and receive wireless communication messages through the wireless connection.

[0204] Step 604: Receive the first status message sent by the battery swapping vehicle, and determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0205] Step 606: If it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location, an unlocking command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to unlock the first power battery and returns a corresponding unlocking reply message.

[0206] Step 608: If the unlock reply message indicates that the first power battery has been successfully unlocked, control the automatic battery swapping device to replace the first power battery with the second power battery.

[0207] Step 610: After the replacement is completed, a lock command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to lock the second power battery and returns a corresponding lock reply message, and after successful locking, sends a second status message to the battery swapping station and drives away from the battery swapping location.

[0208] Step 612 performs post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0209] The above Figure 5 and Figure 6 The specific implementation of the automatic vehicle power battery replacement method shown can be found in the previous embodiment, and will not be repeated here.

[0210] Figure 7 This is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Please refer to it. Figure 7 At the hardware level, the device includes a processor 701, a network interface 702, memory 703, non-volatile memory 704, and an internal bus 707, and may also include other hardware required for business operations. One or more embodiments of the present invention can be implemented in software, for example, the processor 701 reads the corresponding computer program from the non-volatile memory 704 into the memory 703 and then runs it. Of course, in addition to software implementation, one or more embodiments of the present invention do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0211] Figure 8 This invention illustrates a block diagram of a message forwarding device according to an embodiment of the present invention. Please refer to... Figure 8 This device can be applied to, for example Figure 7 The device shown is used to implement the technical solution described in this invention. In this case, the device can be considered as a whole composed of various related components in a battery swapping station. This device is applied to battery swapping vehicles equipped with a replaceable first power battery in an automatic battery swapping system. The automatic battery swapping system also includes a battery swapping station, where an automatic battery swapping device is installed at the battery swapping location. For example... Figure 8 As shown, the device includes:

[0212] The wireless connection unit 801 is used to establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection.

[0213] The first status sending unit 802 is used to send a first status message to the battery swapping station so that the battery swapping station can determine whether the battery swapping vehicle meets the battery swapping conditions based on the battery swapping pre-swapping status information carried in the first status message.

[0214] The battery unlocking unit 803 is used to receive an unlocking command message sent by the battery swapping station when it determines that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location. In response to the message, the battery unlocks the first power battery and returns a corresponding unlocking reply message, so that when the unlocking reply message indicates that the first power battery has been successfully unlocked, the battery swapping station controls the automatic battery swapping equipment to replace the first power battery with the second power battery.

[0215] The battery locking unit 804 is used to receive a lock command message sent by the battery swapping station after the swapping is completed, lock the second power battery in response to the message, and return a corresponding lock reply message.

[0216] The second status sending unit 805 is used to send a second status message to the battery swapping station after successful locking and to leave the battery swapping location. The battery swapping post-swapping status information carried in the second status message is used by the battery swapping station for post-swapping processing.

[0217] Figure 9 This invention illustrates a block diagram of a message forwarding device according to an embodiment of the present invention. Please refer to... Figure 9 This device can be applied to, for example Figure 7 The device shown is used to implement the technical solution described in this invention. In this case, the device can be considered as a whole composed of various related devices in a battery-swapping vehicle. This device is applied to a battery-swapping station in an automatic battery-swapping system. The automatic battery-swapping station is equipped with automatic battery-swapping equipment at the battery-swapping location. The automatic battery-swapping system also includes a battery-swapping vehicle equipped with a replaceable first power battery. For example... Figure 9 As shown, the device includes:

[0218] The wireless connection unit 901 is used to establish a wireless connection with the battery swapping vehicle so that the two can send and receive wireless communication messages through the wireless connection.

[0219] The first status receiving unit 902 is used to receive the first status message sent by the battery swapping vehicle and determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message.

[0220] The unlock command sending unit 903 is used to send an unlock command message to the battery swapping vehicle when it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location, so that the battery swapping vehicle unlocks the first power battery in response to the message and returns a corresponding unlock reply message.

[0221] The battery replacement unit 904 is used to control the automatic battery swapping device to replace the first power battery with the second power battery when the unlock reply message indicates that the first power battery has been successfully unlocked.

[0222] The lock command sending unit 905 is used to send a lock command message to the battery swapping vehicle after the replacement is completed, so that the battery swapping vehicle responds to the message to lock the second power battery and returns a corresponding lock reply message, and after successful locking, sends a second status message to the battery swapping station and drives away from the battery swapping location.

[0223] The post-processing unit 906 is used to perform post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

[0224] Accordingly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for automatically replacing a vehicle power battery as described in any of the above embodiments.

[0225] Accordingly, this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the method for automatically replacing a vehicle power battery as described in any of the above embodiments.

[0226] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0227] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0228] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0229] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

Claims

1. A method of automatically replacing a power battery of a vehicle, characterized in that, An automatic battery swapping system, comprising a battery swapping vehicle and a battery swapping station, wherein the battery swapping vehicle is equipped with a replaceable first power battery and the battery swapping station is equipped with automatic battery swapping equipment at the battery swapping location, the method comprising: The battery swapping vehicle establishes a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection. The battery swapping vehicle sends a first status message to the battery swapping station, and the battery swapping station determines whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message. When the battery swapping station determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location, it sends an unlocking command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by unlocking the first power battery and returns a corresponding unlocking reply message. When the unlock reply message indicates that the first power battery has been successfully unlocked, the battery swapping station controls the automatic battery swapping equipment to replace the first power battery with the second power battery. After the battery swapping station completes the swapping, it sends a lock command message to the battery swapping vehicle. The battery swapping vehicle responds to the message by locking the second power battery and returns a corresponding lock reply message. After the battery swapping vehicle is successfully locked, it sends a second status message to the battery swapping station and drives away from the battery swapping location. The battery swapping station performs post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

2. The method of claim 1, wherein, The battery swapping vehicle establishes a wireless connection with the battery swapping station, including: When the battery swapping vehicle detects the wireless signal of the battery swapping station, it establishes a corresponding wireless connection with the station using the station's wireless login information.

3. The method of claim 2, wherein, The wireless login information includes the target wireless name and target wireless password of the battery swapping station. The battery swapping vehicle obtains the wireless login information of the battery swapping station, including: The target wireless name is determined based on the detected wireless signal; The system retrieves the target wireless password corresponding to the target wireless name from the list of wireless account information stored locally in the battery swapping vehicle; or, if the automatic battery swapping system also includes a server, it initiates a password query request containing the target wireless name to the server and receives the target wireless password returned by the server in response to the request.

4. The method according to any one of claims 1 to 3, characterized in that, The wireless connection includes Wi-Fi connection, Bluetooth connection, or NearLink connection.

5. The method according to claim 1, characterized in that, Also includes: The battery swapping vehicle sends an authentication request message to the battery swapping station. The battery swapping station verifies the permission-related information carried in the message and returns the corresponding authentication reply message to the vehicle. The battery swapping vehicle sends a first status message to the battery swapping station, including: when the authentication reply message indicates that the battery swapping vehicle has passed the authentication, the battery swapping vehicle sends a first status message to the battery swapping station.

6. The method according to claim 5, characterized in that, The battery swapping station verifies the permission-related information carried in the authentication request message, including: If the permission-related information includes the first vehicle identifier of the battery swapping vehicle, the first vehicle identifier is queried from a preset set of authorized vehicle identifiers. If the unique identifier is successfully found, the battery swapping vehicle is determined to have passed verification; and / or, If the permission-related information includes encrypted battery status information of the battery swapping vehicle, the encrypted battery status information is decrypted using the data decryption algorithm specified in the authentication request message. If the decryption is successful, the battery swapping vehicle is determined to have passed the verification.

7. The method according to claim 5, characterized in that, Also includes: If the battery swapping station fails the verification process for the battery swapping vehicle, it will exit the battery swapping process for that vehicle. And / or, If the authentication response message indicates that the battery swapping vehicle has failed verification, the battery swapping process for that vehicle will be terminated.

8. The method according to claim 1, characterized in that, The battery swapping location is equipped with identification data collection equipment. The battery swapping station determines that the battery swapping vehicle is parked at the battery swapping location, including: The first vehicle identifier of the battery swapping vehicle is parsed from the first status message, and the second vehicle identifier collected by the identifier collection device for any vehicle parked at the battery swapping location is obtained. If the second vehicle identifier is the same as the first vehicle identifier, then it is determined that the battery swapping vehicle is parked at the battery swapping location.

9. The method according to claim 1, characterized in that, The battery swapping station is equipped with an identification data collection device at its exit, and the method further includes: Upon receiving the first vehicle identifier of the battery swapping vehicle collected by the identifier acquisition device, the battery swapping station disconnects its wireless connection with the vehicle.

10. The method according to claim 8 or 9, characterized in that, When the first vehicle identifier includes the Vehicle Identification Number (VIN) of the battery swapping vehicle, the identifier acquisition device includes a Radio Frequency Identification (RFID) reader, and the battery swapping vehicle is equipped with a corresponding RFID tag. If the first vehicle identification includes the license plate number of the battery swapping vehicle, the identification acquisition device includes an image acquisition device; or, the identification acquisition device includes a radio frequency identification (RFID) reader, and the battery swapping vehicle is equipped with a corresponding RFID tag.

11. The method according to claim 1, characterized in that, The pre-swapping status information in the first status message and / or the post-swapping status information in the second status message are encrypted information, which is obtained by the battery swapping vehicle using an encryption algorithm and a corresponding key negotiated with the battery swapping station.

12. The method according to claim 1, characterized in that, Also includes: Upon successfully receiving the first status message, the battery swapping station returns a corresponding first status reply message to the battery swapping vehicle. And / or, Upon successfully receiving the second status message, the battery swapping station returns a corresponding second status reply message to the battery swapping vehicle.

13. The method according to claim 1, characterized in that, Also includes: After the wireless connection is established, the battery swapping station sends a control command message to the battery swapping vehicle, and the battery swapping vehicle sends a communication message to the battery swapping station according to the interaction configuration specified in the message.

14. The method according to claim 13, characterized in that, The interaction configuration method includes a heartbeat cycle. The battery swapping vehicle sends communication messages to the battery swapping station according to the interaction configuration method specified in the message, including: According to the stated heartbeat cycle, heartbeat messages are periodically sent to the battery swapping station.

15. The method according to claim 14, characterized in that, Also includes: If the battery swapping vehicle cannot detect the wireless signal of the battery swapping station or the strength of the detected wireless signal of the battery swapping station is lower than a threshold, it shall stop sending the heartbeat message.

16. The method according to claim 1, characterized in that, The health condition of the second power battery is better than that of the first power battery; and / or, The amount of electricity stored in the second power battery is greater than the remaining amount of electricity in the first power battery.

17. The method according to claim 14, characterized in that, The battery swapping station performs post-swap processing based on the post-swap status information carried in the second status message, including: If the post-battery swap status information includes the amount of data swapped, the settlement platform will be triggered to perform resource settlement based on the amount of data swapped.

18. The method according to claim 1, characterized in that, The battery-swapping vehicles are pure electric commercial vehicles.

19. A method for automatically replacing a vehicle's power battery, characterized in that, A battery-swapping vehicle equipped with a replaceable first power battery in an automatic battery-swapping system, the automatic battery-swapping system further including a battery-swapping station, wherein an automatic battery-swapping device is installed at the battery-swapping location in the battery-swapping station, the method comprising: Establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection; Send a first status message to the battery swapping station so that the battery swapping station can determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message. The system receives an unlock command message sent by the battery swapping station when it determines that the battery swapping vehicle meets the battery swapping conditions and is parked at the battery swapping location. In response to the message, the system unlocks the first power battery and returns a corresponding unlock reply message. This allows the battery swapping station to control the automatic battery swapping equipment to replace the first power battery with the second power battery when the unlock reply message indicates that the first power battery has been successfully unlocked. Upon receiving the lockout command message sent by the battery swapping station after the swapping is completed, the second power battery is locked in response to the message, and a corresponding lockout reply message is returned. After successful locking, the vehicle sends a second status message to the battery swapping station and leaves the battery swapping location. The post-battery swapping status information carried in the second status message is used by the battery swapping station for post-battery swapping processing.

20. A method for automatically replacing a vehicle's power battery, characterized in that, A battery swapping station applied in an automatic battery swapping system, wherein an automatic battery swapping device is installed at the battery swapping location in the battery swapping station, and the automatic battery swapping system further includes a battery swapping vehicle equipped with a replaceable first power battery, the method comprising: Establish a wireless connection with the battery swapping vehicle so that the two can send and receive wireless communication messages through the wireless connection; Receive the first status message sent by the battery swapping vehicle, and determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message. If it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location, an unlocking command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to unlock the first power battery and returns a corresponding unlocking reply message. If the unlock reply message indicates that the first power battery has been successfully unlocked, control the automatic battery swapping device to replace the first power battery with the second power battery. After the replacement is completed, a lock command message is sent to the battery swapping vehicle so that the battery swapping vehicle responds to the message to lock the second power battery and returns a corresponding lock reply message, and after successful locking, sends a second status message to the battery swapping station and drives away from the battery swapping location; Post-battery swapping processing is performed based on the post-battery swapping status information carried in the second status message.

21. An automatic battery swapping system, characterized in that, The system includes battery swapping vehicles and battery swapping stations. The battery swapping vehicles are equipped with replaceable first power batteries, and the battery swapping stations are equipped with automatic battery swapping devices at the battery swapping locations. The battery swapping vehicle is used to establish a wireless connection with the battery swapping station so that the two can send and receive wireless communication messages through the wireless connection. The battery swapping vehicle is used to send a first status message to the battery swapping station, and the battery swapping station is used to determine whether the battery swapping vehicle meets the battery swapping conditions based on the pre-swapping status information carried in the first status message. The battery swapping station is used to send an unlocking command message to the battery swapping vehicle when it is determined that the battery swapping vehicle meets the battery swapping conditions and the battery swapping vehicle is parked at the battery swapping location. The battery swapping vehicle is used to unlock the first power battery in response to the message and return a corresponding unlocking reply message. The battery swapping station is used to control the automatic battery swapping equipment to replace the first power battery with the second power battery when the unlocking reply message indicates that the first power battery has been successfully unlocked. The battery swapping station is used to send a lock command message to the battery swapping vehicle after the swapping is completed. The battery swapping vehicle is used to lock the second power battery in response to the message and return a corresponding lock reply message. The battery swapping vehicle is used to send a second status message to the battery swapping station after successful locking and then drive away from the battery swapping location. The battery swapping station is used to perform post-battery swapping processing based on the post-battery swapping status information carried in the second status message.

22. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the steps of the method as claimed in claim 19 or 20.

23. A computer program product, characterized in that, Includes a computer program / instructions that, when executed by a processor, implement the steps of the method as described in claim 19 or 20.