Battery anti-theft detection methods, devices, batteries and battery swapping systems

CN119058478BActive Publication Date: 2026-09-01铁塔能源有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411215862.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2026-09-01
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

[0003]本申请实施例的目的提供一种电池防盗检测方法、装置、电池及换电系统,用于解决目前换电电池自身无法识别被盗的问题

Benefits of technology

[0017] In a sixth aspect, embodiments of this application provide a computer-readable storage medium that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the method described in the first aspect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119058478B_ABST
    Figure CN119058478B_ABST
Patent Text Reader

Abstract

This application discloses a battery anti-theft detection method, device, battery, and battery swapping system. The method is applied to a battery management system and includes: acquiring the battery operating status recorded by the battery management system, wherein the battery operating status is set by the battery management system based on instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is removed from the battery swapping cabinet through normal means; if the battery operating status indicates that the battery is in the battery swapping cabinet, then acquiring communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery; and determining whether the battery has been stolen based on the communication information and the geographical location information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery communication technology, and in particular to a battery anti-theft detection method, device, battery, and battery swapping system. Background Technology

[0002] In battery swapping applications, after batteries are leased to users, they independently swap batteries at designated swapping stations. Batteries are frequently used and transferred by users, exhibiting high liquidity. Furthermore, swapping stations are located in open areas with no restrictions on personnel access, posing a risk of battery theft. Theft detection typically relies on the design of the swapping cabinet structure and battery presence monitoring, but the batteries themselves cannot detect theft. Summary of the Invention

[0003] The purpose of this application is to provide a battery anti-theft detection method, device, battery, and battery swapping system to solve the problem that current battery swapping systems cannot identify theft.

[0004] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:

[0005] In a first aspect, embodiments of this application provide a battery anti-theft detection method, applied to a battery management system, comprising:

[0006] The battery management system obtains the battery operation status recorded by the battery management system. The battery operation status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner.

[0007] If the battery operating status indicates that the battery is in the battery swapping cabinet, then the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery are obtained.

[0008] Based on the communication information and the geographical location information, it is determined whether the battery has been stolen.

[0009] Secondly, embodiments of this application provide a battery anti-theft detection device, applied to a battery management system, comprising:

[0010] The first acquisition unit is used to acquire the battery operating status recorded by the battery management system. The battery operating status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner.

[0011] The second acquisition unit is used to acquire communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery if the battery operating status indicates that the battery is in the battery swapping cabinet.

[0012] The determining unit is used to determine whether the battery has been stolen based on the communication information and the geographical location information.

[0013] Thirdly, embodiments of this application provide a battery, including: a battery body and a battery management system;

[0014] The battery management system is used to perform the method as described in the first aspect.

[0015] Fourthly, embodiments of this application provide a battery swapping system, including: a battery swapping cabinet and the battery described in the third aspect, wherein the battery swapping cabinet and the battery communicate with each other via a wired means.

[0016] Fifthly, embodiments of this application provide an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method as described in the first aspect.

[0017] In a sixth aspect, embodiments of this application provide a computer-readable storage medium that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the method described in the first aspect.

[0018] The above-mentioned at least one technical solution adopted in the embodiments of this application can achieve the following beneficial effects: When the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner, the battery management system of the battery can switch the battery operation status of the battery based on the instruction issued by the battery swapping system and record it in the battery management system. By obtaining the battery operation status recorded by the battery management system, if the battery operation status indicates that the battery is in the battery swapping cabinet, if the battery is taken out of the battery swapping cabinet in an abnormal manner in this operation status, such as illegal theft, the battery and the battery swapping cabinet will not be able to communicate, and the position of the battery will also change. Based on this, by obtaining the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery, it is possible to determine whether the battery has been stolen, thereby realizing automatic theft detection of the battery. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 A schematic flowchart of a battery anti-theft detection method provided in one embodiment of this application;

[0021] Figure 2 A flowchart illustrating a verification method provided in one embodiment of this application;

[0022] Figure 3 A flowchart illustrating another battery anti-theft detection method provided in one embodiment of this application;

[0023] Figure 4 A schematic diagram of the structure of a battery is provided for one embodiment of this application;

[0024] Figure 5 A schematic diagram of a battery swapping system provided in one embodiment of this application;

[0025] Figure 6 A schematic diagram of the structure of an anti-theft detection device provided in one embodiment of this application;

[0026] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation

[0027] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0028] The terms "first," "second," etc., used in this specification and claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in sequences other than those illustrated or described herein. Furthermore, in this specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0029] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0030] In battery swapping applications, after batteries are leased to users, they independently swap batteries at designated swapping stations. Batteries are frequently used and transferred by users, exhibiting high liquidity. Furthermore, swapping stations are located in open areas with no restrictions on personnel access, posing a risk of battery theft. Theft detection typically relies on the design of the swapping cabinet structure and battery presence monitoring, but the batteries themselves cannot detect theft.

[0031] In view of this, this application provides a battery anti-theft detection method applied to a battery management system. When a battery enters a battery swapping cabinet or is taken out of the battery swapping cabinet through normal means, the battery management system can switch the battery operating status based on the instructions issued by the battery swapping system and record it in the battery management system. By obtaining the battery operating status recorded by the battery management system, if the battery operating status indicates that the battery is in the battery swapping cabinet, and if the battery is taken out of the battery swapping cabinet in an abnormal manner under this operating status, such as illegal theft, the battery and the battery swapping cabinet will not be able to communicate, and the battery's position will also change. Based on this, by obtaining the communication information between the battery management system and the battery swapping cabinet, as well as the battery's geographical location information, it is possible to determine whether the battery has been stolen, thereby realizing automatic battery theft detection.

[0032] Specifically, please see Figure 1 This is a flowchart illustrating a battery anti-theft detection method according to an embodiment of this application. Figure 1 As shown, one embodiment of this application provides a battery anti-theft detection method, applied to a battery management system. The method may include the following steps:

[0033] S102, Obtain the battery operating status recorded by the battery management system.

[0034] A battery, in this context, refers to a device that stores electrical energy, typically consisting of one or more battery cells. Common examples include lithium batteries and lead-acid batteries, which provide power to various devices or systems. In this embodiment, the battery is a single unit comprised of the battery body and a battery management system.

[0035] A Battery Management System (BMS) is a system used to monitor, control, and manage the operating status of a battery. It records information such as charging / discharging status, temperature, and capacity, executes corresponding commands, and communicates with other devices. As an example, a battery management system records the battery's operating status.

[0036] The battery operating status is set by the battery management system (BMS) based on instructions issued by the battery swapping cabinet when the battery enters or is removed from the cabinet through normal means. The battery operating status indicates two operating states: inside the cabinet and outside the cabinet. The inside-cabinet status indicates the battery is inside the swapping cabinet; the outside-cabinet status indicates the battery is outside the swapping cabinet. The battery operating status is stored internally in the BMS program, such as in a storage module. When a battery enters the swapping cabinet, the cabinet sends an "enter" instruction to the BMS. The BMS then switches or updates its internally stored operating status to the "inside-cabinet" state based on this instruction. When a battery is removed from the swapping cabinet, the cabinet sends an "exit" instruction to the BMS. The BMS then switches or updates its internally stored operating status to the "outside-cabinet" state based on this instruction.

[0037] A battery swapping cabinet is a device used for storing, charging, and replacing batteries. For example, it is used for devices that require charging, such as electric vehicles. Users can place the battery in the swapping cabinet to charge it, or remove a fully charged battery from the cabinet to replace the battery in the electric vehicle.

[0038] In this embodiment, the battery swapping cabinet and the battery management system communicate via a wired connection. When a battery enters the swapping cabinet, the wired connection between the battery and the cabinet is established, allowing communication between them. When a battery is removed from the swapping cabinet, the wired connection is disconnected, preventing further communication. Furthermore, the communication records and data between the battery management system and the swapping cabinet can be recorded by the battery management system within its program, such as in a storage module. As an example, the battery management system also records communication information, including data related to the communication between the battery management system and the swapping cabinet, such as data transmitted during communication, communication time, and communication duration.

[0039] Next, the process of switching battery operating states will be further explained. As an example, before S102 above, the battery management system can also receive an entry command sent by the battery swapping cabinet. The entry command is sent by the battery swapping cabinet when the battery enters the cabinet. Based on the received entry command, the battery management system updates its stored battery operating state to the cabinet-in state. If the battery's original operating state was the cabinet-outside state, when the battery management system receives the entry command from the battery swapping cabinet, it switches the battery operating state from the cabinet-outside state to the cabinet-inside state. The entry command is used to instruct the battery management system to switch the battery operating state to the cabinet-inside state.

[0040] In this embodiment, when the battery leaves the factory, the battery management system records the battery's operating status as "outside the cabinet" by default. When the battery swapping station maintenance personnel place the battery into the swapping station, the station sends an "entry" command to the battery management system. Upon receiving the command, the system switches the battery's operating status from "outside the cabinet" to "inside the cabinet," after which the battery can be put into normal operation. When a user needs to use the battery, they can retrieve it from the station through a corresponding process, such as scanning a QR code on the station to authorize access to a mini-program and selecting the battery to use. This embodiment does not specifically limit this process. After receiving the user's command to retrieve the battery, the station opens the corresponding door to allow the user to take it out. Simultaneously, the station sends an "exit" command to the battery management system. Based on the received "exit" command, the system switches or updates the battery's operating status from "inside the cabinet" to "outside the cabinet." When users finish using the battery and return it to the battery swapping cabinet, the cabinet will send an entry instruction to the battery management system. Based on the received instruction, the battery management system will switch the battery's operating status from outside the cabinet to inside the cabinet. Once the battery is fully charged, it can be borrowed by the user or used by other users.

[0041] As another embodiment, before S102 above, the method may further include the following steps: receiving a battery swapping cabinet sending an exit instruction, wherein the exit instruction is sent by the battery swapping cabinet when the battery is taken out of the battery swapping cabinet, and the exit instruction carries verification information;

[0042] Based on the verification information, determine whether the battery was removed from the battery swapping cabinet in a normal manner;

[0043] If so, the battery operating status will be recorded as the external status.

[0044] The "out-of-cabinet" command is used to instruct the battery management system to switch the battery's operating status to an "out-of-cabinet" status.

[0045] The verification information refers to information used to verify whether the battery has been removed from the battery swapping cabinet through normal means, including but not limited to encrypted characters and security identifiers. After receiving the battery removal command, the battery management system verifies the legality and completeness of the command based on the verification information carried within it. This includes decrypting the verification information, verifying digital signatures, or using other security verification methods. If the verification passes, it indicates that the battery was removed from the battery swapping cabinet through normal means, and the battery's operating status is recorded as "outside the cabinet," meaning the battery has left the swapping cabinet. If the verification fails, it indicates that the battery was not removed from the swapping cabinet through normal means, and the battery's operating status remains "inside the cabinet," meaning the battery is still recorded as being in the swapping cabinet, and anti-theft detection of the battery continues.

[0046] As an example, the verification information includes a first key and a communication serial number. When the battery is removed from the battery swapping cabinet, the cabinet obtains the battery identification code via a wired connection. Based on the obtained battery identification code, communication serial number, and the private key stored in the cabinet (i.e., the first preset private key), it encrypts the first key to obtain the first key. The first key and the communication serial number are then included in the battery swapping cabinet exit command, which is sent to the battery management system. As an example, a hash algorithm can be used to encrypt the battery identification code, communication serial number, and the first preset private key. Of course, other encryption methods can also be used, such as common symmetric encryption algorithms and asymmetric encryption algorithms. This application does not specifically limit these methods. A hash algorithm, also known as a hash function, uses hash functions such as SHA-256 (Secure Hash Algorithm 256-bit) and MD5 (Message Digest Algorithm 5) to map input data of arbitrary length to a fixed-length output, typically a fixed-length string, i.e., a hash value. Because hash values ​​are irreversible, they effectively protect the first preset private key from being leaked. Similarly, only when the input data is exactly the same will the hash values ​​obtained after encryption using the hash algorithm be identical. Therefore, the battery management system can use the same encryption method to encrypt its stored battery identification code, the communication serial number carried in the battery swapping command, and its stored private key (the second preset private key) to obtain the corresponding hash value (the second key). The first and second keys are then compared to determine whether the battery was retrieved from the swapping cabinet through normal means, thus determining whether to switch the operational status. The verification information obtained through hash algorithm encryption allows the battery management system to perform verification without decryption, further ensuring the security of the encrypted data, thereby guaranteeing the accuracy of the verification and the reliability of subsequent confirmation of whether the battery has been stolen, while also simplifying the verification process.

[0047] In this embodiment, when a battery is removed from the battery swapping cabinet, an exit command is received from the cabinet. Based on the verification information carried in the exit command, it is determined whether the battery was removed from the cabinet through normal means. This determines whether to switch the battery's operating state. If it is normal, the battery's operating state is switched from the cabinet-in state to the cabinet-out state and recorded in the battery management system. If it is not normal, the battery's operating state remains in the cabinet-in state. The communication and location status between the battery management system and the battery swapping cabinet are continuously monitored. This ensures strict switching of the battery's operating state, guarantees the accuracy of battery anti-theft detection, and enables monitoring and management of the battery removal process.

[0048] As an optional implementation, when the verification information includes a first key and a communication serial number, and the first key is obtained by encrypting the battery swapping cabinet based on a first preset private key, the battery identification code of the battery, and the communication serial number, the above-mentioned determination of whether the battery has been taken out of the battery swapping cabinet in a normal manner based on the verification information may include the following steps: encrypting the battery identification code, the communication serial number, and the second preset private key to obtain a second key; wherein, the second preset private key is determined by the battery management system and the target battery swapping cabinet after the battery is placed in the target battery swapping cabinet;

[0049] If the first key and the second key are the same, it is determined that the battery was removed from the battery swapping cabinet through normal means.

[0050] The communication sequence number is used to uniquely identify each message or communication during the communication process. It ensures the sequentiality and uniqueness of communications and is used to verify the integrity and correctness of those communications.

[0051] The first preset private key is negotiated and determined between the battery swapping cabinet and the battery upon the battery's initial entry into the cabinet, and is stored by the cabinet. It should be understood that the battery swapping cabinet and the battery are managed by the same operator. If a battery is mixed into a swapping cabinet belonging to another operator, the first and second keys will differ because the private key stored in the battery is different from the private key stored in the other operator's cabinet. Consequently, the battery's operating status cannot be switched or updated to an external status. Even if the battery is still in an internal status, its communication and location can still be monitored to determine if the battery has been stolen. In other words, only batteries and swapping cabinets belonging to the same operator will have the same private key. This private key is absolutely confidential information, known only to batteries and swapping cabinets belonging to the same operator, and only to the operator itself.

[0052] Among them, the battery identification code is a unique code or identifier that identifies the battery and is used to distinguish different batteries.

[0053] The second preset private key is a private key negotiated and determined between the battery management system and the target battery swapping cabinet after the battery is placed in the target battery swapping cabinet, and is stored by the battery management system. The target battery swapping cabinet refers to the battery swapping cabinet designated by maintenance personnel after the battery leaves the factory.

[0054] The second key is obtained by encrypting the battery identification code, communication serial number, and second preset private key by the battery management system. It is used to verify whether the battery was retrieved from the battery swapping cabinet through normal means. As an example, it can be obtained by encryption using a hash algorithm, which will not be repeated here.

[0055] In this embodiment, after receiving the battery swapping cabinet's exit command, the battery management system verifies the information carried in the exit command, such as the first key and communication serial number, to determine whether the battery was retrieved from the swapping cabinet through normal means. Specifically, the system encrypts the communication serial number carried in the exit command, along with the second private key and battery identification code stored in the battery management system, to obtain the second key. The second key is then compared with the first key carried in the exit command. Based on the comparison result, the system determines whether the battery was retrieved through normal means. If the comparison result matches, the battery was retrieved through normal means, and the battery management system switches the battery's operating state. If the comparison result does not match, the battery was retrieved through abnormal means, and the battery's operating state remains unchanged, ensuring the security and reliability of battery retrieval and the accuracy of battery operating state switching, thereby ensuring the accuracy of battery anti-theft detection.

[0056] This section will use a specific example to illustrate the process of switching or updating the battery operating status, and should not be construed as a specific limitation on the method of the embodiments of this application. Example: Assume that after battery a leaves the factory, it is placed into battery swapping cabinet A by maintenance personnel. When battery a leaves the factory, the battery operating status recorded in the battery management system is the default external state. When the battery is placed into battery swapping cabinet A, the wired connection between battery a and battery swapping cabinet A is established. Battery swapping cabinet A sends an entry command to the battery management system via wired connection. After receiving the entry command, the battery management system switches or updates the battery operating status it records from the external state to the internal state. At the same time, battery swapping cabinet A and battery a will negotiate and determine a private key and each store it. Alternatively, battery a can be negotiated by the manufacturer and battery swapping cabinet operator before leaving the factory, and the manufacturer writes it into the battery management system and battery swapping cabinet system.

[0057] Then, if a user takes battery a from battery swapping cabinet A for use, such as by scanning the QR code on cabinet A to authorize access to a mini-program and select the battery to use, cabinet A will open the corresponding cabinet door after receiving the user's operation command, making it convenient for the user to take battery a. Simultaneously, before the wired connection between battery a and cabinet A is disconnected, cabinet A must first obtain the battery identification code of battery a from the battery management system via wired connection. Based on the obtained battery identification code, the current communication serial number, and the private key stored in cabinet A (i.e., the first preset private key), a hash algorithm is used... The first key is obtained through encryption. The first key and the communication serial number are carried in the exit command and sent to the battery management system. After receiving the exit command, the battery management system uses the battery identification code, private key (i.e., the second preset private key) of battery a stored in the battery management system and the communication serial number carried in the exit command to encrypt the second key through a hash algorithm. Then, the second key is compared with the first key carried in the exit command. If the comparison result is consistent, the battery management system will switch or update the recorded battery operation status of battery a from the in-cabinet status to the out-of-cabinet status.

[0058] When the user returns the battery to battery swapping cabinet A or another battery swapping cabinet that is operated by the same operator as battery swapping cabinet A after use, battery swapping cabinet A or another battery swapping cabinet that is operated by the same operator as battery swapping cabinet A sends an entry instruction to the battery management system. The battery management system then switches the battery operating status of battery a from the external state to the internal state according to the entry instruction.

[0059] In practical applications, the following situation may occur: Suppose that battery a is in battery swapping cabinet A and is taken away illegally, such as by using tools to pry open the cabinet door and remove battery a. In this case, the battery swapping cabinet does not detect the user's operation command and will not send an exit command to the battery management system. Consequently, the battery management system will not receive the exit command and will not switch or update the battery's operating status. The battery's operating status will remain in the cabinet state. In this situation, after battery a is taken away, battery a and battery swapping cabinet A will be unable to communicate, and the location of battery a will also change. Based on this, even when the battery's operating status is in the cabinet state, it is possible to determine whether battery a has been stolen based on the communication status between battery a and battery swapping cabinet A and the location status of battery a, thus achieving automatic battery theft detection. Meanwhile, it is difficult for criminals to avoid triggering warnings by changing the battery's operating status after stealing the battery. For example, they can mix the battery into a battery swapping cabinet operated by another operator, such as battery swapping cabinet B. Battery swapping cabinet B sends an exit command to the battery management system of battery a. Even if the exit command also carries verification information, including the first key and communication serial number, it cannot pass the verification and therefore cannot update the battery's operating status. This is because the private keys stored in battery swapping cabinets operated by different operators are specific and not universal, and therefore the generated keys are also different, resulting in inconsistent comparison results.

[0060] Here we combine Figure 2 This example illustrates the verification process of the first and second keys described above, and should not be construed as limiting the method of the embodiments of this application. Example: When the battery is removed from the battery swapping cabinet, the battery swapping cabinet obtains the battery identification code, i.e., BTID, from the battery management system of the battery via a wired connection. At the same time, it generates a corresponding communication serial number, i.e., TxnNo, based on the current communication. It reads the first preset private key, i.e., the first Privatekey, from the data stored in the battery swapping cabinet. Based on the battery identification code, the communication serial number, and the first preset private key, it encrypts the data using an algebraic algorithm to obtain the first key, i.e., the first Secretkey. Then, it carries the first key and the communication serial number in the exit command and sends it to the battery management system, i.e., BMS.

[0061] Upon receiving the battery swapping command, the battery management system first reads the battery identification code (BTID) and the second preset private key (Second Privatekey) stored in the system. Based on the battery identification code, the second preset private key, and the communication serial number carried in the swapping command, a hash algorithm is used to encrypt the data to obtain the second key (Secretkey). Finally, the first and second keys are compared. If the comparison results match, the management system switches the battery's operating status to "outside the cabinet" and records it in the system. If the comparison results do not match, there is no need to switch the battery's operating status. The management system continues to monitor the communication status between the battery and the swapping cabinet and the battery's location status while the battery is in the "inside the cabinet" operating status. If the communication status and battery status meet preset conditions while the battery is in the "inside the cabinet" operating status, the system determines that the battery has been stolen, triggers a warning, and disables the battery's charging and discharging functions.

[0062] S104, if the battery operation status indicates that the battery is in the battery swapping cabinet, then obtain the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery.

[0063] The communication information refers to the data or information transmitted between the battery management system and the battery swapping cabinet during communication. This may include, for example, instructions, status information, and fault reports. In this embodiment, the communication information between the battery management system and the battery swapping cabinet can be recorded in the storage module of the battery management system, which can retrieve the relevant information from the storage module when needed.

[0064] Geographic location information refers to the geographical coordinates or location description of the battery obtained by the battery management system. Examples include latitude and longitude coordinates, and specific area descriptions. This is typically achieved through technologies such as the Global Positioning System (GPS) satellite network.

[0065] Communication information can be obtained through communication records or real-time communication data between the battery management system and the battery swapping cabinet, including information such as the time, content, and frequency of communication. Geographic location information can be obtained through the battery management system to obtain the current location information of the battery, typically using GPS or other positioning technologies to obtain the battery's latitude and longitude coordinates or location description information.

[0066] As an example, communication information may include the interval between heartbeat signals sent by the battery swapping cabinet.

[0067] As another embodiment, before obtaining the communication information between the battery management system and the battery swapping cabinet as described above, the method may further include the following steps: receiving a heartbeat signal sent by the battery swapping cabinet in real time, wherein the heartbeat signal is sent by the battery swapping cabinet at a preset interval after the battery enters the battery;

[0068] Based on the reception time of historical heartbeat signals received before the current time, the interval duration of the heartbeat signals sent by the battery swapping cabinet is determined and recorded in the communication information.

[0069] The heartbeat signal is a signal sent by the battery swapping cabinet at preset intervals to maintain communication with the battery management system. When a battery enters the battery swapping cabinet and the wired connection is established, the cabinet can periodically send heartbeat signals to the battery management system via wired connection. The battery management system can determine the communication status with the battery swapping cabinet based on the received heartbeat signals.

[0070] The preset time interval refers to a pre-defined period of time used to specify the interval for sending heartbeat signals. When a battery enters and connects to the battery swapping cabinet, the cabinet periodically sends heartbeat signals to the battery to ensure communication between the cabinet and the battery management system. When the battery is removed from the cabinet and disconnected, the cabinet will no longer send heartbeat signals to the battery, and the battery and cabinet will be in a disconnected state.

[0071] The current time point refers to a specific characteristic moment.

[0072] Among them, historical heartbeat signals refer to heartbeat signals that the battery management system has received and recorded in the battery management system, including the time point of signal reception.

[0073] In this embodiment, if a battery is illegally removed from a battery swapping cabinet and then placed in another operator's battery swapping cabinet, the battery's operating status will not change; it will remain in the cabinet's internal state. The battery management system will continuously record received heartbeat signals, including those from other operators' swapping cabinets. Based on the historical heartbeat signal reception timestamps recorded by the battery management system, the interval between two consecutive heartbeat signal receptions can be determined and recorded in the battery management system. If an interval longer than or exceeding a preset interval is found, it can be preliminarily determined that the battery is at risk of theft, and further location data is needed to confirm whether the battery has been stolen. Alternatively, if the battery is illegally removed from the swapping cabinet but not placed in another operator's cabinet, the heartbeat signal will be cut off after the battery is removed. In this case, if the interval between the most recent heartbeat signal received and the current time point recorded in the battery management system is longer than or exceeds a preset interval, it can be preliminarily determined that the battery is at risk of theft, and further location data is needed to confirm whether the battery has been stolen.

[0074] In this embodiment, after the battery enters the battery swapping cabinet, it receives heartbeat signals sent by the cabinet in real time. These heartbeat signals are sent at preset intervals after the battery enters the cabinet, maintaining the communication connection between the battery management system and the cabinet, continuously monitoring the communication status, and ensuring the stability of the communication connection. Based on the reception times of historical heartbeat signals received before the current time, the interval of the heartbeat signals sent by the cabinet is determined and recorded in the communication information. This helps the battery management system understand the frequency and stability of the received heartbeat signals, enabling monitoring and management of the battery swapping cabinet's communication, ensuring the stability and reliability of the communication connection, and allowing subsequent determination of whether the battery has been stolen based on the communication information between the battery management system and the cabinet.

[0075] S106, based on communication information and geographical location information, determines whether the battery has been stolen.

[0076] In this embodiment, when a battery enters the battery swapping cabinet or is removed from it through normal means, the battery management system can switch the battery's operating status based on the instructions issued by the battery swapping system and record it in the battery management system. By obtaining the battery operating status recorded by the battery management system, if the battery operating status indicates that the battery is in the battery swapping cabinet, and if the battery is removed from the battery swapping cabinet in an abnormal manner under this operating status, such as illegal theft, the battery and the battery swapping cabinet will be unable to communicate, and the battery's location will also change. Based on this, by obtaining the communication information between the battery management system and the battery swapping cabinet, as well as the battery's geographical location information, it is possible to determine whether the battery has been stolen, thereby realizing automatic battery theft detection.

[0077] As an optional implementation, when the communication information includes the interval duration of the heartbeat signal sent by the battery swapping cabinet, the above-mentioned S106 may include the following steps:

[0078] S160, based on the interval of the heartbeat signal sent by the battery swapping cabinet, determines the communication interruption duration between the battery management system and the battery swapping cabinet.

[0079] S162 determines the distance between the battery and the battery swapping cabinet based on geographical location information.

[0080] S164, based on the duration and distance of the communication interruption, determines whether the battery has been stolen.

[0081] The communication interruption duration refers to the duration of the communication interruption between the battery management system and the battery swapping cabinet. A communication interruption is considered to have occurred when the battery management system fails to receive a heartbeat signal from the battery swapping cabinet. It should be understood that in this embodiment, the battery swapping cabinet sends heartbeat signals to the battery management system at a certain period, for example, once every second. When the interval stored in the battery management system exceeds 1 second, that interval is confirmed as the communication interruption duration; or, if the interval between the last time the heartbeat signal was received recorded in the battery management system and the current time exceeds 1 second, that interval is confirmed as the communication interruption duration. Furthermore, if the communication interruption duration exceeds a preset duration, it is preliminarily determined that the battery is at risk of being stolen, and further determination of whether the battery has been stolen is required based on the battery's location and status.

[0082] As an example, the geographic location information includes the current location coordinates of the battery. Based on the current location coordinates of the battery and the location coordinates of the battery swapping cabinet, the distance between the battery and the battery swapping cabinet is determined. If the distance exceeds a preset range, it is determined that the battery is at risk of being stolen. It is necessary to combine the communication status between the battery and the battery swapping cabinet to further determine whether the battery has been stolen.

[0083] Specifically, the system queries the communication information to determine the interval between adjacent heartbeat signals. If the interval exceeds the preset time, it further checks whether the distance between the battery and the battery swapping cabinet exceeds the preset range. If it exceeds the preset range, the system determines that the battery has been stolen, and the battery management system will trigger an alarm and disable the battery's charging and discharging functions. If the interval exceeds the preset time but the distance does not exceed the preset range, no alarm will be triggered. If the interval does not exceed the preset time but the distance exceeds the preset range, no alarm will be triggered either.

[0084] This application embodiment determines the communication interruption duration between the battery management system and the battery swapping cabinet by recording the interval of the heartbeat signal sent by the battery swapping cabinet in the communication information, and determines the distance between the battery and the battery swapping cabinet based on the battery's geographical location information. Since the battery is stolen, the battery and the battery swapping cabinet will be disconnected, and the battery's location will also change. Therefore, based on the communication interruption duration and distance, it is possible to determine whether the battery has been stolen, thereby improving the accuracy and security of battery anti-theft detection and realizing the function of automatic battery identification of whether it has been stolen.

[0085] As an optional implementation, S164 may include the following steps: if the communication interruption duration exceeds a preset duration and the distance exceeds a preset distance, then it is determined that the battery has been stolen.

[0086] This application embodiment sets preset communication interruption duration and distance thresholds. When the communication interruption duration between the battery management system and the battery swapping cabinet exceeds the preset duration, and the distance between the battery and the battery swapping cabinet exceeds the preset range, it is determined that the battery has been stolen. This can accurately determine whether the battery has been stolen, reduce the possibility of misjudgment, and also promptly detect battery theft. Corresponding security measures can be taken, such as tracking the battery location or triggering an alarm, and notifying relevant departments to pursue compensation, so as to ensure the safety of the battery.

[0087] As an optional implementation, when the battery is detected to be in the cabinet, the system checks whether the interruption duration exceeds a preset duration based on communication information. If it does, the system further uses the battery management system's positioning module to obtain the battery's geographical location information and check whether the distance between the battery and the battery swapping cabinet exceeds a preset range. If it does, the battery is confirmed to have been stolen. This effectively controls the use of positioning resources without requiring the battery's positioning function to be constantly activated.

[0088] As another embodiment, after S106 above, the method may further include the following step: if the battery is stolen, disable the charging and discharging function of the battery.

[0089] Send alarm information to the IoT platform, including the battery identification code.

[0090] Among them, the charging and discharging function refers to the charging and discharging operation of the battery.

[0091] The Internet of Things (IoT) platform is a platform that integrates various IoT devices, sensors, and data analysis functions. It can receive data from various devices and process, analyze, and manage this data.

[0092] Alarm information refers to a notification or warning used to alert relevant personnel, such as battery swapping station maintenance staff or the system, to a specific event or state, such as battery theft. Alarm information may include, but is not limited to, information about the battery theft incident, such as the battery identification code, related alarm content, the time and location of the theft, etc. Alarm information can help IoT platforms and maintenance personnel take necessary actions to respond to battery theft incidents.

[0093] In this embodiment, after determining that a battery has been stolen, the charging and discharging functions of the battery are disabled to prevent the stolen battery from being used further. This effectively prevents the stolen battery from being recharged or discharged, thereby reducing the value of the stolen battery and lowering the possibility of it being used for illegal purposes. In addition, after determining that a battery has been stolen, an alarm message is sent to the IoT platform to notify maintenance personnel or the system that a battery theft event has occurred. The alarm message includes the battery identification code, which helps the IoT platform to quickly identify the stolen battery and take further action. By sending alarm messages in a timely manner, the monitoring and response to battery theft events can be strengthened, which helps to improve battery security.

[0094] The following is a complete example illustrating the battery anti-theft detection method provided in this application, and should not be construed as limiting the method of this application. Please refer to... Figure 3 This is a schematic diagram illustrating an application scenario of another battery anti-theft detection method provided in an embodiment of this application. Figure 3 As shown, firstly, the system retrieves the battery operating status recorded by the battery management system and determines whether the battery is in the cabinet state. If not, no alarm is triggered. If it is, the system further queries the communication information recorded by the battery management system to determine whether the battery management system and the battery swapping cabinet are out of contact, and whether the out-of-contact duration meets the preset duration. If not, no alarm is triggered. If the battery is out of contact, the system further calls the satellite positioning module to obtain the current location of the battery, determine the distance between the battery and the battery swapping cabinet, and check whether the battery has moved, such as moving away from the battery swapping cabinet. If the distance does not exceed the preset range, it may be due to equipment failure or other reasons that cause the communication between the battery and the battery swapping cabinet to be interrupted, and no alarm will be triggered. If the distance exceeds the preset range, it is determined that the battery has been stolen, and an alarm is triggered and an alarm message is generated. The alarm message includes the battery identification code of the stolen battery and is then sent to the IoT platform for timely processing of the battery theft event. At the same time, after confirming that the battery has been stolen, the battery management system will disable the battery's charging and discharging functions to prevent the battery from being used further and causing loss.

[0095] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0096] Figure 4 This is a schematic diagram of a battery structure provided for one embodiment of this application. Figure 4 As shown in the embodiment of this application, a battery 400 includes: a battery body 410 and a battery management system 420;

[0097] The battery management system 420 is capable of performing tasks such as... Figure 1 The steps of the battery anti-theft detection method are shown.

[0098] Figure 5 This is a schematic diagram of a battery swapping system provided as an embodiment of this application. Figure 5 As shown in the figure, an embodiment of this application provides a battery swapping system 500, which includes: a battery 510 and a battery swapping cabinet 520;

[0099] The battery 510 and the battery swapping cabinet 520 communicate via a wired connection. The battery 510 can be... Figure 4 The battery 400 shown can be specifically described in the previous embodiment, and will not be repeated here.

[0100] With the above Figure 1 Corresponding to the battery anti-theft detection method shown, this application also proposes a battery anti-theft detection device. Please refer to... Figure 6 The present invention provides a schematic diagram of the structure of a battery anti-theft detection device 600, which is applied to a battery management system and includes: a first acquisition unit 610, a second acquisition unit 620 and a determination unit 630.

[0101] The first acquisition unit 610 is used to acquire the battery operating status recorded by the battery management system. The battery operating status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner.

[0102] The second acquisition unit 620 is used to acquire communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery if the battery operating status indicates that the battery is in the battery swapping cabinet.

[0103] The determining unit 630 is used to determine whether the battery has been stolen based on the communication information and the geographical location information.

[0104] Optionally, when the communication information includes the interval duration of the heartbeat signal sent by the battery swapping cabinet, the determining unit 630 may perform the following steps when determining whether the battery has been stolen based on the communication information and the geographical location information: determining the communication interruption duration between the battery management system and the battery swapping cabinet based on the interval duration of the heartbeat signal sent by the battery swapping cabinet;

[0105] Based on the geographical location information, the distance between the battery and the battery swapping cabinet is determined;

[0106] Based on the duration of the communication interruption and the distance, it is determined whether the battery has been stolen.

[0107] Optionally, when determining whether the battery has been stolen based on the communication interruption duration and the distance, the determining unit 630 may perform the following steps: if the communication interruption duration exceeds a preset duration and the distance exceeds a preset distance, then the battery is determined to have been stolen.

[0108] Optionally, the device 600 further includes: a first receiving unit;

[0109] The first receiving unit is configured to perform the following steps before the first acquiring unit 610 acquires the communication information between the battery management system and the battery swapping cabinet: receiving a heartbeat signal sent by the battery swapping cabinet in real time, wherein the heartbeat signal is sent by the battery swapping cabinet at a preset interval after the battery enters the battery;

[0110] Based on the reception time of historical heartbeat signals received before the current time, the interval duration of the heartbeat signals sent by the battery swapping cabinet is determined and recorded in the communication information.

[0111] Optionally, the device 600 further includes: a second receiving unit;

[0112] The second receiving unit is configured to perform the following steps before the first obtaining unit 610 obtains the battery operating status recorded by the battery management system: receiving an exit instruction sent by the battery swapping cabinet, wherein the exit instruction is sent by the battery swapping cabinet when the battery is taken out of the battery swapping cabinet, and the exit instruction carries verification information;

[0113] Based on the verification information, determine whether the battery has been removed from the battery swapping cabinet in a normal manner;

[0114] If so, the battery operating status will be recorded as an external status.

[0115] Optionally, when the verification information includes a first key and a communication serial number, and the first key is obtained by the battery swapping cabinet encrypting the battery based on a first preset private key, the battery identification code of the battery, and the communication serial number, the second receiving unit is further configured to perform the following steps when determining whether the battery has been removed from the battery swapping cabinet normally based on the verification information: encrypting the battery identification code, the communication serial number, and the second preset private key to obtain a second key; wherein the second preset private key is determined by the battery management system and the target battery swapping cabinet after the battery is placed in the target battery swapping cabinet;

[0116] If the first key and the second key are the same, then it is determined that the battery was removed from the battery swapping cabinet through normal means.

[0117] Optionally, the device 600 further includes: a transmitting unit;

[0118] The sending unit is configured to perform the following steps after the determining unit 630 determines whether the battery has been stolen: if the battery has been stolen, then disable the charging and discharging function of the battery;

[0119] Send alarm information to the Internet of Things platform, the alarm information including the battery identification code of the battery.

[0120] Obviously, the battery anti-theft detection device provided in this application embodiment can serve as... Figure 1 The entity implementing the battery anti-theft detection method shown is, for example... Figure 1 In the battery anti-theft detection method shown, step S102 can be performed by... Figure 6 The first acquisition unit 610 in the battery anti-theft detection device shown executes step S104, which can be performed by... Figure 6 The second acquisition unit 620 in the battery anti-theft detection device shown executes step S106, which can be performed by... Figure 6 The determination unit 630 in the battery anti-theft detection device shown is executed.

[0121] According to another embodiment of this application, Figure 6The battery anti-theft detection device shown can be constructed by combining each unit individually or entirely into one or more other units, or one or more of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effect of the embodiments of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can also be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the battery anti-theft detection device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.

[0122] According to another embodiment of this application, a general-purpose computing device, such as a computer, including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), can run an application capable of performing tasks such as... Figure 1 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 6 The battery anti-theft detection device shown herein, and the battery anti-theft detection method for implementing the embodiments of this application, are described. The computer program may be recorded on, for example, a computer-readable storage medium, and may be transferred to and run in an electronic device via such a medium.

[0123] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Please refer to it. Figure 7 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and memory. The memory may include main memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for other business operations.

[0124] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0125] Memory is used to store programs. Specifically, programs may include program code, which includes computer operation instructions. Memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0126] The processor reads the corresponding computer program from non-volatile memory into main memory and then runs it, forming a data processing device at the logical level. The processor executes the program stored in memory and specifically performs the following operations:

[0127] The battery management system obtains the battery operation status recorded by the battery management system. The battery operation status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner.

[0128] If the battery operating status indicates that the battery is in the battery swapping cabinet, then the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery are obtained.

[0129] Based on the communication information and the geographical location information, it is determined whether the battery has been stolen.

[0130] The above is as stated in this application. Figure 6The method executed by the battery anti-theft detection device disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0131] The electronic device can also perform Figure 1 The method, and implement the battery anti-theft detection device in Figure 1 , Figure 6 The functions of the embodiments shown are not described in detail here.

[0132] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0133] This application also proposes a computer-readable storage medium that stores one or more programs, the programs including instructions that, when executed by a portable electronic device including multiple applications, enable the portable electronic device to perform... Figure 1 The method of the illustrated embodiment is specifically used to perform the following operations:

[0134] The battery management system obtains the battery operation status recorded by the battery management system. The battery operation status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner.

[0135] If the battery operating status indicates that the battery is in the battery swapping cabinet, then the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery are obtained.

[0136] Based on the communication information and the geographical location information, it is determined whether the battery has been stolen.

[0137] In summary, the above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

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

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

[0140] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0141] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

Claims

1. A battery anti-theft detection method, characterized in that, Battery management systems used in batteries include: The battery management system obtains the battery operation status recorded by the battery management system. The battery operation status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner. The instructions include the exit instruction sent by the battery swapping cabinet when the battery is taken out of the battery swapping cabinet and carry verification information. The battery is a whole composed of the battery body and the battery management system. If the verification information carried by the battery swapping cabinet's exit command determines that the battery was not taken out of the battery swapping cabinet through normal means, and the battery's operating status indicates that the battery is in the cabinet, then the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery are obtained. The cabinet status includes the battery being illegally taken from a battery swapping cabinet belonging to the same operator and then placed in a battery swapping cabinet of another operator. Based on the communication information and the geographical location information, it is determined whether the battery has been stolen. The communication information includes the interval duration of the heartbeat signal sent by the battery swapping cabinet, which is a battery swapping cabinet from another operator. The determination of whether the battery has been stolen based on the communication information and the geographical location information includes: determining the interval duration between two consecutive heartbeat signals received from the battery swapping cabinet according to the historical heartbeat signal reception time points recorded by the battery management system; if the interval duration is greater than or exceeds a preset duration, it is initially determined that the battery is at risk of being stolen, and further determination of whether the battery has been stolen is made based on the geographical location information.

2. The method according to claim 1, characterized in that, Before acquiring the communication information between the battery management system and the battery swapping cabinet, the method further includes: The system receives heartbeat signals from the battery swapping cabinet in real time. These heartbeat signals are sent by the battery swapping cabinet at preset intervals after the battery enters the cabinet. Based on the reception time of historical heartbeat signals received before the current time, the interval duration of the heartbeat signals sent by the battery swapping cabinet is determined and recorded in the communication information.

3. The method according to claim 1, characterized in that, Before obtaining the battery operating status recorded by the battery management system, the method further includes: Receive the battery swapping cabinet's outgoing command; Based on the verification information carried by the exit command, it is determined whether the battery has been removed from the battery swapping cabinet in a normal manner; If so, the battery operating status will be recorded as an external status. If not, the battery operating state is maintained as the state of the battery inside the battery swapping cabinet.

4. The method according to claim 3, characterized in that, The verification information includes a first key and a communication serial number. The first key is obtained by encrypting the battery swapping cabinet based on a first preset private key, the battery identification code of the battery, and the communication serial number. The step of determining whether the battery has been removed from the battery swapping cabinet through normal means based on the verification information includes: The second key is obtained by encrypting the battery identification code, the communication serial number, and the second preset private key; wherein, the second preset private key is determined by the battery management system and the target battery swapping cabinet after the battery is placed in the target battery swapping cabinet. If the first key and the second key are the same, then it is determined that the battery was removed from the battery swapping cabinet through normal means.

5. The method according to any one of claims 1 to 4, characterized in that, After determining whether the battery has been stolen, the method further includes: If the battery is stolen, the charging and discharging function of the battery will be disabled. Send alarm information to the Internet of Things platform, the alarm information including the battery identification code of the battery.

6. A battery anti-theft detection device, characterized in that, Battery management systems used in batteries include: The first acquisition unit is used to acquire the battery operation status recorded by the battery management system. The battery operation status is set by the battery management system based on the instructions issued by the battery swapping cabinet when the battery enters the battery swapping cabinet or is taken out of the battery swapping cabinet in a normal manner. The instructions include the exit instruction sent by the battery swapping cabinet when the battery is taken out of the battery swapping cabinet and carry verification information. The battery is a whole composed of the battery body and the battery management system. The second acquisition unit is used to acquire the communication information between the battery management system and the battery swapping cabinet and the geographical location information of the battery if the battery is not taken out of the battery swapping cabinet through normal means and the battery operation status indicates that the battery is in the cabinet state, based on the verification information carried by the exit instruction sent by the battery swapping cabinet. The cabinet state includes the battery being illegally taken out of the battery swapping cabinet belonging to the same operator and then placed in the battery swapping cabinet of another operator. A determining unit is configured to determine whether the battery has been stolen based on the communication information and the geographical location information. The communication information includes the interval duration of heartbeat signals sent by the battery swapping cabinet, which is a battery swapping cabinet belonging to another operator. The determination of whether the battery has been stolen based on the communication information and the geographical location information includes: determining the interval duration between two consecutive receptions of heartbeat signals sent by the battery swapping cabinet based on the historical heartbeat signal reception time points recorded by the battery management system; if the interval duration is greater than or exceeds a preset duration, a preliminary judgment is made that the battery is at risk of being stolen, and further determination is made based on the geographical location information to determine whether the battery has been stolen.

7. A battery, characterized in that, include: Battery body and battery management system; The battery management system is used to perform the method as described in any one of claims 1 to 5.

8. A battery swapping system, characterized in that, include: The battery swapping cabinet and the battery as described in claim 7, wherein the battery swapping cabinet and the battery communicate with each other via a wired connection.

Citation Information

Patent Citations

  • Charging and discharging authentication method and device of battery changing cabinet

    CN114013330A

  • Battery anti-theft management method and system, electronic equipment and medium

    CN116484117A