Battery anti-theft detection method and device, battery and battery replacement system

Through the communication information and geographical location information of the battery management system and the battery swap cabinet, it automatically identifies whether the battery is stolen, which solves the problem that the battery cannot be stolen in the battery swap scenario, and improves the safety and use rights protection of the battery.

CN119058478AActive Publication Date: 2024-12-03铁塔能源有限公司 +1
View PDF 12 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In battery swap application scenarios, after the battery is rented to the user, there is a risk of battery theft because the battery itself cannot recognize the stolen situation.

Method used

The battery operation status is obtained through the battery management system. If the battery is removed in an abnormal manner, the battery and the battery replacement cabinet cannot communicate, and determine whether the battery is stolen based on the communication information and geographical location information, and realize automatic stolen detection.

Benefits of technology

Effectively identify theft of batteries, prevent illegal access, ensure the safety and right to use the battery, and reduce the risk of theft.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119058478A_ABST
    Figure CN119058478A_ABST
Patent Text Reader

Abstract

The invention discloses a battery anti-theft detection method and device, a battery and a battery replacing system.The method is applied to a battery management system of the battery and comprises the steps that the battery operation state recorded by the battery management system is obtained, and according to the battery operation state, when the battery enters a battery replacing cabinet or is taken out from the battery replacing cabinet in a normal mode, the battery is taken out from the battery replacing cabinet; the battery management system is obtained based on instruction setting issued by the battery replacement cabinet; if the operation state of the battery shows that the battery is in the battery replacement cabinet, acquiring communication information of the battery management system and the battery replacement cabinet and geographical location information of the battery; and determining whether the battery is 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] The present application relates to the field of battery communication technology, and in particular to a battery anti-theft detection method, device, battery and battery replacement system. Background Art

[0002] In the battery swap application scenario, after the battery is leased to the user, the user goes to the battery swap station to swap the battery by themselves. The battery is used and transferred in the hands of the user, and the circulation is very strong. In addition, the battery swap station is in an open area with no restrictions on personnel entering and leaving, which poses a risk of battery theft. The battery theft is usually checked through the design of the battery swap cabinet structure and the battery in-situ detection, but the battery itself cannot identify theft. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a battery anti-theft detection method, device, battery and battery replacement system, which are used to solve the problem that the current battery replacement battery itself cannot identify whether it has been stolen.

[0004] In order to achieve the above objectives, the present application embodiment adopts the following technical solutions:

[0005] In a first aspect, an embodiment of the present application provides a battery anti-theft detection method, which is applied to a battery management system of a battery, comprising:

[0006] Obtaining the battery operation status recorded by the battery management system, where the battery operation status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner;

[0007] If the battery operation status indicates that the battery is in the battery swap cabinet, then obtaining communication information between the battery management system and the battery swap cabinet and geographic location information of the battery;

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

[0009] In a second aspect, an embodiment of the present application provides a battery anti-theft detection device, which is applied to a battery management system of a battery, including:

[0010] A first acquisition unit, used to acquire a battery operation status recorded by the battery management system, wherein the battery operation status is obtained by the battery management system based on an instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner;

[0011] A second acquisition unit is used to acquire communication information between the battery management system and the battery swap cabinet and geographic location information of the battery if the battery operation status indicates that the battery is in the battery swap cabinet;

[0012] A determination unit is used to determine whether the battery is stolen based on the communication information and the geographical location information.

[0013] In a third aspect, an embodiment of the present application provides a battery, including: a battery body and a battery management system;

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

[0015] In a fourth aspect, an embodiment of the present application provides a battery exchange system, comprising: a battery exchange cabinet and the battery described in the third aspect, wherein the battery exchange cabinet and the battery communicate with each other via a wired manner.

[0016] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method described in the first aspect.

[0017] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method described in the first aspect.

[0018] At least one of the above-mentioned technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: when a battery enters a battery swap cabinet or is taken out of the battery swap cabinet in a normal manner, the battery management system of the battery can switch the battery operating status of the battery based on the instructions issued by the battery swap 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 swap cabinet, if the battery is taken out of the battery swap cabinet in an abnormal manner under this operating state, such as illegal theft, the battery will not be able to communicate with the battery swap cabinet, 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 swap cabinet and the geographic location information of the battery, it is possible to determine whether the battery has been stolen based on the communication information and the geographic location information, thereby realizing automatic battery theft detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 A flowchart of a battery anti-theft detection method provided for one embodiment of the present application;

[0021] Figure 2 A flowchart of a verification method provided for an embodiment of the present application;

[0022] Figure 3 A flowchart of another battery anti-theft detection method provided for one embodiment of the present application;

[0023] Figure 4 A schematic diagram of the structure of a battery provided in one embodiment of the present application;

[0024] Figure 5 A schematic diagram of the structure of a battery replacement system provided for one embodiment of the present application;

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

[0026] Figure 7 A schematic diagram of the structure of an electronic device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0028] The terms "first", "second", etc. in this specification and claims are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this way can be interchanged where appropriate so that the embodiments of the present application are implemented in a sequence other than those illustrated or described herein. In addition, "and / or" in this specification and claims means at least one of the connected objects, and the character " / " generally means that the objects associated with each other are in an "or" relationship.

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

[0030] In the battery swap application scenario, after the battery is leased to the user, the user goes to the battery swap station to swap the battery by themselves. The battery is used and transferred in the hands of the user, and the circulation is very strong. In addition, the battery swap station is in an open area with no restrictions on personnel entering and leaving, which poses a risk of battery theft. The battery theft is usually checked through the design of the battery swap cabinet structure and the battery in-situ detection, but the battery itself cannot identify theft.

[0031] In view of this, an embodiment of the present application provides a battery anti-theft detection method, which is applied to the battery management system of the battery. When the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner, the battery management system of the battery can switch the battery operating status of the battery based on the instructions issued by the battery swap 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 swap cabinet, if the battery is taken out of the battery swap cabinet in an abnormal manner under this operating state, such as illegal theft, the battery will not be able to communicate with the battery swap cabinet, and the location of the battery will also change. Based on this, by obtaining the communication information between the battery management system and the battery swap cabinet and the geographical location information of the battery, it is possible to determine whether the battery has been stolen based on the communication information and the geographical location information, thereby realizing automatic battery theft detection.

[0032] Specifically, see Figure 1 , is a flow chart of a battery anti-theft detection method provided by an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a battery anti-theft detection method, which is applied to a battery management system of a battery. The method may include the following steps:

[0033] S102, obtaining the battery operation status recorded by the battery management system.

[0034] Among them, the battery refers to a device for storing electrical energy, usually composed of one or more battery cells. For example, common lithium batteries, lead-acid batteries, etc., can provide power supply for various devices or systems. In the embodiment of the present application, the battery is a whole composed of a battery body and a battery management system.

[0035] Among them, the battery management system (BMS) refers to a system for monitoring, controlling and managing the operating status of the battery, which can record the operating status of the battery, such as the battery's charge and discharge conditions, temperature, capacity and other information, and can execute corresponding instructions and communicate with other devices. As an example, the battery management system records the battery operating status.

[0036] Among them, the battery operating status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner. The battery operating status is used to indicate the two operating states of the battery in the battery swap cabinet or outside the battery swap cabinet. The battery operating status includes two operating states: the in-cabinet state and the out-cabinet state. The in-cabinet state indicates that the battery is in the battery swap cabinet; the out-cabinet state indicates that the battery is outside the battery swap cabinet. The battery operating status is stored inside the program of the battery management system, such as in a storage module. When the battery enters the battery swap cabinet, the battery swap cabinet sends an entry instruction to the battery management system, and the battery management system switches or updates the operating status stored in the program to the in-cabinet state according to the instruction sent by the battery swap cabinet; when the battery is taken out of the battery swap cabinet, the battery swap cabinet sends an exit instruction to the battery management system, and the battery management system switches or updates the operating status stored in the program to the out-cabinet state according to the instruction sent by the battery swap cabinet.

[0037] Among them, the battery swap cabinet refers to a device used to store, charge and replace batteries. For example, for electric vehicles and other devices that need to be charged, users can put the battery into the battery swap cabinet for charging, or take out the charged battery from the battery swap cabinet to replace the battery on the electric vehicle.

[0038] In an embodiment of the present application, the battery swap cabinet and the battery management system communicate via wired means. When the battery enters the battery swap cabinet, the wired connection between the battery and the battery swap cabinet is connected, and the battery management system and the battery swap cabinet can communicate; when the battery is taken out of the battery swap cabinet, the wired connection between the battery and the battery swap cabinet is disconnected, and the battery management system and the battery swap cabinet are disconnected and cannot communicate. In addition, relevant records and relevant data of the communication between the battery management system and the battery swap cabinet can be recorded by the battery management system inside the program of the battery management system, such as in a storage module. As an example, the battery management system also records communication information, and the communication information includes relevant data of the communication between the battery management system and the battery swap cabinet, including but not limited to data transmitted during the communication process, communication time, communication duration, etc.

[0039] Next, the switching process of the battery operating status will be further explained. As an example, before the above S102, the battery management system can also receive an entry instruction sent by the battery swap cabinet. The entry instruction is sent by the battery swap cabinet when the battery enters the battery swap cabinet. According to the received entry instruction, the battery management system updates its own stored battery operating status to the in-cabinet status. If the original battery operating status of the battery is the out-cabinet status, when the battery management system receives the entry instruction sent by the battery swap cabinet, the battery operating status is switched from the out-cabinet status to the in-cabinet status. Among them, the entry instruction is an instruction used to instruct the battery management system to switch the battery operating status to the in-cabinet status.

[0040] In the embodiment of the present application, when the battery leaves the factory, the battery operation status recorded in the battery management system of the battery is set to the out-of-cabinet state by default. When the battery swap cabinet operation and maintenance personnel put the battery into the battery swap cabinet, the battery swap cabinet will send an entry instruction to the battery management system of the battery. After receiving the entry instruction, the battery management system will switch the battery operation status from the out-of-cabinet state to the in-cabinet state, and then the battery can be put into normal operation. When a user needs to use the battery, the battery can be taken out of the battery swap cabinet and used through the corresponding process, such as: the user scans the QR code on the battery swap cabinet to authorize entry into the mini program, selects the battery to be taken, etc. The embodiment of the present application does not make specific restrictions on this. After receiving the user's operation instruction to take the battery, the battery swap cabinet will open the corresponding cabinet door to allow the user to take out the battery. At the same time, the battery swap cabinet will also send an exit instruction to the battery management system of the battery. The battery management system switches or updates the battery operation status from the in-cabinet state to the out-of-cabinet state according to the received exit instruction. When the user finishes using the battery and returns it to the battery swap cabinet, the cabinet will send an entry command to the battery management system. The battery management system will switch the battery operating state from outside the cabinet to inside the cabinet based on the received command. After the battery is charged, it can be borrowed by the user next time or used by other users.

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

[0042] Based on the verification information, determine whether the battery is taken out of the battery swap cabinet in a normal manner;

[0043] If yes, the battery operation status is recorded as the out-of-cabinet status.

[0044] Among them, the out-of-cabinet instruction is an instruction used to instruct the battery management system to switch the battery operation state to the out-of-cabinet state.

[0045] Among them, verification information refers to information used to verify whether the battery is taken out of the battery swap cabinet in a normal manner, including but not limited to encrypted characters, security identification, etc. After receiving the out-of-cabinet instruction, the battery management system verifies the legitimacy and integrity of the out-of-cabinet instruction based on the verification information carried in the out-of-cabinet instruction, including decrypting the verification information, verifying the digital signature or other security verification methods; if the verification is successful, it means that the battery is taken out of the battery swap cabinet in a normal manner, then the battery operation status will be recorded as the out-of-cabinet status, that is, the battery has left the battery swap cabinet; if the verification fails, it means that the battery is not taken out of the battery swap cabinet in a normal manner, then the battery operation status will remain in the cabinet status, that is, the battery is still recorded in the battery swap cabinet, and the battery will continue to be detected for theft.

[0046] As an example, the verification information includes a first key and a communication serial number. When the battery is taken out of the battery swap cabinet, the battery swap cabinet obtains the battery identification code of the battery through a wired method, and encrypts the first key based on the obtained battery identification code, the communication serial number and the private key stored in the battery swap cabinet, that is, the first preset private key, and carries the first key and the communication serial number in the out-of-cabinet instruction, and sends the out-of-cabinet instruction to the battery management system. As an example, a hash algorithm can be used to encrypt the battery identification code, the communication serial number and the first preset private key. Of course, other encryption methods can also be used, such as common symmetric encryption algorithms, asymmetric encryption algorithms, etc., which are not specifically limited in the embodiments of the present application. Among them, the hash algorithm is also called a hash algorithm. Through hash functions, such as SHA-256 (Secure Hash Algorithm 256-bit), MD5 (Message Digest Algorithm 5), etc., it is possible to map input data of any length to an output of a fixed length, usually a string of fixed length, that is, a hash value. Because the hash value is irreversible, it can well protect the first preset private key from being leaked. Similarly, only when the input data is exactly the same, the hash value obtained after encryption by the hash algorithm is the same. Then the battery management system can use the same encryption method to encrypt the battery identification code stored in itself, the communication serial number carried in the cabinet instruction, and the private key stored in itself, that is, the second preset private key, to obtain the corresponding hash value, that is, the second key, and compare the first key and the second key to determine whether the battery is taken out of the battery swap cabinet in a normal way, and then determine whether to switch the operating status. The verification information encrypted by the calculation algorithm can be verified by the battery management system without decryption, which further ensures the security of the encrypted data, and then ensures the accuracy of the verification and the reliability of the subsequent confirmation of whether the battery has been stolen, while simplifying the verification process.

[0047] When the battery is taken out from the battery swap cabinet, the embodiment of the present application receives an out-of-cabinet instruction sent by the battery swap cabinet, and determines whether the battery is taken out from the battery swap cabinet in a normal manner based on the verification information carried in the out-of-cabinet instruction, and then determines whether to switch the battery operating status. If it is a normal manner, the battery operating status is switched or updated from the in-cabinet status to the out-cabinet status and recorded in the battery management system; if it is not a normal manner, the battery operating status remains in the in-cabinet status, and the communication status and position status of the battery management system and the battery swap cabinet are continued to be monitored, so as to strictly switch the battery operating status, ensure the accuracy of battery anti-theft detection, and realize 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 encrypted by the battery swap cabinet based on a first preset private key, a battery identification code of the battery, and a communication serial number, the above-mentioned determination of whether the battery is taken out of the battery swap cabinet in a normal manner based on the verification information may include the following steps: encrypting based on the battery identification code, the communication serial number, and the second preset private key of the battery to obtain a second key; wherein the second preset private key is determined by negotiation between the battery management system and the target battery swap cabinet after the battery is placed in the target battery swap cabinet;

[0049] If the first key and the second key are the same, it is determined that the battery was taken out from the battery swap cabinet in a normal manner.

[0050] The communication serial number is used to uniquely identify each message or each communication during the communication process. The communication serial number can ensure the order and uniqueness of the communication and is used to verify the integrity and correctness of the communication.

[0051] Among them, the first preset private key is the private key determined by the battery swap cabinet and the battery after the battery enters the battery swap cabinet for the first time, and stored by the battery swap cabinet. It should be understood that the battery swap cabinet and the battery are managed by the same operator. If the battery is mixed into the battery swap cabinet of another operator, the first key and the second key will be different, because the private key stored in the battery is different from the private key stored in the battery swap cabinet of other operators, and then the battery operation status of the battery cannot be switched or updated to the out-of-cabinet state. At this time, when the battery operation state is in the in-cabinet state, the communication status and location status of the battery can still be monitored to determine whether the battery has been stolen. In other words, only the private keys stored in the battery and the battery swap cabinet belonging to the same operator are the same, and the private key is absolutely confidential information, which is only known by the battery and the battery swap cabinet of the same operator and the operator.

[0052] The battery identification code is a code or identifier that uniquely identifies the battery and is used to distinguish different batteries.

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

[0054] The second key is a key obtained by encrypting the battery identification code, communication serial number and the second preset private key of the battery by the battery management system, and is used to verify whether the battery is taken out of the battery swap cabinet in a normal manner. As an example, a hash algorithm can be used for encryption, which will not be repeated here.

[0055] In the embodiment of the present application, after the battery management system receives the out-of-cabinet instruction sent by the battery swap cabinet, it verifies according to the first key, communication serial number and other verification information carried in the out-of-cabinet instruction, and determines whether the battery is taken out from the battery swap cabinet in a normal manner. Specifically, it encrypts based on the communication serial number carried in the out-of-cabinet instruction and the second private key and battery identification code stored by the battery management system itself to obtain a second key, and compares the second key with the first key carried in the out-of-cabinet instruction. Based on the comparison result, it determines whether the battery is taken out in a normal manner. If the comparison result is consistent, the battery is taken out in a normal manner, and the battery management system switches the battery operating status; if the comparison result is inconsistent, the battery is taken out in an abnormal manner, and the battery operating status remains unchanged, thereby ensuring the safety and reliability of battery removal, and then ensuring the accuracy of battery operating status switching, thereby ensuring the accuracy of battery anti-theft detection.

[0056] The switching or updating process of the battery operating status will be explained here with a specific example, which should not be understood as a specific limitation on the method of the embodiment of the present application. Example: Assume that battery a is placed in battery swap cabinet A by the operation and maintenance personnel after leaving the factory. The battery operating status recorded in the battery management system when battery a leaves the factory defaults to the out-of-cabinet status. When the battery is placed in battery swap cabinet A, the wired connection between battery a and battery swap cabinet A is connected. Battery swap cabinet A sends an entry instruction to the battery management system via a wired manner. After receiving the entry instruction, the battery management system switches or updates its own recorded battery operating status from the out-of-cabinet status to the in-cabinet status. At the same time, battery swap cabinet A and battery a will negotiate to determine a private key and save it separately. Of course, battery a can also be negotiated by the manufacturer and the battery swap cabinet operator before leaving the factory, and the manufacturer writes it into the battery management system and the battery swap cabinet system;

[0057] Then, if a user takes out battery a from battery swap cabinet A for use, such as scanning the QR code on battery swap cabinet A to authorize entry into the mini program to select the battery to be used, after receiving the user's operation instructions, battery swap cabinet A will open the corresponding cabinet door to facilitate the user to take out battery a. At the same time, before the wired connection between battery a and battery swap cabinet A is disconnected, battery swap cabinet A must first obtain the battery identification code of battery a from the battery management system through a wired method. Based on the obtained battery identification code and the communication serial number corresponding to the current communication and the private key stored in battery swap cabinet A, that is, the first preset private key, the hash algorithm is used to The first key is obtained by encryption, and the first key and the communication serial number are carried in the out-of-cabinet instruction, and the out-of-cabinet instruction is sent to the battery management system; after the battery management system receives the out-of-cabinet instruction, based on the battery identification code of battery a stored in the battery management system, the private key (i.e., the second preset private key) and the communication serial number carried in the out-of-cabinet instruction, the second key is obtained by encryption through a hash algorithm, and then the second key is compared with the first key carried in the out-of-cabinet instruction. If the comparison result is consistent, the battery management system switches or updates the recorded battery operation status of battery a from the in-cabinet status to the out-cabinet status;

[0058] When the user returns the battery to the battery swap cabinet A or other battery swap cabinets operated by the same operator as the battery swap cabinet A after use, the battery swap cabinet A or other battery swap cabinets operated by the same operator as the battery swap cabinet A sends an entry instruction to the battery management system. The battery management system switches the battery operation state of battery a from the outside state to the inside state according to the entry instruction.

[0059] In actual applications, the following situation may exist. Suppose that battery a is taken away by illegal means while in battery swap cabinet A, such as using tools to pry open the door of the battery swap cabinet and take away battery a. At this time, the battery swap cabinet does not detect the user's operation instruction and will not send an out-of-cabinet instruction to the battery management system. The battery management system will not receive the out-of-cabinet instruction, so the battery operating status will not be switched or updated, and the battery operating status will remain in the cabinet state. In this case, after battery a is taken away, battery a and battery swap cabinet A will not be able to communicate, and the position of battery a will also change. Based on this, when the battery operating status is in the cabinet state, it can be determined whether battery a is stolen based on the communication status between battery a and battery swap cabinet A and the location status of battery a, thereby realizing automatic battery identification and theft detection. At the same time, it is difficult for criminals to avoid triggering warnings by changing the battery operating status after stealing the battery. For example, they mix the battery into a battery swap cabinet operated by other operators, such as battery swap cabinet B, and send an out-of-cabinet instruction to the battery management system of battery a through battery swap cabinet B. Even if the out-of-cabinet instruction also carries verification information, and the verification information includes the first key and the communication serial number, it cannot pass the verification, and the battery operating status cannot be updated, because the private keys stored in the battery swap cabinets operated by different operators are specific, not universal, and the generated keys are also different, resulting in inconsistent comparison results.

[0060] Here combined Figure 2 , using a complete example to illustrate the verification process of the above-mentioned first key and second key, it should not be understood as not limiting the method of the embodiment of the present application. Example: When the battery is taken out of the battery swap cabinet, the battery swap cabinet obtains the battery identification code, namely BTID, of the battery from the battery management system of the battery through a wired manner, and generates a corresponding communication serial number, namely TxnNo, based on the current communication, and reads the first preset private key, namely the first Privatekey, from the data stored in the battery swap cabinet, and encrypts it through an arithmetic algorithm based on the battery identification code, the communication serial number and the first preset private key to obtain the first key, namely the first Secretkey, and then carries the first key and the communication serial number in the out-of-cabinet instruction and sends it to the battery management system of the battery, namely BMS;

[0061] When the battery management system receives the out-of-cabinet instruction, it first reads the battery identification code of the battery stored in the battery management system, namely, BTID and the second preset private key, namely, the second Privatekey. Based on the battery identification code, the second preset private key and the communication serial number carried in the out-of-cabinet instruction, it encrypts through a hash algorithm to obtain a second key, namely, the second Secretkey. Finally, the first key and the second key are compared. If the comparison result is consistent, the management system switches the battery operating state to the out-cabinet state and records it in the battery management system; if the comparison result is inconsistent, there is no need to switch the battery operating state. The battery management system will continue to monitor the communication status between the battery and the battery swap cabinet and the location status of the battery when the battery operating state is in the cabinet. If the communication status and the battery status meet the preset conditions when the battery operating state is in the cabinet, it is determined that the battery is stolen, and a warning is triggered, and the battery charging and discharging functions are disabled.

[0062] S104: If the battery operating status indicates that the battery is in the battery swap cabinet, the communication information between the battery management system and the battery swap cabinet and the geographical location information of the battery are obtained.

[0063] Among them, communication information refers to the data or information transmitted when the battery management system and the battery swap cabinet communicate. For example, it may include instructions, status information, fault reports, etc. In an embodiment of the present application, the communication information between the battery management system and the battery swap cabinet can be recorded in the storage module of the battery management system, and the battery management system can obtain the corresponding information from the storage module when needed.

[0064] The geographic location information refers to the geographic location coordinates or location description of the battery obtained by the battery management system, such as longitude and latitude coordinates, specific area description, etc. It can usually be achieved through technologies such as the Global Positioning System (GPS) satellite network.

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

[0066] As an example, the communication information may include the interval duration of the heartbeat signal sent by the battery swap cabinet.

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

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

[0069] Among them, the heartbeat signal refers to the signal sent by the battery swap cabinet at a preset interval to maintain the communication connection with the battery management system. When the battery enters the battery swap cabinet and the wired connection is connected, the battery swap cabinet can send a heartbeat signal to the battery management system at regular intervals through a wired manner. The battery management system can determine the communication status with the battery swap cabinet based on the received heartbeat signal.

[0070] The preset time interval refers to a pre-set time period, which is used to specify the interval length of the heartbeat signal. When the battery enters the battery swap cabinet and is connected to the battery swap cabinet, the battery swap cabinet periodically sends a heartbeat signal to the battery to ensure communication between the battery swap cabinet and the battery management system. When the battery is taken out of the battery swap cabinet and disconnected from the battery swap cabinet, the battery swap cabinet will no longer send a heartbeat signal to the battery, and the battery and the battery swap cabinet are disconnected.

[0071] The current time node refers to a certain characteristic moment.

[0072] The historical heartbeat signal refers to the heartbeat signal that has been received by the battery management system and recorded in the battery management system, including the time point of receiving the signal.

[0073] In an embodiment of the present application, if the battery is illegally taken away from the battery swap cabinet and then placed in the battery swap cabinet of another operator, the battery operation status of the battery will not change and will remain in the cabinet state. The battery management system will continue to record the received heartbeat signals, including the heartbeat signals sent by the battery swap cabinets of other operators. At this time, the interval between two adjacent heartbeat signal receptions can be determined and recorded in the battery management system based on the reception time points of the historical heartbeat signals recorded by the battery management system. If there is an interval that is greater than or exceeds the preset interval, it can be preliminarily determined that the battery is at risk of being stolen, and it is necessary to further determine whether the battery is stolen based on positioning. Another situation is that if the battery is illegally taken away from the battery swap cabinet and is not placed in the battery swap cabinet of another operator, the heartbeat signal will be cut off after the battery is taken out. In this way, among the time points of the historical heartbeat signals recorded in the battery management system, if the interval between the time point of the most recent heartbeat signal reception and the current time point is greater than or exceeds the preset interval, it can be preliminarily determined that the battery is at risk of being stolen, and it is necessary to further determine whether the battery is stolen based on positioning.

[0074] In an embodiment of the present application, after the battery enters the battery swap cabinet, it receives the heartbeat signal sent by the battery swap cabinet in real time. The heartbeat signal is sent at a preset interval after the battery enters the battery swap cabinet, and can be used to maintain the communication connection between the battery management system and the battery swap cabinet, and continuously monitor the communication status between the battery swap cabinet, and ensure the stability of the communication connection; based on the receiving time point of the historical heartbeat signal received before the current time point, the interval duration of the heartbeat signal sent by the battery swap cabinet is determined and recorded in the communication information, which can help the battery management system understand the frequency and stability of the received heartbeat signal, realize the monitoring and management of the battery swap cabinet communication, and ensure the stability and reliability of the communication connection, so as to subsequently determine whether the battery is stolen based on the communication information between the battery management system and the battery swap cabinet.

[0075] S106, determining whether the battery is stolen based on the communication information and the geographic location information.

[0076] In the embodiment of the present application, when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner, the battery management system of the battery can switch the battery operating status of the battery based on the instructions issued by the battery swap 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 swap cabinet, if the battery is taken out of the battery swap cabinet in an abnormal manner under this operating state, such as illegal theft, the battery and the battery swap 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 swap cabinet and the geographic location information of the battery, it is possible to determine whether the battery has been stolen based on the communication information and the geographic location information, 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 power exchange cabinet, the above S106 may include the following steps:

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

[0079] S162, based on the geographic location information, determine the distance between the battery and the battery swap cabinet.

[0080] S164, determining whether the battery is stolen based on the communication interruption duration and distance.

[0081] Among them, the communication interruption duration refers to the duration of the communication interruption between the battery management system and the battery swap cabinet. When the battery management system fails to receive the heartbeat signal from the battery swap cabinet, it is deemed that a communication interruption has occurred. It should be understood that in the embodiment of the present application, the battery swap cabinet sends a heartbeat signal to the battery management system at a certain period, for example: once every second. When the interval duration stored in the battery management system exceeds 1 second, the time interval is confirmed as the communication interruption duration; or the interval duration between the time point when the heartbeat signal was last received recorded in the battery management system and the current time point exceeds 1 second, the interval duration is confirmed as the communication interruption duration; further, if the communication interruption duration exceeds the preset duration, it is preliminarily determined that the battery is at risk of being stolen, and it is necessary to further determine whether the battery has been stolen based on the location status of the battery.

[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 swap cabinet, the distance between the battery and the battery swap 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 of the battery and the battery swap cabinet to further determine whether the battery is stolen.

[0083] Specifically, the interval duration between adjacent heartbeat signals is queried from the communication information. If the interval duration exceeds the preset duration, it is further checked whether the distance between the battery and the battery swap cabinet exceeds the preset range. If it exceeds the preset range, the battery is determined to be stolen, and the battery management system will trigger an alarm and disable the battery's charging and discharging functions; if the interval duration exceeds the preset duration, but the distance does not exceed the preset range, no alarm will be triggered; if the interval duration does not exceed the preset duration, but the distance exceeds the preset range, no alarm will be triggered.

[0084] The embodiment of the present application determines the duration of communication interruption between the battery management system and the battery swap cabinet through the interval duration of the heartbeat signal sent by the battery swap cabinet recorded in the communication information, and determines the distance between the battery and the battery swap cabinet based on the geographical location information of the battery. If the battery is stolen, the battery and the battery swap cabinet will be disconnected, and the location of the battery will also change. Based on the duration and distance of the communication interruption, it is possible to determine whether the battery has been stolen, thereby improving the accuracy and safety of battery anti-theft detection and realizing the function of automatically identifying whether the battery has been stolen.

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

[0086] The embodiment of the present application sets a preset communication interruption duration and distance threshold. When the communication interruption duration between the battery management system and the battery swap cabinet exceeds the preset duration, and the distance between the battery and the battery swap cabinet exceeds the preset range, the battery is determined to be stolen. It can accurately judge whether the battery is stolen and reduce the possibility of misjudgment. At the same time, it can also promptly discover the battery theft and take corresponding safety measures, such as tracking the battery location or triggering an alarm to notify relevant departments to pursue compensation to ensure the safety of the battery.

[0087] As an optional implementation, when the battery operation status is detected as in the cabinet, the communication information is used to check whether the interruption duration exceeds the preset duration. If it exceeds, the battery's geographical location information is obtained through the positioning module of the battery management system to check whether the distance between the battery and the battery swap cabinet exceeds the preset range. If it exceeds, the battery is determined to be stolen. This can effectively control the call of positioning resources without having to turn on the battery positioning function all the time.

[0088] As another embodiment, after the above S106, the method may further include the following steps: if the battery is stolen, disabling the charging and discharging functions of the battery;

[0089] Send an alarm message to the IoT platform, the alarm message includes the battery identification code of the battery.

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

[0091] Among them, the Internet of Things platform is a platform that integrates various Internet of Things devices, sensors and data analysis functions. It can receive data from various devices and process, analyze and manage these data.

[0092] Among them, alarm information refers to a notification or warning used to remind relevant personnel, such as the battery swap cabinet operation and maintenance personnel or system, of a specific event or status, 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 of the battery and related alarm content, the time and location of the battery theft, etc. Alarm information can help the IoT platform and operation and maintenance personnel take necessary actions to deal with battery theft incidents.

[0093] After determining that the battery has been stolen, the embodiment of the present application prevents the stolen battery from being further used by disabling the charge and discharge functions of the battery, effectively preventing the stolen battery from being recharged or discharged, thereby reducing the value of the stolen battery and reducing the possibility of the stolen battery being used for illegal purposes. In addition, after determining that the battery has been stolen, an alarm message is also sent to the Internet of Things platform to notify the operation and maintenance personnel or the system that a battery theft has occurred, wherein the alarm message includes a battery identification code of the battery, which helps the Internet of Things platform to quickly identify the stolen battery and take further processing measures. By sending the alarm message in a timely manner, the monitoring and response to battery theft incidents can be strengthened, which helps to provide battery safety.

[0094] The following is a complete example to illustrate the battery anti-theft detection method provided in the embodiment of the present application, which should not be understood as limiting the method of the embodiment of the present application. Figure 3 , is a schematic diagram of an application scenario structure of another battery anti-theft detection method provided by an embodiment of the present application. Figure 3 As shown, first, the battery operation status recorded by the battery management system is obtained to determine whether the battery operation status is in the cabinet. If not, no alarm will be triggered; if yes, the communication information recorded by the battery management system is further queried to determine whether the battery management system and the battery swap cabinet are lost, and whether the loss of connection duration meets the preset duration. If not, no alarm will be triggered; if yes, the satellite positioning module is further called to obtain the current location of the battery, determine the distance between the battery and the battery swap cabinet, and check whether the position of the battery has moved, such as moving away from the battery swap cabinet. If the distance does not exceed the preset range, it may be due to equipment failure or other reasons, resulting in interruption of communication between the battery and the battery swap cabinet, and no alarm will be triggered; if the distance exceeds the preset range, it is determined that the battery is stolen, and then an alarm is triggered, and an alarm message is generated. The alarm message includes the battery identification code of the stolen battery, which is then sent to the Internet of Things platform to promptly handle the battery theft incident. At the same time, after determining that the battery is stolen, the battery management system will prohibit the battery's charging and discharging functions to prevent the battery from being further used and causing losses.

[0095] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

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

[0097] The battery management system 420 can perform the following operations: Figure 1 The steps of the battery anti-theft detection method shown.

[0098] Figure 5 A schematic diagram of a battery replacement system is provided for one embodiment of the present application. Figure 5 As shown, a battery swap system 500 provided in an embodiment of the present application includes: a battery 510 and a battery swap cabinet 520;

[0099] The battery 510 communicates with the battery exchange cabinet 520 via a wired manner. The battery 510 may be Figure 4 The battery 400 shown in the figure may be specifically described with reference to the specific contents of the previous embodiment, which will not be repeated here.

[0100] With the above Figure 1 Corresponding to the battery anti-theft detection method shown, the present application embodiment also provides a battery anti-theft detection device. Figure 6 , is a structural schematic diagram of a battery anti-theft detection device 600 provided in an embodiment of the present application. The device 600 is applied to a battery management system of a battery, 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 obtain the battery operating status recorded by the battery management system, and the battery operating status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner.

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

[0103] The determination unit 630 is configured to determine whether the battery is stolen based on the communication information and the geographic location information.

[0104] Optionally, in the case where the communication information includes the interval duration of the heartbeat signal sent by the battery swap cabinet, the determination unit 630 may perform the following steps when determining whether the battery is stolen based on the communication information and the geographic location information: determining the duration of the communication interruption between the battery management system and the battery swap cabinet based on the interval duration of the heartbeat signal sent by the battery swap cabinet;

[0105] Based on the geographic location information, determining the distance between the battery and the battery swap cabinet;

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

[0107] Optionally, when determining whether the battery is stolen based on the communication interruption duration and the distance, the determination unit 630 may perform the following steps: if the communication interruption duration exceeds a preset duration and the distance exceeds a preset distance, determining that the battery is stolen.

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

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

[0110] Based on the reception time points of historical heartbeat signals received before the current time point, the interval duration of the heartbeat signals sent by the power exchange 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 used to perform the following steps before the first acquiring unit 610 acquires the battery operating status recorded by the battery management system: receiving a cabinet-out instruction sent by the battery swap cabinet, wherein the cabinet-out instruction is sent by the battery swap cabinet when the battery is taken out of the battery swap cabinet, and the cabinet-out instruction carries verification information;

[0113] Based on the verification information, determine whether the battery is taken out from the battery swap cabinet in a normal manner;

[0114] If yes, the battery operation status is recorded as an out-of-cabinet status.

[0115] Optionally, when the verification information includes a first key and a communication serial number, and the first key is obtained by encryption by the power swap cabinet 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 used to perform the following steps when determining whether the battery is taken out of the power swap cabinet in a normal manner based on the verification information: encrypting based on the battery identification code of the battery, the communication serial number and the second preset private key to obtain a second key; wherein the second preset private key is determined by negotiation between the battery management system and the target power swap cabinet after the battery is placed in the target power swap cabinet;

[0116] If the first key and the second key are the same, it is determined that the battery is taken out from the battery swap cabinet in a normal manner.

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

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

[0119] Send an alarm message to the Internet of Things platform, wherein the alarm message includes a battery identification code of the battery.

[0120] Obviously, the battery anti-theft detection device provided in the embodiment of the present application can be used as Figure 1 The execution subject of the battery anti-theft detection method shown is, for example Figure 1 In the battery anti-theft detection method shown in FIG. 1 , step S102 may be performed by Figure 6 The first acquisition unit 610 in the battery anti-theft detection device shown in FIG. 1 is executed, and step S104 can be performed by Figure 6 The second acquisition unit 620 in the battery anti-theft detection device shown in FIG. 1 is executed, and step S106 can be performed by Figure 6 The determination unit 630 in the battery theft prevention detection device shown is executed.

[0121] According to another embodiment of the present application, Figure 6The various units in the battery anti-theft detection device shown can be separately or completely combined into one or several other units to form, or one (some) of the units can be further divided into multiple functionally smaller units to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the functions of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present 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 by the collaboration of multiple units.

[0122] According to another embodiment of the present application, the program can be executed on a general computing device such as a computer including a central processing unit (CPU), a random access memory (RAM), a read-only memory (ROM), and other processing elements and storage elements. Figure 1 A computer program (including program code) for each step involved in the corresponding method shown in FIG. Figure 6 The battery anti-theft detection device shown in the embodiment of the present application is used to implement the battery anti-theft detection method of the embodiment of the present application. The computer program can be recorded on a computer-readable storage medium, for example, and transferred to an electronic device through the computer-readable storage medium and run therein.

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

[0124] The processor, network interface and memory can be interconnected through 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. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0125] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

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

[0127] Obtaining the battery operation status recorded by the battery management system, where the battery operation status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner;

[0128] If the battery operation status indicates that the battery is in the battery swap cabinet, then obtaining communication information between the battery management system and the battery swap cabinet and geographic location information of the battery;

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

[0130] The above application Figure 6The method performed 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. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0131] The electronic device may also perform Figure 1 Method and battery anti-theft detection device are implemented in Figure 1 , Figure 6 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.

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

[0133] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to execute Figure 1 The method of the embodiment shown is specifically used to perform the following operations:

[0134] Obtaining the battery operation status recorded by the battery management system, where the battery operation status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner;

[0135] If the battery operation status indicates that the battery is in the battery swap cabinet, then obtaining communication information between the battery management system and the battery swap cabinet and geographic location information of the battery;

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

[0137] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

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

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

[0140] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0141] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

Claims

1. A battery anti-theft detection method, It is characterized in that Battery management systems for batteries, including: Obtaining the battery operation status recorded by the battery management system, where the battery operation status is obtained by the battery management system based on the instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner; If the battery operation status indicates that the battery is in the battery swap cabinet, then obtaining communication information between the battery management system and the battery swap cabinet and geographic location information of the battery; Based on the communication information and the geographic location information, it is determined whether the battery is stolen.

2. The method according to claim 1, It is characterized in that The communication information includes the interval duration of the heartbeat signal sent by the power exchange cabinet; The determining whether the battery is stolen based on the communication information and the geographic location information includes: Determine the duration of the communication interruption between the battery management system and the battery swap cabinet based on the interval duration of the heartbeat signal sent by the battery swap cabinet; Based on the geographic location information, determining the distance between the battery and the battery swap cabinet; Based on the communication interruption duration and the distance, it is determined whether the battery is stolen.

3. The method according to claim 2, It is characterized in that The determining whether the battery is stolen based on the communication interruption duration and the distance includes: If the communication interruption duration exceeds a preset duration and the distance exceeds a preset distance, it is determined that the battery is stolen.

4. The method according to claim 2, It is characterized in that Before acquiring the communication information between the battery management system and the battery swap cabinet, the method further includes: Receiving in real time a heartbeat signal sent by the battery swap cabinet, wherein the heartbeat signal is sent by the battery swap cabinet at a preset interval after the battery enters the battery swap cabinet; Based on the reception time points of historical heartbeat signals received before the current time point, the interval duration of the heartbeat signals sent by the power exchange cabinet is determined and recorded in the communication information.

5. The method according to claim 1, It is characterized in that Before obtaining the battery operation status recorded by the battery management system, the method further includes: Receive a take-out instruction sent by the battery swap cabinet, where the take-out instruction is sent by the battery swap cabinet when the battery is taken out of the battery swap cabinet, and the take-out instruction carries verification information; Based on the verification information, determine whether the battery is taken out of the battery swap cabinet in a normal manner; If yes, the battery operation status is recorded as an out-of-cabinet status.

6. The method according to claim 5, It is characterized in that The verification information includes a first key and a communication serial number, wherein the first key is encrypted by the battery swap cabinet based on a first preset private key, a battery identification code of the battery, and the communication serial number; The determining, based on the verification information, whether the battery is taken out of the battery swap cabinet in a normal manner includes: The second key is obtained by encrypting based on the battery identification code of the battery, the communication serial number and the second preset private key; wherein the second preset private key is determined by negotiation between the battery management system and the target battery swap cabinet after the battery is placed in the target battery swap cabinet; If the first key and the second key are the same, it is determined that the battery is taken out from the battery swap cabinet in a normal manner.

7. The method according to any one of claims 1 to 6, It is characterized in that After determining whether the battery is stolen, the method further includes: If the battery is stolen, disabling the charging and discharging functions of the battery; Sending an alarm message to an Internet of Things platform, wherein the alarm message includes a battery identification code of the battery.

8. A battery anti-theft detection device, It is characterized in that Battery management systems for batteries, including: A first acquisition unit, used to acquire a battery operation status recorded by the battery management system, wherein the battery operation status is obtained by the battery management system based on an instruction setting issued by the battery swap cabinet when the battery enters the battery swap cabinet or is taken out of the battery swap cabinet in a normal manner; A second acquisition unit is used to acquire communication information between the battery management system and the battery swap cabinet and geographic location information of the battery if the battery operation status indicates that the battery is in the battery swap cabinet; A determination unit is used to determine whether the battery is stolen based on the communication information and the geographical location information.

9. A battery, It is characterized in that include: Battery body and battery management system; The battery management system is used to execute the method according to any one of claims 1 to 7.

10. A battery replacement system, It is characterized in that include: The battery swap cabinet and the battery as described in claim 9, wherein the battery swap cabinet communicates with the battery via a wired manner.

Citation Information

Patent Citations

  • Base station alarming and monitoring system

    CN104240424A

  • Electric scooter and anti-theft system

    CN111114672A

  • Vehicle-mounted battery positioning management system and method

    CN112448973A

  • Locking method and built-in lock device for preventing batteries in battery replacement cabinet from being stolen

    CN113002352A

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

    CN114013330A