Smart key learning method, device, storage medium, and apparatus

By generating and writing random numbers into the smart key and attaching a barcode on the vehicle production line, the vehicle controller scans the barcode to learn, which solves the problem of mislearning caused by high-frequency signal interference, improves the key learning efficiency and reliability, and reduces R&D costs and management difficulty.

CN117058790BActive Publication Date: 2026-03-17ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311052228.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-18
Publication Date
2026-03-17
Estimated Expiration
2043-08-18

AI Technical Summary

Technical Problem

On the vehicle production line, the learning process of smart keys is easily affected by high-frequency signal interference, which can lead to mislearning or learning failure, affecting the production cycle. Furthermore, existing technologies require both vehicle controllers and key manufacturers to develop complex key processes, resulting in high management difficulty and high R&D costs.

Method used

The OEM equipment generates random number information and sends it to the key manufacturer equipment. The key manufacturer equipment writes the random number information into the smart key circuit board and attaches a barcode. The vehicle accesses the open interface of the vehicle controller by scanning the barcode information to learn the key, which simplifies the key learning process and reduces high-frequency signal interference.

Benefits of technology

It improves the efficiency and reliability of smart key learning, reduces R&D costs, optimizes production line efficiency, and simplifies management and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117058790B_ABST
    Figure CN117058790B_ABST
Patent Text Reader

Abstract

This application provides a smart key learning method, device, storage medium, and apparatus, applicable to the field of vehicle technology. The OEM equipment acquires relevant vehicle information, including at least one of a serial number, engine code, random number, and key. This information is packaged according to a set rule to obtain random number information, which is then sent to the key manufacturer equipment. The key manufacturer equipment writes the random number information into the smart key's circuit board and attaches a barcode containing the random number information to the surface of the smart key, eliminating the need for development according to a standard key-based process. The vehicle controller acquires the barcode information through scanning or other methods and accesses its open interface based on the random number information to learn the smart key. This application can reduce interference from high-frequency signals on smart key learning, improve key learning efficiency and reliability, and optimize production line efficiency and cycle time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a smart key learning method, device, storage medium and apparatus. Background Technology

[0002] In the field of vehicle technology, when vehicles coming off the production line and their keys undergo rapid learning and matching, both the vehicle controller and the key manufacturer need to develop their systems according to an agreed-upon key development process. Vehicle-related information, such as serial numbers, random codes, and keys, is written into the printed circuit board (PCBA) of the vehicle controller and the PCBA of the key. At the vehicle depot, specialized equipment is used to perform the matching learning between the vehicle and the key. When the serial numbers, random codes, and keys of both parties pass verification, the match is considered successful, and the key becomes legitimate. However, the vehicle depot experiences significant high-frequency signal interference, which can easily lead to mislearning or learning failures, affecting production cycles.

[0003] Therefore, there is an urgent need for a new technological means to improve the efficiency and reliability of key learning and meet current usage requirements. Summary of the Invention

[0004] This application provides a smart key learning method, device, storage medium, and apparatus to improve key learning efficiency and reliability.

[0005] Firstly, this application provides a smart key learning method for use in a vehicle controller, comprising:

[0006] Obtain the random number information of the smart key. The random number information is contained in the circuit board of the smart key. The random number information is obtained by packaging relevant vehicle information according to a set rule. The relevant information includes at least one of the serial number, engine code, random number and key.

[0007] Access the vehicle controller's open interface based on random number information to learn the smart key.

[0008] In one possible implementation, the open interface is developed according to the key-key process and based on relevant information.

[0009] In one possible implementation, the aforementioned random number information is written into the circuit board of the smart key using a dedicated device.

[0010] In one possible implementation, the above-mentioned setting rules include:

[0011] Based on the relevant information, generate multiple key numbers with their first digit as the first digit; concatenate the multiple key numbers with their first digit as the first digit to obtain random number information;

[0012] And / or, based on relevant information, generate multiple key numbers with a second digit; XOR the key numbers with the second digits to obtain random number information.

[0013] In one possible implementation, obtaining the random number information of the smart key includes: scanning the QR code or barcode on the key box with a scanning device to obtain barcode information, the barcode information containing random number information, and the key box containing at least one smart key.

[0014] In one possible implementation, the above-described key-key process is developed based on the Advanced Encryption Standard (AES) or the Extended Minimal Encryption Algorithm (XTEA).

[0015] Secondly, this application provides a smart key learning method, applied to OEM equipment, including:

[0016] Obtain relevant vehicle information, including at least one of the following: serial number, engine code, random number, and key;

[0017] The above-mentioned relevant information is packaged according to the set rules to obtain random number information;

[0018] The aforementioned random number information is sent to the key manufacturing equipment to write the random number information into the circuit board of the smart key. The random number information is used for smart key learning.

[0019] In one possible implementation, the above-mentioned packaging of relevant information according to a set rule to obtain random number information includes: generating multiple key numbers with a first digit based on the above-mentioned relevant information; concatenating multiple key numbers with a first digit to obtain the above-mentioned random number information; and / or, generating multiple key numbers with a second digit based on the above-mentioned relevant information; and XORing the multiple key numbers with a second digit to obtain the above-mentioned random number information.

[0020] Thirdly, this application provides a smart key learning method, applied to key factory equipment, including:

[0021] Obtain random number information, which is obtained by packaging relevant vehicle information according to set rules. The relevant information includes at least one of serial number, engine code, random number and key.

[0022] Random number information is written into the circuit board of the smart key, and barcode information containing random number information is attached to the surface of the smart key. The random number information is used for smart key learning.

[0023] In one possible implementation, writing the random number information into the circuit board of the smart key includes:

[0024] Random number information is written into the circuit board using specialized equipment.

[0025] In one possible implementation, the smart key is placed in a key box, which has barcode information attached to it, and the key box contains at least one smart key.

[0026] Fourthly, this application provides a smart key learning device for use in a vehicle controller, comprising:

[0027] The acquisition module is used to acquire the random number information of the smart key. The random number information is contained in the circuit board of the smart key. The random number information is obtained by packaging relevant vehicle information according to a set rule. The relevant information includes at least one of the serial number, engine code, random number and key.

[0028] The processing module is used to access the open interface of the vehicle controller based on random number information in order to learn the smart key.

[0029] In one possible implementation, the open interface is developed according to the key-key process and based on relevant information.

[0030] In one possible implementation, the aforementioned random number information is written into the circuit board of the smart key using a dedicated device.

[0031] In one possible implementation, the processing module may be specifically used to: generate multiple key numbers with a first digit based on relevant information; concatenate multiple key numbers with a first digit to obtain random number information; and / or, generate multiple key numbers with a second digit based on relevant information; and XOR the key numbers with the second digits to obtain random number information.

[0032] In one possible implementation, the processing module may be specifically used to: scan the QR code or barcode on the key box using a scanning device to obtain the barcode information, wherein the key box contains at least one smart key.

[0033] In one possible implementation, the processing module can also be specifically used for: key-key process development based on AES or XTEA.

[0034] Fifthly, this application provides a smart key learning device for use in OEM equipment, comprising:

[0035] The acquisition module is used to acquire relevant vehicle information, including at least one of the following: serial number, engine code, random number, and key.

[0036] The processing module is used to package relevant information according to set rules to obtain random number information;

[0037] The sending module is used to send random number information to the key factory equipment so that the random number information can be written into the circuit board of the smart key. The random number information is used for smart key learning.

[0038] In one possible implementation, the processing module may be specifically used to: generate multiple key numbers with a first digit based on relevant information; concatenate multiple key numbers with a first digit to obtain random number information; and / or, generate multiple key numbers with a second digit based on relevant information; and XOR the multiple key numbers with a second digit to obtain random number information.

[0039] Sixthly, this application provides an intelligent key learning device for use in key factory equipment, comprising:

[0040] The acquisition module is used to acquire random number information, which is obtained by packaging relevant vehicle information according to a set rule. The relevant information includes at least one of serial number, engine code, random number and key.

[0041] The writing module is used to write random number information into the circuit board of the smart key and attach barcode information to the surface of the smart key. The barcode information contains random number information, which is used for smart key learning.

[0042] In one possible implementation, the random number information is written into the circuit board using a dedicated device.

[0043] Seventhly, this application provides an intelligent key learning system, comprising:

[0044] A vehicle controller for executing the smart key learning method described in any one of the first aspects;

[0045] The OEM equipment is used to execute the smart key learning method described in any of the second aspects;

[0046] Key factory equipment for performing the smart key learning method described in any of the third aspects.

[0047] Eighthly, this application provides an electronic device, including: a memory and a processor;

[0048] The memory stores computer programs;

[0049] The processor executes a computer program that causes the processor to perform the smart key learning method described in any one of the first, second, or third aspects.

[0050] Ninthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed, implement the smart key learning method as described in any one of the first, second, or third aspects.

[0051] In a tenth aspect, this application provides a computer program product, including a computer program that, when executed, implements the smart key learning method as described in any one of the first, second, or third aspects.

[0052] This application provides a smart key learning method, device, storage medium, and apparatus. The OEM (Original Equipment Manufacturer) equipment acquires vehicle-related information, including at least one of a serial number, engine code, random number, and key. This information is packaged according to a set rule to obtain random number information, which is then sent to the key manufacturer equipment. Correspondingly, the key manufacturer equipment writes the random number information into the smart key's circuit board and attaches a barcode containing the random number information to the surface of the smart key, eliminating the need for development according to a standard key process. Thus, when the vehicle rolls off the production line, the barcode information can be collected by scanning and transmitted to the vehicle controller. The vehicle controller then accesses its open interface based on the random number information to learn the smart key. This method reduces interference from high-frequency signals during smart key learning, enabling the smart key to learn quickly and effectively from the vehicle, improving key learning efficiency and reliability, and optimizing production line efficiency. Attached Figure Description

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

[0054] Figure 1 A flowchart illustrating a smart key learning method provided in an embodiment of this application;

[0055] Figure 2 A schematic diagram illustrating the open interface of a vehicle controller provided in an embodiment of this application, following the unified key and key process of the OEM.

[0056] Figure 3 A flowchart illustrating a smart key learning method provided in another embodiment of this application;

[0057] Figure 4 A schematic diagram of the structure of a smart key learning device for a vehicle controller provided in an embodiment of this application;

[0058] Figure 5 A schematic diagram of the structure of a smart key learning device for OEM equipment provided in an embodiment of this application;

[0059] Figure 6 This is a schematic diagram of the structure of an intelligent key learning device applied to key factory equipment according to an embodiment of this application;

[0060] Figure 7This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0061] Figure 8 This is a schematic diagram of the structure of an intelligent key learning system provided in an embodiment of this application.

[0062] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0063] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0064] When vehicles off the production line undergo rapid learning and matching with smart keys, the presence of numerous high-frequency signal interferences at the vehicle depot can easily lead to mislearning or failures in the smart key learning process, severely impacting cycle time and making management extremely difficult. Furthermore, the vehicle controller's circuit board requires software and hardware development according to the key-key process, and the key manufacturer's equipment must also be simultaneously tested and matched. Both the vehicle controller and the smart key need to verify the key serial number, random code, and key; only after mutual verification is the smart key considered a legitimate vehicle key. If different suppliers are involved, the management difficulty and cost are both high.

[0065] To address the aforementioned technical issues, this application provides a smart key learning method, device, storage medium, and apparatus. The OEM equipment first packages relevant vehicle information (serial number, random number, ESK key, etc.) according to predefined rules to obtain random number information, which is then sent to the key manufacturer equipment. The key manufacturer equipment writes the random number information into the smart key's circuit board and attaches a barcode containing the random number information to the surface of the smart key. Vehicles off the production line learn the smart key by scanning the barcode information. This learning method reduces signal interference, including high-frequency signals, improves key learning efficiency and reliability, and eliminates the need for the key manufacturer to develop its own key process, reducing R&D costs and optimizing production line efficiency.

[0066] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0067] Figure 1 This is a flowchart illustrating a smart key learning method provided in one embodiment of this application. The smart key learning method provided in this embodiment is implemented through the cooperation of a vehicle, OEM equipment, and key manufacturer equipment. (Reference) Figure 1 The smart key learning method includes the following steps:

[0068] S101. The OEM equipment obtains relevant vehicle information, including at least one of serial number, engine code, random number and key; and packages the relevant information according to the set rules to obtain random number information.

[0069] The vehicle identification number (VIN) contains information such as the vehicle's manufacturer, year, model, body style, and assembly location. The key can be a specific Electronic Secret Key (ESK), a parameter typically 128 bits long, input into algorithms that convert plaintext to ciphertext or vice versa, used to protect user information. The engine code contains information about the vehicle's engine, such as the product series code, company code, manufacturer information, number of cylinders, and cylinder arrangement symbol. The random number is a numerical code randomly assigned to the vehicle by factory personnel when it leaves the factory; it can be any Arabic numeral.

[0070] It is understandable that the vehicle's serial number, engine code, random number, and key are all unique.

[0071] S102, The main equipment manufacturer sends random number information to the key manufacturer's equipment.

[0072] From the perspective of the OEM equipment, sending random number information to the key manufacturer equipment is to write the random number information into the circuit board of the smart key, and this random number information is used for smart key learning.

[0073] In some embodiments, to improve efficiency, the OEM equipment can generate multiple random number information simultaneously in batches and send them to the key manufacturer equipment for use. For example, generating 1,000 random number information at a time can write to 2,000 smart keys, with every two smart keys having the same random number information written to them.

[0074] Correspondingly, the key manufacturer device receives random number information. It can be understood that after receiving the random number information, the key manufacturer device may not immediately execute S103. That is to say, the process of the key manufacturer device writing random number information into the circuit board of the smart key and the process of the host manufacturer device sending random number information to the key manufacturer device are independent of each other. The embodiments of this application do not limit the specific execution time of S103, as long as it is executed after the key manufacturer device receives the random number information.

[0075] Furthermore, the key factory equipment that receives the random number information and the key factory equipment that executes S103 can be the same equipment or different equipment.

[0076] S103. The key factory equipment obtains random number information, writes the random number information into the circuit board of the smart key, and attaches barcode information containing random number information to the surface of the smart key.

[0077] For example, the circuit board can specifically be a PCBA.

[0078] This application does not limit the implementation method of writing random number information into the circuit board. One possible implementation involves writing the random number information into the circuit board of the smart key via a dedicated device. For example, the dedicated device can be connected to the smart key wirelessly to write the random number information. Optionally, the dedicated device can also be a user-developed web tool that connects to the smart key via a protocol for data interaction.

[0079] Optionally, the barcode information can be in the form of a QR code and / or a barcode, which can be affixed to the surface of the smart key.

[0080] Based on the above, the following steps can be performed when a vehicle rolls off the production line:

[0081] S104. The vehicle controller obtains the random number information of the smart key and accesses the open interface of the vehicle controller to learn the smart key.

[0082] The random number information of the smart key can be obtained using a barcode scanning device, such as a wireless barcode scanner, a wired barcode scanner, or a fixed scanning platform. The barcode scanning device establishes a communication connection with the vehicle controller and transmits the scanned barcode information to the vehicle controller, which then obtains the random number information from the barcode information.

[0083] The open interface was developed according to the key-key process and based on relevant information.

[0084] An open interface can be a software interface, which can be understood as a software method embedded in a hardware device to support certain preset operations in the software. For example, in this step, the vehicle's relevant information is developed and encapsulated into an interface according to the key process and stored in the vehicle controller. When the vehicle controller obtains the random number information, it calls the method provided by the open interface to achieve the purpose of quickly learning the smart key.

[0085] It should be clarified that the execution of S104 by the vehicle controller is independent of the execution of S101 to S103. The embodiments of this application do not limit S104 to be executed in real time after S103, as long as the vehicle controller can obtain the barcode information.

[0086] In this embodiment, the OEM equipment acquires relevant vehicle information, including at least one of a serial number, engine code, random number, and key. This information is packaged according to a predefined rule to obtain random number information, which is then sent to the key manufacturer equipment. Correspondingly, the key manufacturer equipment writes the random number information into the circuit board of the smart key and attaches a barcode containing the random number information to the surface of the smart key, eliminating the need for development according to the key-based process. Thus, when the vehicle rolls off the production line, the random number information contained in the smart key can be obtained using methods such as barcode scanning, and the smart key can learn through the vehicle controller's open interface. This reduces interference from signals, including high-frequency signals, on the smart key learning process, enabling the smart key to learn quickly and effectively from the vehicle, improving key learning efficiency and reliability.

[0087] In addition, by simply developing and opening interfaces on the vehicle controller side according to the key process, it is possible to achieve effects such as reducing R&D costs, making it easier to manage, and optimizing production line efficiency and cycle time.

[0088] Based on the above embodiments, in one possible implementation, the key-key process can be developed according to the Advanced Encryption Standard (AES) or the eXtended Tiny Encryption Algorithm (XTEA).

[0089] AES, also known as Rijndael encryption, is a block cipher standard that supports three key lengths: 128-bit, 192-bit, and 256-bit. Optionally, the key length used in this application is 128-bit. When encrypting plaintext using AES, the plaintext is first split into independent plaintext blocks, each 128-bit in length. These plaintext blocks undergo complex processing by the AES encryption processor, including multiple rounds of byte substitution, row shifting, column obfuscation, and round key addition, to generate independent ciphertext blocks. These ciphertext blocks are then concatenated to produce the final AES encryption result.

[0090] XTEA is a symmetric encryption algorithm that uses a 128-bit key to encrypt and decrypt data. The encryption and decryption process of XTEA is completed by multiple rounds of iteration, and each round of iteration includes four steps: round key addition, substitution, permutation and round key addition.

[0091] refer to Figure 2 The vehicle controller is developed according to the OEM's unified key process and has an open interface. The key process can be based on AES or XTEA.

[0092] This application uses AES or XTEA for key processing development, which can improve the security of key learning.

[0093] Furthermore, the process of packaging relevant information according to the set rules to obtain random number information can include at least one of the following implementation methods:

[0094] The first implementation involves generating multiple key numbers with their first digit based on relevant information. These key numbers with their first digits are then concatenated to obtain the random number information. For example, if the random number information is set to 128 bits, a computer program or algorithm can be used to construct two 64-bit data sets from the relevant information. These 64-bit data sets represent the first digit of the key number. Concatenating these two 64-bit data sets yields the 128-bit random number, i.e., the random number information.

[0095] The second implementation involves generating multiple second-digit key numbers based on relevant information; then XORing these multiple second-digit key numbers to obtain random number information. Optionally, a computer program or algorithm can be used to construct a 256-bit data set from the relevant information. This 256-bit data set is the second-digit key number, and XORing this 256-bit data set bit by bit yields random number information.

[0096] like Figure 3As shown, the OEM (Original Equipment Manufacturer) sends a random number (Vehicle Identification Number) to the key manufacturer. This random number can be a 128-bit random number, obtained in one of two ways: 1. Concatenating two 64-bit key numbers; 2. XORing a 256-bit key number. Correspondingly, the key manufacturer uses a small device to write this random number into the circuit board of the smart key, resulting in two smart keys: KEY1 and KEY2. A barcode (QR code / barcode) containing this random number is then affixed to the surface of the two smart keys or to the key box containing them.

[0097] In this embodiment, vehicle-related information is packaged into random numbers by setting rules, which are then written into the circuit board of the smart key by the key manufacturer, simplifying the production process and reducing R&D costs.

[0098] In one possible implementation, the smart key can be placed in a key box, which has the aforementioned barcode information attached to it. The key box can contain at least one smart key. It is understood that the random number information written into each smart key within a key box is the same. Correspondingly, obtaining the random number information of the smart key can include: scanning the QR code or barcode on the key box using a scanning device to obtain barcode information, where the barcode information contains the random number information.

[0099] In summary, this application has at least the following advantages:

[0100] 1. The OEM generates a random number in its backend and sends it to the key manufacturer, who then writes the random number into the smart key. Two (or more) smart keys are packaged into one key box, with a QR code or barcode affixed to the box. During key learning, the OEM directly scans the QR code or barcode, effectively improving timeliness and production line efficiency. This avoids interference from numerous high-frequency signals from the OEM, which could lead to incorrect learning or failures, severely impacting timeliness.

[0101] Second, simplify the key development and learning process for circuit boards in vehicle controllers and smart keys, and only open interfaces according to a unified key process; it is not necessary to develop and match both parts, which solves the problem of high management difficulty to a certain extent.

[0102] Third, reduce R&D costs and optimize factory timelines to better improve efficiency and safety;

[0103] Fourth, compared to vehicle controller manufacturers, which also need to provide corresponding testing equipment to key manufacturers for quality inspection, the circuit board of the smart key also needs to be written with the corresponding serial number, random code and key, etc., to ensure that each smart key is successfully written and reliable. This application simplifies the smart key writing process, only requiring the random number generated by the OEM's backend to be written into the smart key, which improves the reliability of smart key writing to a certain extent.

[0104] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0105] Figure 4 This is a schematic diagram of a smart key learning device for a vehicle controller provided in one embodiment of this application. Figure 4 As shown, the smart key learning device 400 includes: an acquisition module 401 and a processing module 402. Wherein:

[0106] The acquisition module 401 is used to acquire the random number information of the smart key. The random number information is contained in the circuit board of the smart key. The random number information is obtained by packaging the relevant information of the vehicle according to the set rules. The relevant information includes at least one of the serial number, engine code, random number and key.

[0107] The processing module 402 is used to access the open interface of the vehicle controller based on random number information in order to learn the smart key.

[0108] In one possible implementation, the open interface is developed according to the key-key process and based on relevant information.

[0109] In one possible implementation, the aforementioned random number information is written into the circuit board of the smart key using a dedicated device.

[0110] In one possible implementation, setting the rules may include: generating multiple key numbers with a first digit based on relevant information; concatenating multiple key numbers with a first digit to obtain random number information; and / or, generating multiple key numbers with a second digit based on relevant information; and XORing the key numbers with the second digits to obtain random number information.

[0111] In one possible implementation, the acquisition module 401 may be specifically used to: scan the QR code or barcode on the key box using a scanning device to obtain barcode information, wherein the key box contains at least one smart key.

[0112] In one possible implementation, the key-key process is developed based on AES or XTEA.

[0113] The smart key learning device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0114] Figure 5 This is a schematic diagram of the structure of a smart key learning device for OEM equipment provided in one embodiment of this application. Figure 5 As shown, the smart key learning device 500 includes: an acquisition module 501, a processing module 502, and a sending module 503. Wherein:

[0115] The acquisition module 501 is used to acquire relevant information about the vehicle, including at least one of the following: serial number, engine code, random number, and key.

[0116] Processing module 502 is used to package relevant information according to set rules to obtain random number information;

[0117] The sending module 503 is used to send random number information to the key factory equipment so that the random number information is written into the circuit board of the smart key. The random number information is used for smart key learning.

[0118] Optionally, the processing module 502 can be specifically used to: generate multiple key numbers with the first digit as the first digit based on relevant information; and concatenate the multiple key numbers with the first digit as the first digit to obtain random number information.

[0119] And / or, the processing module 502 can be specifically used to: generate multiple second-digit key numbers based on relevant information; and XOR the multiple second-digit key numbers to obtain random number information.

[0120] The smart key learning device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0121] Figure 6 This is a schematic diagram of the structure of an intelligent key learning device applied to key factory equipment, provided as an embodiment of this application. Figure 6 As shown, the smart key learning device 600 includes: an acquisition module 601 and a writing module 602. Wherein:

[0122] The acquisition module 601 is used to acquire random number information, which is obtained by packaging relevant vehicle information according to a set rule. The relevant information includes at least one of serial number, engine code, random number and key.

[0123] The writing module 602 is used to write random number information into the circuit board of the smart key and attach barcode information to the surface of the smart key. The barcode information contains random number information, which is used for smart key learning.

[0124] Optionally, the writing module 602 can be specifically used to write random number information into the circuit board via a dedicated device.

[0125] Optionally, the smart key is placed in a key box with barcode information attached, and the key box contains at least one smart key.

[0126] The smart key learning device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0127] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, a processing module can be a separate processing element, or it can be integrated into a chip within the device. Alternatively, it can be stored as program code in the device's memory, and its functions can be called and executed by a processing element. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.

[0128] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a System-On-a-Chip (SOC).

[0129] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Video Discs, DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0130] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7 As shown, the electronic device 700 includes at least one processor 701, a memory 702, and a communication interface 703. The memory 702 and the communication interface 703 are connected to the processor 701 via a system bus and communicate with each other. The memory 702 stores instructions, the communication interface 703 communicates with other devices, and the processor 701 calls the instructions in the memory to execute the method steps provided in the above-described smart key learning method embodiment. The specific implementation and technical effects are similar and will not be repeated here.

[0131] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This system bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0132] The communication interface 703 is used to enable communication between the database access device and other devices (such as clients, read-write databases, and read-only databases).

[0133] The memory 702 may include random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.

[0134] Processor 701 can be a general-purpose processor, including a central processing unit, a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0135] Figure 8 This is a schematic diagram of the structure of a smart key learning system provided in an embodiment of this application. Figure 8 As shown, the smart key learning system 800 includes a vehicle controller 801, an OEM device 802, and a key manufacturer device 803. Wherein:

[0136] The vehicle controller 801 is used to perform the following actions: acquiring random number information of the smart key, the random number information being contained in the circuit board of the smart key, the random number information being obtained by packaging relevant vehicle information according to a set rule, the relevant information including at least one of serial number, engine code, random number and key; and accessing the open interface of the vehicle controller based on the random number information to learn the smart key.

[0137] In one possible implementation, the open interface is developed according to the key-key process and based on relevant information.

[0138] In one possible implementation, the aforementioned random number information is written into the circuit board of the smart key using a dedicated device.

[0139] In one possible implementation, setting the rules may include: generating multiple key numbers with a first digit based on relevant information; concatenating multiple key numbers with a first digit to obtain random number information; and / or, generating multiple key numbers with a second digit based on relevant information; and XORing the key numbers with the second digits to obtain random number information.

[0140] In one possible implementation, the vehicle controller 801 can be used to perform: scanning a QR code or barcode on the key box using a scanning device to obtain barcode information, the barcode information containing random number information, and the key box containing at least one smart key.

[0141] In one possible implementation, the key-key process is developed based on AES or XTEA.

[0142] The OEM device 802 is used to perform the following: acquiring relevant vehicle information, including at least one of serial number, engine code, random number and key; packaging the above-mentioned relevant information according to a set rule to obtain random number information; and sending the above-mentioned random number information to the key manufacturer device to write the above-mentioned random number information into the circuit board of the smart key, wherein the above-mentioned random number information is used for smart key learning.

[0143] In one possible implementation, the above-mentioned packaging of relevant information according to a set rule to obtain random number information includes: generating multiple key numbers with a first digit based on the above-mentioned relevant information; concatenating multiple key numbers with a first digit to obtain the above-mentioned random number information; and / or, generating multiple key numbers with a second digit based on the above-mentioned relevant information; and XORing the multiple key numbers with a second digit to obtain the above-mentioned random number information.

[0144] Key factory equipment 803 is used to perform the following: acquiring random number information, which is obtained by packaging relevant vehicle information according to a set rule, including at least one of serial number, engine code, random number and key; writing the random number information into the circuit board of the smart key and attaching barcode information containing random number information to the surface of the smart key, the random number information being used for smart key learning.

[0145] In one possible implementation, the random number information is written into the circuit board using a dedicated device.

[0146] The smart key learning system provided in this embodiment can be used to execute the technical solution provided in the above-described smart key learning method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0147] This application also provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are executed, they are used to implement the method steps as described in the above-described smart key learning embodiment. The specific implementation method and technical effect are similar, and will not be repeated here.

[0148] This application also provides a program product comprising computer-executable instructions. When the computer-executable instructions are executed, they implement the method steps described in the above-described smart key learning method embodiment. The specific implementation and technical effects are similar and will not be repeated here.

[0149] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0150] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

[0151] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

Claims

1. An intelligent key learning method characterized by comprising: The method comprises the following steps: The host factory device obtains the related information of the vehicle, and the related information comprises at least one of the serial number, the engine code, the random number and the key; The host factory device packages the related information according to the set rule to obtain the random number information; The host factory device sends the random number information to the key factory device; The key factory device obtains the random number information; The key factory device writes the random number information into the circuit board of the smart key, and attaches the bar code information containing the random number information on the surface of the smart key or the surface of the key box containing the smart key; The vehicle controller scans the two-dimensional code or the bar code on the key or the key box by using a scanning device to obtain the bar code information, and the key box contains at least one smart key; The vehicle controller accesses the open interface of the vehicle controller according to the random number information to learn the smart key.

2. The method of claim 1, wherein, The open interface is developed according to the key key flow based on the related information.

3. The method of claim 2, wherein, The key key flow is the key key flow development based on the advanced encryption standard AES or the extended tiny encryption algorithm XTEA.

4. The method according to any one of claims 1 to 3, characterized in that, The set rule comprises the following steps: According to the related information, a plurality of first-digit key numbers are generated; and the plurality of first-digit key numbers are spliced to obtain the random number information. And / or, according to the related information, a plurality of second-digit key numbers are generated; and the second-digit key numbers are XORed to obtain the random number information.

5. An intelligent key learning device characterized by comprising: The method comprises the following steps: The first acquisition module is configured to obtain the related information of the vehicle, and the related information comprises at least one of the serial number, the engine code, the random number and the key; The first processing module is configured to package the related information according to the set rule to obtain the random number information; The first sending module is configured to send the random number information to the key factory device; The second acquisition module is configured to obtain the random number information; The second writing module is configured to write the random number information into the circuit board of the smart key, and attach the bar code information containing the random number information on the surface of the smart key or the surface of the key box containing the smart key; The third acquisition module is configured to obtain the random number information of the smart key; The third processing module is configured to access the open interface of the vehicle controller according to the random number information to learn the smart key. The third acquisition module is specifically configured to scan the two-dimensional code or the bar code on the key or the key box by using a scanning device to obtain the bar code information, and the key box contains at least one smart key.

6. An intelligent key learning system characterized by comprising: The method comprises the following steps: The vehicle controller, the host factory device and the key factory device are configured to execute the smart key learning method according to any one of claims 1 to 4.

7. An electronic device, comprising: The method comprises the following steps: The memory stores the computer program; The processor executes the computer program to realize the smart key learning method according to any one of claims 1 to 4. The computer readable storage medium stores computer execution instructions, and the computer execution instructions are used to realize the smart key learning method according to any one of claims 1 to 4 when executed.

8. A computer-readable storage medium, characterized in that, ​ 9. A computer program product, characterised in that, A computer program comprising computer program elements which, when executed, implement the intelligent key learning method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Automobile intelligent key learning method, storage medium, equipment and device

    CN113362505A