Battery replacement management system, settlement server and self-service settlement method of battery replacement station

By using Socket communication connection between the battery swap management system and the settlement server, asynchronous interaction is achieved, the problem of excessive resource occupation of the battery swap management system is solved, and the battery swap efficiency and payment security are improved.

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

Patent Information

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

AI Technical Summary

Technical Problem

The existing battery swap management system occupies a lot of resources during the self-service settlement process, affecting the efficiency of vehicle battery swap control.

Method used

Socket communication connection is used to realize asynchronous communication between the battery swap management system and the settlement server, reducing the long-term connection state, and generating interaction information between the Socket client and the settlement server.

Benefits of technology

Reduce the resource usage of the battery swap management system, improve the efficiency and performance of battery swap control, and ensure the safety and effectiveness of settlement payments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120281784A_ABST
    Figure CN120281784A_ABST
Patent Text Reader

Abstract

The invention discloses a battery replacement management system, a settlement server, and a self-service settlement method and system of a battery replacement station. The method comprises the steps of generating a Socket client corresponding to a to-be-replaced vehicle when it is detected that the to-be-replaced vehicle runs into a battery replacement station; establishing a Socket communication connection between the Socket client and a settlement server, and sending a pull-in message of the vehicle to be replaced to the settlement server; outputting battery replacement settlement information sent by the settlement server, and receiving confirmation settlement information fed back by the vehicle to be subjected to battery replacement; and the settlement confirmation information is forwarded to the settlement server, and a battery replacement settlement result fed back by the settlement server is received. According to the invention, the communication connection is established between the power conversion management system and the settlement server side by adopting the Socket, so that the power conversion management system does not need to keep the connection state with the settlement server side for a long time, and does not need to be connected with a plurality of settlement server sides or other equipment, and the resource occupation of the power conversion management system can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery swapping, and particularly to a battery swapping management system, a settlement server, a self-service settlement method and system for a battery swapping station. Background Art

[0002] With the increasing annual ownership of pure electric new energy vehicles in the market and the strong support for the construction of battery swapping stations, the construction of battery swapping stations has entered a stage of rapid development, and the self-service settlement system for battery swapping stations has emerged as the times require. The current self-service settlement system is highly dependent on the battery swapping management system, occupying a large amount of resources of the battery swapping management system and affecting the effective battery swapping control of the battery swapping management system for vehicles. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the above-mentioned defects of the prior art and provide a battery swapping management system, a settlement server, a self-service settlement method and system for a battery swapping station.

[0004] The present invention solves the above technical problems through the following technical solutions:

[0005] In a first aspect, a self-service settlement method for a battery swapping station is provided, which is applied to a battery swapping management system. The self-service settlement method includes:

[0006] When it is detected that a vehicle to be battery-swapped drives into the battery swapping station, generating a Socket client corresponding to the vehicle to be battery-swapped;

[0007] Establishing a Socket communication connection between the Socket client and a settlement server, and sending an in-station message of the vehicle to be battery-swapped to the settlement server based on the Socket communication connection;

[0008] Outputting battery swapping settlement information sent by the settlement server, and receiving confirmation settlement information fed back by the vehicle to be battery-swapped;

[0009] Forwarding the confirmation settlement information to the settlement server based on the Socket communication connection, and receiving a battery swapping settlement result fed back by the settlement server.

[0010] Optionally, the outputting the battery swapping settlement information sent by the settlement server includes:

[0011] Receiving the battery swapping settlement information forwarded by the settlement server, where the battery swapping settlement information is generated by a cloud server based on a battery swapping settlement request sent by the settlement server;

[0012] Outputting and displaying the battery swapping settlement information so that the vehicle to be battery-swapped can confirm the battery swapping settlement information.

[0013] Optionally, the step of forwarding the confirmed settlement information to the settlement server and receiving the battery swapping settlement result fed back by the settlement server includes:

[0014] Forward the confirmed settlement information to the settlement server, so that the settlement server sends the battery swapping settlement data of the vehicle to be battery swapped to the cloud server based on the confirmed settlement information;

[0015] Receive the battery swapping settlement result fed back by the settlement server, where the battery swapping settlement result is calculated by the cloud server based on the battery swapping settlement data sent by the settlement server.

[0016] Optionally, after the step of receiving the battery swapping settlement result fed back by the settlement server, the self-service settlement method further includes:

[0017] Determine whether the vehicle to be battery swapped is successfully settled based on the battery swapping settlement result;

[0018] When it is confirmed that the vehicle to be battery swapped is successfully settled, generate a vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery swapped.

[0019] Optionally, after the step of generating the vehicle battery swapping instruction, the method further includes:

[0020] Control the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery swapped, and detect whether the vehicle to be battery swapped has completed battery swapping;

[0021] When it is detected that the vehicle to be battery swapped has completed battery swapping, close the Socket communication connection between the Socket client and the settlement server, and log off the Socket client.

[0022] In a second aspect, a battery swapping management system is provided, and the battery swapping management system includes:

[0023] A communication module, configured to generate a corresponding Socket client for the vehicle to be battery swapped and establish a Socket communication connection between the Socket client and a settlement server when it is detected that the vehicle to be battery swapped drives into the battery swapping station;

[0024] A first transceiver module, configured to send an in-station message of the vehicle to be battery swapped to the settlement server based on the Socket communication connection, output the battery swapping settlement information sent by the settlement server, and receive the confirmed settlement information fed back by the vehicle to be battery swapped;

[0025] The first transceiver module is further configured to forward the confirmation settlement information to the settlement server based on the Socket communication connection, and receive the battery swapping settlement result fed back by the settlement server.

[0026] Optionally, the first transceiver module includes:

[0027] A first receiving unit, configured to receive the battery swapping settlement information forwarded by the settlement server, where the battery swapping settlement information is generated by the cloud server based on the battery swapping settlement request sent by the settlement server;

[0028] An output unit, configured to output and display the battery swapping settlement information, so that the vehicle to be battery-swapped can confirm the battery swapping settlement information.

[0029] Optionally, the first transceiver module includes:

[0030] A first sending unit, configured to forward the confirmation settlement information to the settlement server, so that the settlement server sends the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmation settlement information;

[0031] A first receiving unit, configured to receive the battery swapping settlement result fed back by the settlement server, where the battery swapping settlement result is calculated by the cloud server based on the battery swapping settlement data sent by the settlement server.

[0032] Optionally, the battery swapping management system further includes:

[0033] A determination module, configured to determine whether the settlement of the vehicle to be battery-swapped is successful based on the battery swapping settlement result;

[0034] A battery swapping control module, configured to generate a vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped when it is confirmed that the settlement of the vehicle to be battery-swapped is successful.

[0035] Optionally, the battery swapping management system further includes:

[0036] A detection module, configured to control the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped, and detect whether the vehicle to be battery-swapped has completed battery swapping;

[0037] A cancellation module, configured to close the Socket communication connection between the Socket client and the settlement server and cancel the Socket client when it is detected that the vehicle to be battery-swapped has completed battery swapping.

[0038] In a third aspect, a self-service settlement method for a battery swapping station is provided, which is applied to a settlement server. The method includes:

[0039] In response to the battery swapping request of the vehicle to be battery-swapped, start the Socket service;

[0040] Establish a Socket communication connection with the battery swapping management system according to the Socket service, and obtain the inbound information of the vehicle to be battery-swapped sent by the battery swapping management system based on the Socket communication connection;

[0041] Forward the battery swapping settlement information sent by the cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information;

[0042] Receive the confirmation settlement information feedback by the vehicle to be battery-swapped for the battery swapping settlement information sent by the battery swapping management system based on the Socket communication connection;

[0043] Forward the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication.

[0044] Optionally, forwarding the battery swapping settlement information sent by the cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection includes:

[0045] Generate a battery swapping settlement request according to the inbound information;

[0046] Send the battery swapping settlement request to the cloud server, so that the cloud server generates battery swapping settlement information according to the battery swapping settlement request;

[0047] Forward the battery swapping settlement information to the battery swapping management system based on the Socket communication connection.

[0048] Optionally, forwarding the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication includes:

[0049] Send the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmation settlement information;

[0050] Receive the battery swapping settlement result calculated by the cloud server based on the battery swapping settlement data, and forward the battery swapping settlement result to the battery swapping management system based on the Socket communication connection.

[0051] Optionally, it further includes:

[0052] When it is determined that the vehicle to be battery-swapped has completed battery swapping, disconnect the Socket communication connection with the battery swapping management system and close the Socket service.

[0053] Fourthly, a settlement server is provided, including:

[0054] A startup module, configured to start a Socket service in response to a battery swapping request of a vehicle to be battery-swapped;

[0055] A second transceiver module, configured to establish a Socket communication connection with a battery swapping management system according to the Socket service, and obtain the inbound information of the vehicle to be battery-swapped sent by the battery swapping management system based on the Socket communication connection;

[0056] The second transceiver module is further configured to forward the battery swapping settlement information matching the inbound information sent by a cloud server to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information;

[0057] The second transceiver module is further configured to receive, based on the Socket communication connection, the confirmation settlement information feedback by the vehicle to be battery-swapped for the battery swapping settlement information sent by the battery swapping management system;

[0058] The second transceiver module is further configured to forward the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication.

[0059] Optionally, the second transceiver module includes:

[0060] A generation unit, configured to generate a battery swapping settlement request according to the inbound information;

[0061] A second sending unit, configured to send the battery swapping settlement request to the cloud server, so that the cloud server generates battery swapping settlement information according to the battery swapping settlement request;

[0062] The second sending unit is further configured to forward the battery swapping settlement information to the battery swapping management system based on the Socket communication connection.

[0063] Optionally, the second transceiver module includes:

[0064] A third sending unit, configured to send the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmation settlement information;

[0065] A second receiving unit, configured to receive the battery swapping settlement result calculated by the cloud server based on the battery swapping settlement data;

[0066] A second sending unit, configured to forward the battery swapping settlement result to the battery swapping management system based on the Socket communication connection.

[0067] Optionally, it further includes:

[0068] A closing module, configured to disconnect the Socket communication connection with the battery swapping management system and close the Socket service when it is determined that the vehicle to be swapped has completed battery swapping.

[0069] In a fifth aspect, a self-service settlement system for a battery swapping station is provided. The self-service settlement system includes a battery swapping management system, a settlement server, and a cloud server.

[0070] The settlement server starts a Socket service in response to a battery swapping request of a vehicle to be swapped.

[0071] When the battery swapping management system detects that the vehicle to be swapped enters the battery swapping station, it generates a Socket client corresponding to the vehicle to be swapped.

[0072] The battery swapping management system establishes a Socket communication connection between the Socket client and the settlement server, and sends an in-station message of the vehicle to be swapped to the settlement server based on the Socket communication connection.

[0073] The settlement server generates a battery swapping settlement request according to the in-station message, and sends the battery swapping settlement request to the cloud server.

[0074] The cloud server generates battery swapping settlement information according to the battery swapping settlement request, and sends the battery swapping settlement information to the settlement server, so that the settlement server forwards the battery swapping settlement information to the battery swapping management system.

[0075] The battery swapping management system outputs the battery swapping settlement information sent by the settlement server, and receives the confirmed settlement information fed back by the vehicle to be swapped.

[0076] The battery swapping management system forwards the confirmed settlement information to the settlement server based on the Socket communication connection.

[0077] The settlement server forwards the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication; the battery swapping settlement result is generated according to the confirmed settlement information.

[0078] Optionally, when the battery swapping management system confirms that the settlement of the vehicle to be swapped is successful according to the battery swapping settlement result, it generates a vehicle battery swapping instruction to swap the battery of the vehicle to be swapped.

[0079] Optionally,

[0080] The battery swapping management system controls the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction, performs battery swapping on the vehicle to be battery swapped, and detects whether the vehicle to be battery swapped has completed battery swapping; in the case where it is detected that the vehicle to be battery swapped has completed battery swapping, the Socket communication connection between the Socket client and the settlement server is closed, and the Socket client is logged out.

[0081] And / or, when the settlement server determines that the vehicle to be battery swapped has completed battery swapping, it disconnects the Socket communication connection with the battery swapping management system and closes the Socket service.

[0082] On the basis of conforming to the common knowledge in the art, the above preferred conditions can be combined arbitrarily to obtain various preferred embodiments of the present invention.

[0083] The positive and progressive effects of the present invention are as follows: In the present invention, the battery swapping management system and the settlement server establish a communication connection using Socket, and adopt an asynchronous communication method to realize information interaction between the battery swapping management system and the settlement server. Therefore, the battery swapping management system does not need to maintain a connection state with the settlement server for a long time, nor does it need to be connected to multiple settlement servers or other devices, and can complete self-service settlement for battery swapping, which can reduce the resource occupation of the battery swapping management system. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 It is a flowchart of a self-service settlement method for a battery swapping station provided by an exemplary embodiment of the present invention;

[0085] Figure 2 It is a schematic diagram of modules of a battery swapping management system provided by an exemplary embodiment of the present invention;

[0086] Figure 3 It is a flowchart of another self-service settlement method for a battery swapping station provided by an exemplary embodiment of the present invention;

[0087] Figure 4 It is a schematic diagram of modules of a settlement server provided by an exemplary embodiment of the present invention;

[0088] Figure 5 It is a schematic diagram of the architecture of a self-service settlement system for a battery swapping station provided by an exemplary embodiment of the present invention;

[0089] Figure 6 It is a flowchart of the working process of a self-service settlement system for a battery swapping station provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

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

[0091] In the embodiments of the present invention, prefix words such as "first" and "second" are only used to distinguish different described objects, and have no restrictive effect on the position, order, priority, quantity, content, etc. of the described objects. In the embodiments of the present invention, the use of ordinal numbers and other prefix words for distinguishing described objects does not constitute a limitation on the described objects. For the statements of the described objects, refer to the descriptions in the claims or the context of the embodiments. It should not constitute an unnecessary limitation due to the use of such prefix words. In addition, in the description of this embodiment, unless otherwise specified, the meaning of "a plurality" is two or more.

[0092] Figure 1 The figure is a flowchart of a self-service settlement method for a battery swapping station provided by an exemplary embodiment of the present invention. This self-service settlement method is applied to a battery swapping management system. Refer to Figure 1 , and this self-service settlement method includes:

[0093] Step 101: When it is detected that the vehicle to be battery-swapped drives into the battery swapping station, generate a Socket client corresponding to the vehicle to be battery-swapped.

[0094] The Socket client is used to establish a data channel between the battery swapping management system and the settlement server, and realize data interaction between the battery swapping management system and the settlement server. The Socket transmits data at the byte level, with a small amount of data, which can reduce the resource occupancy of the battery swapping management system and the settlement server. Moreover, the data transmission time is short and the performance is high. It can encrypt the transmitted data to improve the security of data transmission.

[0095] The number of Socket clients generated by the battery swapping management system can be 1 or multiple. When the battery swapping management system generates multiple Socket clients, the battery swapping management system can establish Socket communication connections with multiple settlement servers to realize automatic battery swapping settlement for multiple vehicles.

[0096] In one embodiment, the battery swapping management system receives a battery swapping request sent by the vehicle to be battery-swapped and determines that the vehicle to be battery-swapped drives into the battery swapping station.

[0097] In one embodiment, the battery swapping management system determines that the vehicle to be battery-swapped drives into the battery swapping station according to detection devices such as infrared sensors and ultrasonic sensors deployed in the battery swapping station.

[0098] Step 102: Establish a Socket communication connection between the Socket client and the settlement server, and send the inbound message of the vehicle to be battery-swapped to the settlement server based on the Socket communication connection.

[0099] The battery swapping management system sends the inbound message of the vehicle to be battery-swapped to the settlement server, so that the settlement server sends a battery swapping settlement request to the cloud server based on the inbound message. The cloud server generates battery swapping settlement information according to the battery swapping settlement request and feeds it back to the battery swapping management system to settle the current battery swapping of the vehicle to be battery-swapped.

[0100] Among them, the inbound message may but is not limited to include information related to generating a battery swapping settlement request by the settlement server, such as the identifier, model, and arrival time of the vehicle to be battery-swapped.

[0101] Step 103: Output the battery swapping settlement information sent by the settlement server and receive the confirmed settlement information fed back by the vehicle to be battery-swapped.

[0102] Among them, the battery swapping settlement information may but is not limited to include at least one of the following information: battery type matching the vehicle model, battery swapping settlement plan (monthly deduction, real-time deduction), settlement method, payment channel, payment account, etc.

[0103] The battery swapping management system can output multiple battery swapping settlement plans for the user to select and confirm. The confirmed settlement information includes the battery swapping settlement plan selected and confirmed by the user.

[0104] The battery swapping management system can output multiple settlement methods for the user to select and confirm. The confirmed settlement information includes the settlement method selected and confirmed by the user.

[0105] The battery swapping management system can output multiple payment channels for the user to select and confirm. The confirmed settlement information includes the payment channel selected and confirmed by the user.

[0106] The battery swapping management system can output multiple payment accounts for the user to select and confirm. The confirmed settlement information includes the payment account selected and confirmed by the user.

[0107] In one embodiment, the battery swapping management system outputs the battery swapping settlement information to the in-vehicle terminal of the vehicle to be battery-swapped, and the in-vehicle terminal displays the battery swapping settlement information to the user for confirmation. After the user confirms, the in-vehicle terminal sends the confirmed settlement information to the battery swapping management system.

[0108] In one embodiment, the settlement server directly displays the battery swapping settlement information for the user to confirm. After the user confirms, the settlement server generates the confirmed settlement information.

[0109] Step 104: Forward the confirmed settlement information to the settlement server based on the Socket communication connection and receive the battery swapping settlement result fed back by the settlement server.

[0110] The battery swapping management system forwards the confirmed settlement information to the settlement server, enabling the settlement server to re-trigger the cloud server to complete the battery swapping settlement based on the confirmed settlement information, and send the battery swapping settlement result to the settlement server. The settlement server then forwards the battery swapping settlement result to the battery swapping management system.

[0111] The battery swapping settlement result includes successful settlement and failed settlement. When the settlement fails, the battery swapping management system can also send a settlement failure prompt to the in-vehicle terminal or the settlement server to notify the user of the settlement failure.

[0112] In this embodiment, the battery swapping management system and the settlement server establish a communication connection using Socket and achieve information interaction between the battery swapping management system and the settlement server through asynchronous communication. As a result, the battery swapping management system does not need to maintain a long-term connection with the settlement server, nor does it need to be connected to multiple settlement servers or other devices to complete the self-service battery swapping settlement, which can reduce the resource occupancy of the battery swapping management system.

[0113] In one embodiment, step 103 specifically includes: receiving the battery swapping settlement information forwarded by the settlement server, outputting and displaying the battery swapping settlement information to enable the vehicle to be battery-swapped to confirm the battery swapping settlement information.

[0114] Among them, the battery swapping settlement information is generated by the cloud server based on the battery swapping settlement request sent by the settlement server.

[0115] In this embodiment, the battery swapping management system outputs and displays the battery swapping settlement information for the user to confirm, and the settlement is only carried out after the user confirms, which can ensure the security and effectiveness of the settlement payment.

[0116] In one embodiment, step 104 specifically includes: forwarding the confirmed settlement information to the settlement server, enabling the settlement server to send the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmed settlement information, and receiving the battery swapping settlement result fed back by the settlement server. The battery swapping settlement result is calculated by the cloud server based on the battery swapping settlement data sent by the settlement server.

[0117] Among them, the battery swapping settlement data includes data related to the confirmed settlement information, such as settlement order number, settlement amount, payment method, and other data.

[0118] In this embodiment, the battery swapping management system uses the settlement server as an intermediary to achieve interaction with the cloud server and complete the battery swapping settlement. As a result, the battery swapping management system does not need to directly connect and interact with the cloud server, nor does it need to maintain a long-term connection with the cloud server, which can reduce the resource occupancy of the battery swapping management system.

[0119] In one embodiment, after the step of receiving the battery swapping settlement result feedback from the settlement server, the method further includes: determining whether the vehicle to be swapped is successfully settled based on the battery swapping settlement result, and generating a vehicle battery swapping instruction to perform battery swapping on the vehicle to be swapped when it is confirmed that the vehicle to be swapped is successfully settled.

[0120] In this embodiment, when it is confirmed that the vehicle to be swapped is successfully settled, a vehicle battery swapping instruction is generated to perform battery swapping on the vehicle to be swapped, thus completing the effective battery swapping of the vehicle to be swapped.

[0121] In one embodiment, after the step of generating the vehicle battery swapping instruction, the method further includes: controlling the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be swapped, and detecting whether the vehicle to be swapped has completed battery swapping. When it is detected that the vehicle to be swapped has completed battery swapping, the Socket communication connection between the Socket client and the settlement server is closed, and the Socket client is logged off.

[0122] In this embodiment, when the vehicle to be swapped has completed battery swapping, the battery swapping management system closes the Socket communication connection between the Socket client and the settlement server, which can release some resource occupations of the battery swapping management system and improve the performance of the battery swapping management system.

[0123] Corresponding to the foregoing embodiment of the self-service settlement method of the battery swapping station, the present invention also provides an embodiment of a battery swapping management system.

[0124] Figure 2 The following is a schematic diagram of the modules of a battery swapping management system provided for an exemplary embodiment of the present invention. The system includes:

[0125] A communication module 21, configured to generate a corresponding Socket client for the vehicle to be swapped and establish a Socket communication connection between the Socket client and the settlement server when it is detected that the vehicle to be swapped drives into the battery swapping station;

[0126] A first transceiver module 22, configured to send an in-station message of the vehicle to be swapped to the settlement server based on the Socket communication connection, output the battery swapping settlement information sent by the settlement server, and receive the confirmed settlement information fed back by the vehicle to be swapped;

[0127] The first transceiver module 22 is further configured to forward the confirmed settlement information to the settlement server based on the Socket communication connection and receive the battery swapping settlement result fed back by the settlement server.

[0128] Optionally, the first transceiver module includes:

[0129] A first receiving unit, configured to receive the battery swapping settlement information forwarded by the settlement server, where the battery swapping settlement information is generated by the cloud server based on the battery swapping settlement request sent by the settlement server;

[0130] An output unit, configured to output and display the battery swapping settlement information, so that the vehicle to be battery-swapped can confirm the battery swapping settlement information.

[0131] Optionally, the first transceiver module includes:

[0132] A first sending unit, configured to forward the confirmed settlement information to the settlement server, so that the settlement server sends the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmed settlement information;

[0133] A first receiving unit, configured to receive the battery swapping settlement result fed back by the settlement server, where the battery swapping settlement result is calculated by the cloud server based on the battery swapping settlement data sent by the settlement server.

[0134] Optionally, the battery swapping management system further includes:

[0135] A determination module, configured to determine whether the settlement of the vehicle to be battery-swapped is successful based on the battery swapping settlement result;

[0136] A battery swapping control module, configured to generate a vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped when it is confirmed that the settlement of the vehicle to be battery-swapped is successful.

[0137] Optionally, the battery swapping management system further includes:

[0138] A detection module, configured to control the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped, and detect whether the vehicle to be battery-swapped has completed battery swapping;

[0139] A logout module, configured to close the Socket communication connection between the Socket client and the settlement server and logout the Socket client when it is detected that the vehicle to be battery-swapped has completed battery swapping.

[0140] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiments described above are only illustrative, where the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention.

[0141] Figure 3 The flowchart of another self-service settlement method for a battery swapping station provided by an exemplary embodiment of the present invention. This self-service settlement method for the battery swapping station is applied to a settlement server. Refer to Figure 3 , the method includes:

[0142] Step 301: In response to a battery swapping request of a vehicle to be swapped, start a Socket service.

[0143] In one embodiment, the battery swapping request is sent to the settlement server when the vehicle to be swapped drives into the battery swapping station.

[0144] In one embodiment, the battery swapping request is sent to the settlement server when the battery swapping management system detects that the vehicle to be swapped drives into the battery swapping station.

[0145] Step 302: Establish a Socket communication connection with the battery swapping management system according to the Socket service, and obtain the inbound information of the vehicle to be swapped sent by the battery swapping management system based on the Socket communication connection.

[0146] Step 303: Forward the battery swapping settlement information sent by the cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information.

[0147] Among them, the inbound message may include, but is not limited to, information related to generating a battery swapping settlement request for the settlement server, such as the identifier, model, and inbound time of the vehicle to be swapped.

[0148] Step 304: Receive the confirmation settlement information feedback by the vehicle to be swapped for the battery swapping settlement information sent by the battery swapping management system based on the Socket communication connection.

[0149] Step 305: Forward the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication.

[0150] In this embodiment, the settlement server realizes the self-service settlement for the vehicle to be swapped through the interaction with the battery swapping management system. The working mechanism of the battery swapping management system refers to the description in any of the above embodiments and will not be elaborated here.

[0151] In this embodiment, the battery swapping management system and the settlement server establish a communication connection using Socket and realize the information interaction between the battery swapping management system and the settlement server in an asynchronous communication manner. Thus, the battery swapping management system does not need to maintain a long-term connection state with the settlement server, nor does it need to be connected to multiple settlement servers or other devices to complete the self-service battery swapping settlement, which can reduce the resource occupancy of the battery swapping management system.

[0152] Optionally, step 303 includes:

[0153] Step 303-1: Generate a battery swapping settlement request based on the inbound information.

[0154] Among them, the inbound message may include, but is not limited to, information related to generating a battery swapping settlement request for the settlement server, such as the identifier, model, and arrival time of the vehicle to be battery-swapped.

[0155] The battery swapping settlement request generated by the settlement server may carry at least one parameter in the inbound message.

[0156] Step 303-2: Send the battery swapping settlement request to the cloud server so that the cloud server generates battery swapping settlement information based on the battery swapping settlement request.

[0157] The cloud server generates battery swapping settlement information according to the battery swapping settlement request and sends the battery swapping settlement information to the settlement server.

[0158] Step 303-3: Forward the battery swapping settlement information to the battery swapping management system based on the Socket communication connection.

[0159] The settlement server forwards the battery swapping settlement information to the battery swapping management system so that the battery swapping management system outputs and displays the battery swapping settlement information for the vehicle to be battery-swapped to confirm the battery swapping settlement information.

[0160] In this embodiment, the settlement server outputs and displays the battery swapping settlement information through the battery swapping management system for the user to confirm, and the settlement is only carried out after the user confirms, which can ensure the security and effectiveness of the settlement payment.

[0161] In one embodiment, step 305 includes:

[0162] Step 305-1: Send the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmed settlement information.

[0163] The confirmed settlement information is generated after the vehicle to be battery-swapped or the user to which the vehicle belongs confirms the battery swapping settlement information.

[0164] The battery swapping settlement data is generated by the settlement server according to the confirmed settlement information.

[0165] Step 305-2: Receive the battery swapping settlement result calculated by the cloud server based on the battery swapping settlement data, and forward the battery swapping settlement result to the battery swapping management system based on the Socket communication connection.

[0166] In one embodiment, after step 305, the method further includes: when it is determined that the vehicle to be battery-swapped has completed battery swapping, disconnect the Socket communication connection with the battery swapping management system and close the Socket service.

[0167] When the battery swapping management system detects that the vehicle to be battery-swapped has completed the battery swapping, it feeds back the battery swapping success result to the settlement server. When the settlement server receives the battery swapping success result, it indicates that the current battery swapping has been completed. The settlement server disconnects the Socket communication connection with the battery swapping management system and shuts down the Socket service to release part of the resource occupation of the battery swapping management system and improve the performance of the battery swapping management system.

[0168] Corresponding to the foregoing embodiment of the self-service settlement method for the battery swapping station, the present invention also provides an embodiment of the settlement server.

[0169] Figure 4 The following is a schematic diagram of the modules of a settlement server provided by an exemplary embodiment of the present invention. The device includes:

[0170] A startup module 41, configured to start the Socket service in response to a battery swapping request of a vehicle to be battery-swapped;

[0171] A second transceiver module 42, configured to establish a Socket communication connection with the battery swapping management system according to the Socket service, and obtain the inbound station information of the vehicle to be battery-swapped sent by the battery swapping management system based on the Socket communication connection;

[0172] The second transceiver module 42 is further configured to forward the battery swapping settlement information sent by the cloud server and matching the inbound station information to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information;

[0173] The second transceiver module 42 is further configured to receive the confirmation settlement information fed back by the vehicle to be battery-swapped for the battery swapping settlement information sent by the battery swapping management system based on the Socket communication connection;

[0174] The second transceiver module 42 is further configured to forward the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication.

[0175] Optionally, the second transceiver module includes:

[0176] A generation unit, configured to generate a battery swapping settlement request according to the inbound station information;

[0177] A second sending unit, configured to send the battery swapping settlement request to the cloud server, so that the cloud server generates battery swapping settlement information according to the battery swapping settlement request;

[0178] The second sending unit is further configured to forward the battery swapping settlement information to the battery swapping management system based on the Socket communication connection.

[0179] Optionally, the second transceiver module includes:

[0180] A third sending unit, configured to send the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmation settlement information;

[0181] A second receiving unit, configured to receive the battery swapping settlement result calculated by the cloud server based on the battery swapping settlement data;

[0182] A second sending unit, configured to forward the battery swapping settlement result to the battery swapping management system based on the Socket communication connection.

[0183] Optionally, it further includes:

[0184] A closing module, configured to disconnect the Socket communication connection with the battery swapping management system and close the Socket service when it is determined that the vehicle to be battery-swapped has completed battery swapping.

[0185] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention.

[0186] Figure 5 FIG. is a schematic diagram of the architecture of a self-service settlement system of a battery swapping station provided by an exemplary embodiment of the present invention. The self-service settlement system includes a battery swapping management system 51, a settlement server 52, and a cloud server 53.

[0187] See Figure 6 , and the self-service settlement process of the self-service settlement system of the battery swapping station will be further described below.

[0188] The settlement server 52 starts a Socket service in response to a battery swapping request of a vehicle to be battery-swapped.

[0189] When the battery swapping management system 51 detects that the vehicle to be battery-swapped drives into the battery swapping station, it generates a Socket client corresponding to the vehicle to be battery-swapped;

[0190] The battery swapping management system 51 establishes a Socket communication connection between the Socket client and the settlement server, and sends an inbound message of the vehicle to be battery-swapped to the settlement server based on the Socket communication connection;

[0191] The settlement server 52 generates a battery swapping settlement request according to the inbound message and sends the battery swapping settlement request to the cloud server;

[0192] The cloud server 53 generates battery swapping settlement information according to the battery swapping settlement request and sends the battery swapping settlement information to the settlement server, so that the settlement server forwards the battery swapping settlement information to the battery swapping management system;

[0193] The battery swapping management system 51 outputs the battery swapping settlement information sent by the settlement server and receives the confirmed settlement information fed back by the vehicle to be battery swapped;

[0194] The battery swapping management system 51 forwards the confirmed settlement information to the settlement server based on the Socket communication connection;

[0195] The settlement server 52 forwards the battery swapping settlement result sent by the cloud server to the battery swapping management system based on Socket communication; the battery swapping settlement result is generated according to the confirmed settlement information.

[0196] In another implementation, the vehicle to be battery swapped directly feeds back the confirmed settlement information to the cloud server.

[0197] In this embodiment, the battery swapping management system and the settlement server establish a communication connection using Socket and implement information interaction between the battery swapping management system and the settlement server in an asynchronous communication manner. Thus, the battery swapping management system does not need to maintain a connection state with the settlement server for a long time, nor does it need to be connected to multiple settlement servers or other devices, and can complete self-service battery swapping settlement, which can reduce the resource occupancy of the battery swapping management system.

[0198] In one embodiment, when the battery swapping management system confirms that the settlement of the vehicle to be battery swapped is successful according to the battery swapping settlement result, it generates a vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery swapped.

[0199] In one embodiment, the battery swapping management system controls the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery swapped, and detects whether the vehicle to be battery swapped has completed battery swapping; when it detects that the vehicle to be battery swapped has completed battery swapping, it closes the Socket communication connection between the Socket client and the settlement server and logs off the Socket client;

[0200] And / or, when the settlement server determines that the vehicle to be battery swapped has completed battery swapping, it disconnects the Socket communication connection with the battery swapping management system and closes the Socket service.

[0201] In this embodiment, when the vehicle to be battery swapped has completed battery swapping, closing the Socket communication connection between the Socket client and the settlement server can release part of the resource occupancy of the battery swapping management system and improve the performance of the battery swapping management system.

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

Claims

1. A self - settlement method for a battery swapping station, characterized in that, Applied to a battery swapping management system, the self-service settlement method includes: When it is detected that a vehicle to be battery-swapped drives into the battery swapping station, generating a Socket client corresponding to the vehicle to be battery-swapped; Establishing a Socket communication connection between the Socket client and a settlement server, and sending an in-station message of the vehicle to be battery-swapped to the settlement server based on the Socket communication connection; Outputting the battery swapping settlement information sent by the settlement server, and receiving the confirmed settlement information fed back by the vehicle to be battery-swapped; Forwarding the confirmed settlement information to the settlement server based on the Socket communication connection, and receiving the battery swapping settlement result fed back by the settlement server.

2. The self-service settlement method of the battery swapping station according to claim 1, characterized in that, The step of outputting the battery swapping settlement information sent by the settlement server includes: Receiving the battery swapping settlement information forwarded by the settlement server, where the battery swapping settlement information is generated by a cloud server based on a battery swapping settlement request sent by the settlement server; Outputting and displaying the battery swapping settlement information so that the vehicle to be battery-swapped can confirm the battery swapping settlement information.

3. The self - settlement method of the battery swapping station according to claim 1, characterized in that, The step of forwarding the confirmed settlement information to the settlement server and receiving the battery swapping settlement result fed back by the settlement server includes: Forwarding the confirmed settlement information to the settlement server so that the settlement server sends the battery swapping settlement data of the vehicle to be battery-swapped to the cloud server based on the confirmed settlement information; Receiving the battery swapping settlement result fed back by the settlement server, where the battery swapping settlement result is calculated by the cloud server based on the battery swapping settlement data sent by the settlement server.

4. The self - settlement method of the battery swapping station according to claim 1, characterized in that, After the step of receiving the battery swapping settlement result fed back by the settlement server, the self-service settlement method further includes: Determining whether the vehicle to be battery-swapped is successfully settled based on the battery swapping settlement result; When it is confirmed that the vehicle to be battery-swapped is successfully settled, generating a vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped.

5. The self-service settlement method of the battery swapping station according to claim 4, wherein After the step of generating the vehicle battery swapping instruction, the method further includes: Controlling the battery swapping equipment of the battery swapping station based on the vehicle battery swapping instruction to perform battery swapping on the vehicle to be battery-swapped, and detecting whether the vehicle to be battery-swapped has completed battery swapping; When it is detected that the vehicle to be battery-swapped has completed battery swapping, closing the Socket communication connection between the Socket client and the settlement server, and logging off the Socket client.

6. A battery swapping management system, characterized in that, The battery swapping management system includes: A communication module, configured to generate a Socket client corresponding to the vehicle to be battery-swapped when it is detected that the vehicle to be battery-swapped drives into the battery swapping station, and establish a Socket communication connection between the Socket client and a settlement server; A first transceiver module, configured to send an in-station message of the vehicle to be battery-swapped to the settlement server based on the Socket communication connection, output the battery swapping settlement information sent by the settlement server, and receive the confirmed settlement information fed back by the vehicle to be battery-swapped; The first transceiver module is further configured to forward the confirmation settlement information to the settlement server based on the Socket communication connection and receive the battery swapping settlement result fed back by the settlement server.

7. A self - settlement method for a battery swapping station, characterized in that, Applied to a settlement server, the method includes: Responding to a battery swapping request of a vehicle to be battery swapped, and starting a Socket service; Establishing a Socket communication connection with a battery swapping management system according to the Socket service, and obtaining the inbound information of the vehicle to be battery swapped sent by the battery swapping management system based on the Socket communication connection; Forwarding the battery swapping settlement information sent by a cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information; Receiving, based on the Socket communication connection, the confirmation settlement information sent by the battery swapping management system and fed back by the vehicle to be battery swapped for the battery swapping settlement information; Forwarding the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication; 8. The self-service settlement method of the battery swapping station according to claim 7, characterized in that, Forwarding the battery swapping settlement information sent by the cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection includes: Generating a battery swapping settlement request according to the inbound information; Sending the battery swapping settlement request to the cloud server, so that the cloud server generates battery swapping settlement information according to the battery swapping settlement request; Forwarding the battery swapping settlement information to the battery swapping management system based on the Socket communication connection; And / or, forwarding the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication includes: Sending the battery swapping settlement data of the vehicle to be battery swapped to the cloud server based on the confirmation settlement information; Receiving the battery swapping settlement result calculated by the cloud server based on the battery swapping settlement data, and forwarding the battery swapping settlement result to the battery swapping management system based on the Socket communication connection; And / or, the self-service settlement method further includes: When it is determined that the vehicle to be battery swapped has completed battery swapping, disconnecting the Socket communication connection with the battery swapping management system and closing the Socket service.

9. A settlement server, characterized in that, Including: A starting module, configured to respond to a battery swapping request of a vehicle to be battery swapped and start a Socket service; A second transceiver module, configured to establish a Socket communication connection with a battery swapping management system according to the Socket service, and obtain the inbound information of the vehicle to be battery swapped sent by the battery swapping management system based on the Socket communication connection; The second transceiver module is further configured to forward the battery swapping settlement information sent by the cloud server and matching the inbound information to the battery swapping management system based on the Socket communication connection, so that the battery swapping management system outputs the battery swapping settlement information; The second transceiver module is further configured to receive, based on the Socket communication connection, the confirmation settlement information sent by the battery swapping management system and fed back by the vehicle to be battery swapped for the battery swapping settlement information; The second transceiver module is further configured to forward the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication.

10. A self-service settlement system for a battery swapping station, characterized in that, The self-service settlement system includes a battery swapping management system, a settlement server, and a cloud server; The settlement server starts a Socket service in response to a battery swapping request of a vehicle to be battery swapped; When the battery swapping management system detects that the vehicle to be battery swapped drives into the battery swapping station, it generates a Socket client corresponding to the vehicle to be battery swapped; The battery swapping management system establishes a Socket communication connection between the Socket client and the settlement server, and sends an in-station message of the vehicle to be battery swapped to the settlement server based on the Socket communication connection; The settlement server generates a battery swapping settlement request according to the in-station message, and sends the battery swapping settlement request to the cloud server; The cloud server generates battery swapping settlement information according to the battery swapping settlement request, and sends the battery swapping settlement information to the settlement server, so that the settlement server forwards the battery swapping settlement information to the battery swapping management system; The battery swapping management system outputs the battery swapping settlement information sent by the settlement server, and receives the confirmed settlement information fed back by the vehicle to be battery swapped; The battery swapping management system forwards the confirmed settlement information to the settlement server based on the Socket communication connection; The settlement server forwards the battery swapping settlement result sent by the cloud server to the battery swapping management system based on the Socket communication; The battery swapping settlement result is generated according to the confirmed settlement information.