Battery replacement behavior recognition method and device, storage medium and equipment

By analyzing the terminal changes in battery data to identify the battery swapping behavior of electric vehicles, this technology solves the problems of inaccurate identification and high cost in existing technologies, and achieves efficient and low-cost battery swapping behavior identification.

CN116001739BActive Publication Date: 2026-04-14HANGZHOU QULIAN TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU QULIAN TECHNOLOGY CO LTD
Filing Date
2023-01-03
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, the identification of electric vehicle battery swapping behavior relies on cameras or manual identification, which is costly and prone to problems such as unclear identification or omissions.

Method used

By acquiring target battery data and historical battery data, the system analyzes terminal status changes, monitors battery terminal information using the battery management unit, identifies battery swapping behavior, and reduces equipment and labor costs.

Benefits of technology

It improves the accuracy of battery swapping behavior identification, reduces equipment and labor costs, and avoids problems of unclear identification and omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116001739B_ABST
    Figure CN116001739B_ABST
Patent Text Reader

Abstract

The application provides a battery replacement behavior identification method and device, a readable storage medium and equipment. The method comprises the following steps: obtaining target battery data and historical battery data of a target battery. The target battery data is battery data received at a current time point. The historical battery data is battery data received at a time point closest to the current time point. The battery data comprises terminal information in which the target battery is located. According to the terminal information in which the target battery is located in the target battery data and the historical battery data, a terminal change state of the target battery is obtained. Finally, according to the terminal change state, it is determined whether the target battery has a battery replacement behavior. In this way, the battery replacement behavior of the battery is identified according to the battery data, and the device cost and labor cost caused by the use of other devices are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data analysis technology, and specifically to a method, apparatus, storage medium, and device for identifying battery swapping behavior. Background Technology

[0002] Currently, for electric vehicles, during the use of electric vehicles, the electric vehicle consumes the power of the battery. Before the battery is depleted, it needs to go to a battery station to replace the battery. Each time an electric vehicle replaces its battery, it is considered a battery swap.

[0003] Currently, existing technologies for identifying battery swapping behavior mostly rely on cameras and other devices for auxiliary identification, or manual identification of battery swapping behavior. This is costly, and camera identification may have problems such as unclear images leading to failure to identify the behavior. Manual identification is also prone to missing battery swapping when multiple vehicles enter the battery station for battery swapping. Summary of the Invention

[0004] Based on the above research, the present invention provides a method, apparatus, readable storage medium and device for identifying battery swapping behavior, which can identify battery swapping behavior based on battery data, reducing equipment and labor costs, while avoiding missed identification and improving accuracy.

[0005] In a first aspect, embodiments of the present invention provide a method for identifying battery swapping behavior, the method comprising:

[0006] Acquire target battery data and historical battery data; target battery data is the battery data received at the current moment, and historical battery data is the battery data received at the moment most recently than the current moment; battery data includes terminal information where the target battery is located;

[0007] Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change status of the target battery is obtained.

[0008] Based on the changes in the terminal status, determine whether the target battery is undergoing a battery swapping process.

[0009] In one possible implementation of the present invention, determining whether the target battery is undergoing battery swapping behavior based on the terminal's changing state includes:

[0010] If the change in terminal status indicates a change in the terminal where the target battery is located, it is determined that the target battery has undergone a battery swapping behavior. It is also checked whether there is an additional battery in the terminal corresponding to the terminal information in the target battery data. If there is an additional battery, the status of the target battery and the additional battery is marked as abnormal.

[0011] If the terminal change status indicates that the terminal where the target battery is located has not changed, then the status flag of the target battery is obtained, and based on the status flag of the target battery, it is determined whether the target battery has undergone battery swapping behavior.

[0012] In one possible implementation of the present invention, determining whether the target battery exhibits battery swapping behavior based on the target battery's state flag includes:

[0013] If the target battery's status is marked as abnormal, it is determined that the target battery has undergone a battery swap, and the target battery's status is updated to normal.

[0014] If the target battery's status is marked as normal, it is determined that the target battery has not undergone battery swapping, and the target battery's status is maintained.

[0015] In one possible implementation of the present invention, after determining that the target battery has undergone a battery swapping activity and updating the target battery's status flag to normal, the process includes:

[0016] If the terminal where the target battery is located is determined to be the battery compartment terminal based on the terminal information in the target battery data, a vehicle risk warning will be issued. The vehicle risk warning is used to indicate that there is an order settlement risk for this battery swapping activity.

[0017] In one possible implementation of the present invention, detecting whether the terminal corresponding to the terminal information in the target battery data has an additional battery includes:

[0018] The terminal information in the target battery data is matched with the terminal information in the stored battery data table; the battery data table is used to store the received battery data; the battery data also includes the battery identifier.

[0019] If the battery data table contains target terminal information that matches the terminal information in the target battery data, then check whether the battery identifier in the target battery data matches the battery identifier corresponding to the target terminal information.

[0020] Based on the test results, determine whether the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0021] In one possible implementation of the present invention, determining whether the terminal corresponding to the terminal information in the target battery data has an additional battery, based on the detection result, includes:

[0022] If the detection result indicates that the battery identifier in the target battery data is inconsistent with the battery identifier corresponding to the target terminal information, then determine whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than the preset first duration threshold.

[0023] If the value is not greater than the target battery data, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0024] In one possible implementation of the present invention, after determining that the state of the target battery and the additional battery is marked as abnormal, the process includes:

[0025] If the target battery is located in the battery compartment terminal based on the terminal information of the target battery in the target battery data, then determine whether the interval between the receiving time of the historical battery data and the receiving time of the target battery data is less than the preset second time threshold.

[0026] If the time is less than the second time threshold, a settlement risk warning will be issued. The settlement risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data.

[0027] Secondly, embodiments of the present invention provide a battery swapping behavior identification device, the battery swapping behavior identification device comprising:

[0028] The receiving module is used to acquire target battery data and historical battery data of the target battery; the target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently than the current moment; the battery data includes terminal information where the target battery is located.

[0029] The judgment module is used to determine the terminal change status of the target battery based on the target battery data and the terminal information where the target battery is located in the historical battery data.

[0030] The determination module is used to determine whether the target battery is undergoing battery swapping behavior based on changes in the terminal's status.

[0031] Thirdly, embodiments of the present invention also provide a battery swapping behavior identification device, the device comprising:

[0032] One or more processors;

[0033] Memory; and

[0034] One or more applications, wherein the applications are stored in memory and configured to be executed by a processor to implement any of the methods described above.

[0035] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in any of the methods described above.

[0036] This invention provides a method, apparatus, device, and readable storage medium for identifying battery swapping behavior. The method includes acquiring target battery data and historical battery data of a target battery. The target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently the current moment. The battery data includes terminal information where the target battery is located. Based on the target battery data and the terminal information of the target battery in the historical battery data, the terminal change state of the target battery is obtained. Finally, based on the terminal change state, it is determined whether the target battery has engaged in battery swapping behavior. In this way, battery swapping behavior is identified based on battery data, saving the equipment cost and labor cost of using additional equipment. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a schematic diagram of an embodiment of the battery swapping behavior recognition system provided in this invention;

[0039] Figure 2 This is a flowchart illustrating a battery swapping behavior identification method provided in an embodiment of the present invention;

[0040] Figure 3 This is a block diagram of a battery swapping behavior identification device provided in an embodiment of the present invention;

[0041] Figure 4 This is a schematic diagram of a battery swapping behavior recognition device provided in an embodiment of the present invention;

[0042] Figure 5 This is a schematic flowchart of one embodiment of battery flow in this invention;

[0043] Figure 6 This is a schematic diagram of a battery data flow embodiment in this invention. Detailed Implementation

[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] In the description of this invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0046] As mentioned in the background technology, existing technologies mostly use cameras and other devices for auxiliary identification, or rely on manual identification of battery swapping behavior. This is costly, and camera identification may have problems such as unclear images leading to failure to identify, while manual identification is also prone to missing battery swapping when multiple vehicles enter the battery station for battery swapping.

[0047] Based on this, the present invention provides a method, apparatus, device, and readable storage medium for identifying battery swapping behavior. The method includes acquiring target battery data and historical battery data of a target battery. The target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently the current moment. The battery data includes terminal information where the target battery is located. Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change state of the target battery is obtained. Finally, based on the terminal change state, it is determined whether the target battery has engaged in battery swapping behavior. In this way, battery swapping behavior is identified based on battery data, saving the equipment cost and labor cost incurred by using additional equipment.

[0048] The following section will first explain some of the terms used in the embodiments of this invention.

[0049] Battery Management Unit (BMU): A battery management unit is an electronic device that monitors and manages a battery. It collects and calculates parameters such as voltage, current, temperature, and SOC, and then controls the charging and discharging process to protect the battery and improve its overall performance.

[0050] Vehicle terminal: A data output device that is connected to electronic devices during the battery discharge process and is equipped with a battery management unit for sending data.

[0051] Battery compartment terminal: A data output device that is connected to electronic devices and communicates with them during the battery charging process. It includes a battery management unit for sending data.

[0052] The following describes the battery swapping behavior identification method, apparatus, device, and readable storage medium provided in the embodiments of the present invention.

[0053] Please see Figure 1 , Figure 1 This is a schematic diagram of a battery swapping behavior recognition system provided in an embodiment of the present invention. The battery swapping behavior recognition system may include an electronic device 100, a vehicle terminal 200 communicatively connected to the electronic device 100, and a battery station terminal 300 communicatively connected to the electronic device 100. The electronic device 100 stores battery data of each battery for analyzing battery swapping behavior. The vehicle terminal 200 is equipped with a battery management unit for monitoring and managing the batteries discharging on the vehicle and sending the battery data of the batteries to the electronic device 100. The battery station terminal 300 is equipped with a battery management unit for monitoring and managing the batteries discharging on the vehicle and sending the battery data of the batteries to the electronic device 100.

[0054] In this invention, electronic device 100 and vehicle terminal 200, as well as electronic device 100 and battery station terminal 300, can achieve network communication through any communication method, including but not limited to mobile communication based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP / IP Protocol Suite (TCP / IP) and User Datagram Protocol (UDP). Vehicle terminal 200 and battery station terminal 300 can upload battery data of the target battery to electronic device 100 through the above communication methods.

[0055] The battery swapping behavior identification method provided in this embodiment of the invention can be executed by an electronic device with executable instructions. This electronic device can be a terminal device such as a laptop computer, a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, but is not limited to these.

[0056] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario adapted to the solution of this invention, and does not constitute a limitation on the application scenarios of this invention. Other application scenarios may also include... Figure 1 More vehicle terminals 200 and battery station terminals 300 shown, for example Figure 1Only one vehicle terminal 200 and one battery station terminal 300 are shown in the diagram. It is understood that the battery swapping behavior recognition system may also include other user terminals that are connected to the electronic device 100. The specifics are not limited here.

[0057] In this invention, in a specific implementation of the above-mentioned executable instructions, the electronic device acquires target battery data and historical battery data of the target battery, and obtains the terminal change state of the target battery based on the terminal information of the target battery in the target battery data and historical battery data. Finally, based on the terminal change state, it determines whether the target battery has battery swapping behavior.

[0058] It should be noted that the above system scenario is merely an example. The electronic devices and scenarios described in this invention are intended to more clearly illustrate the technical solutions of this invention and do not constitute a limitation on the technical solutions provided by this invention. As those skilled in the art will know, with the evolution of systems and the emergence of new business scenarios, the technical solutions provided by this invention are equally applicable to similar technical problems.

[0059] like Figure 2 As shown, Figure 2 This is a schematic flowchart of a battery swapping behavior recognition method provided in an embodiment of the present invention. Figure 2 As shown, it should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0060] The battery swapping behavior identification method provided in this embodiment of the invention includes steps S201 to S204:

[0061] S201. Obtain target battery data and historical battery data of the target battery; the target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently than the current moment; the battery data includes terminal information where the target battery is located.

[0062] The target battery refers to the battery corresponding to the battery data currently received by the electronic device. For example, when an electronic device at the battery station sends a battery data to another electronic device, the battery corresponding to that data is the target battery.

[0063] Battery data refers to the data obtained by the battery management unit (BMU) based on the detection of battery operating status and submitted to the electronic device that can execute instructions. Battery data includes battery identification, terminal information, current battery location, battery current, battery voltage, vehicle mileage, etc.

[0064] In this embodiment of the invention, the electronic device that can execute instructions can obtain battery data in a passive manner. That is, the terminal sends target battery data to the electronic device, and the electronic device receives and stores the target battery data. For example, when the battery is discharging at the vehicle end, the vehicle terminal sends the battery data to the electronic device at preset time intervals, such as 10 seconds, for analysis and storage. Alternatively, when the battery is discharging at the battery station end, the battery station terminal sends the battery data to the electronic device at preset time intervals, such as 10 seconds, for analysis and storage. In this case, the battery data received is the battery data received at the current moment.

[0065] In this embodiment of the invention, the target battery data refers to the battery data received at the current moment. This battery data can be sent by the vehicle terminal or the battery station terminal, without any specific limitation. Determining whether the target battery data is sent by the vehicle terminal or the battery station terminal can be based on the terminal information in the battery data. The terminal information represents the identification information of the terminal where the target battery is located. For example, for the battery station terminal, each battery station terminal has a unique warehouse number; for the vehicle terminal, each vehicle terminal has a unique license plate number.

[0066] In this embodiment, the location of the target battery can be represented by the terminal information in the battery data. For example, the target battery is located at the battery station warehouse end. When the electronic device receives the target battery data, it obtains the warehouse number as 00001 based on the terminal information of the target battery data. Therefore, it can be analyzed that the target battery is located at the battery station warehouse end. Specifically, the warehouse number of the battery station warehouse end is 00001.

[0067] Each battery has a unique battery identifier. When an electronic device receives and parses battery data, it can obtain the unique battery identifier of the target battery. Furthermore, after receiving and parsing battery data sent from either end, the electronic device can classify and load the data according to the unique battery identifier of the target battery. This facilitates the search for target battery data or historical battery data based on the unique battery identifier when needed for subsequent business operations.

[0068] Historical battery data represents the battery data received at the moment closest to the current moment. The target battery data is searched based on the target battery's battery identifier. Then, the moment when the battery data was received at the current moment is analyzed to obtain the battery data corresponding to the moment closest to the current moment, which is the historical battery data.

[0069] In this case, historical battery data can also be obtained by searching for target battery data based on the target battery identifier, and then matching the battery data at the time when the electronic device receives the current battery data with the battery data at the time adjacent to the current time. If there is a time when the electronic device receives the battery data and the time when the battery data is received at the current time are the closest adjacent times, then the battery data is historical battery data.

[0070] S102. Based on the target battery data and the terminal information where the target battery is located in the historical battery data, obtain the terminal change status of the target battery.

[0071] like Figure 5 As shown, Figure 5 This is a schematic diagram of a battery transfer embodiment in this invention. The terminal of the target battery refers to the terminal where the target battery is located. This terminal can be the vehicle end or the battery station end. When the battery moves from the battery station end to the vehicle end, the target battery is discharged, which is the process of replacing the battery. When the battery is moved from the vehicle end to the battery station end, the target battery is charged, which is the process of replacing the battery.

[0072] The terminal change state of the target battery refers to whether the terminal of the target battery changes between two adjacent time points. The terminal change state of the target battery can be changed or not changed.

[0073] In this embodiment of the invention, determining whether the battery terminal has changed can be achieved by analyzing whether the terminal information in the battery data transmitted between two adjacent time points has changed. If the terminal information has changed, it could mean that the terminal represented by the target battery's terminal information moved from the vehicle to the battery storage station, or vice versa. If the terminal information has not changed, it could mean that the terminal represented by the target battery's terminal information remained at the battery storage station, or at the vehicle. In other words, the terminal information in the battery data at two adjacent time points determines whether the terminals indicated by the terminal information at those two adjacent time points are the same terminal. If they are the same terminal, it is considered that the terminal information in the battery data at those two time points has not changed; otherwise, if they are not the same terminal, it is determined that the terminal information in the battery data at those two time points has changed.

[0074] Based on this, in this embodiment of the invention, the terminal change state of the target battery is determined according to the target battery data and the terminal information where the target battery is located in the historical battery data. This can be done by analyzing whether the terminal information where the target battery is located in the target battery data is consistent with the terminal information where the target battery is located in the historical battery data. If they are inconsistent, it is determined that the terminal change state of the target battery has changed, and the circumstances of the change (such as changing from the vehicle terminal to the battery station terminal, or changing from the battery station terminal to the vehicle terminal).

[0075] For example, based on the analysis of target battery data, the terminal information of the target battery data indicates that the target battery is located at the battery station warehouse end, with warehouse number 00002. Based on the analysis of historical battery data, the terminal information of the historical battery data indicates that the target battery is located at the vehicle end, with license plate number A101101. Comparing the terminal information of the target battery data with the terminal information of the historical battery data, the two terminal information are inconsistent. Therefore, it is determined that the terminal change status of the target battery has changed from the vehicle end to the battery station warehouse end.

[0076] Alternatively, based on the analysis of the target battery data, the terminal information of the target battery data indicates that the target battery is located at the battery station warehouse end, warehouse number 00002. Based on the analysis of historical battery data, the terminal information of the historical battery data indicates that the target battery is located at the battery station warehouse end, warehouse number 00002. If the two terminal information are consistent, then the terminal change status of the target battery is obtained, and the terminal change status of the target battery is no change.

[0077] S103. Determine whether the target battery is undergoing battery swapping based on the terminal's changing status.

[0078] Battery swapping refers to the act of replacing a vehicle's battery. Generally speaking, replacing a battery with a vehicle is considered a battery swap. This act is usually accompanied by the act of moving the battery from the vehicle to the battery station. Therefore, when analyzing battery data to determine whether a battery swap has occurred, a standard for moving the battery from the vehicle to the battery station has been added, and moving the battery from the vehicle to the battery station is also considered a battery swap.

[0079] If the terminal change status indicates a change from the battery station to the vehicle, or vice versa, then the terminal change status indicates a change, and it is determined that the target battery is undergoing battery swapping. If the terminal change status indicates a change from the battery station to the battery station, then the terminal change status indicates no change, and it is determined that the target battery is not undergoing battery swapping. If the terminal change status indicates a change from the vehicle to the vehicle, then the terminal change status indicates no change, and it is determined that the target battery is not undergoing battery swapping.

[0080] From a data perspective, the battery data transmitted from the battery management unit (BMU) at the vehicle and battery station to the electronic device can be analyzed. If the historical battery data is transmitted from the BMU at the battery station to the electronic device, and the current target battery data is transmitted from the BMU at the vehicle to the electronic device, the terminal status can be determined to have changed based on the battery data received at two adjacent times, which can be considered as a battery swap. Alternatively, if the historical battery data is transmitted from the BMU at the vehicle to the electronic device, and the current target battery data is transmitted from the BMU at the battery station to the electronic device, the terminal status can be determined to have changed based on the battery data received at two adjacent times, which can be considered as a battery swap.

[0081] The present invention provides a battery swapping behavior identification method, which includes acquiring target battery data and historical battery data of a target battery. The target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently the current moment. The battery data includes terminal information where the target battery is located. Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change state of the target battery is obtained. Finally, based on the terminal change state, it is determined whether the target battery has battery swapping behavior. In this way, the battery swapping behavior is identified based on the battery data, saving the equipment cost and labor cost of using other equipment.

[0082] Considering the uncertainties inherent in battery management units in practical applications, meaning that if a battery management unit is damaged, replacing the battery with a vehicle based on battery data analysis would be inaccurate and prone to omissions and errors.

[0083] Therefore, the step of determining whether the target battery is undergoing battery swapping behavior based on the terminal's changing state in this embodiment of the invention may further include:

[0084] If the change in terminal status indicates a change in the terminal where the target battery is located, it is determined that the target battery has undergone a battery swapping behavior. It is also checked whether there is an additional battery in the terminal corresponding to the terminal information in the target battery data. If there is an additional battery, the status of the target battery and the additional battery is marked as abnormal.

[0085] If the terminal change status indicates that the terminal where the target battery is located has not changed, then the status flag of the target battery is obtained, and based on the status flag of the target battery, it is determined whether the target battery has undergone battery swapping behavior.

[0086] like Figure 6 As shown, Figure 6This is a schematic diagram of a battery data flow embodiment in this invention. Lines 2, 6, 4, and 7 represent possible changes in battery status when the battery is replaced at the vehicle end. Lines 1, 5, 3, and 8 represent possible changes in battery status when the battery is replaced at the battery station end. Solid lines indicate that the electronic device receives battery data, infers possible changes in battery location, and sets the battery status from abnormal to normal. Dashed lines indicate that the electronic device's state representation based on changes in battery terminal information has not changed, and sets the battery status marker from normal to abnormal.

[0087] The target battery's status marking includes an abnormal status marking and a normal status marking. The abnormal status marking occurs when the terminal containing the target battery changes, or when an additional battery exists on the terminal; in this case, the electronic device actively marks the target battery as being in an abnormal state. The normal status marking occurs when the electronic device receives battery data from the target battery and actively marks its status as normal.

[0088] In embodiments of the present invention, for example Figure 6 As shown in line 6, when the target battery's status is marked as abnormal, if the target battery's battery data is received again, the target battery's battery status will be updated to normal. In line 6, the terminal information of the target battery's historical data is represented as the vehicle terminal, indicating an abnormal battery status. The terminal information of the current data is represented as the battery station warehouse terminal, indicating a normal battery status. Therefore, it is inferred that the target battery has moved from the vehicle terminal to the battery station warehouse terminal. Upon receiving the current battery data at the battery warehouse terminal, the abnormal battery status is set to normal.

[0089] In this embodiment of the invention, if the change in terminal state indicates a change in the terminal where the target battery is located, wherein the change in the terminal can be from the battery station end to the vehicle end or from the vehicle end to the battery station end, then it can be determined that the target battery has undergone battery swapping behavior.

[0090] An extra battery, typically referring to a battery other than the target battery in a vehicle or battery station, is used in battery swapping. However, in a swapping process, only one battery can exist at a single vehicle or battery station. This means that receiving the target battery's current data from the battery management unit at one end signifies that the target battery has been swapped out at that end, along with the extra battery. However, the presence of an extra battery means that after the target battery is swapped out at one end and its battery management unit sends its data, the extra battery arrives at the other end. The other end's battery management unit does not send its own extra battery data to the electronic device. The extra battery data remains at the last data transmission from the first end's battery management unit. Therefore, the terminal information corresponding to the extra battery data remains at the first end and has not yet reached the other end. For example, during the battery swapping process of an electric vehicle, the vehicle replaces the first battery with the second battery, and the battery station replaces the second battery. The electronic device receives the battery data of the first battery transmitted from the vehicle and, based on the analysis of the first battery data, knows that the terminal where the first battery is located has changed. At this time, the battery management unit at the battery station may be delayed or damaged, resulting in it not transmitting the battery data of the second battery to the electronic device. Therefore, for the electronic device, the latest battery data of the second battery is the last battery data transmitted by the battery management unit at the vehicle.

[0091] In embodiments of the present invention, for example Figure 6 As shown in line 4, the battery data indicates that the additional battery is present in the vehicle and its status is normal. If the additional battery does not receive a new battery but its status changes to abnormal, it is inferred that the vehicle replaced the additional battery but did not receive new additional battery data from another terminal. The vehicle then replaced the target battery and sent the target battery data. The terminal where the target battery is located changed. When the electronic device searches for the terminal information corresponding to the terminal information in the target battery data, it can find that the terminal information corresponding to the terminal information in the additional battery data is consistent with the terminal information in the target battery data. The other terminal where the additional battery is located did not send battery data to the electronic device due to damage or transmission delay. The terminal of the additional battery in the electronic device remains at the terminal represented by the terminal information in the historical battery data, which is the terminal information corresponding to the terminal information in the target battery data. Therefore, the terminal corresponding to the terminal information in the target battery data contains an additional battery. If an additional battery exists, the status of both the target battery and the additional battery is marked as abnormal.

[0092] During battery swapping behavior analysis, an anomaly in the battery management unit (BMU) at one end (the battery station) can prevent the BMU from sending battery data when the battery arrives at that end. Consequently, the electronic device cannot receive the battery data. When the first battery is replaced with the second battery at the vehicle, the electronic device receives the battery data of the second battery transmitted from the vehicle. Based on the analysis of this data, it determines that the second battery terminal has changed, indicating a battery swap. However, the electronic device does not receive the battery data of the first battery from the BMU at the battery station. Therefore, the status flag of the first battery becomes abnormal. At this point, the vehicle carrying the second battery arrives at the battery station again and replaces the first battery there. Because of the BMU's anomaly, although the first and second batteries are replaced, the electronic device does not show that the terminal information for both batteries remains at the vehicle end. Therefore, although a battery swap actually occurs, the electronic device does not indicate a change in the target battery's terminal. The change in the target battery's terminal status is no longer a reliable criterion for analyzing whether a battery swap has occurred.

[0093] In this embodiment of the invention, if the terminal change status indicates that the terminal where the target battery is located has not changed, then the status flag of the target battery is obtained. According to the above example, when the vehicle carrying the second battery arrives at the battery station again and replaces the first battery in the battery station, the electronic device receives the battery data of the first battery. At this time, the target battery becomes the first battery. According to the judgment that the terminal change status of the first battery indicates that the terminal where the first battery is located has not changed, the status flag of the first battery is obtained. The status flag of the first battery is found to be an abnormal state. Therefore, it is determined that the first battery has undergone battery swapping.

[0094] In an optional implementation, considering that if the change in terminal state indicates a change in the terminal where the target battery is located, it is necessary to confirm whether the terminal corresponding to the terminal information in the target battery data has an additional battery, the present invention embodiment may further include detecting whether the terminal corresponding to the terminal information in the target battery data has an additional battery by:

[0095] The terminal information in the target battery data is matched with the terminal information in the stored battery data table; the battery data table is used to store the received battery data; the battery data also includes the battery identifier.

[0096] If the battery data table contains target terminal information that matches the terminal information in the target battery data, then check whether the battery identifier in the target battery data matches the battery identifier corresponding to the target terminal information.

[0097] Based on the test results, determine whether the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0098] The terminal information in the target battery data refers to the terminal information corresponding to the currently received battery data, while the terminal information in the stored battery data table refers to the terminal information corresponding to the battery data of all batteries in the battery storage table.

[0099] Battery data can be stored in electronic devices as a battery data table. When a battery management unit at one end transmits battery data to the electronic device, the electronic device manages the battery data according to the battery's tag and sorts it in chronological order. Therefore, if a battery management unit at one end fails, the battery data of the target battery in the electronic device will remain at the last data sent before the failure of the battery management unit at that end. When the target battery is moved to another end and the battery management unit at that end is intact, the electronic device will begin storing the battery data sent from the other end where the target battery is located.

[0100] In this embodiment of the invention, the change in terminal state indicates a change in the terminal where the target battery is located. The electronic device can match the terminal information in the battery data table to find if the terminal information of an additional battery is consistent with the terminal information of the target battery. This is because the current battery data of the target battery is transmitted according to the terminal where the target battery is located, and the current battery data of the target battery exists in the battery data table. If the target terminal information in the battery data table is consistent with the terminal information in the target battery data, it is possible that the terminal information corresponding to the current battery data of the target battery is found. Therefore, it is necessary to detect whether the battery identifier in the target battery data is consistent with the battery identifier corresponding to the target terminal information. If they are inconsistent, it indicates that the battery management unit of the vehicle or battery station where the target battery was replaced is damaged or the transmission of battery data is delayed, thus determining that the terminal corresponding to the terminal information in the target battery data has an additional battery. If they are consistent, it indicates that the battery management unit of the vehicle or battery station where the target battery was replaced promptly sends the new battery data without damage or delay.

[0101] In an optional implementation, considering that the terminal change status indicates that the terminal where the target battery is located has not changed, there may also be a situation where the target battery's status is marked as normal. Based on the target battery's status mark, this embodiment of the invention determines whether the target battery has undergone battery swapping behavior, which may further include:

[0102] If the target battery's status is marked as abnormal, it is determined that the target battery has undergone a battery swap, and the target battery's status is updated to normal.

[0103] If the target battery's status is marked as normal, it is determined that the target battery has not undergone battery swapping, and the target battery's status is maintained.

[0104] When an electronic device receives battery data about a target battery, it will set the target battery's status flag to normal.

[0105] In this embodiment of the invention, the terminal change status of the target battery indicates that the terminal where the target battery is located has not changed. If the status of the target battery is marked as abnormal, it is determined that the target battery has undergone battery swapping behavior, and the status mark of the target battery is updated from abnormal to normal based on the battery data received by the electronic device.

[0106] The charging or discharging of the battery at the battery station should occupy the majority of the time, while the battery relocation caused by battery swapping occupies a minority of the time. Therefore, in electronic devices, the terminal state change of the target battery should indicate that the terminal where the target battery is located has not changed in the majority of cases, and the terminal state change of the target battery should indicate that the terminal where the target battery is located has changed in the minority of cases. Therefore, if the terminal state change of the target battery indicates that the terminal where the target battery is located has not changed and the status of the target battery is marked as normal, then the target battery is charging at the battery station or discharging at the vehicle.

[0107] In this embodiment of the invention, the terminal change state of the target battery indicates that the terminal where the target battery is located has not changed. If the state of the target battery is marked as normal, it is determined that the target battery has not undergone battery swapping behavior. It is either charging at the battery station or discharging at the vehicle, thus maintaining the state mark of the target battery.

[0108] In an optional implementation, considering the situation where the terminal change status of the target battery indicates that the terminal where the target battery is located has not changed, and the terminal where the target battery is located is a battery compartment terminal, and the order cannot be settled based on the battery swapping behavior, after determining that the target battery has undergone battery swapping behavior and updating the status mark of the target battery to normal, this embodiment of the invention may further include:

[0109] If the terminal where the target battery is located is determined to be the battery compartment terminal based on the terminal information in the target battery data, a vehicle risk warning will be issued. The vehicle risk warning is used to indicate that there is an order settlement risk for this battery swapping activity.

[0110] Order settlement is calculated based on the battery charge and vehicle mileage, and each order settlement can only be completed for a specific vehicle.

[0111] The purpose of determining whether a target battery has undergone battery swapping is to settle orders based on this behavior. Battery swapping is determined by the target battery's data and historical battery data. In other words, whether the target battery is swapped onto a vehicle or removed from a battery storage station, battery data analysis can be used to analyze the battery swapping behavior. However, even if the target battery's terminal status remains unchanged, battery swapping may still occur. Furthermore, if the target battery is located in a battery storage station, the accuracy of its historical battery data cannot be confirmed. Therefore, it is impossible to settle orders for a specific vehicle based on the battery swapping behavior, necessitating a vehicle risk warning to indicate that there is a risk to order settlement for this battery swapping activity.

[0112] In this embodiment of the invention, the terminal change status indicates that the terminal where the target battery is located has not changed, and the status of the target battery is marked as abnormal. Based on the terminal information where the target battery is located in the target battery data, it is determined that the terminal where the target battery is located is the battery compartment terminal. Therefore, it is impossible to confirm whether the historical battery data of the target battery is true, and it is impossible to confirm the vehicle for which the settlement order needs to be made. In this case, a vehicle risk warning is issued. The vehicle risk warning is used to indicate that there is a risk of order settlement for the current battery swapping behavior of the target battery, and to request manual screening of the battery swapping behavior.

[0113] In an optional implementation, considering the possibility that the battery may be discarded, this embodiment of the invention determines whether the terminal corresponding to the terminal information in the target battery data has an additional battery based on the detection results, which may further include:

[0114] If the detection result indicates that the battery identifier in the target battery data is inconsistent with the battery identifier corresponding to the target terminal information, then determine whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than the preset first duration threshold.

[0115] If the value is not greater than the target battery data, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0116] Since batteries may be discarded and not used, their data remains in the battery data table of electronic devices. Matching the terminal information in the target battery data with the terminal information in the stored battery data table may result in matching multiple batteries. Furthermore, discarded batteries may not receive battery data from the battery management unit for extended periods. Therefore, after the detection result indicates that the battery identifier in the target battery data matches the battery identifier corresponding to the target terminal information, it is necessary to determine the reception time of the battery identifier corresponding to the target terminal information and set a first duration threshold to avoid matching multiple batteries. Optionally, the first duration threshold can be set according to actual needs and is not limited in specific terms; for example, it could be 48 hours.

[0117] The electronic device receives battery data sent by each battery management unit. This battery data contains terminal information about the battery. Therefore, by checking the reception time of the battery identifier corresponding to the terminal information, the electronic device can determine the battery data sent by each battery management unit and the time when the electronic device receives the battery data.

[0118] In this embodiment of the invention, if the detection result indicates that the battery identifier in the target battery data is inconsistent with the battery identifier corresponding to the target terminal information, it indicates that there are other batteries in the battery data table whose battery data sending terminals are consistent with the target battery. However, it cannot be determined whether the other batteries are discarded batteries. Therefore, it is determined whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than a preset first duration threshold. If it is not greater, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery. For example, the first duration threshold can be 48 hours. If the detection result indicates that the battery identifier in the target battery data is inconsistent with the battery identifier corresponding to the target terminal information, the battery data table is checked. Find the second and third batteries that have different battery identifiers from those in the target battery data. Determine whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than a preset first duration threshold. Based on the fact that the reception time of the battery identifier corresponding to the terminal information of the second battery is 30 minutes and the reception time of the battery identifier corresponding to the terminal information of the third battery is 49 hours, the reception time of the battery identifier corresponding to the terminal information of the third battery is 49 hours, which is greater than the first duration threshold. Therefore, the third battery is not an additional battery. However, the reception time of the battery identifier corresponding to the terminal information of the second battery is 30 minutes, which is not greater than the threshold. Therefore, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery, which is the second battery.

[0119] In an optional implementation, considering a change in the terminal where the target battery is located and the target battery undergoes a battery swap, after determining that the status of the target battery and the additional battery is abnormal, this embodiment of the invention may further include:

[0120] If the target battery is located in the battery compartment terminal based on the terminal information of the target battery in the target battery data, then determine whether the interval between the receiving time of the historical battery data and the receiving time of the target battery data is less than the preset second time threshold.

[0121] If the time is less than the second time threshold, a settlement risk warning will be issued. The settlement risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data.

[0122] Since the terminal where the target battery is located has changed and a battery swapping behavior has occurred, the analysis of the battery swapping behavior can be based on whether the target battery is swapped onto the vehicle or swapped off the battery station. If the analysis is based on the target battery being swapped onto the vehicle, the order settlement can be made based on the vehicle's identification, the current battery level of the previous battery in the vehicle, and the vehicle's mileage. If the analysis is based on the target battery being swapped off the battery station, it indicates that the battery management unit of the vehicle where the target battery was previously located is damaged. In this case, no battery data sent by the vehicle's battery management unit has been received. The terminal where the target battery's historical battery data is located may be one vehicle or another battery station, so it is impossible to identify the vehicle for which the order needs to be settled.

[0123] However, regardless of whether the analysis of battery swapping behavior is based on the target battery being installed in the vehicle or removed from the battery station, if the interval between the reception time of historical battery data and the reception time of target battery data is too long, it indicates that the data is inaccurate, suggesting that the battery management unit at the receiving end is damaged and needs repair. By setting a second time threshold, the interval between the reception time of historical battery data and the reception time of target battery data can be limited, eliminating the possibility of an excessively long interval and making the prediction of battery swapping behavior based on battery data more accurate. Optionally, the second time threshold can be set according to actual needs and is not specifically limited; for example, it could be 10 hours.

[0124] In this embodiment of the invention, the battery management unit may send target battery data to the electronic device every 10 seconds. If, based on the terminal information of the target battery in the target battery data, it is determined that the target battery is located in the battery compartment terminal, then it is determined whether the interval between the receiving time of the historical battery data and the receiving time of the target battery data is less than a preset second time threshold. That is, it is estimated whether any battery swapping behavior that the electronic device cannot analyze has occurred during the interval between the receiving time of the historical battery data and the receiving time of the target battery data. If it is less than the second time threshold, then it is possible that no battery swapping behavior that the electronic device cannot analyze has occurred during the interval between the receiving time of the historical battery data and the receiving time of the target battery data, and a settlement risk warning is still issued. The risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data. For example, if the second duration threshold is 10 hours, the analysis of the battery swapping behavior is based on the target battery being swapped to the battery station. By analyzing the interval between the reception time of the historical battery data and the reception time of the target battery data, if the interval is 2 minutes, which is less than the second duration threshold, it can be roughly confirmed that the vehicle terminal corresponding to the terminal information in the historical battery data is the vehicle that should have its order settled. However, a settlement risk warning is still issued. The risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data, and manual confirmation is required.

[0125] Based on the same inventive concept, please refer to Figure 3 , Figure 3 This is a block diagram of a battery swapping behavior identification device provided in an embodiment of the present invention. The present invention also provides a battery swapping behavior identification device 40, applied to the aforementioned electronic device capable of executing instructions, such as... Figure 3 As shown, the battery swapping behavior identification device 40 includes a receiving module 401, a judging module 402, and a determining module 403.

[0126] The receiving module 401 is used to acquire target battery data and historical battery data of the target battery; the target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently than the current moment; the battery data includes terminal information where the target battery is located.

[0127] The judgment module 402 is used to determine the terminal change status of the target battery based on the target battery data and the terminal information where the target battery is located in the historical battery data.

[0128] The determination module 403 is used to determine whether the target battery has battery swapping behavior based on the terminal's changing state.

[0129] In some embodiments of the present invention, the determination module 402 is used for:

[0130] If the change in terminal status indicates a change in the terminal where the target battery is located, it is determined that the target battery has undergone a battery swapping behavior. It is also checked whether there is an additional battery in the terminal corresponding to the terminal information in the target battery data. If there is an additional battery, the status of the target battery and the additional battery is marked as abnormal.

[0131] If the terminal change status indicates that the terminal where the target battery is located has not changed, then the status flag of the target battery is obtained, and based on the status flag of the target battery, it is determined whether the target battery has undergone battery swapping behavior.

[0132] In some embodiments of the present invention, the determination module 402 is used for:

[0133] If the target battery's status is marked as abnormal, it is determined that the target battery has undergone a battery swap, and the target battery's status is updated to normal.

[0134] If the target battery's status is marked as normal, it is determined that the target battery has not undergone battery swapping, and the target battery's status is maintained.

[0135] In some embodiments of the present invention, the determination module 402 is used for:

[0136] If the terminal where the target battery is located is determined to be the battery compartment terminal based on the terminal information in the target battery data, a vehicle risk warning will be issued. The vehicle risk warning is used to indicate that there is an order settlement risk for this battery swapping activity.

[0137] In some embodiments of the present invention, the determination module 402 is used for:

[0138] The terminal information in the target battery data is matched with the terminal information in the stored battery data table; the battery data table is used to store the received battery data; the battery data also includes the battery identifier.

[0139] If the battery data table contains target terminal information that matches the terminal information in the target battery data, then check whether the battery identifier in the target battery data matches the battery identifier corresponding to the target terminal information.

[0140] Based on the test results, determine whether the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0141] In some embodiments of the present invention, the determination module 402 is used for:

[0142] If the detection result indicates that the battery identifier in the target battery data is consistent with the battery identifier corresponding to the target terminal information, then determine whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than the preset first duration threshold.

[0143] If the value is not greater than the target battery data, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery.

[0144] In some embodiments of the present invention, the determination module 402 is used for:

[0145] If the target battery is located in the battery compartment terminal based on the terminal information of the target battery in the target battery data, then determine whether the interval between the receiving time of the historical battery data and the receiving time of the target battery data is less than the preset second time threshold.

[0146] If the time is less than the second time threshold, a settlement risk warning will be issued. The settlement risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data.

[0147] It should be noted that in this invention, the contents of the receiving module 401, the judging module 402, and the determining module 403 correspond one-to-one with those described above. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the battery swapping behavior identification device and its corresponding modules described above can be referred to as follows: Figure 2 The description of the battery swapping behavior identification method in any embodiment will not be repeated here.

[0148] Furthermore, embodiments of the present invention also provide a battery swapping behavior identification device, which can be a terminal or a server, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the battery swapping behavior identification device according to an embodiment of the present invention. Specifically:

[0149] The battery swapping behavior identification device may include components such as a processor 10 with one or more processing cores, a power supply 20 with one or more computer-readable storage media, a memory 30, and an input unit 50. Those skilled in the art will understand that... Figure 4 The structure of the battery swapping behavior recognition device shown does not constitute a limitation on the device itself. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0150] The processor 10 is the control center of the battery swapping behavior identification device. It connects various parts of the device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 30, and by calling data stored in the memory 30, thereby providing overall monitoring of the device. Optionally, the processor 10 may include one or more processing cores; preferably, the processor 10 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 10.

[0151] The memory 30 can be used to store software programs and modules. The processor 10 executes various functional applications and data processing by running the software programs and modules stored in the memory 30. The memory 30 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the battery swapping behavior identification device, etc. In addition, the memory 30 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 30 may also include a memory controller to provide the processor 10 with access to the memory 30.

[0152] The battery swapping behavior identification device also includes a power supply 20 that supplies power to various components. Preferably, the power supply 20 can be logically connected to the processor 10 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 20 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0153] The battery swapping behavior recognition device may also include an input unit 50, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0154] Although not shown, the battery swapping behavior recognition device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 10 in the battery swapping behavior recognition device loads the executable files corresponding to the processes of one or more application programs into the memory 30 according to the following instructions, and the processor 10 runs the application programs stored in the memory 30 to realize various functions, as follows:

[0155] Acquire target battery data and historical battery data; target battery data is the battery data received at the current moment, and historical battery data is the battery data received at the moment most recently than the current moment; battery data includes terminal information where the target battery is located;

[0156] Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change status of the target battery is obtained.

[0157] Based on the changes in the terminal status, determine whether the target battery is undergoing a battery swapping process.

[0158] Therefore, the present invention provides a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the battery swapping behavior identification methods provided by the present invention. For example, the computer program loaded by the processor can execute the following steps:

[0159] Acquire target battery data and historical battery data; target battery data is the battery data received at the current moment, and historical battery data is the battery data received at the moment most recently than the current moment; battery data includes terminal information where the target battery is located;

[0160] Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change status of the target battery is obtained.

[0161] Based on the changes in the terminal status, determine whether the target battery is undergoing a battery swapping process.

[0162] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0163] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0164] In specific implementation, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. Since the instructions stored in the readable storage medium can execute the steps in the method provided by the embodiments of the present invention, the beneficial effects that the method provided by the embodiments of the present invention can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0165] The foregoing has provided a detailed description of a battery swapping behavior identification method, apparatus, device, and readable storage medium provided by embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for identifying battery swapping behavior, characterized in that, The method includes: Acquire target battery data and historical battery data for the target battery; the target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recently than the current moment; the battery data includes terminal information where the target battery is located; Based on the target battery data and the terminal information where the target battery is located in the historical battery data, the terminal change status of the target battery is obtained; Based on the changes in the terminal status, determine whether the target battery is undergoing a battery swapping process; The terminal information where the target battery is located represents the identification information of the terminal where the target battery is located; the terminal change state of the target battery refers to whether the state of the terminal where the target battery is located changes between two adjacent time points; wherein the terminal where the target battery is located includes the vehicle terminal and the battery compartment terminal; The step of determining whether the target battery has undergone a battery swapping behavior based on the terminal change status includes: if the terminal change status indicates a change in the terminal where the target battery is located, then it is determined that the target battery has undergone a battery swapping behavior, and it is detected whether the terminal corresponding to the terminal information in the target battery data has an additional battery. If an additional battery exists, the status of the target battery and the additional battery is marked as abnormal. The step of detecting whether the terminal corresponding to the terminal information in the target battery data has an additional battery includes: matching the terminal information in the target battery data with the terminal information in a stored battery data table. The battery data table is used to store received battery data. The battery data also includes a battery identifier. If there is target terminal information in the battery data table that is consistent with the terminal information in the target battery data, then it is detected whether the battery identifier in the target battery data is consistent with the battery identifier corresponding to the target terminal information. Based on the detection result, it is determined whether the terminal corresponding to the terminal information in the target battery data has an additional battery.

2. The battery swapping behavior identification method according to claim 1, characterized in that, The step of determining whether the target battery has undergone battery swapping based on the terminal's changing state includes: If the terminal change status indicates that the terminal where the target battery is located has not changed, then the status flag of the target battery is obtained, and based on the status flag of the target battery, it is determined whether the target battery has undergone battery swapping behavior.

3. The battery swapping behavior identification method according to claim 2, characterized in that, The step of determining whether the target battery has undergone battery swapping based on the target battery's status marker includes: If the target battery's status is marked as abnormal, it is determined that the target battery has undergone a battery swap, and the target battery's status is updated to normal. If the target battery's status is marked as normal, it is determined that the target battery has not undergone a battery swap, and the target battery's status is maintained.

4. The battery swapping behavior identification method according to claim 3, characterized in that, After determining that the target battery has undergone a battery swap and updating the target battery's status flag to normal, the method further includes: If, based on the terminal information of the target battery in the target battery data, it is determined that the terminal where the target battery is located is a battery compartment terminal, then a vehicle risk warning is issued; the vehicle risk warning is used to indicate that there is an order settlement risk for this battery swapping activity.

5. The battery swapping behavior identification method according to claim 2, characterized in that, The step of determining whether the terminal corresponding to the terminal information in the target battery data has an additional battery based on the detection results includes: If the detection result indicates that the battery identifier in the target battery data is inconsistent with the battery identifier corresponding to the target terminal information, then it is determined whether the time interval between the reception time of the battery identifier corresponding to the target terminal information and the current time is greater than a preset first duration threshold. If the value is not greater than the target battery data, it is determined that the terminal corresponding to the terminal information in the target battery data has an additional battery.

6. The battery swapping behavior identification method according to claim 2, characterized in that, After determining that the target battery and the additional battery are marked as abnormal, the method includes: If, based on the terminal information of the target battery in the target battery data, it is determined that the target battery is located in the battery compartment terminal, then it is determined whether the interval between the receiving time of the historical battery data and the receiving time of the target battery data is less than a preset second time threshold. If the duration is less than the second time threshold, a settlement risk warning will be issued. The settlement risk warning is used to indicate that there is an order settlement risk for the terminal corresponding to the terminal information where the target battery is located in the historical battery data.

7. A battery swapping behavior identification device, characterized in that, The apparatus for implementing the battery swapping behavior identification method as described in any one of claims 1 to 6 includes: A receiving module is used to acquire target battery data and historical battery data of the target battery; the target battery data is the battery data received at the current moment, and the historical battery data is the battery data received at the moment most recent to the current moment; the battery data includes terminal information where the target battery is located; The judgment module is used to determine the terminal change state of the target battery based on the target battery data and the terminal information where the target battery is located in the historical battery data. The determination module is used to determine whether the target battery has undergone battery swapping behavior based on the changes in the terminal's state. The terminal information where the target battery is located represents the identification information of the terminal where the target battery is located; the terminal change state of the target battery refers to whether the state of the terminal where the target battery is located changes between two adjacent time points; wherein the terminal where the target battery is located includes the vehicle terminal and the battery compartment terminal.

8. A battery swapping behavior identification device, characterized in that, The device includes; One or more processors; Memory; as well as One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the battery swapping behavior identification method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When a computer program is run on a computer, it causes the computer to perform the steps of the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Full-automatic electric charging process control method of electric charging station

    CN102653270A

  • Battery replacement mileage management method and system for electric vehicle, electronic equipment and medium

    CN112622682A