Vehicle key matching method, device and computer-readable storage medium

Through the layered encryption protection mechanism of preset encryption algorithm and conventional encryption algorithm, the problem of poor confidentiality of remote control keys is solved, and high security and anti-theft performance of vehicle key matching are achieved.

CN118762421BActive Publication Date: 2025-09-19ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410960902.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2025-09-19
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing remote control keys have poor confidentiality and are easily stolen by universal remote controls, resulting in the risk of vehicles being controlled and stolen by criminals.

Method used

A layered encryption protection mechanism combining preset encryption algorithms with conventional encryption algorithms is used to encrypt and transmit data during the key matching process. This is combined with security logic relationships to ensure that only legitimate keys can be successfully associated with the vehicle.

Benefits of technology

The confidentiality and security of the vehicle key matching process are improved, and the risk of vehicle theft is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762421B_ABST
    Figure CN118762421B_ABST
Patent Text Reader

Abstract

This specification provides a vehicle key matching method, device and computer-readable storage medium. When the body controller of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame including a key serial ID is generated, and the learning frame is encrypted using a layered protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, thereby improving the confidentiality of the key matching process. The encrypted learning frame is sent to the body controller for matching learning. Only when the decrypted data matches the body controller is the key serial ID stored to complete the association between the key to be matched and the target vehicle, which can effectively improve the vehicle's anti-theft coefficient and reduce the risk of vehicle theft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle key matching method, device, and computer-readable storage medium. Background Art

[0002] With the rapid development of the automotive industry, remote control keys have become a standard feature of cars. These devices not only make car ownership more convenient but also improve vehicle safety. However, many brands of remote control keys currently lack confidentiality, allowing any universal remote control to successfully pair with the vehicle, putting the vehicle at risk of being stolen by criminals. Summary of the Invention

[0003] To overcome the problems existing in the related art, this specification provides a vehicle key matching method, device and computer-readable storage medium.

[0004] According to a first aspect of an embodiment of this specification, a vehicle key matching method is provided, the method being applied to a key to be matched; the method comprising:

[0005] When the BCM of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame including the key serial ID is generated;

[0006] The learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame;

[0007] The encrypted learning frame is sent to the BCM so that the BCM decrypts the received encrypted learning frame; if the decrypted data matches the BCM, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0008] According to a vehicle key matching method provided by the present application, the layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm is used to encrypt the learning frame, including:

[0009] Generate a random key based on the plaintext identification code and seed information in the key to be matched;

[0010] Performing an XOR operation on the random key and the fixed key to generate an encryption key;

[0011] Based on the encryption key, masking the learning frame using the preset encryption algorithm to obtain internal encrypted data;

[0012] The internal encryption data is encrypted using the conventional encryption algorithm to obtain an encrypted learning frame.

[0013] According to a vehicle key matching method provided by the present application, the method further includes:

[0014] A random key is generated based on the plaintext identification code and chip ID information in the key to be matched.

[0015] According to a vehicle key matching method provided by the present application, a first buffer zone, a second buffer zone, and a third buffer zone for storing data are provided in the key to be matched;

[0016] The step of performing mask processing on the learning frame based on the encryption key and utilizing the preset encryption algorithm to obtain internal encrypted data includes:

[0017] Transferring the learning frame before encryption into the first buffer, and transferring the encryption key into the second buffer;

[0018] Under a certain encryption strength, performing a circular operation including shifting and XOR operations on the data in the first buffer;

[0019] When the loop end condition is met, the data in the first buffer after the loop is XORed with the data in the second buffer to obtain internal encrypted data and the internal encrypted data is transferred to the third buffer for transmission to the BCM for matching verification.

[0020] According to a vehicle key matching method provided by the present application, the matching trigger condition includes receiving a matching instruction fed back after a target key of the key to be matched is pressed, and the learning frame includes the key pressing duration and the number of times the target key is pressed;

[0021] The method further comprises:

[0022] The encrypted learning frame is sent to the BCM so that the BCM decrypts the received encrypted learning frame to obtain the key duration and the number of key presses; the legitimacy of the current operation is verified based on the number of key presses and the preset number of times; after the verification is passed, the decrypted data including the key duration is matched with the BCM. If there is a match, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0023] According to a second aspect of an embodiment of this specification, a vehicle key matching method is provided, the method being applied to a vehicle body controller; the method comprising:

[0024] When the body controller of the target vehicle enters a learning mode, receiving an encrypted learning frame sent by the key to be matched, the encrypted learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, the learning frame including a key serial ID, and is generated when the key to be matched meets a matching trigger condition;

[0025] Decrypting the encrypted learning frame using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data; the preset decryption algorithm corresponds to the preset encryption algorithm;

[0026] The decrypted data is matched with the data preset in the vehicle body controller. If the decrypted data matches the vehicle body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0027] According to a vehicle key matching method provided by the present application, decrypting the encrypted learning frame using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data includes:

[0028] Decrypting the encrypted learning frame using a conventional decryption algorithm corresponding to the conventional encryption algorithm to obtain internal encrypted data;

[0029] Obtaining a random key, a seed, and a fixed key identical to those used in the encryption process, performing an XOR operation on the random key, the seed, and the fixed key to obtain a decryption key corresponding to the preset decryption algorithm;

[0030] Based on the decryption key, the preset decryption algorithm is used to perform an XOR operation on the internal encrypted data to obtain decrypted data.

[0031] According to a vehicle key matching method provided by the present application, based on the decryption key, the internal encrypted data is subjected to an XOR operation using the preset decryption algorithm to obtain the decrypted data, including

[0032] Obtaining algorithm parameters of a preset encryption algorithm for encrypting the learning frame; the algorithm parameters include encryption strength and the number of encryption cycles;

[0033] Based on the decryption key, using the preset decryption algorithm to perform an XOR operation on the internal encrypted data to obtain an intermediate result;

[0034] Performing an inverse operation corresponding to the encryption process on the intermediate result based on the encryption strength;

[0035] When the number of decryption cycles reaches the number of encryption cycles, decrypted data corresponding to the inverse operation is obtained.

[0036] According to a vehicle key matching method provided by the present application, the matching trigger condition includes receiving a matching instruction fed back after a target key of the key to be matched is pressed, and the decrypted data includes the duration of the target key being pressed, the number of times the target key is pressed, and the key function code corresponding to the target key;

[0037] The decrypted data is matched with data preset in the vehicle body controller, and if the decrypted data matches the vehicle body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle, including:

[0038] Matching the key press count with a reference count in the vehicle body controller;

[0039] After the matching is successful, the key duration is calculated according to the reference key time range corresponding to the preset function in the vehicle body controller to determine the target function;

[0040] If the target function matches the function corresponding to the key function code, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0041] According to a vehicle key matching method provided by this application, the decrypted data also includes a chip ID;

[0042] The method further comprises:

[0043] Matching the chip ID with a pre-stored legitimate ID in the vehicle body controller;

[0044] After the matching is passed, the key duration is calculated according to the reference key time range corresponding to multiple functions in the vehicle body controller to determine the target function.

[0045] According to a vehicle key matching method provided by the present application, the decrypted data is matched with data preset in the vehicle body controller. If the decrypted data matches the vehicle body controller, after storing the key serial ID, the method further includes:

[0046] When the key serial IDs stored in the vehicle body controller exceed a preset authorized quantity, obtaining a timestamp when each key serial ID is stored;

[0047] According to the time sequence, the first key sequence ID is erased.

[0048] The present application also provides a vehicle key matching device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described vehicle key matching methods is implemented.

[0049] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the vehicle key matching method as described above is implemented.

[0050] In the embodiments of the present specification, the vehicle key matching method, device and computer-readable storage medium, when the BCM of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame including the key serial ID is generated, and the learning frame is encrypted using a layered protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, thereby improving the confidentiality of the key matching process, and the encrypted learning frame is sent to the BCM for matching learning. Only when the decrypted data matches the BCM, the key serial ID is stored to complete the association between the key to be matched and the target vehicle, which can effectively improve the vehicle's anti-theft coefficient and reduce the risk of vehicle theft.

[0051] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0053] Figure 1 This specification describes a prototype vehicle trial production digital system group according to an exemplary embodiment;

[0054] Figure 2 is a flow chart of a vehicle key matching method according to an exemplary embodiment of the present specification;

[0055] Figure 3 This is a business flow chart of a vehicle key matching method according to an exemplary embodiment of this specification;

[0056] Figure 4 This is a schematic diagram of a vehicle key matching device according to an exemplary embodiment of this specification;

[0057] Figure 5 This is a schematic block diagram of a vehicle key matching device according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION

[0058] Here, the technical solutions in the embodiments (or "implementations") of the present application will be clearly and completely described in conjunction with the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.

[0059] If there are terms related to directional indications or positional relationships in the embodiments of this application (such as up, down, left, right, front, back, inside, outside, top, bottom, center, vertical, horizontal, longitudinal, transverse, length, width, counterclockwise, clockwise, axial, radial, circumferential, etc.), such terms are only used to explain the relative positional relationship, movement, etc. between the components in a specific posture (as shown in the accompanying drawings); if the specific posture changes, the directional indication or positional relationship will also change accordingly. In addition, the terms "first" and "second" in the embodiments of this application are only used for the purpose of convenience of description and should not be understood as indicating or implying relative importance.

[0060] This application provides a vehicle key matching method, device, and computer-readable storage medium. This application is described in detail below with reference to the accompanying drawings. The features of the following embodiments and implementations may be combined with each other unless they conflict.

[0061] The vehicle key described in this article shares the common structure and functions of commercially available remote control keys (such as the housing, radio frequency antenna, and basic remote control functionality), and will not be specifically described here. By pairing the vehicle key with the vehicle's electronic systems (such as the BCM (Body Control Module) and DCM (Door Control Module), the key ensures that only legitimate keys can start and operate the vehicle, preventing vehicle theft and unauthorized use.

[0062] Currently, many brands of remote control keys on the market have poor confidentiality, and using a universal remote control can also match the target vehicle, which puts the vehicle at risk of being controlled and stolen by criminals.

[0063] In order to solve the above technical problems, this specification provides a vehicle key matching method.

[0064] By combining the self-developed preset encryption algorithm with the conventional encryption algorithm, a layered encryption protection mechanism is formed to encrypt and transmit data during the key matching process. Combined with secure logical relationships, it effectively solves the confidentiality of matching between the vehicle and the remote control key, thereby improving the safety of vehicle use.

[0065] like Figure 1 As shown, Figure 1This is a flowchart of a vehicle key matching method according to an exemplary embodiment of the present specification. The vehicle key matching method is applied to a key to be matched, and the method includes the following steps:

[0066] In step 101, when the BCM of the target vehicle enters a learning mode, if the key to be matched meets a matching trigger condition, a learning frame including a key serial ID is generated;

[0067] In step 102, the learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame;

[0068] In step 103, the encrypted learning frame is sent to the BCM so that the BCM decrypts the received encrypted learning frame; if the decrypted data matches the BCM, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0069] As an example, the key to be matched described herein is provided with a security module, and the vehicle key matching method described herein is applied to the security module. The security module encrypts the learning frame used for matching verification and transmits it to the BCM, thereby improving the confidentiality of the matching process.

[0070] In step 101, to ensure pairing security and prevent unauthorized keys from accessing the vehicle, the target vehicle's BCM enters learning mode while the key to be paired is paired with the vehicle's BCM. After the target vehicle enters learning mode, the vehicle's BCM begins to listen for and receive new key signals. In other words, only in learning mode will the BCM accept and record the serial ID or authentication information of the new key and add it to the authorized key list.

[0071] In some embodiments, the BCM enters learning mode using a dedicated diagnostic instrument or programming tool. For example, the diagnostic instrument is connected to the vehicle's OBD (On-Board Diagnostic) port and the correct menu options are selected on the instrument to enter the vehicle's diagnostic mode. Within diagnostic mode, the BCM-related learning or programming options are selected and the necessary operations are performed according to the instrument's prompts to enter learning mode.

[0072] In other embodiments, the way in which the BCM enters the learning mode also includes triggering the learning mode by monitoring the external input status of the vehicle, such as the number of times the door is opened and closed and the key ignition status. As an example, make sure that all doors of the vehicle are closed, press and release the ignition switch of the vehicle, but do not start the engine. Quickly open and close the driver's side door, repeat multiple times (the number of times is determined according to the actual setting, such as 3 times), so that the vehicle's BCM enters the learning mode. As another example, depending on the design of the vehicle, it may be necessary to keep the door open or closed for a certain period of time to trigger the learning mode. That is, after waiting for a period of time, the vehicle's BCM enters the learning mode.

[0073] It should be noted that the entry conditions, such as the number of door openings and closings and the key ignition, are set to put the vehicle into learning mode so that it can be paired with the key. In actual use, the entry conditions can be customized as needed and synchronized between the key to be paired and the vehicle's BCM, so that the vehicle enters learning mode when the customized entry conditions are met.

[0074] In this embodiment, the matching trigger condition is used to define the conditions for matching between the key to be matched and the vehicle's BCM, adapting to actual matching needs and avoiding resource waste caused by misoperation. In actual use, the matching trigger condition generally depends on the vehicle design and the manufacturer's implementation. The most common method is to press a specific key or a series of keys on the key to trigger learning mode and generate a learning frame. These keys are usually pre-defined and designed for key pairing. This means that the matching trigger condition includes receiving a matching instruction feedback after the target key of the key to be matched is pressed. It can be understood that when the BCM of the target vehicle enters learning mode, the user presses the target key on the key to be matched to trigger key matching, and a matching instruction is generated accordingly. The key to be matched sends a learning frame to the BCM based on the matching instruction. The learning frame transmitted to the BCM is encrypted to ensure the confidentiality of the matching process.

[0075] In some embodiments, the vehicle and key enter pairing mode, typically initiated by a specific operation (such as pressing a button on the key or configuring the key in the vehicle). Furthermore, the target key described herein can be a specific key on the key to be paired, or a key combination corresponding to a specific operation. For example, when a user simultaneously presses the unlock button and the find-car button on the key to be paired, a pairing instruction is generated that prompts the sending of a learning frame, and a learning frame is generated.

[0076] The learning frame described in this article includes a wake-up header, a synchronization header, a plaintext identification code, a key function code, a synchronization counter, a seed, a fixed key, a random key, a chip ID, and a key sequence ID of the key to be matched.

[0077] In step 102, the layered encryption protection mechanism formed by the preset encryption algorithm and the conventional encryption algorithm is used to encrypt the learning frame, including the following steps:

[0078] Step 1021: Generate a random key based on the plaintext identification code and seed information in the key to be matched;

[0079] First, a random key is generated for the encryption process. The use of random keys increases the complexity and security of the cryptographic system. If the random key on the key to be matched does not match the random key on the BCM, the calculation results will be different, and the key to be matched will not be able to control the target vehicle.

[0080] Specifically, the plaintext identification code and seed information stored in the key to be matched are obtained, and a random key is generated based on the plaintext identification code and seed. The seed information can be the specific encryption algorithm and key management system information set by the vehicle manufacturer for each model, which is burned into the key to be matched. Alternatively, during matching, the vehicle and the key to be matched communicate and send the seed information to the key to be matched.

[0081] In other embodiments, a random key is generated based on the plain text identification code and chip ID information in the key to be matched.

[0082] The chip ID is a unique identifier in a remote key or other device. The BCM can verify whether the received chip ID matches a pre-stored legitimate ID, helping to ensure that only authorized devices can communicate with the vehicle. Therefore, a random key generated based on the plaintext identification code and the chip ID is used for subsequent data encryption, increasing the key's complexity and randomness. Even if an unauthorized person copies the key's matching process, without knowing the chip ID, it would be difficult to obtain the correct random key, making it difficult to decrypt or predict the encrypted data, further improving security and matching accuracy.

[0083] Step 1022: Perform an XOR operation on the random key and the fixed key to generate an encryption key;

[0084] A fixed key in the key to be matched is obtained, and an encryption key is generated by performing an XOR operation on the random key and the fixed key to encrypt data transmitted by the key to be matched.

[0085] Step 1023: Based on the encryption key, use the preset encryption algorithm to perform mask processing on the learning frame to obtain internal encrypted data;

[0086] The masking process described in this article is a preset encryption algorithm that performs some form of bit-level operation on the encrypted data, such as XOR and shift, to change its representation, thereby achieving the purpose of obfuscating and protecting the data.

[0087] In some embodiments, the step 1023 of masking the learning frame using the preset encryption algorithm based on the encryption key to obtain internal encrypted data includes:

[0088] In step a, three buffers are defined within the key to be matched to store data during the encryption process: a first buffer V1, a second buffer V2, and a third buffer V0. The first buffer V1 stores learning frames or pre-encrypted data, the second buffer V2 stores intermediate encryption data, such as intermediate results, encryption keys, and random keys, and the third buffer V0 stores the final encryption result. Using buffers improves the efficiency and performance of the encryption process.

[0089] Step b: call the learning frame before encryption into the first buffer for use in subsequent encryption calculations; call the encryption key into the second buffer. The random key in the encryption key is generated through a specific algorithm, so the corresponding encryption key increases the randomness and security of the encryption.

[0090] Step c: performing a shift and XOR operation on the data in the first buffer under a certain encryption strength; and calculating the data in V1 and V2 using a specific algorithm to obtain a final encryption result.

[0091] Specifically, two parameters from the preset encryption algorithm are obtained: the algorithm ID data delta value and sum. Delta is used to control the encryption strength and is used in each round of the encryption process. It is usually a fixed bit value in the algorithm design. Sum is used to initialize the encryption process, sum = 0.

[0092] Perform an XOR operation on the data in V1 by shifting it left by a preset number of bits (for example, 4 bits) and right by a preset number of bits (for example, 5 bits), and add the result of the XOR operation to V1 itself to obtain an intermediate result.

[0093] The intermediate result is added to sum, where sum increases by delta in each round of the loop;

[0094] XOR the above result with V2 and update V1.

[0095] After the loop ends, the latest value of V1 is V0.

[0096] By performing multiple shifts and XOR operations on the data in V1, the complexity and security of the encryption are increased. Each cycle changes the data in V1, generating a different encryption result.

[0097] Step d, when the loop end condition is met, the data in the first buffer after the loop is XORed with the data in the second buffer to obtain internal encrypted data and the internal encrypted data is transferred to the third buffer for transmission to the BCM for matching verification.

[0098] The loop termination condition described herein includes the actual number of loops reaching a preset number of loops. When the actual number of loops meets the loop termination condition, the latest data V1 after the loop is XORed with V2 to obtain the final encryption result V0, i.e., the internal encrypted data. In the subsequent regular encryption process, the internal encrypted data is encrypted again and transmitted to the BCM for matching verification.

[0099] The data to be encrypted in the learning frame can be obfuscated by the XOR operation, making the encryption result difficult to crack.

[0100] It should be noted that in actual applications, the number of cycles, data length, and initial data may need to be adjusted according to different requirements.

[0101] Step 1024: Encrypt the internal encrypted data using the conventional encryption algorithm to obtain an encrypted learning frame.

[0102] The conventional encryption algorithm described in this article refers to existing encryption technologies, such as code hopping encryption technology, XTEA, AES encryption, Keeloq encryption, Hitag encryption, etc. The specific encryption process is not limited.

[0103] The data encrypted using the preset encryption algorithm is re-encrypted using a conventional encryption algorithm such as AES128 or XTEA, increasing the strength and security of the encryption. The encrypted learning frame is then sent to the BCM for decryption and verification using a conventional decryption algorithm and a preset decryption algorithm corresponding to the preset encryption algorithm. The decrypted data should be the same as the data before encryption.

[0104] In this embodiment, through the above encryption algorithm process, it can be ensured that only legitimate keys can be successfully associated with the target vehicle, thereby improving the safety and anti-theft performance of the vehicle.

[0105] In step 103, the key to be matched sends the encrypted learning frame to the BCM of the target vehicle so that the BCM can decrypt the encrypted learning frame and perform key matching and legitimacy verification based on the decrypted data. Only when the verification is passed and the learning frame matches the data in the BCM, it indicates that the key learning is successful, and the key serial ID of the key to be matched is stored, which means that the key to be matched is authorized to control the target vehicle.

[0106] In some embodiments, the BCM uses a preset decryption algorithm to decrypt the encrypted learning frame to obtain the data before encryption, that is, the learning frame. The decrypted data is verified, including the correctness of information such as the wake-up header, synchronization header, plaintext identification code, key function, synchronization counter, seed, fixed key, random key, chip ID and check code. As an example, plaintext identification code: verify whether the plaintext identification code matches the expected identification code. Key function: verify whether the key function is consistent with the sent key function. Synchronous counter: verify whether the synchronous counter matches the previous counter. Seed: verify whether the seed matches the previous seed. Fixed key: verify whether the fixed key matches the previous fixed key. Random key: verify whether the random key matches the previous random key. Chip ID: verify whether the chip ID matches the previous chip ID. Check code: verify whether the check code is correct.

[0107] If the decrypted data is verified, the BCM confirms that the key to be matched is legal and allows the corresponding operations of the target key, such as unlocking the door, starting the engine, etc. If the verification fails, the BCM may take different measures, such as rejecting the operation, triggering the alarm, or entering the safety mode.

[0108] Through the above encryption algorithm process and data verification steps, it can be ensured that only legitimate keys can be successfully associated with the vehicle, improving the safety and anti-theft performance of the car.

[0109] In some embodiments, the pre-encrypted learning frame also includes a function key code, key duration, and number of key presses. The encrypted learning frame is sent to the BCM, which decrypts the received encrypted learning frame to obtain the key duration and number of key presses. The BCM then verifies the legitimacy of the current operation based on matching the number of key presses with a preset number of key presses. After verification, the decrypted data, including the key duration, is matched with the BCM. If a match is found, the key serial ID is stored, completing the association between the key to be matched and the target vehicle.

[0110] In some embodiments, the key duration is obtained by the following process:

[0111] If a matching instruction is received after the target button of the key to be matched is pressed, the timestamps of the target button being pressed and released are collected;

[0112] Determine the key duration based on the time difference between the target key being pressed and released.

[0113] In this embodiment, keystroke timing is collected to increase security and verification for the following reasons:

[0114] First, everyone's keystroke habits and rhythm are unique. Even if you know which keys to press, it is very difficult to accurately imitate the specific keystroke timing pattern, which increases the difficulty of cracking and makes it difficult for unauthorized persons to successfully pair.

[0115] Secondly, a specific keystroke sequence can be set as a "password" known only to authorized users. For example, requiring certain keys to be pressed quickly or slowly in a specific order within a certain timeframe makes this covert authentication method difficult to detect and crack.

[0116] Furthermore, keystroke timing data can be combined with other authentication factors to form a multi-dimensional verification system, such as passwords and biometrics, to further enhance security.

[0117] In addition, different users may have different keystroke timing styles. By long-term recording and analysis of the keystroke timing characteristics of legitimate users, the system can better identify legitimate users and abnormal behaviors.

[0118] For example, if the pairing process requires long pressing a key for 2 seconds, followed by a short press of another key for 1 second, an attacker who cannot accurately grasp this timing rhythm will fail the verification. Furthermore, this method is not as easy to steal or guess as traditional passwords, thus providing a more reliable security guarantee for key pairing.

[0119] The number of key presses is obtained through the following process:

[0120] If a matching instruction is received after the target button of the key to be matched is pressed, the number of times the target button is pressed is collected to obtain the number of key presses.

[0121] In this embodiment, by verifying whether the collected number of key presses matches the number of key presses last recorded on the BCM, the continuity and consistency of key operations are ensured, thereby preventing erroneous or repeated operations.

[0122] In other embodiments, the accuracy and security of verifying key matching can be increased by the number of key presses and the duration of key presses. This double verification can reduce the risk of misjudgment and improve the level of protection for the vehicle.

[0123] Based on the above embodiment, the learning frame is encrypted by a layered protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, thereby improving the confidentiality and security of the key matching process.

[0124] Based on the above embodiments and the matching interaction between the key to be matched and the target vehicle, this specification provides a vehicle key matching method. Figure 2 As shown, Figure 2 This is a flowchart of a vehicle key matching method according to an exemplary embodiment of the present specification. The vehicle key matching method is applied to the BCM of a target vehicle, and the method includes the following steps:

[0125] In step 201, when the BCM of the target vehicle enters a learning mode, an encrypted learning frame is received from a key to be matched. The encrypted learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm. The learning frame includes a key serial ID and is generated when the key to be matched meets a matching trigger condition.

[0126] In step 202, the encrypted learning frame is decrypted using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data; the preset decryption algorithm corresponds to the preset encryption algorithm;

[0127] In step 203, the decrypted data is matched with the data preset in the BCM. If the decrypted data matches the BCM, the key serial ID is stored, and the association between the key to be matched and the target vehicle is completed.

[0128] Specifically, after the BCM of the target vehicle enters the learning mode, the matching operation between the key to be matched and the target vehicle is performed. The BCM can enter the learning mode through a dedicated diagnostic instrument or programming tool, or by monitoring the external input status of the vehicle.

[0129] When the BCM of the target vehicle enters the learning mode, it receives the learning frame sent by the key to be matched. The learning frame is generated when the key to be matched receives the matching instruction fed back after the target button of the key to be matched is pressed. The learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, and contains the key serial ID of the key to be matched.

[0130] In step 202, decrypting the encrypted learning frame using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data includes the following steps:

[0131] Step 2021: Decrypt the encrypted learning frame using a conventional decryption algorithm corresponding to the conventional encryption algorithm to obtain internal encrypted data;

[0132] The conventional decryption algorithm described in this article refers to a decryption algorithm corresponding to a conventional encryption algorithm (such as code hopping encryption technology, XTEA, AES encryption, Keeloq encryption, Hitag encryption, etc.). The conventional decryption algorithm is used to decrypt the encrypted learning frame to obtain internal encrypted data encrypted using a preset encryption algorithm. The internal encrypted data includes data for matching and verification. Therefore, the preset decryption algorithm is further used to decrypt the internal encrypted data to obtain the data of the learning frame before encryption.

[0133] Step 2022: Obtain the same random key, seed, and fixed key as used in the encryption process, perform an XOR operation on the random key, the seed, and the fixed key, and obtain a decryption key corresponding to the preset decryption algorithm;

[0134] The preset decryption algorithm corresponds to the preset encryption algorithm and can decrypt encrypted data. Therefore, during the decryption process, the same encryption information as the encryption process, such as the random key, seed, and fixed key, is obtained. An XOR operation is performed on the random key, seed, and fixed key. This operation is the inverse of the encryption key generation process, resulting in the decryption key corresponding to the preset decryption algorithm.

[0135] As an example, BCM uses the same seed and fixed key as used in the encryption process, performs an XOR operation on the seed and the fixed key to obtain an intermediate result, and then performs an XOR operation on the intermediate result and the random key to obtain the final decryption key.

[0136] The decryption key generated in this way is the same as the key used in the encryption process, so the encrypted learning frame can be correctly decrypted.

[0137] Step 2023: Based on the decryption key, use the preset decryption algorithm to perform an XOR operation on the internal encrypted data to obtain decrypted data.

[0138] The process of decrypting the internal encrypted data using the preset decryption algorithm is an inverse operation corresponding to the encryption process, thereby obtaining the decrypted data, that is, the data of the learning frame before encryption.

[0139] In step 2023, performing an XOR operation on the internal encrypted data using the preset decryption algorithm based on the decryption key to obtain decrypted data includes the following steps:

[0140] First, it is necessary to obtain algorithm parameters in a preset encryption algorithm for encrypting the learning frame; the algorithm parameters include encryption strength (ie, algorithm ID data delta) and the number of encryption cycles.

[0141] Then, based on the decryption key, a preset decryption algorithm is used to perform an XOR operation on the internal encrypted data to obtain an intermediate result. The encrypted learning frame data is XORed with the decryption password to obtain a decrypted intermediate result temp.

[0142] Next, based on the algorithm ID data delta and the number of encryption cycles, the preset decryption algorithm performs a series of shifts and XOR operations on the intermediate result, reversing the encryption process to restore the pre-encrypted data. As an example, the encrypted learning frame data is XORed by a preset right shift (e.g., 4 bits) and a preset left shift (e.g., 5 bits). The encrypted learning frame data is then subtracted from the XOR result. This step is repeated until the number of decryption cycles reaches the number of encryption cycles, completing all inverse operations to obtain the final decrypted data, which is the pre-encrypted learning frame.

[0143] In some embodiments, reference Figure 3 , data is transmitted between the key to be matched and the target vehicle via radio frequency signals.

[0144] Before decrypting the encrypted learning frame using the conventional decryption algorithm and the preset decryption algorithm, the method further includes:

[0145] BCM enters learning mode and prepares to receive the learning frame of the key to be matched;

[0146] The key to be matched sends a learning frame. The user presses the target button on the key to be matched, and the encrypted learning frame is sent through the RF antenna.

[0147] After the BCM receives the RF signal, it is first decoded by the RF decoding module and converted into a digital signal;

[0148] The microcontroller in the BCM collects digital signals;

[0149] The single chip microcomputer uses a preset encryption algorithm and a conventional decryption algorithm to decrypt the digital signal to obtain the decrypted data.

[0150] In some embodiments, before decryption, the legitimacy of the decryption identity needs to be verified. This can be accomplished by verifying the user's identity, password, or other authorization information. Only legitimate users can perform decryption operations.

[0151] In step 203, during the key pairing process, the "key function" in the learning frame sent by the key to the BCM is used to inform the BCM of the key operation corresponding to the key.

[0152] After receiving the learning frame, the BCM matches the key function information in it with the preset function. For example, if you press the unlock button on the key, the key function in the learning frame may be set to "unlock". After receiving this information, the BCM will perform the corresponding unlocking operation.

[0153] In this way, the BCM can identify key presses of different keys and perform corresponding controls according to the preset logic, such as unlocking and locking the doors, starting the engine, etc.

[0154] The specific button functions and corresponding operations may vary depending on the vehicle model and configuration. Some vehicles may support custom button functions, allowing users to set specific buttons to different operations according to their needs.

[0155] In some embodiments, the learning frame includes a chip ID and a key duration. The key matching method further includes:

[0156] Matching the chip ID with a pre-stored legitimate ID in the BCM;

[0157] After the matching is successful, the key duration is calculated based on the benchmark key time range corresponding to multiple functions in the BCM to determine the target function.

[0158] In this embodiment, the chip ID of the key to be matched is used to verify the chip's identity during the key matching process, ensuring that only authorized chips can complete key matching and decryption operations. Furthermore, unauthorized users generally have difficulty obtaining the chip ID of the key to be matched, further enhancing the confidentiality and security of the matching process.

[0159] After the chip ID is matched, the key duration is obtained and calculated and compared with the internal data of the BCM. Depending on the length of time, the output function may vary. This means that different key durations may trigger different operations or functions. For example, a shorter key press may correspond to one function, while a longer key press may correspond to another function.

[0160] The key press duration is compared with a predefined benchmark key press time range corresponding to multiple functions. If the key press duration is within the time range, it is considered to be a valid key press duration. If the key press duration is not within the time range, an error may be triggered or other security measures may be taken.

[0161] Under a legal key duration, the corresponding target function is determined by the key duration, and the function is included in the function list predefined in the BCM.

[0162] During key function verification, the decrypted key function is typically determined based on the key function code information before encryption. During the encryption process, the key function code for the function key is encrypted and included in the encrypted data. After decryption, the BCM extracts the decrypted key function code and compares the corresponding function with a predefined function list to determine if the key function is valid. In other words, if the function reported by the decrypted key function code matches the target function, key learning is successful, the key to be matched is associated with the target vehicle, and the key serial ID of the key to be matched is stored.

[0163] In other embodiments, the learning frame further includes the number of times the target key is pressed, that is, the number of key presses.

[0164] Before calculating the key duration based on the reference key time ranges corresponding to the multiple functions in the BCM to determine the target function, the method further includes:

[0165] The number of key presses is matched with the reference number in the BCM, wherein the reference number is obtained through the vehicle's electronic system or BCM. A common method is to set a counter or storage unit in the vehicle's BCM to record the number of key presses last time. When the remote control key sends a signal, the vehicle's electronic system will receive the signal and compare the current number of key presses with the stored number of key presses last time. Another method is to transmit the information of the number of key presses through the communication protocol between the vehicle and the remote control key. When the remote control key sends a signal, the current number of key presses can be included in the signal. After the vehicle's electronic system receives the signal, it extracts the number of key presses and compares it with the number recorded last time. In addition, some vehicles' remote control keys may have a memory function that can automatically record the number of key presses last time. In this case, the number of key presses for the first time may be the default starting number, such as 0 or 1.

[0166] By verifying that the number of key presses matches the number of key presses last time, the continuity and consistency of key operations can be ensured. This helps prevent misoperations, repeated operations, or other abnormal situations, and improves the reliability and security of the remote control key.

[0167] In addition, keystroke count verification can also be used for vehicle personalization and function control. For example, some vehicles may perform specific operations such as adjusting windows, opening the trunk, or setting other vehicle functions based on different keystroke combinations.

[0168] It should be noted that a keystroke count match can be understood as being consistent with a baseline count under certain specific rules or expectations. For example, if the number of keystrokes is a fixed value, then the current keystroke count and the previous keystroke count are the same, which is considered a match. Alternatively, if the current keystroke count matches the expected relationship with the previous keystroke count within a certain sequence pattern, this can also be considered a match.

[0169] In this embodiment, the recorded number of key presses and the measured key press duration are compared with reference data. If both are within a preset range, the legitimacy of the key matching operation can be verified, and the key matching can be deemed successful. During the key matching process, even if an unauthorized user copies the program for the key to be matched, they will not be able to obtain information such as the key chip ID, number of key presses, and key press duration stored in the BCM. The chip ID is crucial for forming the random key. An error in the random key will result in a different decryption result, inevitably leading to a matching failure. Therefore, associating the number of key presses with the key press duration can increase the accuracy and security of key matching verification.

[0170] In some embodiments, after matching the decrypted data with data preset in the BCM and storing the key serial ID in step 203 if the decrypted data matches the BCM, the method further includes:

[0171] When the key serial IDs stored in the BCM exceed a preset authorized quantity, obtaining a timestamp when each key serial ID is stored;

[0172] According to the time sequence, the first key sequence ID is erased.

[0173] In this embodiment, when the BCM stores more serial IDs than the preset authorized number, it automatically manages the addition of new keys using a first-in, first-out (FIFO) approach. This means that when a new key is programmed, the first stored serial ID (i.e., the ID of the earliest programmed key) is erased to make room for the new key ID. It should be noted that erasing the old key ID will no longer allow that key to start the vehicle. This is a security measure to prevent theft and unauthorized access. If an erased key ID is needed to be reused, the user may need to reprogram the key.

[0174] In this embodiment, through this management method, the BCM can effectively control the vehicle's startup authority to ensure that only authorized keys can be used.

[0175] Based on the above embodiment, the encrypted learning frame is decrypted using a preset decryption algorithm and a conventional decryption algorithm corresponding to the preset encryption algorithm and conventional encryption algorithm. The decryption key used in the decryption process is the same as the encryption key used in the encryption process, thereby obtaining the decrypted data and ensuring the confidentiality of key matching. Furthermore, the learning frame transmitted by the key to be matched includes information such as the number of key presses, the duration of key presses, and the key function code. This information is used for data encryption, decryption, and verification. Because this information reflects the data of each key matching operation, only the target vehicle's BCM stores the relevant information, while the key program does not contain this information. Therefore, even if another user copies the program of the key to be matched and uses a universal remote control to match the target vehicle, the difficulty in obtaining this information will result in a matching error, making it impossible to control the target vehicle. This means that this system can effectively improve the vehicle's anti-theft factor and reduce the risk of vehicle theft.

[0176] The present application provides a vehicle key matching method, device and computer-readable storage medium. When the BCM of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame including a key serial ID is generated, and the learning frame is encrypted using a layered protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, thereby improving the confidentiality of the key matching process. The encrypted learning frame is sent to the BCM for matching learning. Only when the decrypted data matches the BCM, the key serial ID is stored to complete the association between the key to be matched and the target vehicle, thereby effectively improving the vehicle's anti-theft coefficient and reducing the risk of vehicle theft.

[0177] Based on the same application concept as the above method, the embodiment of the present application also proposes a vehicle key matching device, such as Figure 4 The management device is applied to the key to be matched;

[0178] The device comprises:

[0179] The data generating module 402 is configured to generate a learning frame including a key serial ID when the body controller of the target vehicle enters a learning mode and the key to be matched meets a matching trigger condition;

[0180] A data encryption module 404 is configured to encrypt the learning frame using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame;

[0181] The data sending module 406 is used to send the encrypted learning frame to the body controller so that the body controller can decrypt the received encrypted learning frame; if the decrypted data matches the body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0182] The implementation process of the functions and effects of each module / submodule / unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and the same technical effects can be achieved, so it will not be repeated here.

[0183] Figure 5 The following is a schematic diagram of the physical structure of a vehicle key matching device, such as Figure 5 As shown, the vehicle key matching device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to execute a vehicle key matching method, which includes: when the body controller of the target vehicle enters a learning mode, if the key to be matched meets a matching trigger condition, generating a learning frame including a key serial ID; encrypting the learning frame using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame; sending the encrypted learning frame to the body controller for the body controller to decrypt the received encrypted learning frame; if the decrypted data matches the body controller, storing the key serial ID, thereby completing the association between the key to be matched and the target vehicle.

[0184] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0185] On the other hand, the present application also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the vehicle key matching method provided by the above methods, which includes: when the body controller of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame containing a key serial ID is generated; the learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame; the encrypted learning frame is sent to the body controller so that the body controller can decrypt the received encrypted learning frame; if the decrypted data matches the body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

[0186] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the vehicle key matching method provided by the above-mentioned methods, the method comprising: when the body controller of the target vehicle enters a learning mode, if the key to be matched meets the matching trigger condition, generating a learning frame containing a key serial ID; encrypting the learning frame using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame; sending the encrypted learning frame to the body controller so that the body controller can decrypt the received encrypted learning frame; if the decrypted data matches the body controller, storing the key serial ID to complete the association between the key to be matched and the target vehicle.

[0187] It should be noted that the technical solutions or technical features described in the above embodiments can be combined or supplemented with each other without conflict. The scope of protection of this application is not limited to the precise structures described in the above embodiments and shown in the accompanying drawings; all modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application shall be included in the scope of protection of this application.

Claims

1. A vehicle key matching method, characterized in that: The method is applied to a key to be matched, and the method includes: When the body controller of the target vehicle enters the learning mode, if the key to be matched meets the matching trigger condition, a learning frame including the key serial ID is generated; The learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm; the preset encryption algorithm is a process of masking the data of the learning frame; wherein, the layered encryption protection mechanism formed by the preset encryption algorithm and the conventional encryption algorithm is used to encrypt the learning frame, including: generating a random key based on the plaintext identification code and seed information in the key to be matched; performing an XOR operation on the random key and a fixed key to generate an encryption key; based on the encryption key, masking the learning frame using the preset encryption algorithm to obtain internal encrypted data; encrypting the internal encrypted data using the conventional encryption algorithm to obtain an encrypted learning frame; The encrypted learning frame is sent to the body controller so that the body controller decrypts the received encrypted learning frame; if the decrypted data matches the body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

2. The vehicle key matching method according to claim 1, wherein: The method further comprises: A random key is generated based on the plaintext identification code and chip ID information in the key to be matched.

3. The vehicle key matching method according to claim 1, wherein: The key to be matched is provided with a first buffer zone, a second buffer zone and a third buffer zone for storing data; The step of performing mask processing on the learning frame based on the encryption key and utilizing the preset encryption algorithm to obtain internal encrypted data includes: Transferring the learning frame before encryption into the first buffer, and transferring the encryption key into the second buffer; Under a preset encryption strength, performing a cyclic operation including shifting and XOR operations on the data in the first buffer; When the loop end condition is met, the data in the first buffer after the loop is XORed with the data in the second buffer to obtain internal encrypted data and the internal encrypted data is transferred to the third buffer for transmission to the body controller for matching verification.

4. The vehicle key matching method according to claim 1, wherein: The matching trigger condition includes receiving a matching instruction fed back after a target key of the key to be matched is pressed, and the learning frame includes the key duration and number of times the target key is pressed; The method further comprises: The encrypted learning frame is sent to the body controller so that the body controller decrypts the received encrypted learning frame to obtain the key duration and the number of key presses; the legitimacy of the current operation is verified based on the number of key presses and the preset number of times; after the verification is passed, the decrypted data including the key duration is matched with the body controller. If there is a match, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

5. The vehicle key matching method according to claim 1, wherein: The method is applied to a body controller of a target vehicle, comprising: When the body controller of the target vehicle enters a learning mode, receiving an encrypted learning frame sent by the key to be matched, the encrypted learning frame is encrypted using a layered encryption protection mechanism formed by a preset encryption algorithm and a conventional encryption algorithm, the learning frame including a key serial ID, and is generated when the key to be matched meets a matching trigger condition; Decrypting the encrypted learning frame using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data; the preset decryption algorithm corresponds to the preset encryption algorithm; The decrypted data is matched with the data preset in the vehicle body controller. If the decrypted data matches the vehicle body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

6. The vehicle key matching method according to claim 5, characterized in that: Decrypting the encrypted learning frame using a conventional decryption algorithm and a preset decryption algorithm to obtain decrypted data includes: Decrypting the encrypted learning frame using a conventional decryption algorithm corresponding to the conventional encryption algorithm to obtain internal encrypted data; Obtaining a random key, a seed, and a fixed key identical to those used in the encryption process, performing an XOR operation on the random key, the seed, and the fixed key to obtain a decryption key corresponding to the preset decryption algorithm; Based on the decryption key, the preset decryption algorithm is used to perform an XOR operation on the internal encrypted data to obtain decrypted data.

7. The vehicle key matching method according to claim 6, characterized in that: The method of performing an XOR operation on the internal encrypted data using the preset decryption algorithm based on the decryption key to obtain decrypted data includes: Obtaining algorithm parameters of a preset encryption algorithm for encrypting the learning frame; the algorithm parameters include encryption strength and the number of encryption cycles; Based on the decryption key, using the preset decryption algorithm to perform an XOR operation on the internal encrypted data to obtain an intermediate result; Performing an inverse operation corresponding to the encryption process on the intermediate result based on the encryption strength; When the number of decryption cycles reaches the number of encryption cycles, decrypted data corresponding to the inverse operation is obtained.

8. The vehicle key matching method according to claim 5, wherein: The matching trigger condition includes receiving a matching instruction fed back after a target key of the key to be matched is pressed, and the decrypted data includes the duration of the target key being pressed, the number of times the target key is pressed, and the key function code corresponding to the target key; The decrypted data is matched with data preset in the vehicle body controller, and if the decrypted data matches the vehicle body controller, the key serial ID is stored to complete the association between the key to be matched and the target vehicle, including: Matching the key press count with a reference count in the vehicle body controller; After the matching is successful, the key duration is calculated according to the reference key time range corresponding to the preset function in the vehicle body controller to determine the target function; If the target function matches the function corresponding to the key function code, the key serial ID is stored to complete the association between the key to be matched and the target vehicle.

9. The vehicle key matching method according to claim 8, wherein: The decrypted data also includes the chip ID; The method further comprises: Matching the chip ID with a pre-stored legitimate ID in the vehicle body controller; After the matching is passed, the key duration is calculated according to the reference key time range corresponding to multiple functions in the vehicle body controller to determine the target function.

10. The vehicle key matching method according to claim 5, characterized in that: The method further comprises: matching the decrypted data with data preset in the vehicle body controller, and storing the key serial ID if the decrypted data matches the vehicle body controller. When the key serial IDs stored in the vehicle body controller exceed a preset authorized quantity, obtaining a timestamp when each key serial ID is stored; According to the time sequence, the first key sequence ID is erased.

11. A vehicle key matching device, characterized in that: The vehicle key matching method comprises a memory, a processor and a vehicle key matching program stored in the memory and executable on the processor. When the processor executes the vehicle key matching program, the steps of the vehicle key matching method according to any one of claims 1 to 10 are implemented.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a vehicle key matching program, which, when executed, implements the steps of the vehicle key matching method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Vehicle-mounted remote control system and method for defending same carrier attack

    CN113205624A

  • Vehicle end digital key pushing method and system, electronic equipment and readable storage medium

    CN115396191A