A vehicle theft prevention method and related apparatus
By setting a decryption algorithm between the vehicle parking control module and the body control module, and using the unlock verification information triggered by the unlock signal to perform calculations, the problems of space occupation and frequent maintenance of existing vehicle anti-theft systems are solved, realizing efficient vehicle anti-theft function and improving driving experience and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SAIC MOTOR
- Filing Date
- 2023-06-20
- Publication Date
- 2026-05-12
AI Technical Summary
Existing vehicle anti-theft systems, such as electronic steering column locks, take up space, require regular maintenance, affect the driving experience, and are not effective in preventing vehicle theft.
By setting a decryption algorithm between the vehicle's parking control module and body control module, and performing unlock verification information calculations when the unlock signal is triggered, the vehicle's anti-theft authentication status is determined, thereby realizing the anti-theft function.
It achieves anti-theft without adding extra mechanical structures, reduces vehicle load, improves driver experience, and enhances vehicle anti-theft security through multi-layered protection.
Smart Images

Figure CN116674495B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle anti-theft method and related device. BACKGROUND
[0002] With the development of vehicle technology, the number of vehicles is also increasing, and vehicle theft occurs frequently. Therefore, it is necessary to design an anti-theft system for vehicles to make vehicles have anti-theft function and improve vehicle safety.
[0003] The related technology installs an electronic steering column lock (ESCL) on the vehicle, locks the steering column of the vehicle through the lock tongue system of the electronic steering column lock to protect the safety of the vehicle.
[0004] However, the electronic steering column lock occupies a certain space of the vehicle, increases the load of the vehicle, and needs to be regularly maintained, otherwise it will make the driver very difficult to turn the steering wheel, affecting the driving experience of the driver. SUMMARY
[0005] In order to solve the above technical problems, the present application provides a vehicle anti-theft method and related device, which realizes vehicle anti-theft through an electronic parking brake system.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, the embodiments of the present application disclose a vehicle anti-theft method applied to a vehicle, wherein the vehicle includes a parking control module and a body control module, and the method comprises:
[0008] In response to the triggering operation of the unlocking signal, the parking control module receives the unlocking verification information sent by the body control module; the parking control module is preset with a first decryption algorithm, and the body control module is preset with a second decryption algorithm; the first decryption algorithm is the same as or corresponds to the second decryption algorithm;
[0009] According to the first decryption algorithm, the parking control module operates the unlocking verification information to obtain a first operation result;
[0010] According to the second decryption algorithm, the body control module operates the unlocking verification information to obtain a second operation result;
[0011] If the first operation result and the second operation result satisfy a confidence condition, it is determined that the anti-theft authentication of the vehicle is in a pass state;
[0012] If the first operation result and the second operation result do not satisfy the confidence condition, it is determined that the anti-theft authentication of the vehicle is in a failed state.
[0013] Optionally, the unlocking verification information is randomly generated by the body control module.
[0014] Optionally, the operation step of the first operation result comprises:
[0015] According to the first decryption algorithm and the vehicle identification code of the vehicle, the parking control module operates the unlocking verification information to obtain a first operation result;
[0016] The operation step of the second operation result comprises:
[0017] According to the second decryption algorithm and the vehicle identification code of the vehicle, the body control module operates the unlocking verification information to obtain a second operation result.
[0018] Optionally, the parking control module and the body control module are pre-stored with the same key code.
[0019] The operation step of the first operation result comprises:
[0020] According to the first decryption algorithm and the key code, the parking control module operates the unlocking verification information to obtain a first operation result;
[0021] The operation step of the second operation result comprises:
[0022] According to the second decryption algorithm and the key code, the body control module operates the unlocking verification information to obtain a second operation result.
[0023] Optionally, the method further comprises:
[0024] If the anti-theft authentication of the vehicle is in a passed state, the parking control module controls the parking brake to release the parking of the vehicle;
[0025] If the anti-theft authentication of the vehicle is in a failed state, the parking control module controls the parking brake to brake the vehicle.
[0026] Optionally, the method further comprises:
[0027] If the anti-theft authentication of the vehicle is in a failed state, the body control module prohibits the gear shifting of the vehicle.
[0028] Optionally, the parking control module comprises a first parking control sub-module and a second parking control sub-module.
[0029] The calculation steps for the first calculation result include:
[0030] According to the first decryption algorithm, the first parking control submodule performs calculations on the unlock verification information to obtain a first calculation result;
[0031] If the first parking control submodule malfunctions, the calculation steps for the first calculation result include:
[0032] According to the first decryption algorithm, the second parking control submodule performs calculations on the unlock verification information to obtain the first calculation result.
[0033] Secondly, embodiments of this application disclose a vehicle anti-theft device applied to a vehicle, the vehicle including a parking control module and a body control module, the device comprising:
[0034] A request receiving unit is used to respond to the triggering operation of the unlock signal. The parking control module receives the unlock verification information sent by the body control module. The parking control module has a first decryption algorithm and a second decryption algorithm. The first decryption algorithm is the same as or corresponds to the second decryption algorithm.
[0035] The first information processing unit is used to perform calculations on the unlock verification information by the parking control module according to the first decryption algorithm to obtain a first calculation result;
[0036] The second information processing unit is used to perform calculations on the unlock verification information through the vehicle control module according to the second decryption algorithm to obtain a second calculation result.
[0037] The first state determination unit is used to determine that the anti-theft authentication of the vehicle is passed if the first calculation result and the second calculation result satisfy the confidence condition.
[0038] The second state determination unit is used to determine that the anti-theft authentication of the vehicle is failed if the first calculation result and the second calculation result do not meet the confidence condition.
[0039] Optionally, the unlock verification information is randomly generated by the vehicle body control module.
[0040] Optionally, the first information processing unit is further configured to:
[0041] Based on the first decryption algorithm and the vehicle identification number of the vehicle, the parking control module performs calculations on the unlock verification information to obtain a first calculation result;
[0042] The second information processing unit is further configured to:
[0043] Based on the second decryption algorithm and the vehicle identification number of the vehicle, the unlock verification information is processed by the body control module to obtain the second calculation result.
[0044] Optionally, the parking control module and the body control module are pre-set with the same key code;
[0045] The first information processing unit is further configured to:
[0046] Based on the first decryption algorithm and the key code, the parking control module performs calculations on the unlock verification information to obtain a first calculation result;
[0047] The second information processing unit is further configured to:
[0048] Based on the second decryption algorithm and the key code, the unlock verification information is processed by the vehicle control module to obtain a second calculation result.
[0049] Optionally, the device further includes:
[0050] The parking release control unit is used to control the parking brake to release the vehicle if the vehicle's anti-theft authentication is successful.
[0051] The parking brake control unit is used to control the parking brake to apply parking brake to the vehicle if the vehicle's anti-theft authentication fails.
[0052] Optionally, the device further includes:
[0053] The gear shifting prohibition unit is used to prohibit the vehicle from shifting gears via the body control module if the vehicle's anti-theft authentication fails.
[0054] Optionally, the parking control module includes a first parking control submodule and a second parking control submodule;
[0055] The first information processing unit is further configured to:
[0056] According to the first decryption algorithm, the first parking control submodule performs calculations on the unlock verification information to obtain a first calculation result;
[0057] If the first parking control submodule malfunctions, the first information processing unit is also used for:
[0058] According to the first decryption algorithm, the second parking control submodule performs calculations on the unlock verification information to obtain the first calculation result.
[0059] Thirdly, embodiments of this application disclose a computer device, which includes a processor and a memory:
[0060] The memory is used to store program code and transmit the program code to the processor;
[0061] The processor is configured to execute the vehicle anti-theft method as described in the first aspect and any alternative to the first aspect, according to the instructions in the program code.
[0062] Fourthly, embodiments of this application disclose a computer-readable storage medium for storing a computer program, which, when executed by a processor, performs the vehicle anti-theft method as described in the first aspect and any alternative to the first aspect.
[0063] As can be seen from the above technical solution, in response to the triggering operation of the unlock signal, the parking control module receives the unlock verification information sent by the body control module. The parking control module has a pre-set first decryption algorithm, and the body control module has a pre-set second decryption algorithm. The first decryption algorithm and the second decryption algorithm are the same as or correspond to each other. According to the first decryption algorithm, the parking control module performs calculations on the unlock verification information to obtain a first calculation result. According to the second decryption algorithm, the body control module performs calculations on the unlock verification information to obtain a second calculation result. If the first calculation result and the second calculation result meet the confidence condition, the vehicle's anti-theft authentication is determined to be in a passed state; if the first calculation result and the second calculation result do not meet the confidence condition, the vehicle's anti-theft authentication is determined to be in a failed state. That is, based on the pre-set decryption algorithms of the parking control module and the body control module, calculations are performed on the unlock verification information to obtain calculation results, and then the calculation results obtained are compared to determine the vehicle's anti-theft authentication status. If the parking control module is replaced, indicating vehicle theft, the replaced parking control module lacks a decryption algorithm, or its built-in decryption algorithm differs from or is incompatible with the decryption algorithm built into the body control module. Furthermore, the first calculation result generated based on the unlock verification information and the second calculation result generated by the body control module do not meet the confidence condition, resulting in vehicle anti-theft authentication failing and thus preventing vehicle theft. Using the parking control module for anti-theft eliminates the need for other dedicated vehicle anti-theft components such as electronic steering column locks, reducing vehicle maintenance costs and improving the driver's experience. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 A flowchart illustrating a vehicle anti-theft method provided in this application embodiment;
[0066] Figure 2 A detailed flowchart illustrating a vehicle anti-theft method provided in this application embodiment;
[0067] Figure 3 A hardware logic diagram of a vehicle anti-theft system provided in this application embodiment;
[0068] Figure 4 A structural diagram of a vehicle anti-theft device provided in an embodiment of this application;
[0069] Figure 5 This is a structural block diagram of a computer device for vehicle anti-theft provided in an embodiment of this application. Detailed Implementation
[0070] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments.
[0071] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application.
[0072] Currently, most vehicles employ separate mechanical structures for vehicle anti-theft. For example, related technologies involve installing electronic steering column locks, which use a latch system to lock the steering column and protect the vehicle. However, electronic steering column locks occupy vehicle space, increase vehicle load, and require regular maintenance; otherwise, turning the steering wheel can become very strenuous for the driver, negatively impacting the driving experience.
[0073] To address the technical problems arising from related technologies, this application provides a vehicle anti-theft method and related device. By setting decryption algorithms in the vehicle's parking control module and body control module, when an unlock signal is received, the parking control module and body control module respectively calculate and verify the unlock verification information generated based on the unlock signal to determine the vehicle's anti-theft authentication status, thereby achieving vehicle anti-theft. This achieves anti-theft without adding any other mechanical structures to the vehicle, reducing the vehicle's load and improving the driver's driving experience.
[0074] Next, with reference to the accompanying drawings, a vehicle anti-theft method provided by an embodiment of this application will be described. This vehicle anti-theft method can be applied to vehicles. To conform to driving habits, in this specification and claims, a vehicle's anti-theft authentication being successful indicates that the vehicle has not been stolen, while a vehicle's anti-theft authentication failing indicates that the vehicle is being stolen or has already been stolen.
[0075] Please see Figure 1 , Figure 1 A flowchart of a vehicle anti-theft method provided in this application embodiment is shown. The method is applied to a vehicle, which includes a parking control module and a body control module. The method includes:
[0076] S101: In response to the triggering operation of the unlock signal, the parking control module receives the unlock verification information sent by the body control module.
[0077] In some possible implementations of this embodiment, the unlock signal may be a signal for the driver to press the key to unlock the vehicle. The key to unlock the vehicle may be installed in the form of a button in the control device in the driver's cab, or it may be installed on the smart display screen in the driver's cab for the driver to touch.
[0078] In some other possible implementations of this embodiment, the unlock signal can also be the vehicle's ignition start signal, also known as KL15 or ignition switch (Adaptive Cruise Control, ACC). When the vehicle is started, the electrical equipment of the vehicle is powered on through KL15, and the unlock signal is triggered by the change of high and low levels.
[0079] Among them, the parking control module and the body control module are modules with computing capabilities. The parking control module can be an electronic parking brake (EPB) system, which can control the parking brake to enable the vehicle to park or release the parking brake. The body control module (BCM) can control various electrical appliances or controllers inside the vehicle by receiving and sending signals.
[0080] The parking control module has a pre-set first decryption algorithm, and the body control module has a pre-set second decryption algorithm. The first decryption algorithm is the same as or corresponds to the second decryption algorithm.
[0081] In some implementations of this embodiment, when the driver presses the key to unlock the vehicle, the vehicle control module sends unlock verification information to the parking control module based on the unlock signal triggered by the driver. This unlock verification information may be anti-theft authentication verification information, which enables the parking control module to determine whether the vehicle anti-theft authentication is successful based on the anti-theft authentication verification information.
[0082] To improve the security of vehicle anti-theft systems and disrupt their predictability, based on the above embodiments, the vehicle control module further generates unlock verification information randomly based on the unlock signal.
[0083] When the unlock signal is triggered multiple times on the same vehicle, the unlock verification information is generated randomly, so that the result of the calculation required to unlock the vehicle is different each time. This increases the difficulty for thieves to crack the encryption and thus improves the security of the vehicle against theft.
[0084] In some possible implementations of this embodiment, the randomly generated unlock verification information can be a random number. After the parking control module generates the random number, the parking control module and the body control module perform calculations based on the random number generated each time the vehicle is unlocked to compare the calculation results.
[0085] In some other implementations of this embodiment, the unlock verification information may be generated by the parking control module. In this case, the vehicle control module can generate an unlock request based on the triggering of the unlock signal and send the unlock request to the parking control module. The parking control module generates corresponding unlock verification information based on the unlock request and sends the unlock verification information back to the vehicle control module.
[0086] S102: According to the first decryption algorithm, the parking control module performs calculations on the unlock verification information to obtain the first calculation result.
[0087] S103: According to the second decryption algorithm, the vehicle control module performs calculations on the unlock verification information to obtain the second calculation result.
[0088] In some possible implementations of the embodiments of this application, the first decryption algorithm and the second decryption algorithm can both be AES128 cryptographic algorithms or both be AES256 cryptographic algorithms. Therefore, when the first decryption algorithm and the second decryption algorithm are given the same unlock verification information and perform the calculations, the first calculation result and the second calculation result will be exactly the same.
[0089] In some other possible implementations of the embodiments of this application, the first decryption algorithm may be a specific private algorithm, and the second decryption algorithm may be the decryption algorithm obtained by taking the negative of the first decryption algorithm, so that after the first decryption algorithm and the second decryption algorithm are input with the same unlock verification information and perform the operation, the first operation result and the second operation result are equal in absolute value but opposite in sign.
[0090] To further improve vehicle anti-theft security, based on the above embodiments, the parking control module further calculates the unlock verification information according to the first decryption algorithm to obtain a first calculation result, including:
[0091] Based on the first decryption algorithm and the vehicle identification number, the parking control module performs calculations on the unlock verification information to obtain the first calculation result;
[0092] The step of calculating the unlock verification information according to the second decryption algorithm through the vehicle control module to obtain the second calculation result includes:
[0093] Based on the second decryption algorithm and the vehicle identification number, the unlock verification information is processed by the body control module to obtain the second calculation result.
[0094] The Vehicle Identification Number (VIN) identifies a vehicle's country, region, manufacturer, and other vehicle information; it is also known as the chassis number. Similar to a resident's ID card, each vehicle has a unique VIN.
[0095] By incorporating a vehicle identification number (VIN) into the decryption process, the uniqueness of the vehicle anti-theft function is achieved. For each individual vehicle, the anti-theft system can be made unique through a unique VIN, thereby further improving the security of vehicle anti-theft.
[0096] In some other possible implementations of this embodiment, during the calculation process of adding the vehicle identification code, the vehicle identification code can be encrypted using other encryption algorithms. During the decryption process, the encrypted vehicle identification code is used to participate in the calculation, which can further improve the security of vehicle anti-theft.
[0097] S104: If the first operation result and the second operation result satisfy the confidence condition, determine that the vehicle's anti-theft authentication is passed.
[0098] Here, for cases where the first decryption algorithm and the second decryption algorithm are the same or correspond to each other, the following will provide a detailed explanation of two scenarios: if the results of the first operation and the second operation meet the confidence conditions, and the vehicle's anti-theft authentication is determined to be in a passed state.
[0099] Scenario 1: The first decryption algorithm is the same as the second decryption algorithm.
[0100] At this point, the confidence condition is that the result of the first operation is the same as the result of the second operation. That is, by using the same decryption algorithm and inputting the same unlock verification information, the same operation result is obtained, thus determining that the vehicle's anti-theft authentication is successful.
[0101] Scenario 2: The first decryption algorithm corresponds to the second decryption algorithm.
[0102] At this point, the confidence condition is set based on the correspondence between the first and second decryption algorithms. For example, if the correspondence between the first and second decryption algorithms is: given the same unlock verification information, the absolute values of the first and second operation results obtained after the operation are equal but opposite in sign, then the confidence condition can be that the sum of the first and second operation results is zero. That is, when the sum of the first and second operation results is zero, the vehicle's anti-theft authentication is determined to be successful.
[0103] S105: If the first calculation result and the second calculation result do not meet the confidence condition, the vehicle's anti-theft authentication is determined to be in a failed state.
[0104] For the process where the first and second operation results do not meet the confidence conditions, please refer to the description of step S104 in this application for the process where the first and second operation results meet the confidence conditions, which will not be repeated here.
[0105] Next, taking the example that the first and second decryption algorithms are the same and the confidence condition is that the first and second operation results are the same, we will introduce the determination conditions and process of the vehicle anti-theft authentication failing when the vehicle is being stolen.
[0106] Vehicle theft typically occurs when the vehicle is parked, in a parking brake state. Theft requires switching the vehicle from the parking brake state to the parking release state. Therefore, many thefts are committed by attacking the parking control module. This involves using external means to replace the vehicle's parking control module after triggering the unlock signal, thus releasing the vehicle from the parking brake state. When this external means replaces the parking control module, the vehicle's body control module sends unlock verification information to the parking control module. A second decryption algorithm is then used to process this information, generating a second result to compare with the first result for a confidence check. However, when the external means receive the unlock verification information, it lacks the first decryption algorithm and the confidence condition. Therefore, it cannot generate the expected first result based on the received unlock verification information, and thus cannot satisfy the confidence condition with the second result. Consequently, the vehicle's anti-theft authentication fails, thus rendering the anti-theft function ineffective.
[0107] In some possible implementations of the embodiments of this application, when it is determined that the vehicle's anti-theft authentication has failed, the vehicle's instrument panel displays "Anti-theft authentication failed" and the vehicle alarm is activated to indicate that the vehicle is being stolen.
[0108] In some other possible implementations of this embodiment, when it is determined that the vehicle's anti-theft authentication has failed, the vehicle's gear shifting is prohibited by the body control module.
[0109] To further improve the security of the vehicle anti-theft system, based on the above embodiments, the parking control module and the body control module are pre-set with the same key code;
[0110] The steps for calculating the first result include:
[0111] Based on the first decryption algorithm and the key code, the parking control module performs calculations on the unlock verification information to obtain the first calculation result;
[0112] The steps for calculating the second result include:
[0113] Based on the second decryption algorithm and the key code, the unlock verification information is processed by the vehicle control module to obtain the second calculation result.
[0114] Among them, the key code is a password that is independent of the vehicle identification code and unlock verification information. It can be pre-set in the vehicle's parking control module and body control module through production line electrical testing equipment when the vehicle anti-theft system is established.
[0115] In summary, during the calculation process of the first and second calculation results, triple protection for vehicle anti-theft authentication can be achieved through randomly generated unlock verification information, vehicle identification code encrypted by encryption algorithm, and key code pre-installed in the parking control module and body control module, thereby improving vehicle anti-theft security from multiple angles and levels.
[0116] To ensure the continuity of vehicle anti-theft functions and enhance the anti-attack capability of the vehicle anti-theft system, based on the above embodiments, the parking control module further includes a first parking control submodule and a second parking control submodule.
[0117] The steps for calculating the first result include:
[0118] According to the first decryption algorithm, the first parking control submodule performs calculations on the unlock verification information to obtain the first calculation result;
[0119] If the first parking control submodule malfunctions, the calculation steps for the first calculation result include:
[0120] According to the first decryption algorithm, the second parking control submodule performs calculations on the unlock verification information to obtain the first calculation result.
[0121] In some possible implementations of this embodiment, the first parking control submodule includes a first system base chip (SBC), a first microcontroller unit (MCU), a first chip select chip, and a first driver chip. Correspondingly, the second parking control submodule includes a second system base chip, a second microcontroller, a second chip select chip, and a second driver chip.
[0122] Under normal operating conditions, the first system base chip and the first microcontroller are in control, performing functions such as receiving unlock verification information, storing the first decryption algorithm and the first calculation result. The first microcontroller determines whether the vehicle's anti-theft authentication is successful or unsuccessful based on the first and second calculation results. Based on the authentication status, it obtains control of the first driver chip through the first chip select chip, and then controls the parking brake to apply or release the parking brake. At this time, the second system base chip and the second microcontroller are in standby mode and monitor the operation of the first parking control submodule.
[0123] When the first parking submodule fails, such as due to a fault in the first system base chip or the first microcontroller, the second parking submodule takes over the control process. It can also control the parking brake to apply or release the parking brake. Simultaneously, it can alert the vehicle owner to the failure of the first parking submodule for timely repair.
[0124] By employing a dual-path parking submodule to achieve redundant control, the continuity of vehicle anti-theft functions can be guaranteed, the anti-attack capability of the vehicle anti-theft system can be enhanced, and the stability of vehicle anti-theft functions can be improved.
[0125] Please see Figure 2 , Figure 2 The flowchart of a vehicle anti-theft method provided in this application embodiment includes S201-S211, and the following will explain each process in the figure.
[0126] S201: The driver presses the key to unlock;
[0127] The vehicle unlock signal is triggered by the driver pressing the key to unlock it;
[0128] S202: BCM sends an authentication request;
[0129] The Body Control Module (BCM) sends an anti-theft authentication request to the Electronic Parking Brake (EPB) system.
[0130] S203: EPB generates random numbers;
[0131] The Electronic Parking Brake (EPB) system receives the anti-theft authentication request sent by the Body Control Module (BCM) and randomly generates a random number as the unlocking verification information.
[0132] S204: Electronic parking brake system (EPB) performs anti-theft calculations;
[0133] Using AES128 as the first decryption algorithm, the first calculation result is obtained by performing calculations on the unlock verification information (random number), the key code (KEY code), and the Pin code obtained after encrypting the vehicle identification code using other encryption algorithms.
[0134] S205: The Body Control Module (BCM) receives a random number sent by the Electronic Parking Brake (EPB) system;
[0135] S206: The Body Control Module (BCM) performs anti-theft calculations;
[0136] Similarly, AES128 is used as the second decryption algorithm. The second calculation result is obtained by performing calculations on the unlock verification information (random number), the key code (KEY code), and the Pin code obtained after encrypting the vehicle identification code using other encryption algorithms.
[0137] S207: Comparison and calculation results of the Electronic Parking Brake (EPB) system are fed back to the Body Control Module (BCM).
[0138] S208: Anti-theft certification passed;
[0139] If the result of the first calculation is the same as the result of the second calculation, the vehicle's anti-theft authentication is determined to be successful.
[0140] S209: 1. The electronic parking brake system (EPB) can clamp and release; 2. The vehicle can shift gears.
[0141] The Electronic Parking Brake (EPB) system controls the parking brake to release the vehicle from parking, while the Body Control Module (BCM) controls and allows the vehicle to shift gears.
[0142] S210: Anti-theft authentication failed;
[0143] If the result of the first calculation is different from the result of the second calculation, the vehicle's anti-theft authentication is determined to be in a failed state.
[0144] S211: 1. EPB cannot be released; 2. EPB can be clamped; 3. The vehicle cannot shift gears.
[0145] The EPB controls the parking brake to keep the vehicle in place and prevents the vehicle from releasing the parking brake. The BCM controls the vehicle to prevent gear shifting.
[0146] Please see Figure 3 , Figure 3 The hardware logic diagram of a vehicle anti-theft system provided in this application embodiment includes 310-3110. The hardware components and their functions will be explained below.
[0147] 310: Vehicle key;
[0148] The driver triggers the vehicle unlock signal using the vehicle key;
[0149] 320: Body control module;
[0150] 330: Gear shift control module;
[0151] The vehicle's gear shifting is permitted or prohibited by the vehicle's body control module.
[0152] 340: Electrical testing equipment for finished vehicles;
[0153] The vehicle PIN and KEY codes are pre-set in the body control module and parking control module;
[0154] 350: Vehicle Identification Number (VIN);
[0155] The vehicle identification number is encrypted using an encryption algorithm to obtain the vehicle PIN code.
[0156] 360: Parking control module; including 361-368;
[0157] Among them: 361: SBC-A, is the first system basic chip;
[0158] 362: MCU-A, the first microcontroller; if the anti-theft authentication is successful, the anti-theft authentication flag is set to the set state. This flag is stored in the electrically erasable programmable read-only memory (EPROM).
[0159] 363: Chip select chip, i.e., the first chip select chip;
[0160] 364: Driver chip R, i.e., the first driver chip; used to control the first parking brake to brake or release the vehicle parking brake.
[0161] 365: SBC-B, is the base chip for the second system;
[0162] 366: MCU-B, the second microcontroller;
[0163] 367: Chip select chip, i.e., the second chip select chip;
[0164] 368: Driver chip L, i.e., the second driver chip; used to control the second parking brake to brake or release the vehicle's parking brake.
[0165] 370: First parking brake;
[0166] 380: Second parking brake;
[0167] 390: Brake pedal signal;
[0168] 3100: Electronic Parking Brake (EPB) switch;
[0169] To prevent the vehicle from rolling, when the anti-theft authentication is successful, the driver needs to give a brake pedal signal when turning off the EPB switch. That is, the driver must press the brake pedal for the vehicle to enter the parking release state; otherwise, the vehicle will remain in the parking brake state.
[0170] 3110: Vehicle instrument panel;
[0171] The vehicle's status, such as when the anti-theft authentication is successful, when the anti-theft authentication fails, when the parking brake is engaged, or when the parking brake is released, will be displayed on the vehicle's instrument panel.
[0172] Please see Figure 4 , Figure 4 This application provides a structural diagram of a vehicle anti-theft device according to an embodiment. The vehicle anti-theft device is applied to a vehicle, which includes a parking control module and a body control module. The device includes:
[0173] The request receiving unit 410 is used to respond to the triggering operation of the unlock signal. The parking control module receives the unlock verification information sent by the body control module. The parking control module has a first decryption algorithm and a second decryption algorithm. The first decryption algorithm is the same as or corresponds to the second decryption algorithm.
[0174] The first information processing unit 420 is used to perform calculations on the unlock verification information by the parking control module according to the first decryption algorithm to obtain a first calculation result.
[0175] The second information processing unit 430 is used to perform a calculation on the unlock verification information through the vehicle control module according to the second decryption algorithm to obtain a second calculation result.
[0176] The first state determination unit 440 is used to determine that the anti-theft authentication of the vehicle is passed if the first calculation result and the second calculation result satisfy the confidence condition.
[0177] The second state determination unit 450 is used to determine that the anti-theft authentication of the vehicle is failed if the first calculation result and the second calculation result do not meet the confidence condition.
[0178] As one possible implementation, the unlock verification information is randomly generated by the vehicle body control module.
[0179] As one possible implementation, the first information processing unit is further configured to:
[0180] Based on the first decryption algorithm and the vehicle identification number of the vehicle, the parking control module performs calculations on the unlock verification information to obtain a first calculation result;
[0181] The second information processing unit is further configured to:
[0182] Based on the second decryption algorithm and the vehicle identification number of the vehicle, the unlock verification information is processed by the body control module to obtain the second calculation result.
[0183] As one possible implementation, the parking control module and the body control module are pre-set with the same key code;
[0184] The first information processing unit is further configured to:
[0185] Based on the first decryption algorithm and the key code, the parking control module performs calculations on the unlock verification information to obtain a first calculation result;
[0186] The second information processing unit is further configured to:
[0187] Based on the second decryption algorithm and the key code, the unlock verification information is processed by the vehicle control module to obtain a second calculation result.
[0188] As one possible implementation, the device further includes:
[0189] The parking release control unit is used to control the parking brake to release the vehicle if the vehicle's anti-theft authentication is successful.
[0190] The parking brake control unit is used to control the parking brake to apply parking brake to the vehicle if the vehicle's anti-theft authentication fails.
[0191] As one possible implementation, the device further includes:
[0192] The gear shifting prohibition unit is used to prohibit the vehicle from shifting gears via the body control module if the vehicle's anti-theft authentication fails.
[0193] As one possible implementation, the parking control module includes a first parking control submodule and a second parking control submodule;
[0194] The first information processing unit is further configured to:
[0195] According to the first decryption algorithm, the first parking control submodule performs calculations on the unlock verification information to obtain a first calculation result;
[0196] If the first parking control submodule malfunctions, the first information processing unit is also used for:
[0197] According to the first decryption algorithm, the second parking control submodule performs calculations on the unlock verification information to obtain the first calculation result.
[0198] As can be seen from the above technical solution, in response to the triggering operation of the unlock signal, the parking control module receives the unlock verification information sent by the body control module. The parking control module has a pre-set first decryption algorithm, and the body control module has a pre-set second decryption algorithm. The first decryption algorithm and the second decryption algorithm are the same as or correspond to each other. According to the first decryption algorithm, the parking control module performs calculations on the unlock verification information to obtain a first calculation result. According to the second decryption algorithm, the body control module performs calculations on the unlock verification information to obtain a second calculation result. If the first calculation result and the second calculation result meet the confidence condition, the vehicle's anti-theft authentication is determined to be in a passed state; if the first calculation result and the second calculation result do not meet the confidence condition, the vehicle's anti-theft authentication is determined to be in a failed state. That is, based on the pre-set decryption algorithms of the parking control module and the body control module, calculations are performed on the unlock verification information to obtain calculation results, and then the calculation results obtained are compared to determine the vehicle's anti-theft authentication status. If the parking control module is replaced, indicating vehicle theft, the replaced parking control module lacks a decryption algorithm, or its built-in decryption algorithm differs from or is incompatible with the decryption algorithm built into the body control module. Furthermore, the first calculation result generated based on the unlock verification information and the second calculation result generated by the body control module do not meet the confidence condition, resulting in vehicle anti-theft authentication failing and thus preventing vehicle theft. Using the parking control module for anti-theft eliminates the need for other dedicated vehicle anti-theft components such as electronic steering column locks, reducing vehicle maintenance costs and improving the driver's experience.
[0199] Please see Figure 5 , Figure 5 This application provides a structural block diagram of a computer device for vehicle anti-theft. The computer device includes a processor 510 and a memory 520.
[0200] The memory 520 is used to store program code and transmit the program code to the processor;
[0201] The processor 510 is used to execute any of the vehicle anti-theft methods provided in the above embodiments according to the instructions in the program code.
[0202] This application also discloses a computer-readable storage medium for storing a computer program, which, when executed by a processor, performs any of the vehicle anti-theft methods provided in the above embodiments.
[0203] Understandably, this method can be applied to processing devices capable of motion control, such as terminal devices or servers with motion control functions. This method can be executed independently by a terminal device or server, or it can be applied in network scenarios where a terminal device and a server communicate, executing in cooperation. The terminal device can be a computer, mobile phone, or similar device. The server can be an application server or a web server; in actual deployment, this server can be a standalone server or a cluster server.
[0204] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium can be at least one of the following media: read-only memory (ROM), RAM, magnetic disk, or optical disk, etc., and other media capable of storing program code.
[0205] It should be noted that the various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0206] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A vehicle anti-theft method, characterized in that, Applied to a vehicle, the vehicle including a parking control module and a body control module, the method includes: In response to the triggering operation of the unlock signal, the parking control module receives unlock verification information sent by the body control module; the parking control module has a first decryption algorithm preset, and the body control module has a second decryption algorithm preset; the first decryption algorithm is the same as or corresponds to the second decryption algorithm; According to the first decryption algorithm, the parking control module performs calculations on the unlock verification information to obtain a first calculation result; According to the second decryption algorithm, the unlock verification information is processed by the vehicle control module to obtain the second calculation result; If the first calculation result and the second calculation result satisfy the confidence condition, the anti-theft authentication of the vehicle is determined to be passed; If the first calculation result and the second calculation result do not meet the confidence condition, the anti-theft authentication of the vehicle is determined to be unsuccessful. Wherein, if the correspondence between the first decryption algorithm and the second decryption algorithm is such that: when the same unlock verification information is input, the absolute values of the first operation result and the second operation result obtained after the operation are equal but opposite in sign, then the confidence condition is that the sum of the first operation result and the second operation result is zero.
2. The method according to claim 1, characterized in that, The unlock verification information is randomly generated by the vehicle body control module.
3. The method according to claim 1, characterized in that, The calculation steps for the first calculation result include: Based on the first decryption algorithm and the vehicle identification number of the vehicle, the parking control module performs calculations on the unlock verification information to obtain a first calculation result; The calculation steps for the second calculation result include: Based on the second decryption algorithm and the vehicle identification number of the vehicle, the unlock verification information is processed by the body control module to obtain the second calculation result.
4. The method according to claim 1, characterized in that, The parking control module and the body control module are pre-set with the same key code; The calculation steps for the first calculation result include: Based on the first decryption algorithm and the key code, the parking control module performs calculations on the unlock verification information to obtain a first calculation result; The calculation steps for the second calculation result include: Based on the second decryption algorithm and the key code, the unlock verification information is processed by the vehicle control module to obtain a second calculation result.
5. The method according to claim 1, characterized in that, The method further includes: If the vehicle's anti-theft authentication is successful, the parking control module controls the parking brake to release the vehicle from parking. If the vehicle's anti-theft authentication fails, the parking control module controls the parking brake to apply the parking brake to the vehicle.
6. The method according to claim 3, characterized in that, The method further includes: If the vehicle's anti-theft authentication fails, the vehicle's gear shifting is prohibited by the vehicle control module.
7. The method according to claim 1, characterized in that, The parking control module includes a first parking control submodule and a second parking control submodule; The calculation steps for the first calculation result include: According to the first decryption algorithm, the first parking control submodule performs calculations on the unlock verification information to obtain a first calculation result; If the first parking control submodule malfunctions, the calculation steps for the first calculation result include: According to the first decryption algorithm, the second parking control submodule performs calculations on the unlock verification information to obtain the first calculation result.
8. A vehicle anti-theft device, characterized in that, Applied to a vehicle, the vehicle including a parking control module and a body control module, the device includes: A request receiving unit is used to respond to the triggering operation of the unlock signal. The parking control module receives the unlock verification information sent by the body control module. The parking control module has a first decryption algorithm and a second decryption algorithm. The first decryption algorithm is the same as or corresponds to the second decryption algorithm. The first information processing unit is used to perform calculations on the unlock verification information by the parking control module according to the first decryption algorithm to obtain a first calculation result; The second information processing unit is used to perform calculations on the unlock verification information through the vehicle control module according to the second decryption algorithm to obtain a second calculation result. The first state determination unit is used to determine that the anti-theft authentication of the vehicle is passed if the first calculation result and the second calculation result satisfy the confidence condition. Wherein, if the correspondence between the first decryption algorithm and the second decryption algorithm is: the absolute values of the first operation result and the second operation result obtained after the operation are equal but opposite in sign when the same unlock verification information is input, then the confidence condition is that the sum of the first operation result and the second operation result is zero; The second state determination unit is used to determine that the anti-theft authentication of the vehicle is failed if the first calculation result and the second calculation result do not meet the confidence condition.
9. A computer device, characterized in that, The computer device includes a processor and memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the vehicle anti-theft method according to any one of claims 1-7 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program, which, when executed by a processor, is used to perform the vehicle anti-theft method according to any one of claims 1-7.