Bluetooth-based electronic car key unlocking method and system

Through the Bluetooth-based electronic car key unlocking method, the authentication of Bluetooth broadcast packets is used to solve the problems of poor security and high cost of traditional electronic car keys, and the low-cost, low-power car key unlocking and car locking functions are realized, while providing high-security identity verification.

CN119888899APending Publication Date: 2025-04-25NANJING KUAILUN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510091018.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-21
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Traditional electronic car keys have poor security and high cost and power consumption, making it difficult to achieve low-cost, low-power key locking, unlocking and sensorless unlocking functions.

Method used

Using Bluetooth-based electronic car key unlocking method, key authentication is realized through Bluetooth broadcast data packets, and AES encryption and serial number anti-catch packets are used, reducing the Bluetooth connection and pairing process, and reducing cost and power consumption.

Benefits of technology

It realizes the low-cost, low-power car key unlocking and locking functions, and provides a high-security identity verification mechanism to avoid the problem of reduced security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888899A_ABST
    Figure CN119888899A_ABST
Patent Text Reader

Abstract

The invention provides an electronic car key unlocking method and system based on Bluetooth. The method comprises the steps that when an unlocking key and / or a vehicle locking key of the electronic vehicle key are / is pressed down, the electronic vehicle key sends a Bluetooth broadcast data packet, and a vehicle scans the Bluetooth broadcast data packet; and checking whether the data content in the Bluetooth broadcast data packet is matched or not, and if so, executing an unlocking / locking action according to the key code in the data packet. Identity verification of the vehicle key is realized by using the Bluetooth broadcast data packet, compared with Bluetooth connection and pairing in the prior art, a complete Bluetooth protocol stack is not needed, the manufacturing cost and the use power consumption are greatly reduced, and meanwhile, the security of the vehicle key is also ensured by adopting AES encryption and serial number packet capture prevention.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electric vehicle control, and in particular relates to a Bluetooth-based electronic vehicle key unlocking method, system and vehicle key. Background Art

[0002] Traditional electronic keys are usually implemented using low-frequency RFID, which requires a dedicated chip and has poor security. In recent years, electronic key solutions based on Bluetooth or UWB have emerged, which have higher security but also increased costs. Summary of the invention

[0003] In response to the above technical problems, the present invention discloses a Bluetooth-based electronic car key unlocking method and system, which can achieve key lock, unlock, and senseless unlocking with extremely low cost and extremely low power consumption, while providing a safety mechanism to ensure that safety is not reduced.

[0004] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows: on the one hand, the present invention discloses a Bluetooth-based electronic car key unlocking method, the method comprising: when the unlock button and the lock button of the electronic car key are pressed individually or simultaneously, the key sends a Bluetooth broadcast data packet, and after the vehicle scans the Bluetooth broadcast data packet; check whether the data content in the Bluetooth broadcast data packet matches, and if it matches, execute the unlocking / locking action according to the key code in the data packet.

[0005] Furthermore, the Bluetooth broadcast data packet complies with the Bluetooth specification, and its format includes: Among them, the 0x01 data type and the 0x09 data type are standard fields defined by the Bluetooth specification and can be recognized by all Bluetooth devices; the data content of the 0xff data type is a field that can be customized by the manufacturer to store encrypted data; when the data type is 0x01, it is marked as a non-connectable device; the data content of the 0xff data type is encrypted by AES; the data content of the 0x09 data type can be a string such as a vehicle model.

[0006] Furthermore, the 2-byte key code includes three key codes: locking the car, unlocking and sensorless unlocking; the 4-byte serial number is used to prevent packet capture, and the serial number will increase by 1 after each key is pressed on the electronic car key; the 6-byte key ID is unique and is saved in the vehicle when the electronic car key is paired with the vehicle.

[0007] Furthermore, the vehicle unlocking and locking judgment process specifically includes: S1, the vehicle scans the Bluetooth broadcast data packet, and if the data type 0x01 is recognized, the process ends; S2, check whether the broadcast name matches; S3, decrypt the data content of the 0xff data type and check whether the manufacturer ID and key ID carried in the data packet match those of the vehicle; S4, comparing the 4-byte sequence number, the data packet is considered valid only when the 4-byte sequence number is greater than the 4-byte sequence number in the valid data packet received last time, and the 4-byte sequence number of this data packet is recorded; S5, check the 2-byte key code. If it is a key code for the contactless unlocking mode, the vehicle enters the contactless unlocking mode; if it is not a key code for the contactless unlocking mode, the vehicle is locked or unlocked according to the key code.

[0008] Furthermore, after entering the senseless unlocking mode in step S5, the electronic car key sends a senseless unlocking broadcast data packet once every second, and the format of the senseless unlocking broadcast data packet is the same as the Bluetooth broadcast data packet; the senseless unlocking mode uses the method of steps S1-S4 to check whether the senseless unlocking broadcast data packet is legal. If the senseless unlocking broadcast data packet is legal, it determines whether the received signal strength RSSI is greater than a certain threshold. When the RSSI is greater than the threshold, the vehicle is automatically unlocked, and if the RSSI is less than the threshold, the vehicle is automatically locked.

[0009] On the other hand, the present invention also discloses a system for the above-mentioned Bluetooth-based electronic car key unlocking method, comprising: A data sending module, used for sending Bluetooth broadcast data packets to the vehicle; A button module is used to store Bluetooth broadcast data packets of different button codes; Control module; used to control the key module and the data sending module; A power module; used to provide power to the control module; A data receiving module, used for receiving Bluetooth broadcast data packets transmitted by the data sending module; The detection module is used to determine whether the Bluetooth broadcast data packet received by the data receiving module is legal.

[0010] In another aspect, the present invention discloses a Bluetooth-based electronic car key, the key comprising: MCU main control chip, button battery, antenna, unlock button and lock button; the main control chip is connected to the button battery, antenna, unlock button and lock button; When the unlock button and the lock button are pressed separately or simultaneously, the MCU main control chip sends the corresponding Bluetooth broadcast data packet to the vehicle through the antenna; based on the above-mentioned Bluetooth-based electronic car key unlocking method, it is determined whether the Bluetooth broadcast data packet matches the vehicle information, and the unlocking or locking action is performed when a match is made.

[0011] Furthermore, the MCU main control chip needs to support 2.4G radio frequency.

[0012] The present invention has the following beneficial effects: The present invention realizes the identity authentication of the car key by using the Bluetooth broadcast data packet. Compared with the connection and pairing of Bluetooth in the prior art, the complete Bluetooth protocol stack is not required, which greatly reduces the production cost and power consumption. At the same time, the present invention adopts AES encryption and serial number anti-capture packet to ensure the security of the car key. Without the need for Bluetooth connection and pairing process, only the Bluetooth broadcast data packet is used to realize the identity authentication of the key, which can greatly reduce the cost, and at the same time provide a security mechanism to ensure that the security is not reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a method framework diagram of a Bluetooth-based electronic car key unlocking method according to an embodiment of the present invention.

[0014] Figure 2 This is a system framework diagram of a Bluetooth-based electronic car key according to an embodiment of the present invention. DETAILED DESCRIPTION

[0015] To facilitate understanding by those skilled in the art, the present invention is further described below in conjunction with embodiments and drawings.

[0016] See also Figure 1 , a Bluetooth-based electronic car key unlocking method of this embodiment includes: S1, when the owner presses the unlock or lock button of the electronic car key, the vehicle scans the Bluetooth broadcast data packet. If the 0x01 data type is recognized, the process ends; the Bluetooth broadcast data packet complies with the Bluetooth specification, and its format includes: Among them, the 0x01 data type and the 0x09 data type are standard fields defined by the Bluetooth specification and can be recognized by all Bluetooth devices; the data content of the 0xff data type is a field that can be customized by the manufacturer to store encrypted data; when the data type is 0x01, it is marked as a non-connectable device; the data content of the 0xff data type is encrypted by AES; the data content of the 0x09 data type can be a string such as the vehicle model; the 2-byte key code includes three key codes: lock, unlock and sensorless unlock.

[0017] S2, check whether the broadcast name matches.

[0018] S3, decrypts the data content of the 0xff data type and checks whether the manufacturer logo and key ID carried in the data packet match the vehicle; after encryption, the data of the entire 0xff field will have no regularity. Even if the cracker knows the data packet format and encryption algorithm at the same time and captures the data packet, as long as the key is not leaked, the cracker cannot forge a legal data packet.

[0019] S4, compare the 4-byte sequence number. The data packet is considered valid only when the 4-byte sequence number is greater than the 4-byte sequence number in the valid data packet received last time, and the 4-byte sequence number of this data packet is recorded.

[0020] S5, check the 2-byte key code. If it is a key code for the sensorless unlocking mode, the vehicle enters the sensorless unlocking mode, and determines whether the vehicle is unlocked based on the received signal strength RSSI. If it is not a key code for the sensorless unlocking mode, the vehicle is locked or unlocked based on the key code.

[0021] The step S5 of the senseless unlocking mode is that when the car key presses the lock and unlock buttons at the same time, the key enters the senseless unlocking mode, and the electronic car key sends a senseless unlocking broadcast data packet every second. The format of the senseless unlocking broadcast data packet is the same as the Bluetooth broadcast data packet; the senseless unlocking mode uses the method of the steps S1-S4 to check whether the senseless unlocking broadcast data packet is legal. If the senseless unlocking broadcast data packet is legal, it is determined whether the received signal strength RSSI is greater than a certain threshold. When the RSSI is greater than the threshold, the vehicle is automatically unlocked, and if the RSSI is less than the threshold, the vehicle is automatically locked.

[0022] This embodiment also provides the above-mentioned system of the Bluetooth-based electronic car key unlocking method, including: A data sending module, used for sending Bluetooth broadcast data packets to the vehicle; A button module is used to store Bluetooth broadcast data packets of different button codes; Control module; used to control the key module and the data sending module; A power module; used to provide power to the control module; A data receiving module, used for receiving Bluetooth broadcast data packets transmitted by the data sending module; The detection module is used to determine whether the Bluetooth broadcast data packet received by the data receiving module is legal.

[0023] See also Figure 2 This embodiment also provides a Bluetooth-based electronic car key, which includes: MCU main control chip, button battery, antenna, unlock button and lock button; the main control chip is connected to the button battery, antenna, unlock button and lock button; When the unlock button and the lock button are pressed separately or simultaneously, the MCU main control chip sends the corresponding Bluetooth broadcast data packet to the vehicle through the antenna; based on the above-mentioned Bluetooth-based electronic car key unlocking method, it is determined whether the Bluetooth broadcast data packet matches the vehicle information, and the unlocking or locking action is performed when it matches. Since the key only needs to send Bluetooth broadcast data packets and does not need to support the complete Bluetooth protocol stack, the MCU only needs to use a low-cost chip that supports 2.4G radio frequency. At the same time, since a complete Bluetooth protocol stack is not required, the power consumption of the key can be further reduced.

[0024] The above embodiments are only for illustrating the technical idea of ​​the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.

Claims

1. A Bluetooth-based electronic car key unlocking method, characterized in that: The method comprises the following steps: when the unlock button and the lock button of the electronic car key are pressed individually or simultaneously, the key sends a Bluetooth broadcast data packet; after the vehicle scans the Bluetooth broadcast data packet, it checks whether the data content in the Bluetooth broadcast data packet matches, and if it matches, performs the unlocking / locking action according to the key code in the Bluetooth broadcast data packet; The Bluetooth broadcast data packet complies with the Bluetooth specification, and its format includes: Among them, the data types 0x01 and 0x09 are standard fields defined by the Bluetooth specification and can be recognized by all Bluetooth devices; the data content of the data type 0xff is a custom field that stores encrypted data; When the data type is 0x01, it is marked as a non-connectable device; the data content of the 0xff data type is encrypted through AES; the data content of the 0x09 data type is the vehicle model.

2. The Bluetooth-based electronic car key unlocking method according to claim 1, characterized in that: The 2-byte key code includes the key codes for locking, unlocking, and non-sensing unlocking; the 4-byte serial number is used to prevent packet capture, and the serial number will increase by 1 after each key press of the electronic car key; the 6-byte key ID is unique and is saved in the vehicle when the electronic car key is paired with the vehicle.

3. The Bluetooth-based electronic car key unlocking method according to claim 1, characterized in that: The judgment process of vehicle unlocking and locking includes: S1, the vehicle scans the Bluetooth broadcast data packet. If the data type 0x01 is recognized, the process ends; otherwise, it enters S2; S2, check whether the broadcast name matches; S3, decrypt the data content of the 0xff data type and check whether the manufacturer ID and key ID carried in the data packet match those of the vehicle; S4, comparing the 4-byte sequence number, the data packet is considered valid only when the 4-byte sequence number is greater than the 4-byte sequence number in the valid data packet received last time, and the 4-byte sequence number of this data packet is recorded; S5, check the 2-byte key code. If the key code is for the non-sensing unlocking mode, the vehicle enters the non-sensing unlocking mode. Otherwise, the vehicle is locked or unlocked according to the key code.

4. The Bluetooth-based electronic car key unlocking method according to claim 3, characterized in that: In the contactless unlocking mode, the vehicle determines whether the vehicle is unlocked based on the received signal strength RSSI.

5. The Bluetooth-based electronic car key unlocking method according to claim 3, characterized in that: After entering the senseless unlocking mode in step S5, the electronic car key sends a senseless unlocking broadcast data packet once every second, and the format of the senseless unlocking broadcast data packet is the same as the Bluetooth broadcast data packet; the senseless unlocking mode uses the method of steps S1-S4 to check whether the senseless unlocking broadcast data packet is legal. If the senseless unlocking broadcast data packet is legal, it is determined whether the received signal strength RSSI is greater than a certain threshold. When the RSSI is greater than the threshold, the vehicle is automatically unlocked, and if the RSSI is less than the threshold, the vehicle is automatically locked.

6. A system for implementing the Bluetooth-based electronic car key unlocking method according to any one of claims 1 to 5, characterized in that: include: A data sending module, used for sending Bluetooth broadcast data packets to the vehicle; A button module is used to store Bluetooth broadcast data packets of different button codes; Control module; Used to control the key module and the data sending module; A power module; used to provide power to the control module; A data receiving module, used for receiving Bluetooth broadcast data packets transmitted by the data sending module; The detection module is used to determine whether the Bluetooth broadcast data packet received by the data receiving module is legal.

7. A Bluetooth-based electronic car key, characterized in that: The key includes: MCU main control chip, button battery, antenna, unlock button and lock button; the main control chip is connected to the button battery, antenna, unlock button and lock button; When the unlock button and / or the lock button is pressed, the MCU main control chip sends the corresponding Bluetooth broadcast data packet to the vehicle through the antenna; based on the Bluetooth-based electronic car key unlocking method described in any one of claims 1-5, it is determined whether the Bluetooth broadcast data packet matches the vehicle information, and when a match is made, the unlocking or locking action is performed.

8. The Bluetooth-based electronic car key according to claim 7, characterized in that: The MCU main control chip supports 2.4G radio frequency.