Vehicle battery replacing method, electronic equipment, battery replacing station and storage medium
By setting up online and offline WiFi access points in the battery swap station and using different modes to swap the battery according to the connection situation, the problem of battery swap failure caused by instability in the communication network is solved, and the reliability and user experience of vehicle battery swap is improved.
Patent Information
- Application Number
- CN202411464854.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2024-12-10
AI Technical Summary
In the existing vehicle battery swap method, the instability of the communication network leads to frequent failures in battery swap, affecting reliability and user experience.
Set up an online WiFi access point and an offline WiFi access point in the battery swap station. Depending on the vehicle's connection type and the status of the battery swap station, use offline mode or online mode to swap the battery. The offline mode obtains battery swap orders and performs battery swaps through the ordering service configured by the battery swap station, and the online mode uses the ordering service configured by the cloud server to perform battery swaps.
Even when the communication network is interrupted, the vehicle's battery replacement can be completed normally, which significantly improves the reliability and user experience of battery replacement.
Smart Images

Figure CN119099421A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle battery replacement technology, and specifically to a vehicle battery replacement method, electronic equipment, a battery replacement station and a storage medium. Background Art
[0002] For vehicles that use power batteries as their power source, when the battery power is low, they can replace the power battery with a fully charged one at a battery swap station (i.e., battery swapping) to achieve rapid energy replenishment.
[0003] At present, the conventional battery replacement method is completed by the vehicle, the battery replacement station and the cloud server. Figure 1 As shown, the conventional battery swap method includes an ordering stage and a service stage. In the ordering stage, the vehicle initiates a battery swap request to the cloud server through the communication network. The cloud server provides the vehicle with an ordering service for the battery swap order based on the battery swap request. The vehicle selects a battery swap station through the ordering service and places an order. The cloud server confirms the battery swap order and synchronizes the battery swap order to the battery swap station. The cloud server synthesizes the WiFi password and other information provided by the battery swap station into order confirmation information and sends the order confirmation information to the vehicle. The vehicle obtains the WiFi password of the battery swap station based on the order confirmation information. In the service stage, the vehicle uses the WiFi password of the battery swap station to establish a communication connection with the WiFi access point in the battery swap station. The battery swap station prepares the battery swap service based on the vehicle's battery swap order. Then the vehicle starts the battery swap, and the battery swap station sends the battery swap result to the cloud server.
[0004] In the above battery swap process, the vehicle and the cloud server, the battery swap station and the cloud server, and the vehicle and the battery swap station are all connected by a communication network to achieve information exchange. If the communication network is abnormal, it is likely to cause the battery swap to fail, especially when uncontrollable abnormalities such as network congestion and weak network signal occur. Therefore, in actual applications, battery swap failures caused by unstable communication networks frequently occur, seriously affecting the reliability of battery swaps and user experience.
[0005] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention
[0006] In order to overcome the above-mentioned defects, the present application is proposed to solve or at least partially solve the technical problem of improving the reliability of vehicle battery replacement.
[0007] In a first aspect, a vehicle battery replacement method is provided, which is applied to a battery replacement station, wherein an online WiFi access point and an offline WiFi access point are provided in the battery replacement station, wherein the online WiFi access point is used to establish a communication connection with the vehicle through a communication network when the vehicle is online, and the offline WiFi access point is used to directly establish a communication connection with the vehicle when the vehicle is offline, wherein the vehicle online indicates that the vehicle is connected to a cloud server through a communication network, and the vehicle offline indicates that the vehicle is not connected to the cloud server through a communication network, and the method comprises:
[0008] Obtain the type of WiFi access point to which the vehicle is connected in the battery swap station;
[0009] Obtaining the status of the battery swap station, the status including online and offline, the online status indicating that the battery swap station is connected to the cloud server through the communication network, and the offline status indicating that the battery swap station is not connected to the cloud server through the communication network;
[0010] If the type is an offline WiFi access point and / or the state is offline, the battery of the vehicle is replaced in an offline mode; otherwise, the battery of the vehicle is replaced in an online mode;
[0011] in,
[0012] The offline mode includes: obtaining a battery replacement order for the vehicle through a battery replacement order placement service configured by the battery replacement station, and replacing the battery of the vehicle according to the battery replacement order;
[0013] The online mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the cloud server, and replacing the battery of the vehicle according to the battery replacement order.
[0014] In a technical solution of the above-mentioned vehicle battery replacement method, the battery replacement order of the vehicle is obtained through the battery replacement order placement service configured by the battery replacement station, including:
[0015] receiving a battery replacement request from the vehicle;
[0016] Providing the vehicle with an ordering service for a battery swapping order configured by the battery swapping station according to the battery swapping request;
[0017] In response to the vehicle completing the placement of a battery replacement order through the ordering service, a first battery replacement order for the vehicle is obtained.
[0018] In a technical solution of the above-mentioned vehicle battery replacement method, the offline mode includes:
[0019] In response to successfully completing the battery replacement for the vehicle, accounting for the first battery replacement order;
[0020] If the status is online, sending the accounting information to the cloud server;
[0021] If the state is offline, the accounting information is sent to the cloud server after the state is switched from offline to online.
[0022] In a technical solution of the above-mentioned vehicle battery replacement method, if the type is an offline WiFi access point and the state is online, the ordering service for the battery replacement order configured by the battery replacement station is replaced with the following method to obtain the battery replacement order of the vehicle:
[0023] Receiving a battery replacement request from the vehicle, and forwarding the battery replacement request to a cloud server;
[0024] receiving a second battery swap order for the vehicle sent by the cloud server, where the second battery swap order is an order sent by the cloud server to the battery swap station according to the forwarded battery swap request;
[0025] in,
[0026] The cloud server is configured to:
[0027] If a battery swap request of a vehicle forwarded by a battery swap station is received, an ordering service for a battery swap order configured by the cloud server is provided to the vehicle through the battery swap station;
[0028] In response to the vehicle completing the placement of a battery swap order through the ordering service, a second battery swap order for the vehicle is obtained and the second battery swap order is sent to the battery swap station.
[0029] In a technical solution of the above-mentioned vehicle battery replacement method, the offline mode includes:
[0030] Obtaining a first battery replacement result after replacing the battery of the vehicle according to the second battery replacement order;
[0031] Sending the first battery replacement result to a cloud server;
[0032] in,
[0033] The cloud server is configured to: if a first battery exchange result sent by the battery exchange station is received, the second battery exchange order is accounted for according to the first battery exchange result.
[0034] In a technical solution of the above-mentioned vehicle battery replacement method, the receiving of the battery replacement request of the vehicle includes:
[0035] If the vehicle is connected to the offline WiFi access point, a battery replacement request of the vehicle is received through a target communication connection, where the target communication connection is a communication connection established between the offline WiFi access point and the vehicle;
[0036] If the vehicle is connected to the online WiFi access point, the battery replacement request of the vehicle is received through the online WiFi access point, and the battery replacement request is forwarded to the offline WiFi access point to obtain the battery replacement request through the target communication connection.
[0037] In a technical solution of the above-mentioned vehicle battery replacement method, the battery replacement order of the vehicle is obtained through the battery replacement order placing service configured by the cloud server, including:
[0038] receiving a third battery swap order for the vehicle sent by the cloud server, where the third battery swap order is an order sent by the cloud server to the battery swap station according to the battery swap request sent by the vehicle;
[0039] in,
[0040] The cloud server is configured to:
[0041] If a battery replacement request is received from a vehicle, the vehicle is provided with a battery replacement order placement service configured by the cloud server;
[0042] In response to the vehicle completing the placement of a battery swap order through the ordering service, a third battery swap order for the vehicle is obtained and the third battery swap order is sent to the battery swap station.
[0043] In a technical solution of the above-mentioned vehicle battery replacement method, the online mode includes:
[0044] Obtaining a second battery replacement result after replacing the battery of the vehicle according to the third battery replacement order;
[0045] Sending the second battery replacement result to the cloud server;
[0046] in,
[0047] The cloud server is configured to: if a second battery exchange result sent by the battery exchange station is received, the third battery exchange order is accounted for according to the second battery exchange result.
[0048] In one technical solution of the above vehicle battery replacement method, the vehicle is connected to the WiFi access point in the battery replacement station in the following manner:
[0049] In response to the vehicle arriving at the battery swap station, obtaining a status of the vehicle;
[0050] If the state is that the vehicle is online, the vehicle is connected to the online WiFi access point;
[0051] If the state is that the vehicle is offline, the vehicle is connected to the offline WiFi access point.
[0052] In a second aspect, an electronic device is provided, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any one of the technical solutions of the above-mentioned vehicle battery replacement method is implemented.
[0053] In a third aspect, a battery swap station is provided, which includes the electronic device provided in the second aspect.
[0054] In a fourth aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the method described in any one of the technical solutions of the above-mentioned vehicle battery replacement method.
[0055] Solution 1. A vehicle battery replacement method, characterized in that it is applied to a battery replacement station, wherein an online WiFi access point and an offline WiFi access point are provided in the battery replacement station, wherein the online WiFi access point is used to establish a communication connection with the vehicle through a communication network when the vehicle is online, and the offline WiFi access point is used to directly establish a communication connection with the vehicle when the vehicle is offline, wherein the vehicle online indicates that the vehicle is connected to a cloud server through a communication network, and the vehicle offline indicates that the vehicle is not connected to the cloud server through a communication network, and the method comprises:
[0056] Obtain the type of WiFi access point to which the vehicle is connected in the battery swap station;
[0057] Obtaining the status of the battery swap station, the status including online and offline, the online status indicating that the battery swap station is connected to the cloud server through the communication network, and the offline status indicating that the battery swap station is not connected to the cloud server through the communication network;
[0058] If the type is an offline WiFi access point and / or the state is offline, the battery of the vehicle is replaced in an offline mode; otherwise, the battery of the vehicle is replaced in an online mode;
[0059] Among them, the offline mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the battery replacement station, and replacing the battery of the vehicle according to the battery replacement order; the online mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the cloud server, and replacing the battery of the vehicle according to the battery replacement order.
[0060] Solution 2. The method according to Solution 1 is characterized in that the step of obtaining the battery replacement order for the vehicle through the battery replacement order placement service configured by the battery replacement station comprises:
[0061] receiving a battery replacement request from the vehicle;
[0062] Providing the vehicle with an ordering service for a battery swapping order configured by the battery swapping station according to the battery swapping request;
[0063] In response to the vehicle completing the placement of a battery replacement order through the ordering service, a first battery replacement order for the vehicle is obtained.
[0064] Solution 3. The method according to Solution 2, characterized in that the offline mode includes:
[0065] In response to successfully completing the battery replacement for the vehicle, accounting for the first battery replacement order;
[0066] If the status is online, sending the accounting information to the cloud server;
[0067] If the state is offline, the accounting information is sent to the cloud server after the state is switched from offline to online.
[0068] Solution 4. The method according to Solution 1 is characterized in that, if the type is an offline WiFi access point and the state is online, the ordering service for the battery swap order configured by the battery swap station is replaced with the following method for obtaining the battery swap order for the vehicle:
[0069] Receiving a battery replacement request from the vehicle, and forwarding the battery replacement request to a cloud server;
[0070] receiving a second battery swap order for the vehicle sent by the cloud server, where the second battery swap order is an order sent by the cloud server to the battery swap station according to the forwarded battery swap request;
[0071] Wherein, the cloud server is configured as:
[0072] If a battery swap request of a vehicle forwarded by a battery swap station is received, an ordering service for a battery swap order configured by the cloud server is provided to the vehicle through the battery swap station;
[0073] In response to the vehicle completing the placement of a battery swap order through the ordering service, a second battery swap order for the vehicle is obtained and the second battery swap order is sent to the battery swap station.
[0074] Solution 5. The method according to claim 4, wherein the offline mode comprises:
[0075] Obtaining a first battery replacement result after replacing the battery of the vehicle according to the second battery replacement order;
[0076] Sending the first battery replacement result to a cloud server;
[0077] Wherein, the cloud server is configured to: if a first battery replacement result sent by the battery replacement station is received, the second battery replacement order is accounted for according to the first battery replacement result.
[0078] Solution 6. The method according to Solution 2 or 4, characterized in that the receiving of the battery replacement request of the vehicle comprises:
[0079] If the vehicle is connected to the offline WiFi access point, a battery replacement request of the vehicle is received through a target communication connection, where the target communication connection is a communication connection established between the offline WiFi access point and the vehicle;
[0080] If the vehicle is connected to the online WiFi access point, the battery replacement request of the vehicle is received through the online WiFi access point, and the battery replacement request is forwarded to the offline WiFi access point to obtain the battery replacement request through the target communication connection.
[0081] Solution 7. The method according to Solution 1 is characterized in that the battery replacement order of the vehicle is obtained through the battery replacement order placing service configured by the cloud server, comprising:
[0082] receiving a third battery swap order for the vehicle sent by the cloud server, where the third battery swap order is an order sent by the cloud server to the battery swap station according to the battery swap request sent by the vehicle;
[0083] Wherein, the cloud server is configured as:
[0084] If a battery replacement request is received from a vehicle, the vehicle is provided with a battery replacement order placement service configured by the cloud server;
[0085] In response to the vehicle completing the placement of a battery swap order through the ordering service, a third battery swap order for the vehicle is obtained and the third battery swap order is sent to the battery swap station.
[0086] Solution 8. The method according to Solution 7, characterized in that the online mode includes:
[0087] Obtaining a second battery replacement result after replacing the battery of the vehicle according to the third battery replacement order;
[0088] Sending the second battery replacement result to the cloud server;
[0089] Wherein, the cloud server is configured to: if a second battery replacement result sent by the battery replacement station is received, the third battery replacement order is accounted for according to the second battery replacement result.
[0090] Solution 9. The method according to Solution 1 is characterized in that the vehicle is connected to the WiFi access point in the battery swap station in the following manner:
[0091] In response to the vehicle arriving at the battery swap station, obtaining a status of the vehicle;
[0092] If the state is that the vehicle is online, the vehicle is connected to the online WiFi access point;
[0093] If the state is that the vehicle is offline, the vehicle is connected to the offline WiFi access point.
[0094] Solution 10. An electronic device, comprising:
[0095] at least one processor;
[0096] and, a memory communicatively coupled to the at least one processor;
[0097] Wherein, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the vehicle battery replacement method described in any one of Schemes 1 to 9 is implemented.
[0098] Solution 11. A battery swap station, characterized in that the battery swap station includes the electronic equipment described in Solution 10.
[0099] Scheme 12. A computer-readable storage medium storing a plurality of program codes, characterized in that the program codes are suitable for being loaded and run by a processor to execute the vehicle battery replacement method described in any one of Schemes 1 to 9.
[0100] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:
[0101] In a technical solution for implementing the vehicle battery replacement method provided in the present application, the method is applied to a battery replacement station, and an online WiFi access point and an offline WiFi access point are provided in the battery replacement station. The online WiFi access point is used to establish a communication connection with the vehicle through a communication network when the vehicle is online, and the offline WiFi access point is used to directly establish a communication connection with the vehicle when the vehicle is offline. The vehicle online means that the vehicle is connected to the cloud server through the communication network, and the vehicle offline means that the vehicle is not connected to the cloud server through the communication network.
[0102] The above method includes: obtaining the type of WiFi access point to which the vehicle is connected in the battery swap station; obtaining the status of the battery swap station, the status including online and offline, online means that the battery swap station is connected to the cloud server through a communication network, and offline means that the battery swap station is not connected to the cloud server through a communication network; if the type is an offline WiFi access point and / or the status is offline, the vehicle is replaced with an offline mode; otherwise, the vehicle is replaced with an online mode; the offline mode includes obtaining the vehicle's battery swap order through the battery swap order placement service configured by the battery swap station, and replacing the vehicle's battery according to the battery swap order; the online mode includes obtaining the vehicle's battery swap order through the battery swap order placement service configured by the cloud server, and replacing the vehicle's battery according to the battery swap order.
[0103] Based on the above implementation scheme, when the vehicle and the cloud server, or the battery swap station and the cloud server cannot be connected through the communication network (hereinafter described as network connection interruption), the vehicle battery can be replaced in offline mode; when the network connection between the vehicle and the cloud server is interrupted, it is possible that the vehicle cannot access the communication network, and the vehicle cannot be connected to the battery swap station through the communication network, but at this time the vehicle is connected to an offline WiFi access point, and does not need to use the communication network to establish a communication connection with the battery swap station, and can still establish a normal communication link with the battery swap station, based on which the battery swap can be completed in offline mode. It can be seen that the above implementation scheme overcomes the defect of the prior art that the communication network between the vehicle and the cloud server, between the battery swap station and the cloud server, and between the vehicle and the battery swap station must be stable to complete the battery swap. Even if the communication network is blocked, the signal is weak, and other abnormal conditions occur, the vehicle can still be replaced, which greatly improves the reliability of vehicle battery replacement and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0104] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. Among them:
[0105] Figure 1 This is a schematic flow chart of the main steps of a vehicle battery replacement method in the prior art;
[0106] Figure 2 This is a schematic flow chart of the main steps of a vehicle battery replacement method according to an embodiment of the present application;
[0107] Figure 3 This is a flowchart of the main steps of obtaining a battery replacement order for a vehicle through a battery replacement order placement service configured by a battery replacement station according to an embodiment of the present application;
[0108] Figure 4This is a flowchart of the main steps of obtaining a vehicle battery replacement order through an optional solution according to an embodiment of the present application;
[0109] Figure 5 This is a schematic diagram of the overall process of vehicle battery replacement according to an embodiment of the present application;
[0110] Figure 6 is a detailed schematic diagram of a vehicle battery replacement process according to an embodiment of the present application;
[0111] Figure 7 A schematic diagram of the additional functions of the battery swap station according to this embodiment compared to the battery swap station in the prior art;
[0112] Figure 8 It is a schematic diagram of the main structure of an electronic device according to an embodiment of the present application.
[0113] Reference numerals:
[0114] 11: memory; 12: processor. DETAILED DESCRIPTION
[0115] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0116] In the description of this application, "processor" may include hardware, software or a combination of the two. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program code, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as just A, just B or A and B.
[0117] The relevant user personal information that may be involved in the various embodiments of this application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purposes of business scenarios, to process the personal information that users actively provide during the use of products / services or generated due to the use of products / services, as well as the personal information obtained with the user's authorization.
[0118] The user personal information processed by this application will vary depending on the specific product / service scenario, and shall be based on the specific scenario in which the user uses the product / service, and may involve the user's account information, device information, driving information, vehicle information or other related information. This application will treat the user's personal information and its processing with a high degree of diligence.
[0119] This application attaches great importance to the security of user personal information and has taken reasonable and feasible security protection measures that meet industry standards to protect user information and prevent personal information from being accessed, disclosed, used, modified, damaged or lost without authorization.
[0120] Here we first explain some terms involved in this application.
[0121] The battery swap station is equipped with a network access service, which can be connected to the communication network. The network access service can be a service that provides network access through a wired network, or a service that provides network access through a mobile communication network such as 4G and 5G. The battery swap station can be connected to the cloud server through the communication network, that is, the communication network is used as an intermediate medium to establish a communication connection between the battery swap station and the cloud server.
[0122] The vehicle is also equipped with a network access service, through which it can connect to a communication network. The network access service can be a service that provides network access through a mobile communication network such as 4G, 5G, etc. The vehicle can be connected to the cloud server through the communication network, that is, the communication network is used as an intermediate medium to establish a communication connection between the vehicle and the cloud server.
[0123] The battery swap station is equipped with online WiFi access points and offline WiFi access points. Both online and offline WiFi access points are network access points (Access Point) implemented using WiFi technology. The main difference between the two is that the online WiFi access point is connected to the above-mentioned communication network, while the offline WiFi access point is not connected to the above-mentioned communication network. When the vehicle is connected to the online WiFi access point, the vehicle and the online WiFi access point exchange information through the communication network, that is, the above-mentioned communication network is used as an intermediate medium to establish a communication connection between the vehicle and the online WiFi access point; when the vehicle is connected to the offline WiFi access point, the vehicle and the offline WiFi access point directly exchange information, that is, there is no intermediate medium between the vehicle and the online WiFi access point, and the two directly establish a communication connection.
[0124] The vehicle is online, which means that the vehicle is successfully connected to the cloud server through the communication network, and the vehicle and the cloud server can exchange information based on this connection; the vehicle is offline, which means that the vehicle is not successfully connected to the cloud server through the communication network, and the vehicle and the cloud server cannot exchange information. The vehicle will be offline when any of the following situations occurs: the network access service configured in the vehicle cannot successfully access the communication network, the cloud server is disabled, and the cloud server cannot access the communication network connection.
[0125] Since the vehicle can connect to the communication network when it is online, the online WiFi access point is used to establish a communication connection with the battery swap station when the vehicle is online; since the vehicle cannot connect to the communication network when the vehicle is offline, the offline WiFi access point is used to establish a communication connection with the battery swap station when the vehicle is offline. In other words, the online WiFi access point is used to establish a communication connection with the vehicle through the communication network when the vehicle is online, and the offline WiFi access point is used to directly establish a communication connection with the vehicle when the vehicle is offline. In some embodiments, when the vehicle arrives at or enters the battery swap station, if it detects that it is online, the vehicle connects to the online WiFi access point; if it detects that it is offline, the vehicle connects to the offline WiFi access point.
[0126] The battery swap station is online, which means that the battery swap station is successfully connected to the cloud server through the communication network, and the battery swap station and the cloud server can exchange information based on this connection; the battery swap station is offline, which means that the battery swap station is not successfully connected to the cloud server through the communication network, and the battery swap station and the cloud server cannot exchange information. The battery swap station will be offline when any of the following situations occurs: the network access service configured in the battery swap station cannot successfully access the communication network, and the cloud server is disabled, resulting in the cloud server being unable to access the communication network.
[0127] The following is combined with Figure 1 The vehicle battery replacement method and defects in the prior art are explained.
[0128] See attached Figure 1 A vehicle battery replacement method in the prior art may include an ordering stage and a service stage. The ordering stage and the service stage are described below respectively.
[0129] 1. Explain the order placement stage.
[0130] The order placement stage is achieved through the following steps S101 to S109:
[0131] Step S101: The vehicle sends a battery replacement request to the cloud server.
[0132] In this step, the vehicle and the cloud server are connected through a communication network. If the communication connection is interrupted, the vehicle cannot send the battery replacement request to the cloud server.
[0133] Step S102: The cloud server provides the vehicle with a battery replacement order placement service.
[0134] In this step, the vehicle and the cloud server are connected via a communication network. If the two cannot be connected via the communication network (hereinafter described as network connection interruption), the cloud server will not be able to provide order services to the vehicle.
[0135] Step S103: The battery swap station generates a WiFi password and sends the WiFi password to the cloud server. A WiFi access point is set up in the battery swap station. The WiFi password is the password of this WiFi access point. The vehicle needs to send the password to the WiFi access point. Only when the password is correct can it successfully connect to the WiFi access point. It should be noted that the WiFi access point configured in the battery swap station in the prior art is an online WiFi access point.
[0136] In this step, the battery swap station and the cloud server are connected through a communication network. If the two cannot be connected through the communication network (hereinafter described as network connection interruption), the battery swap station will not be able to send the WiFi password to the cloud server.
[0137] Step S104: The vehicle selects a battery swap station and places an order.
[0138] The ordering service provides battery swap stations that can be used by the vehicle. The vehicle user can select the battery swap station to be used and place an order after selecting the battery swap station. After the order is placed, a battery swap order will be generated and the vehicle can send the battery swap order to the cloud server for confirmation. During this process, if the communication network between the vehicle and the cloud server is interrupted, the vehicle will not be able to send the battery swap order to the cloud server.
[0139] Step S105: The cloud server confirms the battery replacement order.
[0140] Step S106: The cloud server synchronizes the confirmed battery swap order to the battery swap station. During this process, if the network connection between the battery swap station and the cloud server is interrupted, the cloud server will not be able to send the battery swap order to the battery swap station.
[0141] Step S107: The cloud server generates order confirmation information based on the confirmed battery replacement order and sends it to the vehicle. During this process, if the network connection between the vehicle and the cloud server is interrupted, the cloud server will not be able to send the order confirmation information to the vehicle.
[0142] Step S108: The vehicle obtains order confirmation information.
[0143] Step S109: The vehicle receives the WiFi password.
[0144] Specifically, the order confirmation information may include the WiFi password of the WiFi access point in the battery swap station, and the vehicle can obtain the WiFi password by parsing the order confirmation information.
[0145] According to the interaction process between the vehicle, cloud server and battery swap station described in the above steps S101 to S109, it can be seen that communication connections need to be established between the vehicle and the cloud server, and between the battery swap station and the cloud server through the communication network, and the network connection cannot be interrupted, otherwise the battery swap cannot be completed.
[0146] 2. Explain the service stages.
[0147] The service phase is implemented through the following steps S110 to S113:
[0148] Step S110: The vehicle uses the WiFi password to connect to the battery swap station.
[0149] The vehicle sends a connection request to the battery swap station based on the WiFi password to establish a communication connection.
[0150] Step S111: The battery swap station establishes a communication connection with the vehicle.
[0151] After receiving the connection request, the battery swap station parses the WiFi password in the connection request. If the WiFi password is correct, a communication connection will be established with the vehicle through the WiFi access point.
[0152] Step S112: The battery swap station prepares the battery swap service according to the battery swap order.
[0153] Step S113: The vehicle starts battery replacement. After the battery replacement is started, the battery replacement station will replace the battery of the vehicle through the battery replacement service.
[0154] According to the interaction process between the vehicle and the battery swap station described in the above steps S110 to S113, although the communication connection between the vehicle and the battery swap station is established through a WiFi access point, since the WiFi access point is an online WiFi access point, the communication connection between the vehicle and the battery swap station is actually established through a communication network. If the network connection is interrupted, the battery swap cannot be completed.
[0155] According to the description of the ordering stage and the service stage, in the vehicle battery replacement method provided by the prior art, the communication network is used to establish communication connections between the vehicle and the cloud server, between the battery replacement station and the cloud server, and between the vehicle and the battery replacement station. However, when uncontrollable abnormalities such as network congestion and weak network signals occur in the communication network, it is likely to cause the network connection to be interrupted, resulting in battery replacement failure, which seriously affects the reliability of vehicle battery replacement. In order to solve this problem, the vehicle battery replacement method of the present application is proposed, which can significantly improve the reliability of vehicle battery replacement.
[0156] An embodiment of the vehicle battery replacement method provided in this application is described below.
[0157] See attached Figure 2 , Figure 2 1 is a flow chart of the main steps of a vehicle battery replacement method according to an embodiment of the present application. The vehicle battery replacement method is applied to a battery replacement station, that is, the execution subject of the method is the battery replacement station, and the battery replacement station executes the method. Figure 2 As shown, the vehicle battery replacement method in the embodiment of the present application mainly includes the following steps S201 to S204.
[0158] Step S201: Obtain the type of WiFi access point to which the vehicle is connected in the battery swap station.
[0159] The types of WiFi access points include online WiFi access points and offline WiFi access points. The meanings of online and offline WiFi access points refer to the above term explanation section.
[0160] Step S202: Obtain the status of the battery swap station. The status of the battery swap station includes online and offline. The meanings of the battery swap station online and the battery swap station offline refer to the above term explanation section.
[0161] If the type of the WiFi access point is an offline WiFi access point and / or the status of the battery swap station is offline, it indicates that one or more of the following situations have occurred: the vehicle is offline, the battery swap station is offline, and the vehicle and the cloud server cannot be connected through the communication network (hereinafter described as network connection interruption), and the battery swap station and the cloud server cannot be connected through the communication network (hereinafter described as network connection interruption). At this time, you can go to step S203 and use the offline mode to swap batteries.
[0162] If the type of the WiFi access point is an online WiFi access point and the status of the battery swap station is online, it means that the vehicle is online and the battery swap station is online, that is, the vehicle and the cloud server can be connected through the communication network (hereinafter described as normal network connection), and the battery swap station and the cloud server can be connected through the communication network (hereinafter described as normal network connection). Based on this, it can be determined that both the vehicle and the battery swap station can access the communication network normally, so the vehicle and the battery swap station can also be connected through the communication network, that is, the network connection between the vehicle and the battery swap station is also normal. At this time, it can be transferred to step S204 to use the online mode for battery swap.
[0163] In some embodiments, the vehicle can connect to the WiFi access point in the battery swap station in the following manner: in response to the vehicle arriving at the battery swap station, the vehicle status is obtained; if the status is that the vehicle is online, the vehicle is connected to the online WiFi access point; if the status is that the vehicle is offline, the vehicle is connected to the offline WiFi access point. Through this embodiment, the vehicle can establish a communication connection with the battery swap station when it arrives at the battery swap station, which helps to improve the efficiency of vehicle battery swapping and user experience.
[0164] In some embodiments, the WiFi password of the offline WiFi access point may be a default password, which is pre-stored in the vehicle. The vehicle may send a connection request to the offline WiFi access point according to the default password. If the WiFi password is correct, the offline WiFi access point will establish a communication connection with the vehicle. The WiFi password of the online WiFi access point is sent to the vehicle by the cloud server, and the process is similar to Figure 1 The order placement phase in the method shown is similar.
[0165] Step S203: Replace the battery of the vehicle in offline mode.
[0166] The offline mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the battery replacement station, and replacing the battery of the vehicle according to the battery replacement order.
[0167] In this embodiment, both the battery swap station and the cloud server are configured with a battery swap order placement service. Since the network connection between the vehicle and the cloud server may be interrupted, the network connection between the battery swap station and the cloud server may also be interrupted. In order to ensure the reliability of battery swapping, the battery swap station uses its own configured order placement service to obtain the vehicle's battery swap order. Network connection refers to a connection formed through a communication network.
[0168] In the process of obtaining a battery swap order and swapping the battery of the vehicle according to the battery swap order, the offline WiFi access point can be used to realize the information exchange between the vehicle and the battery swap station. If the vehicle is already connected to the offline WiFi access point, the information sent by the vehicle is directly received through the offline WiFi access point, and information is sent to the vehicle; if the vehicle is connected to an online WiFi access point, the online WiFi access point receives the information sent by the vehicle and forwards the information to the offline WiFi access point; the offline WiFi access point forwards the information sent by the battery swap station to the online WiFi access point, and then the online WiFi access point sends it to the vehicle. In other words, the online WiFi access point and the offline WiFi access point can forward information to each other, and the information exchange between the vehicle and the battery swap station is realized by forwarding information to each other.
[0169] Step S204: Replace the battery of the vehicle in online mode.
[0170] The online mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the cloud server, and replacing the battery of the vehicle according to the battery replacement order.
[0171] Since the network connection between any two of the vehicle, the battery swap station, and the cloud server is normal, the battery swap order can be obtained through the order service configured by the cloud server. Figure 1 The ordering stage in the method shown is similar, and the process of replacing the battery of the vehicle according to the battery replacement order is the same as Figure 1 The service phase in the method shown is similar. That is, the vehicle battery replacement method provided by the prior art can be used as an online mode. The network connection refers to a connection formed through a communication network.
[0172] Based on the method described in steps S201 to S204 above, when any two of the vehicle, the battery swap station, and the cloud server cannot achieve communication connection through the communication network, the vehicle battery swap can still be replaced in offline mode, which greatly improves the reliability of vehicle battery swap and user experience. In addition, the method makes relatively small changes to the battery swap station, such as adding offline WiFi access points and battery swap order placement services, so the existing vehicle battery swap method can be upgraded conveniently and at low cost.
[0173] Step S203 and step S204 are described below.
[0174] 1. Explain step S203.
[0175] In some implementations of the above step S203, when the battery is replaced in an offline mode (hereinafter referred to as offline battery replacement), the Figure 3 The following steps S2031 to S2033 shown in the figure obtain the battery replacement order for the vehicle through the battery replacement order placement service configured by the battery replacement station.
[0176] Step S2031: Receive the vehicle's battery replacement request.
[0177] According to the description of step S203 in the aforementioned embodiment, in the process of obtaining a battery replacement order, an offline WiFi access point can be used to realize information interaction between the vehicle and the battery replacement station. Therefore, an offline WiFi access point can be used to receive the vehicle's battery replacement request.
[0178] In some embodiments, a battery replacement request may be received in the following manner.
[0179] If the vehicle is connected to an offline WiFi access point, the battery replacement request from the vehicle is received through the target communication connection, which is the communication connection established between the offline WiFi access point and the vehicle. In other words, the offline WiFi access point directly receives the battery replacement request sent by the vehicle.
[0180] If the vehicle is connected to an online WiFi access point, the battery replacement request of the vehicle is received through the online WiFi access point, and the battery replacement request is forwarded to the offline WiFi access point to obtain the battery replacement request through the above target communication connection. In other words, based on the information forwarding between the online and offline WiFi access points, the offline WiFi access point indirectly receives the battery replacement request sent by the vehicle.
[0181] Through the above implementation, in the case of offline battery replacement, no matter whether the vehicle is connected to an offline WiFi access point or an online WiFi access point, the offline WiFi access point can be used to reliably receive the vehicle's battery replacement request.
[0182] Step S2032: Provide battery replacement order placement service to the vehicle based on the battery replacement request.
[0183] Specifically, the battery swap station provides the vehicle with its own configured ordering service.
[0184] Step S2033: In response to the vehicle completing the placement of a battery replacement order through the ordering service, obtaining the first battery replacement order for the vehicle.
[0185] Specifically, the ordering service can provide battery swap stations that can be used by the vehicle, from which the vehicle user can select the battery swap station to be used, and place an order after selecting the battery swap station. After the order is placed, a battery swap order will be generated, and the vehicle can send the battery swap order to the battery swap station for confirmation. The battery swap station generates order confirmation information based on the confirmed battery swap order and sends the order confirmation information to the vehicle. Among them, the confirmed battery swap order is the first battery swap order to be obtained.
[0186] Based on the method described in steps S2031 to S2033 above, there is no need to rely on a cloud server. Through the interaction between the vehicle and the battery swap station, it is possible to place a battery swap order, reliably obtain the vehicle's battery swap order, and effectively improve the reliability of vehicle battery swapping.
[0187] In some implementations, the offline mode includes accounting operations.
[0188] Specifically, bookkeeping operations include:
[0189] In response to the successful completion of the battery swap for the vehicle, the first battery swap order is accounted for; if the status of the battery swap station is online, the accounting information is sent to the cloud server; if the status of the battery swap station is offline, the accounting information is sent to the cloud server after the status switches from offline to online.
[0190] Accounting for the first battery swap order can be understood as recording battery swap data, and the accounting information is the recorded battery swap data. The battery swap data is the data generated by the battery swap station when the vehicle is replaced according to the first battery swap order. For example, the battery swap data may include vehicle information, battery swap time, battery information, fees, etc. The battery information may include information about the power battery removed from the vehicle, and may also include information about the power battery replaced on the vehicle, etc.
[0191] Through the above implementation, there is no need to rely on the cloud server. The battery swap station itself can complete the accounting of the battery swap order and synchronize the accounting information to the cloud server.
[0192] In some implementations of the above step S203, if the vehicle is connected to an offline WiFi access point and the battery swap station is online, it indicates that the network connection between the vehicle and the cloud server is interrupted, but the network connection between the battery swap station and the cloud server is normal. In this case, the battery swap station can act as an intermediary between the vehicle and the cloud server, forwarding information between the vehicle and the cloud server, so that the vehicle and the cloud server can communicate indirectly through the battery swap station. Based on this, this embodiment provides an optional scheme for offline mode, by executing this optional scheme, the battery swap order of the vehicle is obtained, instead of using the battery swap order order server configured by the battery swap station in the aforementioned embodiment to obtain the battery swap order of the vehicle.
[0193] See attached Figure 4 , the optional scheme includes the following steps S2034 and S2035.
[0194] Step S2034: Receive the battery replacement request of the vehicle, and forward the battery replacement request to the cloud server. The implementation method of receiving the battery replacement request of the vehicle is the same as the method of the aforementioned step S2031.
[0195] Since the network connection between the battery swap station and the cloud server is normal, the battery swap request can be forwarded to the cloud server based on this connection.
[0196] Step S2035: Receive the second battery replacement order for the vehicle sent by the cloud server. The second battery replacement order is an order sent by the cloud server to the battery replacement station based on the forwarded battery replacement request.
[0197] Cloud servers can be configured to perform the following operations:
[0198] If a battery swap request from a vehicle is received and forwarded by a battery swap station, the battery swap order placement service configured by the cloud server is provided to the vehicle through the battery swap station;
[0199] In response to the vehicle completing the placement of a battery swap order through the ordering service, a second battery swap order for the vehicle is obtained and the second battery swap order is sent to the battery swap station.
[0200] Specifically, the ordering service can provide battery swap stations that can be used by the vehicle. Vehicle users can choose the battery swap station to be used and place an order after selecting the battery swap station. After the order is placed, a battery swap order will be generated. The vehicle will send the battery swap order to the current battery swap station (a battery swap station that has successfully established a communication connection with the vehicle through an offline WiFi access point). The current battery swap station will forward the battery swap order to the cloud server. The cloud server will confirm the battery swap order and generate order confirmation information based on the confirmed battery swap order and send the order confirmation information to the current battery swap station. The current battery swap station will forward the order confirmation information to the vehicle. Among them, the confirmed battery swap order is the second battery swap order to be obtained above. The cloud server sends the second battery swap order to the current battery swap station. When selecting the battery swap station to be used, the vehicle user selects the current battery swap station to place an order.
[0201] Based on the methods described in steps S2034 to S2035 above, offline battery replacement can be achieved using a cloud server when the battery replacement station is connected to the cloud server network normally, thereby improving the flexibility of offline battery replacement.
[0202] In some embodiments, the offline mode includes a battery replacement result forwarding operation.
[0203] Specifically, the battery swap result forwarding operations include:
[0204] When the above optional scheme is adopted, a first battery replacement result can be obtained after the battery of the vehicle is replaced according to the second battery replacement order, and the first battery replacement result can be sent to the cloud server.
[0205] Cloud servers can be configured to perform the following operations:
[0206] If the first battery swap result sent by the battery swap station is received, the second battery swap order is recorded according to the first battery swap result. The recording of the second battery swap order is similar to the recording of the first battery swap order in the aforementioned method embodiment. The main difference is that the battery swap order is the second battery swap order, not the first battery swap order, which will not be repeated here.
[0207] Through the above implementation, the cloud server can be used to implement accounting during offline battery replacement.
[0208] 2. Explain step S204.
[0209] In some implementations of the above step S204, when an online battery replacement mode is adopted (hereinafter described as online battery replacement), the battery replacement order for the vehicle can be obtained in the following manner.
[0210] Receive the third battery swap order for the vehicle sent by the cloud server, where the third battery swap order is an order sent by the cloud server to the battery swap station based on the battery swap request sent by the vehicle.
[0211] Cloud servers can be configured to perform the following operations:
[0212] If a battery swap request is received from a vehicle, the battery swap order placement service configured by the cloud server is provided to the vehicle; in response to the vehicle completing the battery swap order through the order placement service, the vehicle's third battery swap order is obtained and the third battery swap order is sent to the battery swap station.
[0213] Specifically, the ordering service can provide battery swap stations that can be used by the vehicle, from which the vehicle user can select the battery swap station to be used, and place an order after selecting the battery swap station. After the order is placed, a battery swap order will be generated, and the vehicle can send the battery swap order to the cloud server for confirmation. The cloud server generates order confirmation information based on the confirmed battery swap order and sends the order confirmation information to the vehicle. Among them, the confirmed battery swap order is the third battery swap order to be obtained.
[0214] Through the above implementation, the cloud server can be used to obtain the vehicle's battery replacement order during online battery replacement and synchronize it to the battery replacement station, which will then replace the vehicle's battery according to the battery replacement order.
[0215] In some embodiments, the online operation includes a battery replacement result forwarding operation.
[0216] Specifically, the battery swap result forwarding operations include:
[0217] When online battery replacement is adopted, a second battery replacement result can be obtained after the vehicle's battery is replaced according to the third battery replacement order, and the second battery replacement result can be sent to the cloud server.
[0218] Cloud servers can be configured to perform the following operations:
[0219] If the second battery swap result sent by the battery swap station is received, the third battery swap order is recorded according to the second battery swap result. The recording of the third battery swap order is similar to the recording of the first battery swap order in the aforementioned method embodiment. The main difference is that the battery swap order is the third battery swap order, not the first battery swap order, which will not be repeated here.
[0220] The following is combined with Figure 5 and attached Figure 6 The embodiment of the vehicle battery replacement method provided by the present application is described. Figure 5This is a schematic diagram of the overall process of vehicle battery replacement according to an embodiment of the present application. Figure 6 A schematic diagram of a detailed process of vehicle battery replacement according to an embodiment of the present application.
[0221] First, refer to the attached Figure 5 In this embodiment, the vehicle battery can be replaced through the following steps S301 to S312.
[0222] Step S301: The vehicle arrives at the battery swap station.
[0223] Step S302: Determine whether the vehicle is offline or the battery swap station is offline.
[0224] If at least one of the vehicle and the battery swap station is offline, go to step S304; if both the vehicle and the battery swap station are online, go to step S303.
[0225] Step S303: Replace the battery in online mode.
[0226] Step S304: Determine whether the vehicle is offline based on the judgment result of step S302.
[0227] If the vehicle is offline, the vehicle connects to the offline WiFi access point and goes to step S306; if the vehicle is online, go to step S305.
[0228] Step S305: The vehicle connects to the online WiFi access point, and the battery swap station transfers to the offline WiFi access point. Specifically, the online WiFi access point receives the information sent by the vehicle and forwards the information to the offline WiFi access point; the offline WiFi access point forwards the information sent by the battery swap station to the online WiFi access point, and then the online WiFi access point sends it to the vehicle. In other words, the online WiFi access point and the offline WiFi access point can forward information to each other, and the information exchange between the vehicle and the battery swap station is realized by forwarding information to each other.
[0229] Step S306: Entering offline mode.
[0230] Step S307: Determine whether to adopt the optional solution provided by the offline mode.
[0231] If the vehicle is connected to an offline WiFi access point and the battery swap station is online, the optional solution is adopted and the process goes to step S308; otherwise, the optional solution is not adopted and the process goes to step S309.
[0232] An optional solution is to adopt the method described in the aforementioned steps S2034 and S2035 to obtain the battery replacement order for the vehicle, and replace the battery for the vehicle according to the battery replacement order.
[0233] Step S308: Execute the optional solution.
[0234] Step S309: Execute the default solution.
[0235] The default solution is to obtain the battery replacement order of the vehicle by the method described in the aforementioned steps S2031 to S2033, and replace the battery of the vehicle according to the battery replacement order. In addition, the default solution also includes the accounting operation of the offline mode in the aforementioned method embodiment.
[0236] Step S310: Determine whether the battery swap station records the account.
[0237] If the battery swap station has recorded the battery swap order, go to step S310; otherwise, end the battery swap process.
[0238] Step S311: Determine whether the battery swap station is online.
[0239] If the battery swap station is online, go to step S312; if the battery swap station is offline, continue to check whether the battery swap station is online.
[0240] Step S312: Synchronize the accounting information to the cloud server.
[0241] Based on the method described in steps S301 to S312 above, when the network connection between the vehicle, the battery swap station, and the cloud server is normal, the vehicle battery can be swapped in online mode; when the network connection between any two of the vehicle, the battery swap station, and the cloud server is interrupted, the vehicle battery can still be swapped in offline mode, which greatly improves the reliability of vehicle battery swapping and user experience. The above selection of online mode and offline mode can be shown in Table 1 below. Table 1
[0242] Then refer to the attached Figure 6 In this embodiment, the vehicle battery can be replaced through the following steps S401 to S419.
[0243] Step S401: The vehicle arrives at the battery swap station.
[0244] Step S402: Determine whether the vehicle is offline.
[0245] If the vehicle is offline, go to step S403; if the vehicle is online, go to step S404.
[0246] Step S403: The vehicle connects to an offline WiFi access point.
[0247] Step S404: The vehicle connects to an online WiFi access point.
[0248] Step S405: The battery swap station receives the connection. Specifically, in step S403 and step S404, the vehicle sends a connection request to the battery swap station, and the battery swap station establishes a communication connection with the vehicle according to the connection request.
[0249] Step S406: The battery swap station determines whether the connection comes from an online WiFi access point and the battery swap station is online; if so, it goes to step S407; if not, it goes to step S408. The connection refers to the communication connection established through step S403 / step S404 and step S405.
[0250] Step S407: Replace the battery in online mode.
[0251] Step S408: The battery swap station determines whether the connection is from an offline WiFi access point and the battery swap station is online; if so, go to step S409; if not, go to step S411. The connection refers to the communication connection established through step S403 / step S404 and step S405.
[0252] Step S409: Determine whether to adopt the optional solution.
[0253] If the vehicle is connected to an offline WiFi access point and the battery swap station is online, an optional solution can be used, and the vehicle user can confirm whether to use it; if confirmed, go to step S410; if confirmed not to use it, go to step S411.
[0254] Step S410: Execute the optional battery replacement. Specifically, the cloud server provides the vehicle with an order service for the battery replacement order configured by the cloud server through the battery replacement station, and then proceeds to step S412.
[0255] Step S411: The battery swap station provides the vehicle with an ordering service for its own configured battery swap orders.
[0256] Step S412: Place a vehicle order.
[0257] Specifically, the ordering service can provide battery swap stations that can be used by the vehicle. Vehicle users can select the battery swap station they want to use and place an order after selecting the battery swap station. After the order is completed, a battery swap order will be generated and the vehicle can send the battery swap order to the battery swap station for confirmation.
[0258] Step S413: The battery swap station confirms the battery swap order.
[0259] If the optional solution is not adopted or the battery swap station is offline, the battery swap station generates order confirmation information based on the confirmed battery swap order and sends the order confirmation information to the vehicle. In addition, after the battery swap station is online, step S414 can be executed to send the battery swap order to the cloud server.
[0260] If the optional battery replacement solution is adopted, the battery replacement station will forward the battery replacement order to the cloud server, which will confirm it, and then receive the order confirmation information generated by the cloud server and send the order confirmation information to the vehicle.
[0261] Step S415: The vehicle starts battery replacement.
[0262] Step S416: The battery swap station confirms the battery swap result after the vehicle completes the battery swap.
[0263] If the optional solution is not adopted or the battery swap station is offline, the battery swap station goes online and then executes step S417 to send the battery swap result to the cloud server. If the optional solution is adopted, the battery swap result can be sent to the cloud server after the battery swap result is confirmed.
[0264] Step S418: Determine whether the battery replacement is successful based on the battery replacement result.
[0265] If successful, execute step S419; if unsuccessful, end the battery replacement.
[0266] Step S419: The battery swap station records the bill.
[0267] If the optional solution is not adopted, the battery swap station will account for the battery swap order and send the accounting information to the cloud server when the battery swap station is online.
[0268] If the optional solution is adopted, the cloud server will record the battery replacement order.
[0269] Based on the method described in steps S401 to S419 above, different offline modes can be used for battery replacement according to the type of WiFi access point connected to the vehicle and the status of the battery replacement station, thereby improving the flexibility of offline battery replacement and further improving the reliability of vehicle battery replacement and user experience.
[0270] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted schemes are equivalent to the technical schemes described in this application, and therefore will also fall within the scope of protection of this application.
[0271] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.
[0272] Another aspect of the present application also provides a computer-readable storage medium.
[0273] In an embodiment of a computer-readable storage medium according to the present application, the computer-readable storage medium can be configured to store a program for executing the vehicle battery replacement method of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned vehicle battery replacement method. For ease of explanation, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present application is a non-temporary computer-readable storage medium.
[0274] Another aspect of the present application provides an electronic device.
[0275] In an embodiment of an electronic device according to the present application, the electronic device may include at least one processor; and a memory connected to the at least one processor in communication; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any of the above embodiments is implemented. Figure 8 , Figure 8 The memory 11 and the processor 12 are exemplarily shown to be connected to each other through a bus. The electronic device described in the present application may be, but is not limited to, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, and a personal digital assistant (PDA).
[0276] Another aspect of the present application provides a battery swap station.
[0277] In an embodiment of a battery swap station according to the present application, the battery swap station may include the electronic device described in the aforementioned electronic device embodiment. In addition, the battery swap station also includes conventional mechanisms such as a power battery replacement mechanism and a charging mechanism, which are not described in detail herein.
[0278] In this embodiment, the battery swap station is equipped with a network access service, an online WiFi access point, and an offline WiFi access point. At the same time, the battery swap station is also equipped with an ordering service for battery swapping orders, and the online WiFi access point and the offline WiFi access point can forward information to each other. Among them, the network access service, the online WiFi access point, the offline WiFi access point, and the ordering service are the same as the relevant contents in the aforementioned method embodiment, and will not be repeated here.
[0279] See attached Figure 7 , Figure 7 The following example shows the additional functions of the battery swap station according to this embodiment compared with the battery swap station in the prior art. Figure 7 As shown, the battery swap station of this embodiment has added the following four functions: accounting, ordering service, dual WiFi access points, and information forwarding function between dual WiFi access points. Accounting refers to the accounting of battery swap orders, which is the same as the relevant content in the aforementioned method embodiment and will not be repeated here. Ordering service means that the battery swap station is equipped with an ordering service for battery swap orders. Dual WiFi access points means that the battery swap station is equipped with two WiFi access points, online and offline WiFi access points. The information forwarding function between dual WiFi access points means that the online WiFi access point and the offline WiFi access point can forward information to each other.
[0280] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. A vehicle battery replacement method, characterized in that: Applied to a battery swap station, the battery swap station is provided with an online WiFi access point and an offline WiFi access point, the online WiFi access point is used to establish a communication connection with the vehicle through a communication network when the vehicle is online, and the offline WiFi access point is used to directly establish a communication connection with the vehicle when the vehicle is offline, the vehicle online means that the vehicle is connected to a cloud server through a communication network, and the vehicle offline means that the vehicle is not connected to the cloud server through a communication network, and the method includes: Obtain the type of WiFi access point to which the vehicle is connected in the battery swap station; Obtaining the status of the battery swap station, the status including online and offline, the online status indicating that the battery swap station is connected to the cloud server through the communication network, and the offline status indicating that the battery swap station is not connected to the cloud server through the communication network; If the type is an offline WiFi access point and / or the state is offline, the battery of the vehicle is replaced in an offline mode; otherwise, the battery of the vehicle is replaced in an online mode; in, The offline mode includes: obtaining a battery replacement order for the vehicle through a battery replacement order placement service configured by the battery replacement station, and replacing the battery of the vehicle according to the battery replacement order; The online mode includes: obtaining the battery replacement order of the vehicle through the battery replacement order placement service configured by the cloud server, and replacing the battery of the vehicle according to the battery replacement order.
2. The method according to claim 1, characterized in that The step of obtaining the battery replacement order for the vehicle through the battery replacement order placement service configured by the battery replacement station includes: receiving a battery replacement request from the vehicle; Providing the vehicle with an ordering service for a battery swapping order configured by the battery swapping station according to the battery swapping request; In response to the vehicle completing the placement of a battery replacement order through the ordering service, a first battery replacement order for the vehicle is obtained.
3. The method according to claim 2, characterized in that The offline mode includes: In response to successfully completing the battery replacement for the vehicle, accounting for the first battery replacement order; If the status is online, sending the accounting information to the cloud server; If the state is offline, the accounting information is sent to the cloud server after the state is switched from offline to online.
4. The method according to claim 1, characterized in that: If the type is an offline WiFi access point and the status is online, the order service for the battery swap order configured by the battery swap station is replaced with the following method to obtain the battery swap order for the vehicle: Receiving a battery replacement request from the vehicle, and forwarding the battery replacement request to a cloud server; receiving a second battery swap order for the vehicle sent by the cloud server, where the second battery swap order is an order sent by the cloud server to the battery swap station according to the forwarded battery swap request; in, The cloud server is configured to: If a battery swap request of a vehicle forwarded by a battery swap station is received, an ordering service for a battery swap order configured by the cloud server is provided to the vehicle through the battery swap station; In response to the vehicle completing the placement of a battery swap order through the ordering service, a second battery swap order for the vehicle is obtained and the second battery swap order is sent to the battery swap station.
5. The method according to claim 4, characterized in that The offline mode includes: Obtaining a first battery replacement result after replacing the battery of the vehicle according to the second battery replacement order; Sending the first battery replacement result to a cloud server; in, The cloud server is configured to: if a first battery exchange result sent by the battery exchange station is received, the second battery exchange order is accounted for according to the first battery exchange result.
6. The method according to claim 2 or 4, characterized in that: The receiving the battery replacement request of the vehicle includes: If the vehicle is connected to the offline WiFi access point, a battery replacement request of the vehicle is received through a target communication connection, where the target communication connection is a communication connection established between the offline WiFi access point and the vehicle; If the vehicle is connected to the online WiFi access point, the battery replacement request of the vehicle is received through the online WiFi access point, and the battery replacement request is forwarded to the offline WiFi access point to obtain the battery replacement request through the target communication connection.
7. The method according to claim 1, characterized in that The battery replacement order placing service configured by the cloud server to obtain the battery replacement order for the vehicle includes: receiving a third battery swap order for the vehicle sent by the cloud server, where the third battery swap order is an order sent by the cloud server to the battery swap station according to the battery swap request sent by the vehicle; in, The cloud server is configured to: If a battery replacement request is received from a vehicle, the vehicle is provided with a battery replacement order placement service configured by the cloud server; In response to the vehicle completing the placement of a battery swap order through the ordering service, a third battery swap order for the vehicle is obtained and the third battery swap order is sent to the battery swap station.
8. The method according to claim 7, characterized in that The online mode includes: Obtaining a second battery replacement result after replacing the battery of the vehicle according to the third battery replacement order; Sending the second battery replacement result to the cloud server; in, The cloud server is configured to: if a second battery exchange result sent by the battery exchange station is received, the third battery exchange order is accounted for according to the second battery exchange result.
9. The method according to claim 1, characterized in that: The vehicle is connected to the WiFi access point in the battery swap station in the following manner: In response to the vehicle arriving at the battery swap station, obtaining a status of the vehicle; If the state is that the vehicle is online, the vehicle is connected to the online WiFi access point; If the state is that the vehicle is offline, the vehicle is connected to the offline WiFi access point.
10. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; Wherein, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the vehicle battery replacement method according to any one of claims 1 to 9 is implemented.
