Control system and method for realizing wireless key control based on code scanning

By using a QR code generation and verification method, the interference problem in the pairing process between wireless keys and car controllers is solved, achieving an efficient and reliable pairing process that is suitable for industrial production and pairing of various wireless products.

CN121921865APending Publication Date: 2026-04-24ATECH AUTOMOTIVE WUHU
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ATECH AUTOMOTIVE WUHU
Filing Date
2025-12-22
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

The pairing process between wireless keys and car controllers is susceptible to interference, leading to learning failures. Existing technologies cannot reliably complete pairing.

Method used

The system employs a barcode scanning control system, which uses an industrial-grade integrated QR code generator to generate label codes. These codes are then scanned by an industrial barcode scanner and transmitted to the vehicle controller via an automotive diagnostic tool. This system combines multiple security barriers and information verification mechanisms to ensure the accurate transmission and verification of identity information.

Benefits of technology

It improves the pairing stability and security between wireless keys and car controllers, and realizes an efficient and reliable pairing process, which is suitable for industrial mass production and can be extended to various wireless product pairing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121921865A_ABST
    Figure CN121921865A_ABST
Patent Text Reader

Abstract

The invention provides a control system and method for achieving wireless key control based on code scanning, and belongs to the technical field of wireless device matching, the control system comprises a wireless key, a label generation device, a code scanning device, an interaction device and an automobile controller, and the specific method comprises the steps that the label generation device generates a label code according to identity information of the wireless key and prints the label code; scanning the printed tag code through a code scanning device to obtain identity information of the wireless key; transmitting the information of the label code obtained by the code scanning device to the automobile controller through the interaction device; the automobile controller decodes and verifies the information of the received tag code; and if the verification is passed, establishing communication connection between the automobile controller and the wireless key. According to the invention, the matching stability of the wireless key and the automobile controller is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of wireless device matching technology. Specifically, this invention relates to a control system and method for wireless key control based on QR code scanning. Background Technology

[0002] When the wireless key completes its learning process on the production line to control the terminal, a stable and reliable wireless environment is required, and both the wireless triggering link and the wireless receiving link in the control system must be in normal working order. Operators must place the wireless key in the designated location and perform actions in a specific sequence via interactive devices or physical operations to activate the learning mode, thereby completing the pairing and learning process between the wireless product and the terminal.

[0003] Chinese Patent 106274805B discloses a communication matching and verification method for an electronic car key, an electronic car key, a communication matching method for an automotive controller, an automotive controller for communication matching with the electronic car key, and a communication matching and verification system for the electronic car key. The communication matching and verification method includes: after the electronic key communicates and matches with the automotive controller, detecting a self-resetting identifier in the electronic key, wherein the self-resetting identifier is written by the automotive controller and is used to indicate whether the communication matching was successful; if the detection of the self-resetting identifier indicates a communication matching failure, resetting the communication key written by the automotive controller in the electronic key to the initial key of the electronic key, so that the electronic key can re-communicate and match with the automotive controller.

[0004] In actual production, the pairing of the wireless key and the car controller is highly susceptible to interference from various factors, leading to learning failure: worker operational errors, such as failure to perform operations according to the prescribed sequence or incorrect placement of the wireless key; physical link abnormalities, such as malfunctions in the wireless transmitter or receiver module or open circuits in the signal transmission line; and wireless co-frequency interference, such as the presence of other wireless devices on the same frequency around the production line, which interferes with the pairing signal. All of these problems can prevent the wireless key from pairing with the car controller. Summary of the Invention

[0005] The present invention aims to provide a control system and method for wireless key control based on QR code scanning, so as to improve the technical stability of matching between wireless key and vehicle controller.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] This invention provides a control system for wireless key control based on barcode scanning, including a wireless key, a tag generation device, a barcode scanning device, an interactive device, and a vehicle controller. The wireless key is used to control a vehicle via a terminal device; the tag generation device is used to generate a tag code based on the wireless key's identity information; the barcode scanning device is used to scan the tag code; the interactive device is used to send the information of the tag code scanned by the barcode scanning device to the vehicle controller; and the vehicle controller is used to verify the wireless key's identity information based on the tag code information.

[0008] The wireless key uses the same technology as the car's smart key.

[0009] The label generation equipment uses an industrial-grade integrated QR code generation and printing device.

[0010] The barcode scanning equipment uses industrial barcode scanners.

[0011] The interactive device uses an automotive diagnostic tool.

[0012] This invention provides a method for a control system based on QR code scanning to achieve wireless key control:

[0013] Step 1: The tag generation device generates and prints a tag code based on the wireless key's identity information;

[0014] Step 2: Scan the printed label code with a barcode scanner to obtain the wireless key's identity information;

[0015] Step 3: Transmit the tag code information obtained by the scanning device to the vehicle controller via the interactive device;

[0016] Step 4: The vehicle controller decodes and verifies the information of the received tag code;

[0017] Step 5: If the verification passes, the car controller and the wireless key establish a communication connection.

[0018] In step one, the identity information includes 3 sets of SK codes, a 4-byte key IDE, and a 4-byte wake-up code.

[0019] In step two, the label code is scanned using an industrial barcode scanner. The industrial barcode scanner reads and stores the information of the label code through image recognition technology.

[0020] In step three, the industrial barcode scanner connects to the vehicle diagnostic tool via a USB data cable, transmitting the tag code information to the vehicle controller through the diagnostic tool.

[0021] In step four, the vehicle controller decodes the tag code to obtain the wireless key's identity information and performs information integrity verification, information format verification, and information consistency verification.

[0022] The technical effects of this invention are as follows:

[0023] (1) The information transmission of the present invention is stable and reliable, and the pairing accuracy is high. It adopts mature communication interfaces such as USB data cable and OBD interface to avoid signal interference problems in wireless transmission. The standardized encoding and decoding of identity information is realized through preset sorting rules. Combined with refined verification items such as byte length, algorithm identifier, and hierarchical structure, it ensures that identity information is transmitted without loss or mismatch, and the pairing accuracy is improved.

[0024] (2) The present invention has a high level of security protection and eliminates the risk of illegal pairing. It constructs multiple security barriers by using three sets of 16-byte SK codes, combined with a triple verification mechanism for information integrity, format and consistency, to block the risk of forgery and tampering throughout the entire process from identity information generation and transmission to verification, ensuring that only legitimate smart keys can establish communication with the vehicle and protecting the security of vehicle control.

[0025] (3) The pairing process of the present invention is automated, improving production and usage efficiency. The tag generation device is linked with the production MES system to automatically obtain the key identity information and generate printed tags, eliminating the need for manual data entry; the transmission link from the barcode scanner to the vehicle diagnostic instrument and then to the OBD interface enables rapid reading and one-click uploading of identity information. Combined with the automated verification logic of the vehicle body controller, the pairing time between the key and the vehicle is greatly shortened.

[0026] (4) The present invention has strong production and operation and maintenance coordination, is suitable for industrial scenarios, and realizes full-process identity information traceability from key production to vehicle assembly. The paper label carries identity information, which facilitates material management and traceability in the production process. At the same time, the selection of QR code generation and printing integrated equipment and industrial barcode scanner ensures stable operation in complex workshop environments and meets the needs of industrial mass production.

[0027] (5) The present invention has wide compatibility and strong scalability. It is not only applicable to car smart key pairing, but can also be extended to various wireless products and terminal pairing scenarios such as NFC cards and vehicle interaction units. It can adapt to different application scenarios without reconstructing the core logic, reducing the cost of technology reuse. Attached Figure Description

[0028] This manual includes the following figures, which illustrate the following:

[0029] Figure 1 This is a flowchart of a control system and method for wireless key control based on QR code scanning, according to the present invention. Detailed Implementation

[0030] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, in order to help those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention, and to facilitate its implementation.

[0031] This invention provides a control system for wireless key control based on barcode scanning, including a wireless key, a tag generation device, a barcode scanning device, an interactive device, and a vehicle controller. The wireless key is used to control a vehicle via a terminal device; the tag generation device is used to generate a tag code based on the wireless key's identity information; the barcode scanning device is used to scan the tag code; the interactive device is used to send the information of the tag code scanned by the barcode scanning device to the vehicle controller; and the vehicle controller is used to verify the wireless key's identity information based on the tag code information.

[0032] The wireless key uses a car smart key. The label generation equipment uses an industrial-grade integrated QR code generation and printing device. The scanning equipment uses an industrial barcode scanner. The interactive device uses a car diagnostic tool.

[0033] This invention provides a method for a control system based on QR code scanning to achieve wireless key control:

[0034] Step 1: The tag generation device generates and prints a tag code based on the wireless key's identity information;

[0035] Step 2: Scan the printed label code with a barcode scanner to obtain the wireless key's identity information;

[0036] Step 3: Transmit the tag code information obtained by the scanning device to the vehicle controller via the interactive device;

[0037] Step 4: The vehicle controller decodes and verifies the information of the received tag code;

[0038] Step 5: If the verification passes, the car controller and the wireless key establish a communication connection.

[0039] In step one, the identity information includes 3 sets of SK codes, a 4-byte key IDE, and a 4-byte wake-up code.

[0040] In step two, the label code is scanned using an industrial barcode scanner. The industrial barcode scanner reads and stores the information of the label code through image recognition technology.

[0041] In step three, the industrial barcode scanner connects to the vehicle diagnostic tool via a USB data cable, transmitting the tag code information to the vehicle controller through the diagnostic tool.

[0042] In step four, the vehicle controller decodes the tag code to obtain the wireless key's identity information and performs information integrity verification, information format verification, and information consistency verification.

[0043] The present invention will now be described in detail.

[0044] In this embodiment of the invention, the wireless key is a car smart key; the label generation device is an industrial-grade QR code generation and printing integrated device; the scanning device is an industrial barcode scanner; and the interaction device is a car diagnostic tool. In this embodiment, the car controller is a body controller, which can interact with the smart key via wireless communication to perform door unlocking and window raising / lowering operations. The smart key's identity information includes three sets of SK codes, each 16 bytes; a 4-byte key IDE; and a 4-byte wake-up code. The SK code is the core security credential for bidirectional encrypted data communication between the car smart key and the car controller; the key IDE is the globally unique identification code of the smart key; and the wake-up code is the trigger signal code for low-power communication between the smart key and the terminal. The label code is generated by the industrial-grade QR code generation and printing integrated device according to the car smart key's identity information and sorted according to QR code sorting rules, and then printed on a paper label. The car diagnostic tool establishes a communication connection with the body controller via the OBD interface.

[0045] The industrial-grade QR code generation and printing integrated device connects to the production MES system via an Ethernet interface. Based on the production work order, it automatically obtains the original identity information of the target car smart key, including three sets of SK codes (16 bytes each, binary format), a 4-byte key IDE (binary format), and a 4-byte wake-up code (binary format). Then, it generates a label code, which in this embodiment is a QR code. Specifically, the first set of SK codes, the second set of SK codes, the third set of SK codes, the key IDE, and the wake-up code are sequentially sorted according to a preset sorting rule. The built-in QR code generation software converts the sorted information into a QR code, and a label printer prints the QR code onto a paper label, completing the label production.

[0046] The operator holds an industrial barcode scanner and scans the label code on the car's smart key. The scanner uses image recognition technology to read the information in the QR code and temporarily stores the information in the scanner's local storage module.

[0047] The industrial barcode scanner connects to the automotive diagnostic tool via a USB data cable. The operator triggers an information upload command on the diagnostic tool, and the barcode scanner transmits the temporarily stored smart key information to the automotive diagnostic tool. The automotive diagnostic tool then establishes a communication connection with the vehicle controller via the OBD interface.

[0048] After receiving the information transmitted by the vehicle diagnostic instrument, the body control module decodes the first group of SK codes, the second group of SK codes, the third group of SK codes, the key IDE, and the wake-up code according to the preset sorting rules to restore the original identity information. The body control module performs integrity verification, format verification, and consistency verification on the decoded information. Specifically, it checks whether the three groups of SK codes, the key IDE, and the wake-up code are included, and if there is no information missing, it is determined to be qualified. It checks whether each group of SK codes is 16 bytes, and whether the key IDE and the wake-up code are 4 bytes. If the format matches, it is determined to be qualified. It compares the decoded identity information with the information template in the body control module, and if there is no logical conflict, it is determined to be qualified. The specific method for comparing the identity information is as follows: verify whether the length of the hexadecimal string of each group of SK codes is 32 bits; extract the algorithm identification bit of the SK code and verify whether it is consistent with the AES-128 identification of the main template; verify whether the hash values of the three groups of SK codes are in the SK code hash white list pre-stored in the body control module; parse the hierarchical structure of the IDE: 1 byte for the manufacturer segment, 1 byte for the model segment, 2 bytes for the serial number segment, verify whether the manufacturer segment is in the legal manufacturer code library pre-stored in the body control module, and verify whether the model segment matches the key model configured for the vehicle; split the wake-up code into a fixed prefix (2 bytes) and a dynamic suffix (2 bytes), verify whether the fixed prefix matches the prefix in the body control module of the main template, and verify the timestamp of the dynamic suffix. If any of the above verifications fails, the body control module feeds back an abnormal prompt of information verification failure through the diagnostic instrument.

[0049] After the body control module confirms the identity of the vehicle intelligent key, it enters the identity information of the intelligent key into the authorization list of the body control module. After the entry is completed, the intelligent key can interact with the body control module through wireless signals to achieve control functions such as unlocking the door and starting the vehicle.

[0050] In addition to the above embodiments, the present invention is also applicable to the pairing control scenarios of other wireless products and terminals. When the wireless product is an NFC card, its identity information includes the card number and encryption key of the NFC card. The label is in the form of a barcode, the scanning device is a mobile phone NFC module, the interaction device is an in-vehicle large screen, and the terminal is the vehicle in-vehicle interaction unit. The method of the present invention can achieve the rapid pairing of the NFC card and the in-vehicle interaction unit for vehicle identity recognition.

[0051] The information transmission of the present invention is stable and reliable, and the pairing accuracy rate is high. It uses mature communication interfaces such as USB data cables and OBD interfaces to avoid signal interference problems in wireless transmission. It realizes the standardized encoding and decoding of identity information through preset sorting rules, and combines refined verification items such as byte length, algorithm identification, and hierarchical structure to ensure that there is no loss or mismatch in the transmission of identity information, and the pairing accuracy rate is improved.

[0052] This invention offers a high level of security protection, eliminating the risk of unauthorized pairing. It constructs multiple security barriers using three sets of 16-byte SK codes, combined with a triple verification mechanism for information integrity, format, and consistency. From identity information generation and transmission to verification, it blocks the risk of forgery and tampering throughout the entire process, ensuring that only legitimate smart keys can establish communication with the vehicle and safeguarding vehicle control.

[0053] This invention automates the pairing process, improving production and usage efficiency. The tag generation device works in conjunction with the production MES system to automatically obtain key identification information and generate printed tags, eliminating the need for manual data entry. The transmission link from the barcode scanner to the vehicle diagnostic tool and then to the OBD interface enables rapid reading and one-click uploading of identification information. Combined with the automated verification logic of the vehicle controller, this significantly shortens the pairing time between the key and the vehicle.

[0054] This invention features strong production and operation coordination, is suitable for industrial scenarios, and enables full-process identity information traceability from key production to vehicle assembly. Paper labels carry identity information, facilitating material management and traceability during the production process. Meanwhile, the selection of integrated QR code generation and printing equipment and industrial barcode scanners ensures stable operation in complex workshop environments and meets the needs of industrialized mass production.

[0055] This invention has broad compatibility and strong scalability. It is not only applicable to car smart key pairing, but can also be extended to various wireless products and terminal pairing scenarios such as NFC cards and vehicle interaction units. It can adapt to different application scenarios without reconstructing the core logic, reducing the cost of technology reuse.

[0056] The present invention has been described above by way of example with reference to the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-described manner. Any non-substantial improvements made using the inventive concept and technical solution; or the direct application of the inventive concept and technical solution to other situations without modification, are all within the protection scope of the present invention.

Claims

1. A control system for wireless key control based on QR code scanning, characterized in that: The system includes a wireless key, a tag generation device, a barcode scanner, an interactive device, and a vehicle controller. The wireless key is used to control the vehicle via a terminal device; the tag generation device generates a tag code based on the wireless key's identity information; the barcode scanner scans the tag code; the interactive device sends the information from the scanned tag code to the vehicle controller; and the vehicle controller verifies the wireless key's identity information based on the tag code.

2. The control system for wireless key control based on QR code scanning as described in claim 1, characterized in that: The wireless key uses the same technology as the car's smart key.

3. The control system for wireless key control based on QR code scanning as described in claim 1, characterized in that: The label generation equipment uses an industrial-grade integrated QR code generation and printing device.

4. The control system for wireless key control based on QR code scanning as described in claim 1, characterized in that: The barcode scanning equipment uses industrial barcode scanners.

5. The control system for wireless key control based on QR code scanning as described in claim 1, characterized in that: The interactive device uses an automotive diagnostic tool.

6. A method for a control system based on QR code scanning to achieve wireless key control as described in any one of claims 1-5, characterized in that: Step 1: The tag generation device generates and prints a tag code based on the wireless key's identity information; Step 2: Scan the printed label code with a barcode scanner to obtain the wireless key's identity information; Step 3: Transmit the tag code information obtained by the scanning device to the vehicle controller via the interactive device; Step 4: The vehicle controller decodes and verifies the information of the received tag code; Step 5: If the verification passes, the car controller and the wireless key establish a communication connection.

7. The method for a control system based on QR code scanning to achieve wireless key control as described in claim 6, characterized in that: In step one, the identity information includes 3 sets of SK codes, a 4-byte key IDE, and a 4-byte wake-up code.

8. The method for a control system based on QR code scanning to achieve wireless key control as described in claim 6, characterized in that: In step two, the label code is scanned using an industrial barcode scanner. The industrial barcode scanner reads and stores the information of the label code through image recognition technology.

9. The method for a control system based on QR code scanning to achieve wireless key control as described in claim 6, characterized in that: In step three, the industrial barcode scanner connects to the vehicle diagnostic tool via a USB data cable, transmitting the tag code information to the vehicle controller through the diagnostic tool.

10. The method for a control system based on QR code scanning to achieve wireless key control as described in claim 6, characterized in that: In step four, the vehicle controller decodes the tag code to obtain the wireless key's identity information and performs information integrity verification, information format verification, and information consistency verification.

Citation Information

Patent Citations

  • Electronic car keys and methods thereof, car controllers and methods thereof, and systems

    CN106274805B