Vehicle battery replacement system, message forwarding method, electronic equipment and storage medium

By assembling general message equipment in battery swap stations, and using the conversion rules between standard message protocols and wireless message protocols, the protocol incompatibility problem between electric vehicles and battery swap stations is solved, achieving wider battery swap service coverage and higher versatility.

CN120201099APending Publication Date: 2025-06-24SUNSHINE MINGDAO ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510278536.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

In the prior art, the message protocols supported by electric vehicles of different brands and models and battery swap-related equipment of battery swap stations are different, resulting in electric vehicles being able to replace battery at specific battery swap stations, which limits the coverage and versatility of battery swap services.

Method used

A general message device is installed in the battery swap station, which maintains the conversion rules between the standard message protocol and at least one wireless message protocol, and ensures normal communication between electric vehicles of different brands and models and battery swap stations through protocol conversion.

Benefits of technology

It has achieved compatibility between electric vehicles of different brands and models and multiple battery swap stations, expanded the coverage of battery swap services and the number of available battery swap stations for electric vehicles, and significantly improved the universality of battery swap services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201099A_ABST
    Figure CN120201099A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle battery replacement system, a message forwarding method, electronic equipment and a storage medium. The method is applied to general message equipment assembled in the battery swap station, battery swap related equipment supporting a standard message protocol is further assembled in the battery swap station, and the general message equipment maintains a conversion rule between the standard message protocol and at least one wireless message protocol. The method comprises the following steps: in response to receiving a first wireless message which is sent by any power conversion vehicle and follows a target wireless message protocol, converting the message into a first standard message adopting a standard message protocol according to a conversion rule, and sending the first standard message to power conversion related equipment; and in response to a received second standard message which is sent by the battery replacement related equipment and adopts a standard message protocol, converting the message into a second wireless message adopting a target wireless message protocol according to a conversion rule, and sending the second wireless message to the any battery replacement vehicle. According to the method, the protocol barrier is broken, and the compatibility of the battery swap station to the vehicle and the universality of the battery swap service are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle battery swapping, and particularly to a vehicle battery swapping system, a message forwarding method, an electronic device, and a storage medium. Background Art

[0002] With the large-scale popularization of electric vehicles, the related technologies for replenishing the power batteries of vehicles have also developed rapidly. Among them, the vehicle battery swapping technology for replenishing the power batteries of electric vehicles by replacing the power batteries is adopted by some enterprises due to its advantages such as fast replenishing speed and helping to reduce vehicle costs.

[0003] At present, the vehicle to be swapped with a battery usually needs to enter a battery swapping station and establish a connection with the battery swapping related devices in the battery swapping station through a wireless network, and then complete the replacement of the power battery.

[0004] In the related technologies, the battery swapping related devices of different battery swapping stations often support different types of message protocols; similarly, electric vehicles of different brands and models usually also support different types of message protocols respectively, which results in that an electric vehicle of a certain brand and model can often only establish a wireless connection with a specific battery swapping station to receive battery swapping services, and cannot go to other battery swapping stations for battery swapping. For example, for Wi-Fi messages sent through Wi-Fi (Wireless Fidelity) signals, the Wi-Fi messages sent by electric vehicles of brand A adopt the Wi-Fi message protocol customized by vehicle enterprise A, so they can only go to the battery swapping stations operated by vehicle enterprise A for battery swapping, and cannot go to the battery swapping stations operated by vehicle enterprise B for battery swapping. Obviously, the above wireless identification technology makes it difficult for battery swapping stations to be compatible with multiple battery swapping vehicles, which not only limits the coverage range of the battery swapping services provided by the battery swapping stations, but also limits the number of available battery swapping stations for electric vehicles, resulting in poor versatility of the battery swapping services and urgent improvement. Summary of the Invention

[0005] In view of this, the present invention provides a vehicle battery swapping system, a message forwarding method, an electronic device, and a storage medium to solve the deficiencies in the related technologies.

[0006] Specifically, the present invention is implemented through the following technical solutions:

[0007] According to a first aspect of the present invention, there is provided a message forwarding method, which is applied to a general message device assembled in a battery swapping station. The battery swapping station is also assembled with battery swapping related devices that support a standard message protocol. The general message device maintains a conversion rule between the standard message protocol and at least one wireless message protocol. The method includes:

[0008] In response to receiving a first wireless message conforming to the target wireless message protocol sent by any battery swapping vehicle, convert the first wireless message into a first standard message using the standard message protocol according to the conversion rule, and send the first standard message to the battery swapping related device;

[0009] In response to receiving a second standard message using the standard message protocol sent by the battery swapping related device, convert the second standard message into a second wireless message using the target wireless message protocol according to the conversion rule, and send the second wireless message to any battery swapping vehicle.

[0010] According to a second aspect of the present invention, there is provided a vehicle battery swapping system, including a general message device assembled in a battery swapping station and a battery swapping related device supporting the standard message protocol. The general message device maintains a conversion rule between the standard message protocol and at least one wireless message protocol; wherein,

[0011] The general message device is configured to, in response to receiving a first wireless message conforming to the target wireless message protocol sent by any battery swapping vehicle, convert the first wireless message into a first standard message using the standard message protocol according to the conversion rule, and send the first standard message to the battery swapping related device; and, in response to receiving a second standard message using the standard message protocol sent by the battery swapping related device, convert the second standard message into a second wireless message using the target wireless message protocol according to the conversion rule, and send the second wireless message to any battery swapping vehicle;

[0012] The battery swapping related device is configured to perform battery swapping related operations on any battery swapping vehicle in response to the first standard message; and send the second standard message to the general message device.

[0013] According to a third aspect of the present invention, there is provided an electronic device, including:

[0014] A processor; a memory for storing processor-executable instructions;

[0015] Wherein, the processor realizes the steps of the method described in the first aspect by running the executable instructions.

[0016] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in the first aspect are realized.

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

[0018] The vehicle battery swapping system described in the present invention includes a general message device and battery swapping related devices. The battery swapping related devices support a standard message protocol, while the general message device maintains conversion rules between the standard message protocol and at least one wireless message protocol. Based on this, when the general message device receives a first wireless message conforming to the target wireless message protocol sent by any battery swapping vehicle, it can convert the message into a first standard message conforming to the standard message protocol according to the conversion rule and send it to the battery swapping related device; when it receives a second standard message conforming to the standard message protocol sent by the battery swapping related device, it can convert the message into a second wireless message conforming to the target wireless message protocol according to the conversion rule and send it to any of the battery swapping vehicles.

[0019] In this solution, a general message device (maintaining conversion rules between the standard message protocol and at least one wireless message protocol) is installed in the battery swapping station, and this device performs protocol conversion on the communication messages exchanged between the battery swapping vehicle and the battery swapping related devices. It can be understood that the general message device does not simply receive and forward the messages, but converts the messages according to the message protocol, that is, converts the messages of one protocol into the messages of another protocol. No matter what wireless message protocol the battery swapping vehicle supports, as long as the conversion rules between this wireless message protocol and the standard message protocol are pre-recorded in the general message device, the general message device can perform protocol conversion on the messages based on these rules, so as to ensure the normal communication between the battery swapping vehicle and the battery swapping related devices. No matter what the manufacturer and model of the battery swapping vehicle are, it can smoothly receive the battery swapping service of this battery swapping station. It can be seen that this solution breaks down the protocol barriers between different vehicles and different battery swapping stations, improves the compatibility of the battery swapping station with different brands and models of battery swapping vehicles (both expands the coverage of the battery swapping service provided by the battery swapping station and increases the number of available battery swapping stations for electric vehicles), and significantly improves the generality of the battery swapping service. In addition, in the application stage of this solution, only a general message device needs to be added to the battery swapping station, without modifying the software and hardware structure of the original battery swapping related devices in the battery swapping station. Therefore, the implementation logic is simple and the implementation cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the present invention, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0021] Figure 1 It is an interactive schematic diagram of a battery swapping vehicle and a battery swapping station shown in an embodiment of the present invention;

[0022] Figure 2It is a schematic diagram of a battery swapping service scenario shown in an embodiment of the present invention;

[0023] Figure 3 It is a schematic diagram of another battery swapping service scenario shown in an embodiment of the present invention;

[0024] Figure 4 It is a flowchart of a message forwarding method shown in an embodiment of the present invention;

[0025] Figure 5 It is a schematic structural diagram of an electronic device shown in an embodiment of the present invention;

[0026] Figure 6 It is a block diagram of a message forwarding device shown in an embodiment of the present invention. Detailed implementation manners

[0027] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. On the contrary, they are only examples of devices and methods consistent with some aspects of the present invention.

[0028] The terms used in the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "the" and "said" used in the present 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" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

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

[0030] With the large-scale popularization of electric vehicles, the related technologies for replenishing the power batteries of vehicles have also developed rapidly. Among them, the vehicle battery swapping technology for replenishing the power batteries of electric vehicles by replacing the power batteries is adopted by some enterprises due to its advantages such as fast replenishing speed and helping to reduce vehicle costs.

[0031] At present, vehicles to be replaced usually need to enter a battery swap station and establish a connection with the battery swap-related equipment in the station through a wireless network to complete the replacement of the power battery.

[0032] In the relevant technology, the battery swapping-related equipment of different battery swapping stations often supports different types of message protocols; similarly, electric vehicles of different brands and models usually also support different types of message protocols, which results in that electric vehicles of a certain brand and model can often only establish a wireless connection with a specific battery swapping station to receive battery swapping services, but cannot go to other battery swapping stations for battery swapping. For example, the Wi-Fi message sent by brand A electric vehicles also uses the Wi-Fi message protocol customized by car company A, so it can only be exchanged at the battery swapping station operated by car company A, but not at the battery swapping station operated by car company B. Obviously, the above-mentioned wireless identification technology not only limits the coverage of the battery swapping services provided by the battery swapping stations, but also limits the number of battery swapping stations available for electric vehicles, resulting in poor versatility of the battery swapping service, which needs to be improved urgently.

[0033] In order to solve the above-mentioned technical problems existing in the related technology, the present invention proposes a new hardware device - a universal message device, and further proposes a new vehicle battery replacement system composed of a universal message device and battery replacement related equipment and a message forwarding method implemented by the universal message device, in order to improve the universality of the battery replacement solution and the compatibility of the battery replacement station with the vehicle through message protocol conversion.

[0034] like Figure 1 As shown, the battery swap vehicle 11 transmits and receives wireless signals through its own wireless transceiver (or transceiver), and the battery swap station 12 transmits and receives wireless signals through the wireless transceiver installed locally, and the two realize network interaction through the above wireless signals. Taking Wi-Fi signals as an example, the Wi-Fi router in the battery swap station 12 can transmit Wi-Fi signals to the surrounding space. After the battery swap vehicle 11 is connected to the Wi-Fi network, it can interact with the battery swap station 12 by transmitting and receiving Wi-Fi signals.

[0035] It should be noted that the battery-swap vehicle described in this specification (such as Figure 1The battery swapping vehicle 11 shown is an electric vehicle with the function of swapping batteries, and the vehicle uses the electric energy stored in the replaceable battery as at least part of the power source. For example, it can be a hybrid electric vehicle (using the electric energy stored in fuel and battery respectively or simultaneously as the power source), a hydrogen hybrid electric vehicle (using the hydrogen stored in the hydrogen storage device and the electric energy stored in the battery respectively or simultaneously as the power source), or a pure electric vehicle (using only the electric energy stored in the battery as the power source). In terms of its functional form, the battery swapping vehicle can be in any form such as a truck, a pickup truck, a sedan, an SUV (Sport Utility Vehicle), a recreational vehicle, etc., and the embodiments of the present invention do not limit this.

[0036] When the power stored in the replaceable battery is insufficient, the battery swapping vehicle has a battery swapping requirement. The battery swapping solution described in the present invention is used to perform battery swapping operations on the battery swapping vehicle in the battery swapping station to provide battery swapping services to the vehicle, thereby meeting its battery swapping requirement. The embodiments of the present invention do not limit the specific information such as the size, material, capacity, etc. of the replaceable battery assembled in the battery swapping vehicle.

[0037] The battery swapping station described in the embodiments of the present invention has the function of swapping batteries for electric vehicles and can provide battery swapping services for the aforementioned battery swapping vehicles. This specification does not limit the location, layout, specific battery swapping logic, etc. of the battery swapping station, which can be reasonably set according to actual needs.

[0038] The communication-related parties (such as battery swapping vehicles, general message devices, and battery swapping-related devices, etc.) described in the present invention support corresponding communication protocols. Specifically, when sending and receiving communication messages, they support the message protocols belonging to the corresponding communication protocols. Among them, any message protocol belonging to any communication protocol is used to define the format, structure, content, etc. of the communication message. The communication message following this message protocol (such as the standard message or wireless message described below) is generated according to the format, structure, and content defined by this protocol; and can also be recognized by the devices supporting this protocol. Among them, the format refers to the arrangement method and coding rules of each part of the message (such as including preamble, header, data, and frame check sequence, etc.), which is used to ensure that the sender and receiver can correctly parse. The structure refers to the specific definitions and functions of each field in the message (such as including a frame control field containing protocol version and frame type, a duration / ID field used to indicate transmission time or associated ID, an address field containing source address and destination address, a sequence control field used for frame sorting and deduplication, a data field used to carry upper-layer protocol data, and a frame check sequence used for error checking). The content refers to the specific information carried in the message (such as management frames such as beacon frames and authentication frames for connection management, control frames such as RTS and CTS for controlling transmission, and data frames for transmitting user data, etc.)

[0039] Taking the Wi-Fi signal as an example, for the Wi-Fi communication protocol, different vehicle manufacturers often define different Wi-Fi message protocols for technical or security considerations (that is, the formats, structures, and contents of the Wi-Fi message protocols defined by each vehicle manufacturer are not exactly the same). For example, the preamble of the Wi-Fi message defined by vehicle manufacturer A is 2323, and the preamble of the Wi-Fi message defined by vehicle manufacturer B is 6868. Because of this, in related technologies, the battery-swap vehicle A produced by vehicle manufacturer A can only send Wi-Fi messages with a preamble of 2323, so it cannot connect to the battery-swap station operated by vehicle manufacturer B, and thus cannot complete battery swapping in such battery-swap stations. Similarly, the battery-swap vehicle B produced by vehicle manufacturer B can only send Wi-Fi messages with a preamble of 6868, so it cannot connect to the battery-swap station operated by vehicle manufacturer A, and thus cannot complete battery swapping in such battery-swap stations. It can be seen that there is a "protocol barrier" between the vehicles and the battery-swap stations in this scenario.

[0040] The following will describe in detail the vehicle battery-swap system and the message forwarding method implemented by the general message device therein according to the present invention with reference to the accompanying drawings and related embodiments.

[0041] The present invention provides a vehicle battery-swap system, which includes a general message device and battery-swap related devices assembled in a battery-swap station. The battery-swap related devices support a standard message protocol, and the general message device maintains conversion rules between the standard message protocol and at least one wireless message protocol. Among them,

[0042] The general message device is configured to, in response to receiving a first wireless message conforming to a target wireless message protocol sent by any battery-swap vehicle, convert the first wireless message into a first standard message using the standard message protocol according to the conversion rules, and send the first standard message to the battery-swap related devices; and, in response to receiving a second standard message using the standard message protocol sent by the battery-swap related devices, convert the second standard message into a second wireless message using the target wireless message protocol according to the conversion rules, and send the second wireless message to the any battery-swap vehicle;

[0043] The battery-swap related devices are configured to perform battery-swap related operations on the any battery-swap vehicle in response to the first standard message; and send the second standard message to the general message device.

[0044] It should be noted that the target wireless message protocol followed by the first wireless message and the second wireless message in the present invention can be the Wi-Fi protocol; in this case, any of the battery swapping vehicles interacts with the battery swapping station by transmitting and receiving Wi-Fi signals; or, the target wireless message protocol can also be the Bluetooth protocol. In this case, any of the battery swapping vehicles interacts with the battery swapping station by transmitting and receiving Bluetooth signals. Of course, according to the form / version of the Bluetooth protocol, the Bluetooth signal can specifically be a classic Bluetooth signal or a low-power BLE Bluetooth signal, etc., which will not be elaborated here.

[0045] Similarly, the standard message protocol supported by the battery swapping related devices in the present invention can belong to the CAN (Controller Area Network) protocol or the HTTP (Hypertext Transfer Protocol) protocol; in other words, for the first standard message received by the battery swapping related devices and the second standard message sent by them, the standard message protocol followed by the two belongs to the standard communication protocol, and this standard communication protocol can be the above CAN protocol or HTTP protocol, etc., which will not be elaborated here.

[0046] In addition, according to the different battery swapping processes and auxiliary functions of the battery swapping station, the battery swapping related devices can be a single physical device, or can also include multiple physical devices. For details, please refer to the following embodiments. For a battery swapping vehicle to receive the battery swapping service provided by the battery swapping station, it needs to interact with the general message device in the battery swapping station by transmitting and receiving communication messages.

[0047] In the embodiment of the present invention, the general message device assembled in the battery swapping station (based on the above conversion rules maintained by itself) acts as an intermediary between the battery swapping vehicle and the battery swapping related devices, so as to convert the communication messages sent by the two into messages that can be recognized by the other party and send them to the other party for recognition, thereby breaking the protocol barrier between the two and ensuring smooth interaction between the two. Specifically, after any battery swapping vehicle sends the first wireless message that follows the target wireless message protocol generated by itself to the general message device, the general message device will convert this message into the first standard message that follows the standard message protocol according to the conversion rules maintained by itself, and send this message to the battery swapping related devices for its recognition and parsing; when receiving the second standard message that follows the standard message protocol generated by the battery swapping related devices, the general message device will convert this message into the second wireless message that follows the target wireless message protocol according to the conversion rules maintained by itself for its recognition and parsing.

[0048] It should be noted that any of the battery swapping vehicles may support sending and receiving messages conforming to at least one wireless communication protocol. For example, a Wi-Fi signal transceiver and a Bluetooth signal transceiver may be assembled on the vehicle at the same time. In this case, the vehicle can both send and receive Wi-Fi messages (i.e., communication messages conforming to the Wi-Fi protocol) and Bluetooth messages. For any wireless communication message, the message sent and received by the vehicle conforms to the wireless message protocol belonging to this protocol, and the target wireless message protocol described in the embodiments of the present invention is any wireless message protocol supported by any of the battery swapping vehicles.

[0049] In one embodiment, the target wireless message protocol belongs to a target wireless communication protocol (that is, the wireless communication protocol to which the target wireless message protocol belongs is called the target wireless communication protocol). For example, the Wi-Fi messages that the battery swapping vehicle A produced by the vehicle enterprise A mentioned above can send and receive conform to the target Wi-Fi message protocol, and this protocol belongs to the Wi-Fi communication protocol. In this regard, a wireless message transceiver device supporting the target wireless communication protocol may be assembled in the battery swapping station, and this device is used to transmit and receive wireless signals conforming to the target wireless communication protocol.

[0050] In one embodiment, a Wi-Fi router may be assembled in the battery swapping station, and this router is used to send and receive Wi-Fi signals. It can be seen that this method realizes the function of sending and receiving wireless signals by a wireless message transceiver device independent of the general message device, and the general message device only needs to be used to realize the protocol conversion function of the communication message, that is, different devices respectively realize different functions, which helps to reduce the hardware size of the general message device, lower its design difficulty and production cost.

[0051] In the scenario where a wireless message transceiver device is assembled in the battery swapping station, the general message device can receive the first wireless message forwarded by the wireless message transceiver device; and the general message device forwards the second wireless message to any of the battery swapping vehicles through the wireless message transceiver device. It can be understood that the wireless message transceiver device is used to parse the first wireless message from the received wireless signal and send it to the general message device; and convert the second wireless message sent by the general message device into a wireless signal (in the form of electromagnetic waves) and transmit it into the surrounding space.

[0052] Figure 2 It is a schematic diagram of a battery swapping service scenario shown in the embodiments of the present invention. As Figure 2As shown in the figure, the battery swapping station 22 is equipped with a general message device 221 and at least one battery swapping related device (such as a battery swapping controller 222, an RFID reader 224, a traffic restriction device 225, an automatic battery swapping device 226, a fire protection device 227, a smart electricity meter 228, a charging pile 229, and a switch 220 connected thereto, etc.). In addition, a Wi-Fi router 223 is also installed in the battery swapping station 22. It can be seen that the Wi-Fi router 223 installed in the battery swapping station 22 is used to send and receive Wi-Fi signals, while the general message device 221 is used to perform protocol conversion on Wi-Fi messages.

[0053] As the service object of the battery swapping station 22, the battery swapping vehicle 21 can be of any type, such as a tractor 211, a box truck 212, a sedan 213, an SUV 214, etc. Any battery swapping vehicle described in the present invention can be any of the above vehicles. In the following related embodiments, the tractor 211 is taken as an example for illustrative purposes. In addition, at least some devices in the battery swapping vehicle 21 and the battery swapping station 22 (such as the general message device 221 and / or the battery swapping controller 222) can also be respectively connected to a server 23 deployed in the cloud, so that the server 23 can participate in some functions of realizing the battery swapping service online (such as information update, battery swapping station recommendation and navigation, online automatic settlement after battery swapping, service evaluation after battery swapping, etc.), improving the intelligence level of the vehicle battery swapping system and the battery swapping service.

[0054] In another embodiment, a wireless message transceiver module supporting a target wireless communication protocol can be integrated in the general message device. This module is used to transmit and receive wireless signals conforming to the target wireless communication protocol. Exemplarily, this module can be composed of hardware such as a wireless signal transceiver circuit and a corresponding antenna. It can be seen that this method integrates the functions of transmitting and receiving wireless signals and protocol conversion of communication messages in the general message device, improving the function integration degree of the general message device, helping to simplify the software and hardware structure of the vehicle battery swapping system, and saving the hardware cost of separately installing a wireless message transceiver device.

[0055] Figure 3 is a schematic diagram of another battery swapping service scenario shown in the embodiments of the present invention. As Figure 3 shown, the battery swapping station 32 is equipped with a general message device 321 and at least one battery swapping related device (such as a battery swapping controller 322, an RFID reader 324, a traffic restriction device 325, an automatic battery swapping device 326, a fire protection device 327, a smart electricity meter 328, a charging pile 329, and a switch 320 connected thereto, etc.). In addition, a standard protocol conversion device 323 is also installed in the battery swapping station 32 (the specific function can be seen in the following embodiments and will not be elaborated here). It can be seen that the general message device 321 installed in the battery swapping station 32 can be used to both send and receive Wi-Fi signals and perform protocol conversion on Wi-Fi messages. Compared with Figure 2Similarly, as the service target of the battery swapping station 32, the battery swapping vehicle 31 can be of any type, such as a tractor 311, a box truck 312, a sedan 313, an SUV 314, etc. Any battery swapping vehicle described in the present invention can be any of the above vehicles. In the following related embodiments, the tractor 311 is taken as an example for illustrative purposes. Additionally, at least some of the devices in the battery swapping vehicle 31 and the battery swapping station 32 (such as the general message device 321 and / or the battery swapping controller 322) can also be respectively connected to the server 33 deployed in the cloud, so that the server 33 can participate in realizing some functions of the battery swapping service online (such as information update, battery swapping station recommendation and navigation, automatic online settlement after battery swapping, service evaluation after battery swapping, etc.), improving the intelligence level of the vehicle battery swapping system and the battery swapping service.

[0056] In the scenario where the wireless message transceiver module is integrated in the general message device, the general message device can receive the first wireless message through the wireless message transceiver module; and the second wireless message is sent by the wireless message transceiver module of the general message device to any battery swapping vehicle. It can be understood that the wireless message transceiver module is used to parse the first wireless message from the received wireless signal and send it to the general message device; and convert the second wireless message sent by the general message device into a wireless signal (in the form of electromagnetic waves) and transmit it into the surrounding space.

[0057] In an embodiment, the battery swapping related devices can include a battery swapping controller, basic function devices, and an RFID (Radio Frequency Identification) reader, and an RFID tag corresponding thereto (i.e., an RFID tag that can be recognized by the aforementioned RFID reader) is installed on any battery swapping vehicle. Among them, the battery swapping controller is the main control device of the battery swapping station, such as a PC (Personal Computer) or an industrial control computer, etc. This device is used to centrally control other devices in the battery swapping station (such as the aforementioned basic function devices and RFID readers, etc.) to ensure that each device cooperates with each other to smoothly realize functions such as battery swapping in the battery swapping station. Additionally, the first wireless message sent by any battery swapping vehicle can be a wireless heartbeat message, and the identification information of the vehicle is carried in this message; correspondingly, the first standard message obtained by the general message device according to the conversion rule after converting the first wireless message is the standard heartbeat message, and this message also contains the identification information of any battery swapping vehicle. For example, the identification information of any battery swapping vehicle can be included in the data field of the wireless heartbeat message (i.e., as the load of this message), and when the battery swapping related devices convert the wireless heartbeat message into a standard heartbeat message according to the conversion rule, the identification information can be used as the value of the message field of the standard heartbeat message, so that this information is recorded in the data field of the standard heartbeat message.

[0058] Based on this, the RFID reader can read the identification information of any one of the battery swapping vehicles from the RFID tag and send the read identification information to the battery swapping controller; furthermore, the battery swapping controller can extract the identification information of any one of the battery swapping vehicles (hereinafter referred to as the first identification information) from the standard heartbeat message, and when the extracted identification information is consistent with the identification information from the RFID reader (hereinafter referred to as the second identification information), control the basic function device to perform corresponding function operations for any one of the battery swapping vehicles. Among them, the RFID reader can only support the RFID reading function, or can also have both RFID reading and writing functions (that is, this reader can also be an RFID reader / writer). In addition, the identification information of any one of the battery swapping vehicles is information that can uniquely identify the vehicle, such as the vehicle identification number and / or license plate number of the vehicle, or can also be a unique number or nickname assigned when the vehicle is registered in the battery swapping service platform (such as Figure 2 the server 23 shown in Figure 3 or the server 33 shown in where the server-side program of the platform can be deployed and run), and details are not repeated here. It can be understood that the first identification information extracted from the standard heartbeat message is actively sent by the first vehicle through a wireless message, while the second identification information is actively read by the RFID reader from the RFID tag of the vehicle (and the reading distance is usually relatively close). Therefore, the consistency of the first identification information and the second identification information indicates that the vehicle where the RFID tag is located is exactly the vehicle that sends the first wireless message. At this time, controlling the basic function device to perform corresponding mechanical operations for this vehicle can ensure that the operation object is accurate and error-free.

[0059] Among them, the battery swapping controller can control the basic function device to perform mechanical operations corresponding to the device type. For example, when the RFID reader is assembled at the entrance of the battery swapping station and the basic function device includes the traffic restriction device at the entrance, the battery swapping controller can control the traffic restriction device to perform a release operation to allow any one of the battery swapping vehicles to enter the battery swapping station. The traffic restriction device at the entrance can be in any form such as a barrier gate, a lifting rod, a lifting column, etc., and the embodiments of the present invention do not limit this. In this way, the battery swapping control device can control the battery swapping vehicle to enter the battery swapping station, that is, only allow the battery swapping vehicle that has successfully connected to the wireless network of the battery swapping station to enter the battery swapping station, and avoid irrelevant vehicles from entering and occupying resources such as parking spaces in the station. Of course, the above RFID reader and traffic restriction device can also be assembled at the entrance of the battery swapping operation area inside the battery swapping station to control the battery swapping vehicle that has successfully connected to the wireless network of the battery swapping station to enter this battery swapping operation area to receive battery swapping services.

[0060] For another example, when the RFID reader is installed at the entrance of the battery swapping station or in the battery swapping operation area inside the battery swapping station, and the basic functional equipment includes the automatic battery swapping equipment in the battery swapping operation area, the battery swapping controller can control the automatic battery swapping equipment to perform a battery swapping operation on any battery swapping vehicle. Among them, the automatic battery swapping equipment may include a battery bin (for storing fully charged batteries and discharged batteries), a battery swapping robot / robotic arm (for removing the discharged battery from the battery swapping vehicle and installing a fully charged battery), a battery conveying device (for conveying batteries between the battery bin and the battery swapping robot), a vehicle positioning device (ensuring that the vehicle accurately stops at the correct battery swapping position in the battery swapping operation area), and / or a battery detection device (checking the battery status to ensure safety and performance), etc. The specific process and logic of the above automatic battery swapping equipment for performing the battery swapping operation can be found in the relevant technology records and will not be elaborated here.

[0061] Continuing from the foregoing embodiments, taking Figure 2 the battery swapping service scenario shown as an example for illustration. Assume that an RFID tag, an RFID reader 224, and a traffic restriction device 225 are all installed at the entrance of the battery swapping station 22 on the tractor 211. In this scenario, if the tractor 211 sends a first wireless message to the general message device 221 through the Wi-Fi router 223, the general message device 221 can convert this message into a first standard message following the standard message protocol and send it to the battery swapping controller 222, so that the battery swapping controller 222 can parse out the license plate number of the tractor 211 (hereinafter referred to as the first license plate number) from this message; if the RFID reader 224 reads the license plate number of the tractor 211 from the RFID tag, it can send this license plate number (hereinafter referred to as the second license plate number) to the battery swapping controller 222. At this time, if the aforementioned first license plate number and the second license plate number are the same (i.e., they are identical), the battery swapping controller 222 can control the traffic restriction device 225 to release (such as controlling the lifting rod to rise) so that the tractor 211 can drive into the battery swapping station 22; and / or, it can also control the automatic battery swapping equipment 226 to perform a battery swapping operation on the tractor 211. Of course, when the floor area of the battery swapping station is relatively large, the battery swapping operation usually needs to be performed in a specific battery swapping operation area. At this time, an RFID reader can also be installed at the entrance of the battery swapping operation area, and the second license plate number read by it can be sent to the battery swapping controller 222, so that when the battery swapping controller 222 determines that the first license plate number and the second license plate number are the same, it can then control the traffic restriction device 225 installed at the entrance of the battery swapping operation area to release the tractor 211 to enter the battery swapping operation area, and / or control the automatic battery swapping equipment 226 to perform a battery swapping operation on the tractor 211, etc., which will not be elaborated here.

[0062] In one embodiment, considering that the messages defined by the wireless message protocol and the standard message protocol contain different message fields respectively (for example, the wireless message defined by the wireless message protocol contains wireless fields, and the standard message defined by the standard message protocol contains standard fields), the conversion rule may include the correspondence between each standard field in the standard message defined by the standard message protocol and each wireless field in the wireless messages defined by the respective wireless message protocols. Based on this, when converting the first wireless message into the first standard message, the general message device may first determine the target standard fields corresponding to each first wireless field in the first wireless message according to the conversion rule, and then set the values of each first wireless field to the values of the corresponding target standard fields in the first standard message, so as to obtain the first standard message. And / or, when converting the second standard message into the second wireless message, the battery swapping related device may first determine the target wireless fields corresponding to each second standard field in the second standard message according to the conversion rule, and then set the values of each second standard field to the values of the corresponding target wireless fields in the second wireless message, so as to obtain the second wireless message.

[0063] Among them, when generating a message, the above values can be set by means of splicing or filling. Taking the process of generating the first standard message as an example: the values of each first wireless field can be spliced in sequence according to the order of each target standard field in the first standard message to obtain the spliced first standard message; alternatively, a blank standard message can also be created first according to the order of each target standard field in the first standard message, and the values of each first wireless field can be filled into the corresponding positions in the blank standard message to obtain the filled first standard message.

[0064] Through this solution, in the process of protocol conversion and generating the corresponding message, the values of each field in the message to be generated can be accurately determined according to the mapping relationship between the fields included in the message protocols followed by the messages before and after conversion, so as to effectively ensure the content accuracy of the generated message and avoid situations such as conversion failure or data error. Of course, the embodiments of the present invention do not limit the specific contents such as the number, order and corresponding relationship of the fields included in the target wireless message protocol and the vehicle battery swapping system 2 respectively, and can be flexibly set according to the actual business requirements at the current stage of the solution implementation. This is hereby explained.

[0065] In one embodiment, the operations related to battery swapping for any battery swapping vehicle in response to the first standard message can be in various forms. For example, when the first standard message indicates that the vehicle enters the battery swapping operation area, the restricted traffic control device can be controlled to perform an area closing operation, and the automatic battery swapping device can be controlled to perform a battery swapping operation. For another example, when the first standard message indicates that the local temperature of the vehicle (such as the battery temperature) is too high, the fire control device (such as Figure 2 the fire control device 327 shown) can be controlled to perform a fire alarm operation and / or an automatic fire extinguishing operation (such as automatic sprinkling, automatic release of flame retardant, etc.). For yet another example, when the first standard message indicates that the battery swapping of any battery swapping vehicle is completed, the metering device (such as Figure 2 the smart electricity meter 328 shown) can be controlled to calculate the battery swapping amount of the current battery swapping operation (i.e., the difference between the power of the fully charged battery after replacement and the power of the discharged battery before replacement), and the charging device (such as Figure 2 the charging pile 329 shown) can be controlled to charge the discharged battery removed, etc.

[0066] In one embodiment, the equipment related to battery swapping can include a battery swapping controller, basic function equipment, and a standard protocol conversion device. The standard message protocol followed by the first standard message is the first standard message protocol, the standard message protocol supported by the battery swapping controller is the second standard message protocol, and the standard protocol conversion device maintains the standard protocol conversion rules between the first standard message protocol and the second standard message protocol. It can be understood that at this time, the first standard message sent after conversion by the general message device does not follow the standard message protocol supported by the battery swapping controller, so the battery swapping controller cannot recognize the message. At this time, in order to ensure that the battery swapping controller can successfully respond to the message and thus control the various basic function devices connected to it to cooperate with each other to perform corresponding functional operations. For example, the standard protocol conversion device converts the first standard message following the first standard message protocol into a message following the second standard message protocol according to the standard protocol conversion rules and sends the message to the battery swapping controller; and the battery swapping controller controls the basic function devices to perform corresponding functional operations for any battery swapping vehicle in response to the received message. Among them, the basic function equipment is software and hardware equipment for realizing specific functions, such as it can include the aforementioned Figure 3RFID readers 324 to charging piles 329 shown above, etc. These devices are respectively connected to the battery swapping controller 322 and operate under the control of this controller to orderly implement their respective basic functions. Corresponding to the above forward process, the battery swapping controller can also generate a message conforming to the second standard message protocol and send it to the standard protocol conversion device, so that this device can convert this message into a message conforming to the first standard message protocol and send it to the general message device. Thus, the general message device can convert the received message as the second standard message into a second wireless message conforming to the target wireless message protocol and return it to any of the battery swapping vehicles, which will not be elaborated here.

[0067] Continuing from the foregoing embodiment, as Figure 3 shown, let's assume that the above first standard message protocol is any CAN message protocol belonging to the CAN protocol, and the second standard message protocol is any HTTP message protocol belonging to the HTTP protocol. At this time, the standard protocol conversion device 323 maintains the standard protocol conversion rules between any CAN message protocol and any HTTP message protocol. Similar to the foregoing conversion rules maintained by the general message device, this standard protocol conversion rule can also record the mapping relationship between each field in the CAN message defined by any CAN message protocol and each field in the HTTP message defined by any HTTP message protocol.

[0068] At this time, the first standard message converted by the general message device 321 is a CAN message conforming to any CAN message protocol. After the general message device 321 sends this CAN message to the standard protocol conversion device 323, the standard protocol conversion device 323 can convert the CAN message into an HTTP message conforming to any HTTP message protocol according to the above standard protocol conversion rules and send it to the battery swapping controller 322; furthermore, the battery swapping controller 322 can control at least some of the basic function devices such as RFID readers 324 to charging piles 329 to respectively execute corresponding function operations in response to this HTTP message. Correspondingly, the battery swapping controller 322 can also generate an HTTP response message and send it to the standard protocol conversion device 323, so that this device can convert the HTTP response message into a CAN response message according to the foregoing standard protocol conversion rules and send it to the general message device 321. Thus, the general message device 321 can convert the CAN response message into a second wireless message conforming to the target wireless message protocol according to the conversion rules maintained by itself and return it to the tractor 311, which will not be elaborated here.

[0069] In this way, the standard protocol conversion device can perform protocol conversion on the standard messages exchanged between the two based on the standard protocol conversion rules maintained by itself, thereby breaking down the standard protocol barriers between the two and ensuring the smooth interaction between the two. It can be understood that in the case where the battery swapping controller supports the second standard message protocol while the general message device does not support this protocol, a standard protocol conversion device can be added between the general message device and the battery swapping controller, thereby reducing the implementation difficulty of the message forwarding solution described in this specification. And in the case where the battery swapping controller is already connected to a standard protocol conversion device, the general message device only needs to connect to this device without paying attention to the underlying battery swapping controller. Even this standard protocol conversion device can be connected to multiple battery swapping controllers simultaneously (such as multiple domain controllers that respectively implement different functions in a battery swapping station, etc.), which helps to simplify the configuration difficulty of the general message device and improve the device compatibility of the existing battery swapping station.

[0070] In one embodiment, the general message device can also update the conversion rules maintained by itself to flexibly meet the business requirements of the battery swapping station. For example, it can receive a rule update request initiated for the conversion rules and update the conversion rules according to the update indication information included in the rule update request. Among them, the rule update request can be sent by the server side of the battery swapping service platform (such as Figure 2 the server 23 shown or Figure 3 the server 33 shown), or it can also be initiated by the battery swapping controller of the battery swapping station (such as Figure 2 the battery swapping controller 222 shown or Figure 3 the battery swapping controller 322 shown); or, in the case where the permission verification is passed, it can also be initiated by any of the battery swapping vehicles, etc. The embodiments of the present invention do not limit this. In addition, updating the conversion rules can include adding rules (such as adding conversion rule entries between any wireless message protocol supported by vehicles produced by a certain vehicle enterprise and the vehicle battery swapping system 2, so that these vehicles can receive the battery swapping service provided by this battery swapping station), deleting rules (such as deleting the conversion rule entries between a certain wireless message protocol that has been maintained and the vehicle battery swapping system 2, so that this battery swapping station refuses to accept the battery swapping service for vehicles that support this wireless message protocol), modifying rules, etc., which will not be elaborated here. In this way, the battery swapping service scope of the battery swapping station can be flexibly controlled in the cloud, at the battery swapping station, or even at the vehicle end (when there is permission), thereby improving the intelligent management level of the battery swapping station.

[0071] Corresponding to the foregoing previous embodiments, the present invention also proposes a message forwarding method, which is applied to the general message device assembled in the foregoing battery swapping station. The battery swapping station is also equipped with battery swapping related devices that support the standard message protocol. The general message device maintains the conversion rules between the standard message protocol and at least one wireless message protocol. AsFigure 4 As shown, the method includes steps 402-404.

[0072] Step 402: In response to receiving a first wireless message conforming to a target wireless message protocol sent by any battery swapping vehicle, convert the first wireless message into a first standard message conforming to the standard message protocol according to the conversion rule, and send the first standard message to the battery swapping related device, so that the battery swapping related device performs battery swapping related operations for the any battery swapping vehicle.

[0073] Step 404: In response to receiving a second standard message conforming to the standard message protocol sent by the battery swapping related device, convert the second standard message into a second wireless message conforming to the target wireless message protocol according to the conversion rule, and send the second wireless message to the any battery swapping vehicle.

[0074] In one embodiment, the target wireless message protocol belongs to a target wireless communication protocol.

[0075] When a wireless message transceiver device supporting the target wireless communication protocol is further installed in the battery swapping station, receiving the first wireless message includes: receiving the first wireless message forwarded by the wireless message transceiver device; sending the second wireless message to the any battery swapping vehicle includes: forwarding the second wireless message to the any battery swapping vehicle through the wireless message transceiver device.

[0076] When a wireless message transceiver module supporting the target wireless communication protocol is integrated in the general message device, receiving the first wireless message includes: receiving the first wireless message through the wireless message transceiver module; sending the second wireless message to the any battery swapping vehicle includes: sending the second wireless message to the any battery swapping vehicle by the wireless message transceiver module.

[0077] In one embodiment, the conversion rule includes the correspondence between each standard field in the standard message defined by the standard message protocol and each wireless field in the wireless message defined by each wireless message protocol.

[0078] Converting the first wireless message into a first standard message conforming to the standard message protocol according to the conversion rule includes: determining the target standard fields corresponding to each first wireless field in the first wireless message according to the conversion rule, and setting the values of each first wireless field to the values of the corresponding target standard fields in the first standard message; and / or

[0079] Converting the second standard message into a second wireless message compliant with the target wireless message protocol according to the conversion rule includes: determining, according to the conversion rule, the target wireless fields respectively corresponding to the respective second standard fields in the second standard message, and setting the values of the respective second standard fields as the values of the corresponding target wireless fields in the second wireless message.

[0080] In one embodiment, it further includes:

[0081] Receiving a rule update request initiated for the conversion rule, and updating the conversion rule according to the update indication information included in the rule update request.

[0082] For the specific implementation manner of the message forwarding method, reference may be made to the description in the foregoing embodiments, and details are not described herein again.

[0083] As can be seen from the foregoing system and method embodiments, the vehicle battery swapping system of the present invention includes a general message device and battery swapping related devices. The battery swapping related devices support the standard message protocol, and the general message device maintains a conversion rule between the standard message protocol and at least one wireless message protocol. Based on this, when the general message device receives a first wireless message compliant with the target wireless message protocol sent by any battery swapping vehicle, it can convert the message into a first standard message compliant with the standard message protocol according to the conversion rule and send it to the battery swapping related devices; and when receiving a second standard message compliant with the standard message protocol sent by the battery swapping related devices, it can convert the message into a second wireless message compliant with the target wireless message protocol according to the conversion rule and send it to the any battery swapping vehicle.

[0084] This solution installs a general message device (maintaining the conversion rules between the standard message protocol and at least one wireless message protocol) in the battery swapping station, and this device performs protocol conversion on the communication messages exchanged between the battery swapping vehicle and the battery swapping related devices. It can be understood that the general message device does not simply receive and forward messages, but converts the messages according to the message protocol, that is, converts the messages of one protocol into the messages of another protocol. No matter what kind of wireless message protocol the battery swapping vehicle supports, as long as the conversion rules between this wireless message protocol and the standard message protocol are pre-recorded in the general message device, the general message device can perform protocol conversion on the messages based on these rules, so as to ensure the normal communication between the battery swapping vehicle and the battery swapping related devices. No matter what the manufacturer and model of the battery swapping vehicle are, it can smoothly receive the battery swapping service of this battery swapping station. It can be seen that this solution breaks the protocol barriers between different vehicles and different battery swapping stations, improves the compatibility of the battery swapping station with different brands and models of battery swapping vehicles (both expands the coverage of the battery swapping service provided by the battery swapping station and increases the number of available battery swapping stations for electric vehicles), and significantly improves the generality of the battery swapping service. In addition, in the application stage of this solution, only a general message device needs to be added to the battery swapping station, without changing the software and hardware structure of the original battery swapping related devices in the battery swapping station. Therefore, the implementation logic is simple and the implementation cost is low.

[0085] Figure 5 It is a schematic structural diagram of an electronic device shown in an embodiment of the present invention. Please refer to Figure 5 At the hardware level, this device includes a processor 501, a network interface 502, a memory 503, a non-volatile memory 504, and an internal bus 505. Of course, it may also include other hardware required for other services. One or more embodiments of the present invention can be implemented in a software manner. For example, the processor 501 reads the corresponding computer program from the non-volatile memory 504 into the memory 503 and then runs it. Of course, in addition to the software implementation manner, one or more embodiments of the present invention do not exclude other implementation manners, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, and can also be hardware or a logic device. It can be understood that this electronic device is the general message device described in the present invention, and the non-volatile memory 504 can be used to store the aforementioned conversion rules.

[0086] Figure 6 A block diagram of a message forwarding device shown in an embodiment of the present invention. Please refer to Figure 6 This device can be applied to, for example, Figure 5In the device shown, the technical solution described in the present invention is implemented. The device is applied to a general message device assembled in a battery swapping station, and the battery swapping station is also equipped with battery swapping related devices that support a standard message protocol. The general message device maintains conversion rules between the standard message protocol and at least one wireless message protocol. As Figure 6 shown, the device includes:

[0087] A first conversion unit 601, configured to, in response to receiving a first wireless message conforming to a target wireless message protocol sent by any battery swapping vehicle, convert the first wireless message into a first standard message conforming to the standard message protocol according to the conversion rule, and send the first standard message to the battery swapping related device, so that the battery swapping related device performs battery swapping related operations for the any battery swapping vehicle.

[0088] A second conversion unit 602, configured to, in response to receiving a second standard message conforming to the standard message protocol sent by the battery swapping related device, convert the second standard message into a second wireless message conforming to the target wireless message protocol according to the conversion rule, and send the second wireless message to the any battery swapping vehicle.

[0089] In an embodiment, the target wireless message protocol belongs to a target wireless communication protocol.

[0090] In the case that the battery swapping station is further equipped with a wireless message transceiver device that supports the target wireless communication protocol, the first conversion unit 601 is specifically configured to: receive the first wireless message forwarded by the wireless message transceiver device; the second conversion unit 602 is specifically configured to: forward the second wireless message to the any battery swapping vehicle through the wireless message transceiver device;

[0091] In the case that a wireless message transceiver module that supports the target wireless communication protocol is integrated in the general message device, the first conversion unit 601 is specifically configured to: receive the first wireless message through the wireless message transceiver module; the second conversion unit 602 is specifically configured to: send the second wireless message to the any battery swapping vehicle by the wireless message transceiver module.

[0092] In an embodiment, the conversion rule includes the correspondence between each standard field in the standard message defined by the standard message protocol and each wireless field in the wireless message defined by each wireless message protocol.

[0093] The first conversion unit 601 is specifically configured to: determine the target standard fields corresponding to the respective first wireless fields in the first wireless message according to the conversion rule, and set the values of the respective first wireless fields to the values of the corresponding target standard fields in the first standard message; and / or,

[0094] The second conversion unit 602 is specifically configured to: determine the target wireless fields corresponding to the respective second standard fields in the second standard message according to the conversion rule, and set the values of the respective second standard fields to the values of the corresponding target wireless fields in the second wireless message.

[0095] In one embodiment, a rule update unit 603 is further included, configured to:

[0096] Receive a rule update request initiated for the conversion rule, and update the conversion rule according to the update indication information included in the rule update request.

[0097] Correspondingly, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the message forwarding method described in any of the foregoing embodiments is implemented.

[0098] Correspondingly, the present specification further provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps of the message forwarding method described in any of the foregoing embodiments are implemented.

[0099] The system, apparatus, module or unit illustrated in the foregoing embodiments may be specifically implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver device, a game console, a tablet computer, a wearable device, or a combination of any several of these devices.

[0100] In a typical configuration, a computer includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.

[0101] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM), and / or non-volatile memory in the form of, for example, read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0102] A computer-readable medium includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. The information can be computer-readable instructions, data structures, program modules, 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, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transitory media that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.

Claims

1. A message forwarding method, characterized in that: A universal message device installed in a battery swap station, wherein the battery swap station is also equipped with battery swap related equipment supporting a standard message protocol, and the universal message device maintains a conversion rule between the standard message protocol and at least one wireless message protocol; the method comprises: In response to receiving a first wireless message that complies with a target wireless message protocol and is sent by any battery-swapping vehicle, converting the first wireless message into a first standard message that complies with the standard message protocol according to the conversion rule, and sending the first standard message to the battery-swapping related device, so that the battery-swapping related device performs battery-swapping related operations for any battery-swapping vehicle; In response to receiving a second standard message that complies with the standard message protocol and is sent by the battery-swap related equipment, the second standard message is converted into a second wireless message that complies with the target wireless message protocol according to the conversion rule, and the second wireless message is sent to any of the battery-swap vehicles.

2. The method according to claim 1, characterized in that The target wireless message protocol belongs to the target wireless communication protocol, In the case where the battery swap station is also equipped with a wireless message transceiver device supporting the target wireless communication protocol, receiving the first wireless message includes: receiving the first wireless message forwarded by the wireless message transceiver device; sending the second wireless message to any battery swap vehicle includes: forwarding the second wireless message to any battery swap vehicle through the wireless message transceiver device; In a case where the universal message device is integrated with a wireless message transceiver module supporting the target wireless communication protocol, receiving the first wireless message includes: receiving the first wireless message through the wireless message transceiver module; sending the second wireless message to any battery-swap vehicle includes: sending the second wireless message to any battery-swap vehicle by the wireless message transceiver module.

3. The method according to claim 1, characterized in that The conversion rule includes a correspondence between each standard field in the standard message defined by the standard message protocol and each wireless field in the wireless message defined by each wireless message protocol, The converting the first wireless message into a first standard message that complies with the standard message protocol according to the conversion rule includes: determining the target standard fields corresponding to the first wireless fields in the first wireless message according to the conversion rule, and setting the values ​​of the first wireless fields to the values ​​of the corresponding target standard fields in the first standard message; and / or, The converting of the second standard message into a second wireless message complying with the target wireless message protocol according to the conversion rule includes: determining the target wireless fields corresponding to the respective second standard fields in the second standard message according to the conversion rule, and setting the values ​​of the respective second standard fields to the values ​​of the corresponding target wireless fields in the second wireless message.

4. The method according to claim 1, characterized in that: Also includes: A rule update request initiated for the conversion rule is received, and the conversion rule is updated according to the update indication information included in the rule update request.

5. A vehicle battery replacement system, characterized in that: It includes a universal message device installed in a battery swap station and a battery swap related device supporting a standard message protocol, wherein the universal message device maintains a conversion rule between the standard message protocol and at least one wireless message protocol; wherein, The universal message device is used for, in response to receiving a first wireless message following a target wireless message protocol sent by any battery-swapping vehicle, converting the first wireless message into a first standard message following the standard message protocol according to the conversion rule, and sending the first standard message to the battery-swapping related device; and, in response to receiving a second standard message following the standard message protocol sent by the battery-swapping related device, converting the second standard message into a second wireless message following the target wireless message protocol according to the conversion rule, and sending the second wireless message to any battery-swapping vehicle; The battery-swap-related device is used to perform battery-swap-related operations for any battery-swap vehicle in response to the first standard message; and to send the second standard message to the general message device.

6. The system according to claim 5, characterized in that The target wireless message protocol belongs to the target wireless communication protocol, and the battery swap station is equipped with a wireless message transceiver device supporting the target wireless communication protocol; or, the universal message device is integrated with a wireless message transceiver module supporting the target wireless communication protocol; Wherein, any one of the wireless message transceiver device and the wireless message transceiver module is used to transmit and receive wireless signals that comply with the target wireless communication protocol.

7. The system according to claim 6, characterized in that In the case where the wireless message transceiver device is installed in the battery swap station, the universal message device receives the first wireless message, including: receiving the first wireless message forwarded by the wireless message transceiver device; the universal message device sends the second wireless message to any battery swap vehicle, including: forwarding the second wireless message to any battery swap vehicle through the wireless message transceiver device; When the wireless message transceiver module is integrated in the universal message device, the universal message device receives the first wireless message, including: receiving the first wireless message through the wireless message transceiver module; the universal message device sends the second wireless message to any battery-swap vehicle, including: sending the second wireless message to any battery-swap vehicle by the wireless message transceiver module.

8. The system according to claim 5, characterized in that The battery swap related equipment includes a battery swap controller, basic functional equipment and a radio frequency identification RFID reader, and any battery swap vehicle is equipped with a corresponding RFID tag; the first wireless message includes a wireless heartbeat message carrying the identification information of any battery swap vehicle, and the first standard message includes a standard heartbeat message carrying the identification information of any battery swap vehicle; wherein, The RFID reader is used to read the identification information of any battery-swapping vehicle from the RFID tag, and send the read identification information to the battery-swapping controller; The battery-swap-related equipment performs battery-swap-related operations for any battery-swap vehicle in response to the first standard message, including: the battery-swap controller extracts the identification information of any battery-swap vehicle from the standard heartbeat message, and when the extracted identification information is consistent with the identification information from the RFID reader, controls the basic function equipment to perform corresponding functional operations for any battery-swap vehicle.

9. The system according to claim 8, characterized in that The battery swap controller controls the basic functional device to perform corresponding functional operations for any battery swap vehicle, including: In the case where the RFID reader is installed at the entrance of the battery swap station, and the basic functional equipment includes a traffic restriction device at the entrance, controlling the traffic restriction device to perform a release operation to allow any battery swap vehicle to enter the battery swap station; When the RFID reader is installed at the entrance of the battery swap station or in the battery swap operation area within the battery swap station, and the basic functional equipment includes an automatic battery swap device in the battery swap operation area, the automatic battery swap device is controlled to perform a battery swap operation on any of the battery swap vehicles.

10. The system according to claim 5, characterized in that The conversion rule includes a correspondence between each standard field in the standard message defined by the standard message protocol and each wireless field in the wireless message defined by each wireless message protocol, The general message device converts the first wireless message into a first standard message that complies with the standard message protocol according to the conversion rule, including: determining the target standard fields corresponding to the first wireless fields in the first wireless message according to the conversion rule, and setting the values ​​of the first wireless fields to the values ​​of the corresponding target standard fields in the first standard message; and / or, The universal message device converts the second standard message into a second wireless message that complies with the target wireless message protocol according to the conversion rule, including: determining the target wireless fields corresponding to each second standard field in the second standard message according to the conversion rule, and setting the values ​​of each second standard field to the values ​​of the corresponding target wireless fields in the second wireless message.

11. The system according to claim 5, characterized in that The battery swap related equipment includes a battery swap controller, a basic function equipment and a standard protocol conversion equipment. The standard message protocol followed by the first standard message is the first standard message protocol, the standard message protocol supported by the battery swap controller is the second standard message protocol, and the standard protocol conversion equipment maintains the standard protocol conversion rules between the first standard message protocol and the second standard message protocol; the battery swap related equipment performs battery swap related operations for any battery swap vehicle in response to the first standard message, including: The standard protocol conversion device converts the first standard message following the first standard message protocol into a message following the second standard message protocol according to the standard protocol conversion rule, and sends the message to the battery replacement controller; The battery-swap controller controls the basic functional device to perform corresponding functional operations on any of the battery-swap vehicles in response to the received message.

12. The system according to claim 5, characterized in that The general message device is also used for: A rule update request initiated for the conversion rule is received, and the conversion rule is updated according to the update indication information included in the rule update request.

13. The method according to any one of claims 1 to 4 or the system according to any one of claims 5 to 12, characterized in that: The target wireless message protocol belongs to the Wireless Fidelity Wi-Fi protocol; and / or, The standard message protocol belongs to the Controller Area Network (CAN) protocol or the Hypertext Transfer Protocol (HTTP) protocol.

14. An electronic device comprising: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 4 by running the executable instructions.

15. A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 4.