New energy vehicle theft prevention method and device, electronic equipment and storage medium

By obtaining anti-theft authentication information and status from new energy vehicles, and calculating and verifying the anti-theft verification code, the problem of large code computation in existing technologies is solved, achieving more efficient anti-theft authentication and registration, and reducing the consumption of vehicle computing resources.

CN117698640BActive Publication Date: 2026-08-25IAT AUTOMOBILE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311753964.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2026-08-25
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

In existing anti-theft solutions for new energy vehicles, anti-theft authentication and registration are required each time the system is unlocked, resulting in a large amount of code computation and consuming a significant amount of the vehicle's computing resources.

Method used

By obtaining anti-theft authentication information and status, calculating the anti-theft verification code, and updating the anti-theft status to anti-theft OK status when the verification is successful, the entire vehicle can be unlocked, reducing the amount of code computation.

Benefits of technology

It achieves a clear anti-theft architecture, reduces the consumption of the vehicle's computing resources, and improves the efficiency of anti-theft authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117698640B_ABST
    Figure CN117698640B_ABST
Patent Text Reader

Abstract

The application provides a theft prevention method and device for a new energy vehicle, an electronic device and a storage medium, and is applied to a vehicle controller. The method comprises the following steps: obtaining first theft prevention authentication information and a theft prevention state; calculating a first theft prevention check code based on the first theft prevention authentication information and the theft prevention state; checking the first theft prevention check code and a second theft prevention check code sent by a body controller to obtain a first check result; wherein the second theft prevention check code is calculated by the body controller based on second theft prevention authentication information; and updating the current theft prevention state based on the first check result to complete the theft prevention authentication of the new energy vehicle. According to the application, the theft prevention state (such as theft prevention) triggers the calling of a calculation module to calculate the first theft prevention check code, and the first theft prevention check code and the second theft prevention check code are checked, and the theft prevention state is updated to a theft prevention OK state in the case of passing the check, so that the vehicle is disarmed, the code operation amount is reduced, and the occupation of the vehicle operation resources is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle design, and more particularly to an anti-theft method and device for new energy vehicles. Background Technology

[0002] Currently, the anti-theft functions of vehicle controllers mainly include: anti-theft registration and anti-theft authentication. The vehicle controller calculates an anti-theft key based on the vehicle's anti-theft authentication information, compares it with the key sent by the body controller to achieve vehicle authentication, and confirms the vehicle is ready. The vehicle controller calculates authentication key1 based on the vehicle authentication information and the registration information sent by the body controller, compares it with key1 sent by the body controller to achieve vehicle registration, calculates key2, and sends the anti-theft authentication information to the body controller. Currently, the anti-theft function is implemented by independently and in real-time calculating keys, key1, and key2 based on vehicle information, achieving vehicle anti-theft authentication and registration.

[0003] However, in the existing solution, KEY, KEY1, and KEY2 need to be calculated simultaneously and in real time every time the car is unlocked, which makes the processing logic of KEY, KEY1, and KEY2 unclear and increases the amount of code computation.

[0004] In view of this, this application is hereby filed. Summary of the Invention

[0005] This application provides an anti-theft method, device, electronic device, and storage medium for new energy vehicles, which solves the technical problem that in the prior art, new energy vehicles need to undergo anti-theft authentication and anti-theft registration every time they are unlocked, resulting in a large amount of code computation and occupying a lot of the vehicle's computing resources.

[0006] According to a first aspect of the present invention, an anti-theft method for a new energy vehicle is provided, applied to a vehicle controller. The method includes: acquiring first anti-theft authentication information and anti-theft status; calculating a first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status; verifying the first anti-theft verification code and a second anti-theft verification code sent by the vehicle controller to obtain a first verification result; wherein the second anti-theft verification code is calculated by the vehicle controller based on the second anti-theft authentication information; and updating the current anti-theft status based on the first verification result to complete the anti-theft authentication of the new energy vehicle.

[0007] Optionally, updating the current anti-theft status based on the first verification result to complete the anti-theft authentication of the new energy vehicle includes: if the first verification result is successful, updating the current anti-theft status to anti-theft OK status and sending the anti-theft OK status to the vehicle controller to unlock the vehicle controller, thus successfully authenticating the anti-theft; if the first verification result is unsuccessful, updating the current anti-theft status to anti-theft NG status and sending the anti-theft NG status to the vehicle controller, thus failing the anti-theft authentication.

[0008] Optionally, in the event of anti-theft authentication failure, the method further includes: receiving a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status sent by the vehicle controller; wherein the first registration verification code is calculated by the vehicle controller based on the vehicle registration information; and performing anti-theft registration based on the registration request, the vehicle registration information, and the first registration verification code.

[0009] Optionally, the step of performing anti-theft registration based on the registration request, the vehicle registration information, and the first registration verification code includes: updating the current anti-theft status to an anti-theft registration status based on the received registration request; calculating a second registration verification code based on the anti-theft registration status and the vehicle registration information; verifying the first registration verification code and the second registration verification code to obtain a second verification result; and if the second verification result is successful, updating the current anti-theft status to an anti-theft registration completed status and storing the vehicle controller registration information in the vehicle controller.

[0010] Optionally, after verifying the first registration verification code and the second registration verification code to obtain the second verification result, the method further includes: if the second verification result is unsuccessful, updating the current anti-theft status to an anti-theft registration failure status; and issuing an alarm in response to the anti-theft registration failure status to notify the user that the anti-theft registration has failed.

[0011] Optionally, after updating the current anti-theft status to an anti-theft registration completed status and storing the vehicle controller registration information in the vehicle controller when the second verification result is passed, the method includes: updating the anti-theft status to an anti-theft registration completed status based on the second verification result; calculating a third registration verification code based on the registration completed status and the vehicle controller registration information; and sending the vehicle controller registration information and the third registration verification code to the vehicle controller to store the vehicle controller registration information in the vehicle controller.

[0012] Optionally, the first anti-theft authentication information includes an anti-theft random code, vehicle controller registration information, and body controller registration information.

[0013] According to a second aspect of the present invention, an anti-theft device for a new energy vehicle is provided, comprising: an acquisition module for acquiring first anti-theft authentication information and anti-theft status; a calculation module for calculating a first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status; a verification module for verifying the first anti-theft verification code and a second anti-theft verification code sent by a vehicle body controller to obtain a first verification result; wherein the second anti-theft verification code is calculated by the vehicle body controller based on the second anti-theft authentication information; and an authentication module for updating the current anti-theft status based on the first verification result to complete the anti-theft authentication of the new energy vehicle.

[0014] Optionally, the authentication module is configured to: if the first verification result is successful, update the current anti-theft status to anti-theft OK status and send the anti-theft OK status to the vehicle controller to unlock the vehicle controller, thus achieving successful anti-theft authentication; if the first verification result is unsuccessful, update the current anti-theft status to anti-theft NG status and send the anti-theft NG status to the vehicle controller, thus achieving unsuccessful anti-theft authentication.

[0015] Optionally, the device further includes: a receiving module, configured to receive a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status sent by the vehicle body controller; wherein the first registration verification code is calculated by the vehicle body controller based on the vehicle registration information; and a registration module, configured to perform anti-theft registration based on the registration request, the vehicle registration information, and the first registration verification code.

[0016] Optionally, the registration module is further configured to: update the current anti-theft status to an anti-theft registration status based on the received registration request; calculate a second registration verification code based on the anti-theft registration status and the vehicle registration information; verify the first registration verification code and the second registration verification code to obtain a second verification result; and if the second verification result is successful, update the current anti-theft status to an anti-theft registration completed status and store the vehicle controller registration information in the vehicle controller.

[0017] Optionally, the registration module is further configured to: update the current anti-theft status to an anti-theft registration failure status if the second verification result is unsuccessful; and issue an alarm in response to the anti-theft registration failure status to notify the user that the anti-theft registration has failed.

[0018] Optionally, the registration module is further configured to: update the anti-theft status to an anti-theft registration completed status based on the second verification result; calculate a third registration verification code based on the registration completed status and the vehicle controller registration information; and send the vehicle controller registration information and the third registration verification code to the body controller to store the vehicle controller registration information in the body controller.

[0019] Optionally, the first anti-theft authentication information includes an anti-theft random code, vehicle controller registration information, and body controller registration information.

[0020] According to a third aspect of the present invention, an electronic device is provided, the electronic device comprising: a processor and a memory storing computer program instructions; wherein the processor, when executing the computer program instructions, implements the anti-theft method for new energy vehicles as described above.

[0021] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein computer program instructions are stored thereon, and when executed by a processor, the computer program instructions implement the anti-theft method for new energy vehicles as described above.

[0022] In summary, the anti-theft method, device, electronic equipment, and storage medium for new energy vehicles provided in this application have at least the following beneficial effects:

[0023] This application provides an anti-theft method for new energy vehicles, applied to a vehicle controller. The method includes: acquiring first anti-theft authentication information and an anti-theft status; calculating a first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status; verifying the first anti-theft verification code and a second anti-theft verification code sent by the vehicle controller to obtain a first verification result; wherein the second anti-theft verification code is calculated by the vehicle controller based on the second anti-theft authentication information; and updating the current anti-theft status based on the first verification result to complete the anti-theft authentication of the new energy vehicle. This application triggers a call to a calculation module to calculate the first anti-theft verification code and verify the first and second anti-theft verification codes when the anti-theft status (e.g., in anti-theft mode) is activated. Upon successful verification, the anti-theft status is updated to an "anti-theft OK" status, thus deactivating the vehicle's anti-theft measures. Compared to existing solutions, this application's solution has a clear architecture, reduces the amount of code computation, and lowers the consumption of vehicle computing resources. Attached Figure Description

[0024] To more clearly illustrate the specific embodiments of this application or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A flowchart illustrating an anti-theft method for a new energy vehicle provided as an embodiment of this application;

[0026] Figure 2 A structural diagram of an anti-theft device for a new energy vehicle provided as an embodiment of this application;

[0027] Figure 3 This is a structural diagram of an electronic device provided as an embodiment of the present application. Detailed Implementation

[0028] To make the above and other features and advantages of this application clearer, the application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explanation to those skilled in the art, and are exemplary only, not restrictive.

[0029] In the following description, numerous specific details are set forth to provide a thorough understanding of this application. However, it will be apparent to those skilled in the art that the specific details are not required to practice this application. In other instances, well-known steps or operations have not been described in detail to avoid obscuring this application.

[0030] The anti-theft method for new energy vehicles provided in this application embodiment can be executed by the anti-theft device for new energy vehicles provided in this application embodiment, which can be configured in an electronic device.

[0031] Please see Figure 1 As shown, this application provides an anti-theft method for new energy vehicles, applied to the vehicle controller. The method includes:

[0032] S100, obtains the first anti-theft authentication information and anti-theft status.

[0033] Specifically, the executing entity of this application can be the vehicle controller. That is, after receiving the deactivation signal, the vehicle controller can activate the anti-theft function to perform anti-theft authentication and unlock the vehicle controller and body controller. The deactivation signal can be the vehicle IG-ON signal. Correspondingly, after the vehicle controller activates the anti-theft function based on the deactivation signal, its anti-theft status can be "anti-theft in progress." Furthermore, the first anti-theft authentication information consists of plaintext and a key composed of vehicle controller registration information, body controller anti-theft registration information, and an anti-theft random code. In some embodiments, the anti-theft random code is a random code stored in the vehicle controller and body controller when the vehicle is off the production line. The vehicle controller registration information is the vehicle controller's identity ID (e.g., anti-theft ID), and the body controller registration information is the body controller's identity ID (e.g., anti-theft Exd and anti-theft Exc).

[0034] S200 calculates the first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status.

[0035] Specifically, in this application, the vehicle controller can call the calculation module according to the anti-theft status (such as in anti-theft mode) to perform calculations based on the acquired data. For example, in this step, the vehicle controller can call the calculation module according to the anti-theft status in anti-theft mode and calculate the first anti-theft verification code based on the acquired first anti-theft authentication information.

[0036] S300, verify the first anti-theft verification code and the second anti-theft verification code sent by the vehicle body controller to obtain the first verification result; wherein, the second anti-theft verification code is calculated by the vehicle body controller based on the second anti-theft authentication information.

[0037] Specifically, while the vehicle controller calculates the first anti-theft verification code, the body controller can also calculate the second anti-theft verification code based on the second anti-theft authentication information stored in the body controller. After calculation, the second anti-theft verification code is sent to the vehicle controller, allowing the vehicle controller to verify both the first and second anti-theft verification codes. In some embodiments, the second anti-theft authentication information may also include plaintext and a key composed of vehicle controller registration information, body controller anti-theft information, and an anti-theft random code, to ensure that verification of the first and second anti-theft verification codes is successful when the vehicle controller and body controller are compatible.

[0038] S400 updates the current anti-theft status based on the first verification result to complete the anti-theft authentication of new energy vehicles.

[0039] Specifically, the first verification result can be either "pass" or "fail." Correspondingly, if the first verification result is "pass," the corresponding anti-theft status can be "anti-theft OK"; if the first verification result is "fail," the corresponding anti-theft status can be "anti-theft NG." That is, after updating the current anti-theft status to "anti-theft OK" based on the first verification result, the vehicle controller and body controller can be unlocked; if the current anti-theft status is updated to "anti-theft NG" based on the first verification result, the vehicle controller and body controller remain locked. This achieves anti-theft control for the entire vehicle.

[0040] In summary, this application triggers the calculation module to calculate the first anti-theft verification code by the anti-theft status (such as in anti-theft mode), and verifies the first anti-theft verification code and the second anti-theft verification code. If the verification is successful, the anti-theft status is updated to the anti-theft OK status, thereby unlocking the entire vehicle. Compared with existing solutions, the solution of this application has a clear architecture and reduces the amount of code computation, thus reducing the occupation of the vehicle's computing resources.

[0041] In some embodiments of this application, the current anti-theft status is updated based on the first verification result to complete the anti-theft authentication of the new energy vehicle, including: if the first verification result is successful, updating the current anti-theft status to anti-theft OK status and sending the anti-theft OK status to the vehicle controller to unlock the vehicle controller, and the anti-theft authentication is successful; if the first verification result is unsuccessful, updating the current anti-theft status to anti-theft NG status and sending the anti-theft NG status to the vehicle controller, and the anti-theft authentication fails.

[0042] In some embodiments of this application, in the event of anti-theft authentication failure, the method further includes: receiving a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status sent by the vehicle controller; wherein the first registration verification code is calculated by the vehicle controller based on the vehicle registration information; and performing anti-theft registration based on the registration request, vehicle registration information, and the first registration verification code.

[0043] Specifically, to avoid initial anti-theft authentication failure due to incomplete authentication information stored by both the vehicle controller and body controller, leading to misjudgments of the decryption result, this embodiment performs anti-theft registration after authentication failure. This exchanges registration information between the vehicle controller and body controller and further verifies them. It should be noted that before the initial registration, the vehicle controller only stores its registration information, and the body controller only stores its registration information. This mismatch between the first anti-theft verification code calculated by the vehicle controller and the second anti-theft verification code calculated by the body controller results in authentication failure.

[0044] In some embodiments of this application, anti-theft registration is performed based on a registration request, vehicle registration information, and a first registration verification code, including: updating the current anti-theft status to an anti-theft registration status based on the received registration request; calculating a second registration verification code based on the anti-theft registration status and vehicle registration information; verifying the first registration verification code and the second registration verification code to obtain a second verification result; and if the second verification result is successful, updating the current anti-theft status to an anti-theft registration completed status and storing the vehicle controller registration information in the vehicle controller.

[0045] Specifically, during the anti-theft registration process, the calculation module can be triggered based on the anti-theft status (anti-theft registration status) to calculate the second registration verification code, and to verify the first and second registration verification codes. If the verification passes, the vehicle controller registration information is stored in the vehicle controller. This enables verification between the vehicle controller and the vehicle controller, as well as the exchange of vehicle controller registration information, facilitating subsequent anti-theft authentication.

[0046] In some embodiments of this application, after verifying the first registration verification code and the second registration verification code to obtain the second verification result, the method further includes: if the second verification result is unsuccessful, updating the current anti-theft status to an anti-theft registration failure status; and in response to the anti-theft registration failure status, issuing an alarm to notify the user that the anti-theft registration has failed.

[0047] In some embodiments of this application, after updating the current anti-theft status to the anti-theft registration completed status and storing the vehicle controller registration information in the vehicle controller when the second verification result is passed, the method further includes: updating the anti-theft status to the anti-theft registration completed status based on the second verification result; calculating a third registration verification code based on the registration completed status and the vehicle controller registration information; and sending the vehicle controller registration information and the third registration verification code to the vehicle controller to store the vehicle controller registration information in the vehicle controller.

[0048] Specifically, during the anti-theft registration process, the calculation module can be triggered to calculate the third registration verification code based on the anti-theft status (anti-theft registration completed status), and the vehicle controller registration information and the third registration verification code can be sent to the body controller. Then, the body controller calculates the fourth registration verification code based on the vehicle controller registration information, and verifies the third and fourth registration verification codes. If the verification is successful, the vehicle controller registration information can be stored in the body controller to complete the anti-theft registration.

[0049] It should be noted that in the scheme of this application, the calculation module can be called based on the anti-theft status to calculate the anti-theft verification code or registration verification code, thereby making the architecture of anti-theft authentication and anti-theft registration in this application clearer. In particular, in some embodiments, different anti-theft statuses can call the same calculation module to further reduce the amount of code computation.

[0050] Please see Figure 2 As shown, this application provides an anti-theft device for a new energy vehicle, the device comprising:

[0051] The acquisition module 201 is used to acquire the first anti-theft authentication information and anti-theft status.

[0052] Specifically, the executing entity of this application can be the vehicle controller. That is, after receiving the deactivation signal, the vehicle controller can activate the anti-theft function to perform anti-theft authentication and unlock the vehicle controller and body controller. The deactivation signal can be the vehicle IG-ON signal. Correspondingly, after the vehicle controller activates the anti-theft function based on the deactivation signal, its anti-theft status can be "anti-theft in progress." Furthermore, the first anti-theft authentication information consists of plaintext and a key composed of vehicle controller registration information, body controller anti-theft registration information, and an anti-theft random code. In some embodiments, the anti-theft random code is a random code stored in the vehicle controller and body controller when the vehicle is off the production line. The vehicle controller registration information is the vehicle controller's identity ID (e.g., anti-theft ID), and the body controller registration information is the body controller's identity ID (e.g., anti-theft Exd and anti-theft Exc).

[0053] The calculation module 202 is used to calculate the first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status.

[0054] Specifically, in this application, the vehicle controller can call the calculation module according to the anti-theft status (such as in anti-theft mode) to perform calculations based on the acquired data. For example, in this step, the vehicle controller can call the calculation module according to the anti-theft status in anti-theft mode and calculate the first anti-theft verification code based on the acquired first anti-theft authentication information.

[0055] The verification module 203 is used to verify the first anti-theft verification code and the second anti-theft verification code sent by the vehicle body controller to obtain the first verification result; wherein, the second anti-theft verification code is calculated by the vehicle body controller based on the second anti-theft authentication information.

[0056] Specifically, while the vehicle controller calculates the first anti-theft verification code, the body controller can also calculate the second anti-theft verification code based on the second anti-theft authentication information stored in the body controller. After calculation, the second anti-theft verification code is sent to the vehicle controller, allowing the vehicle controller to verify both the first and second anti-theft verification codes. In some embodiments, the second anti-theft authentication information may also include plaintext and a key composed of vehicle controller registration information, body controller anti-theft information, and an anti-theft random code, to ensure that verification of the first and second anti-theft verification codes is successful when the vehicle controller and body controller are compatible.

[0057] The authentication module 204 is used to update the current anti-theft status based on the first verification result in order to complete the anti-theft authentication of the new energy vehicle.

[0058] Specifically, the first verification result can be either "pass" or "fail." Correspondingly, if the first verification result is "pass," the corresponding anti-theft status can be "anti-theft OK"; if the first verification result is "fail," the corresponding anti-theft status can be "anti-theft NG." That is, after updating the current anti-theft status to "anti-theft OK" based on the first verification result, the vehicle controller and body controller can be unlocked; if the current anti-theft status is updated to "anti-theft NG" based on the first verification result, the vehicle controller and body controller remain locked. This achieves anti-theft control for the entire vehicle.

[0059] In some embodiments of this application, the authentication module is configured to: update the current anti-theft status to anti-theft OK status and send the anti-theft OK status to the vehicle controller when the first verification result is successful, thereby unlocking the vehicle controller and achieving successful anti-theft authentication; and update the current anti-theft status to anti-theft NG status and send the anti-theft NG status to the vehicle controller when the first verification result is unsuccessful, thereby failing anti-theft authentication.

[0060] In some embodiments of this application, in the event of anti-theft authentication failure, the device further includes: a receiving module, configured to receive a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status sent by the vehicle body controller; wherein the first registration verification code is calculated by the vehicle body controller based on the vehicle registration information; and a registration module, configured to perform anti-theft registration based on the registration request, vehicle registration information, and the first registration verification code.

[0061] In some embodiments of this application, the registration module is configured to: update the current anti-theft status to an anti-theft registration status based on a received registration request; calculate a second registration verification code based on the anti-theft registration status and vehicle registration information; verify the first registration verification code and the second registration verification code to obtain a second verification result; and if the second verification result is successful, update the current anti-theft status to an anti-theft registration completed status and store the vehicle controller registration information in the vehicle controller.

[0062] In some embodiments of this application, the registration module is further configured to: update the current anti-theft status to an anti-theft registration failure status if the second verification result is unsuccessful; and issue an alarm in response to the anti-theft registration failure status to notify the user that the anti-theft registration has failed.

[0063] In some embodiments of this application, the registration module is further configured to: update the anti-theft status to the anti-theft registration completed status based on the second verification result; calculate the third registration verification code based on the registration completed status and the vehicle controller registration information; and send the vehicle controller registration information and the third registration verification code to the body controller to store the vehicle controller registration information in the body controller.

[0064] In summary, this application triggers the calculation module to calculate the first anti-theft verification code by the anti-theft status (such as in anti-theft mode), and verifies the first anti-theft verification code and the second anti-theft verification code. If the verification is successful, the anti-theft status is updated to the anti-theft OK status, thereby unlocking the entire vehicle. Compared with existing solutions, the solution of this application has a clear architecture and reduces the amount of code computation, thus reducing the occupation of the vehicle's computing resources.

[0065] It should be understood that the specific features, operations, and details described herein with respect to the methods of this application can also be similarly applied to the apparatus and system of this application, or vice versa. Furthermore, each step of the methods of this application described above can be performed by a corresponding component or unit of the apparatus or system of this application.

[0066] It should be understood that the various modules / units of the device of this application can be implemented wholly or partially through software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of the electronic device in hardware or firmware form or independent of the processor, or it can be stored in the memory of the electronic device in software form for the processor to call to execute the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.

[0067] Please see Figure 3 As shown, this application provides an electronic device 300, which includes a processor 301 and a memory 302 storing computer program instructions. The processor 301 executes the computer program instructions to implement the steps of the aforementioned anti-theft method for new energy vehicles. This electronic device 300 can be broadly categorized as a server, terminal, or any other electronic device with the necessary computing and / or processing capabilities.

[0068] In one embodiment, the electronic device 300 may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the electronic device 300 can be used to provide necessary computing, processing, and / or control capabilities. The memory of the electronic device 300 may include non-volatile storage media and internal memory. The non-volatile storage media may store an operating system, computer programs, etc. The internal memory can provide an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface and communication interface of the electronic device 300 can be used to connect and communicate with external devices via a network. When the computer program is executed by the processor, it performs the steps of the method of this application.

[0069] This application provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the aforementioned anti-theft method for new energy vehicles.

[0070] Those skilled in the art will understand that the method steps of this application can be performed by a computer program instructing related hardware, such as electronic device 300 or a processor. The computer program can be stored in a non-transitory computer-readable storage medium, and its execution causes the steps of this application to be performed. Depending on the context, any reference herein to memory, storage, or other media may include non-volatile or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.

[0071] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A method for preventing theft of new energy vehicles, characterized in that, Applied to a vehicle controller, the method includes: Obtain first anti-theft authentication information and anti-theft status; the first anti-theft authentication information includes vehicle controller registration information, body controller registration information and anti-theft random code, wherein the anti-theft random code is a random code stored in the vehicle controller and the body controller when the vehicle is off the production line; Based on the first anti-theft authentication information and the anti-theft status, the first anti-theft verification code is calculated; The first anti-theft verification code and the second anti-theft verification code sent by the vehicle controller are verified to obtain a first verification result; wherein, the second anti-theft verification code is calculated by the vehicle controller based on the second anti-theft authentication information; the second anti-theft authentication information includes the vehicle controller registration information, the vehicle controller registration information, and the anti-theft random code; The current anti-theft status is updated based on the first verification result to complete the anti-theft authentication of the new energy vehicle; The step of updating the current anti-theft status based on the first verification result to complete the anti-theft authentication of the new energy vehicle includes: If the first verification result is successful, the current anti-theft status is updated to anti-theft OK status and the anti-theft OK status is sent to the vehicle controller to unlock the vehicle controller, and the anti-theft authentication is successful. If the first verification result is unsuccessful, the current anti-theft status is updated to anti-theft NG status and the anti-theft NG status is sent to the vehicle controller, indicating that the anti-theft authentication has failed. In the event of anti-theft authentication failure, the method further includes: The system receives a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status from the vehicle body controller; wherein the first registration verification code is calculated by the vehicle body controller based on the vehicle registration information. Based on the registration request, the vehicle registration information, and the first registration verification code, anti-theft registration is performed; The anti-theft registration based on the registration request, the vehicle registration information, and the first registration verification code includes: Based on the received registration request, the current anti-theft status is updated to an anti-theft registration status; Calculate the second registration verification code based on the anti-theft registration status and the vehicle registration information; Verify the first registration verification code and the second registration verification code to obtain the second verification result; If the second verification result is passed, the current anti-theft status is updated to the anti-theft registration completed status, and the body controller registration information is stored in the vehicle controller; Based on the second verification result, the anti-theft status is updated to anti-theft registration completed status; Calculate the third registration verification code based on the registration completion status and the vehicle controller registration information; The vehicle controller registration information and the third registration verification code are sent to the body controller to store the vehicle controller registration information in the body controller.

2. The anti-theft method for new energy vehicles according to claim 1, characterized in that, After verifying the first registration verification code and the second registration verification code to obtain the second verification result, the method further includes: If the second verification result is unsuccessful, the current anti-theft status will be updated to anti-theft registration failure status; In response to the anti-theft registration failure status, an alarm is issued to notify the user that the anti-theft registration has failed.

3. An anti-theft device for a new energy vehicle, characterized in that, include: The acquisition module is used to acquire the first anti-theft authentication information and anti-theft status; The first anti-theft authentication information includes vehicle controller registration information, body controller registration information, and anti-theft random code. The anti-theft random code is a random code stored in the vehicle controller and the body controller when the vehicle is off the production line. The calculation module is used to calculate the first anti-theft verification code based on the first anti-theft authentication information and the anti-theft status; The verification module is used to verify the first anti-theft verification code and the second anti-theft verification code sent by the vehicle controller to obtain a first verification result; wherein, the second anti-theft verification code is calculated by the vehicle controller based on the second anti-theft authentication information; the second anti-theft authentication information includes the vehicle controller registration information, the vehicle controller registration information, and the anti-theft random code; The authentication module is used to update the current anti-theft status to anti-theft OK status and send the anti-theft OK status to the vehicle controller when the first verification result is successful, thereby unlocking the vehicle controller and the anti-theft authentication is successful; when the first verification result is unsuccessful, the current anti-theft status is updated to anti-theft NG status and the anti-theft NG status is sent to the vehicle controller, thereby the anti-theft authentication fails. The receiving module is used to receive, in the event of anti-theft authentication failure, a registration request, vehicle registration information, and a first registration verification code generated based on the anti-theft NG status sent by the vehicle controller; wherein, the first registration verification code is calculated by the vehicle controller based on the vehicle registration information; The registration module is used to update the current anti-theft status to an anti-theft registration status based on the received registration request; calculate a second registration verification code based on the anti-theft registration status and the vehicle registration information; verify the first registration verification code and the second registration verification code to obtain a second verification result; and if the second verification result is successful, update the current anti-theft status to an anti-theft registration completed status and store the vehicle controller registration information in the vehicle controller. The registration module is further configured to: update the anti-theft status to an anti-theft registration completed status based on the second verification result; calculate a third registration verification code based on the registration completed status and the vehicle controller registration information; and send the vehicle controller registration information and the third registration verification code to the body controller to store the vehicle controller registration information in the body controller.

4. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the anti-theft method for new energy vehicles as described in any one of claims 1-2.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the anti-theft method for new energy vehicles as described in any one of claims 1-2.

Citation Information

Patent Citations

  • Vehicle anti-theft system configuration method, computer readable storage medium and terminal

    CN109624919A

  • Automobile anti-theft control method and device, automobile and electronic equipment

    CN114590224A

  • Automobile safety protection method, automobile and storage medium

    CN115973093A