# US 12,005,861 B2 · Method for connecting bluetooth key to vehicle, vehicle bluetooth system, and bluetooth key

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,005,861 B2
- Document ID: US12005861B2
- Status: Granted
- Kind: B2
- Application number: 17/925,056
- Filed: 2021-06-01
- Published: 2023-06-22
- Granted: 2024-06-11
- Earliest claimed: 2020-06-24
- Assignees: Guangzhou Automobile Group Co., Ltd.
- Applicants: Guangzhou Automobile Group Co., Ltd.
- Inventors: Tuchao Yang; Ruifu Lai; Yinggong Mo; Shimeng Qin
- Web page: https://patentgrep.com/patent/US12005861B2

## CPC

- B60R 25/248: {Electronic key extraction prevention}
- B60R 25/24: using electronic identifiers containing a code not memorised by the user
- G07C 9/00309: {operated with bidirectional data transmission between data carrier and locks}
- H04W 4/023: {using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds}
- H04W 4/025: {using location based information parameters}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/041: Key generation or derivation
- H04W 12/06: Authentication
- H04W 12/50: Secure pairing of devices
- H04W 12/63: Location-dependent; Proximity-dependent
- B60R 2325/101: Bluetooth®
- B60R 2325/205: Mobile phones
- G07C 2009/00412: {the transmitted data signal being encrypted}
- Y02D 30/70: in wireless communication networks
- B60R: VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- G07C: TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for connecting a Bluetooth key to a vehicle, a vehicle Bluetooth system, and a Bluetooth key, comprises: when a mobile terminal enters a preset distance range of a vehicle, a Bluetooth master module of the vehicle performs authentication and connection with a Bluetooth key of the mobile terminal according to preset key information (S11); after the Bluetooth master module is successfully connected to the Bluetooth key, the Bluetooth master module generates an original random code and encrypts the original random code to obtain an encrypted random code (S12); the Bluetooth master module sends the original random code to a Bluetooth slave module, and sends the encrypted random code to the Bluetooth key (S13); and the Bluetooth slave module and the Bluetooth key perform bidirectional authentication according to the encrypted random code and the original random code, and when bidirectional authentication succeeds, the connection is established (S14).

## Claims

### Claim 1

A method for connecting a Bluetooth key to a vehicle, comprises:
Performing, by a Bluetooth master module of a vehicle, authentication and connection with a Bluetooth key of a mobile terminal according to preset key information when the mobile terminal enters a preset distance range of the vehicle;
Waking up, by the Bluetooth master module, the Bluetooth slave module of the vehicle, and generating an original random code and encrypting the original random code to obtain an encrypted random code if the Bluetooth master module is successfully connected to the Bluetooth key;
Sending, by the Bluetooth master module, the original random code to the Bluetooth slave module and sending the encrypted random code to the Bluetooth key;
Obtaining, by the Bluetooth slave module, a first key signal according to the original random code, and broadcasting the first key signal; wherein the first key signal is configured to authenticate the Bluetooth slave module according to the first key signal and the encrypted random code when the Bluetooth key receives the first key signal;
Receiving, by the Bluetooth slave module, the second key signal of the Bluetooth key, and authenticating the Bluetooth key according to the second key signal and the original random code; wherein the second key signal is the verification random code obtained by the Bluetooth key according to the encrypted random code; When bidirectional authentication by the Bluetooth slave module and the Bluetooth key succeeds, the Bluetooth slave module is successfully connected to the Bluetooth key.

### Claim 2 (depends on 1)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 1, wherein, performing, by a Bluetooth master module of a vehicle, authentication and connection with a Bluetooth key of a mobile terminal according to preset key information, specifically comprises:
Broadcasting, by the Bluetooth master module, a first Bluetooth signal, receiving a second Bluetooth signal broadcast by the Bluetooth key, and authenticating the Bluetooth key according to the second Bluetooth signal and preset key information;
Wherein, the first Bluetooth signal is configured for the Bluetooth master module to perform authentication according to the first Bluetooth signal and preset key information when the Bluetooth key receives the first Bluetooth signal; When bidirectional authentication by the Bluetooth master module and the Bluetooth key succeeds, the Bluetooth master module is successfully connected to the Bluetooth key.

### Claim 3 (depends on 2)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 2, wherein, the preset key information includes the UUID of the Bluetooth chip of the Bluetooth master module and the MAC address of the mobile terminal.

### Claim 4 (depends on 1)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 1, wherein, the original random code includes a first original random code and a second original random code, and the encrypted random code includes a first encrypted random code obtained according to the first original random code and a second encrypted random code obtained according to the second original random code;
Wherein the first key signal is the second original random code;
Wherein the second key signal is the first verification random code obtained by the Bluetooth key according to the first encrypted random code;
Wherein the Bluetooth slave module authenticates the Bluetooth key according to the second key signal and the original random code, specifically includes: the Bluetooth slave module matches the first verification random code with the first original random code; if the first verification random code matches the first original random code, the authentication is passed;
Wherein the first key signal is specifically configured for the Bluetooth key to authenticate the Bluetooth slave module according to the matching result of the first key signal and the second verification random code when the Bluetooth key receives the first key signal, the second verification random code is obtained by the Bluetooth key according to the second encryption random code.

### Claim 5 (depends on 1)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 1, wherein, the method further comprises:
Generating, by the Bluetooth slave module, a connection failure message, and sending the connection failure message to the Bluetooth master module When the connection between the Bluetooth slave module and the Bluetooth key fails;
Regenerating, by the Bluetooth master module, a new original random code according to the connection failure information, and encrypting the new original random code to obtain a new encrypted random code;
Sending, by the Bluetooth master module, the new original random code to the Bluetooth slave module, and sending the new encrypted random code to the Bluetooth key;
Generating, by the Bluetooth slave module, a new first key signal according to the new original random code, and broadcasts the new first key signal;
Receiving, by the Bluetooth slave module, the new second key signal of the Bluetooth key, and authenticating the Bluetooth key according to the new second key signal and the new original random code; wherein the new second key signal is a new first verification random code obtained by parsing the new encrypted random code by the Bluetooth key.

### Claim 6 (depends on 5)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 5, wherein, regenerating, by the Bluetooth master module, a new original random code according to the connection failure information, and encrypting the new original random code to obtain a new encrypted random code, specifically comprises:
Accumulating, by the Bluetooth master module, the number of times that the Bluetooth slave module fails to connect with the Bluetooth key according to the connection failure information, and determining whether the number of connection failure is greater than a preset threshold;
Regenerating, by the Bluetooth master module, a new original random code according to the connection failure information If the number of connection failures is less than or equal to the preset threshold;
Disconnecting, by the Bluetooth master module, the connection with the Bluetooth key, and stopping, by the Bluetooth slave module, broadcasting the connection request if the number of connection failures is greater than the preset threshold.

### Claim 7 (depends on 1)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 1, wherein, the vehicle includes a plurality of Bluetooth slave modules, and the plurality of Bluetooth slave modules are connected to the Bluetooth master module through CAN bus or LIN bus communication;
wherein, waking up, by the Bluetooth master module, the Bluetooth slave module of the vehicle, and generating an original random code and encrypting the original random code to obtain an encrypted random code if the Bluetooth master module is successfully connected to the Bluetooth key, specifically comprises:
Waking up, by the Bluetooth master module, multiple Bluetooth slave modules of the vehicle;
Generating, by the Bluetooth master module, multiple groups of original random codes, and encrypting the multiple groups of original random codes to obtain multiple groups of encrypted random codes; wherein, the multiple groups of original random codes are different from each other.

### Claim 8 (depends on 7)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 7, wherein, the method further comprises:
Receiving, by the Bluetooth main module, the signal strength information sent by the Bluetooth key, and determining the position of the Bluetooth key according to the signal strength information; wherein the signal strength information is the signal strength of the unsuccessful connected Bluetooth slave module periodically obtained by the Bluetooth key.

### Claim 9

A vehicle Bluetooth system for performing the method for connecting a Bluetooth key to a vehicle, wherein, the vehicle Bluetooth system includes a Bluetooth master module and one or more Bluetooth slave modules connected with the Bluetooth master module through the CAN bus or LIN bus communication;
The method comprises:
Performing, by the Bluetooth master module of the vehicle, authentication and connection with the Bluetooth key of a mobile terminal according to preset key information when the mobile terminal enters a preset distance range of the vehicle;
Waking up, by the Bluetooth master module, the Bluetooth slave module of the vehicle, and generating an original random code and encrypting the original random code to obtain an encrypted random code if the Bluetooth master module is successfully connected to the Bluetooth key;
Sending, by the Bluetooth master module, the original random code to the Bluetooth slave module and sending the encrypted random code to the Bluetooth key;
Obtaining, by the Bluetooth slave module, a first key signal according to the original random code, and broadcasting the first key signal; wherein the first key signal is configured to authenticate the Bluetooth slave module according to the first key signal and the encrypted random code when the Bluetooth key receives the first key signal;
Receiving, by the Bluetooth slave module, the second key signal of the Bluetooth key, and authenticating the Bluetooth key according to the second key signal and the original random code; wherein the second key signal is the verification random code obtained by the Bluetooth key according to the encrypted random code; When bidirectional authentication by the Bluetooth slave module and the Bluetooth key succeeds, the Bluetooth slave module is successfully connected to the Bluetooth key.

### Claim 10

A method for connecting a Bluetooth key to a vehicle, comprises:
Performing, by the Bluetooth key of a mobile terminal, authentication and connection according to preset key information with a Bluetooth master module of the vehicle when a mobile terminal enters a preset distance range of a vehicle;
Receiving, by the Bluetooth key, the encrypted random code sent by the Bluetooth master module if the Bluetooth key is successfully connected with the Bluetooth master module;
Obtaining, by the Bluetooth key, a verification random code according to the encrypted random code, and obtains a second key signal according to the verification random code, and sends the second key signal to the Bluetooth slave module of the vehicle;
Receiving, by the Bluetooth key, the first key signal sent by the Bluetooth slave module of the vehicle, and authenticating the Bluetooth slave module according to the first key signal and the verification random code;
Wherein, the second key signal is configured to authenticate the Bluetooth key according to the second key signal and the original random code when the Bluetooth slave module receives the second key signal, the original random code is generated by the Bluetooth master module, and the encrypted random code is obtained by the Bluetooth master module according to the original random code; When bidirectional authentication by the Bluetooth slave module and the Bluetooth key succeeds, the Bluetooth slave module is successfully connected to the Bluetooth key.

### Claim 11 (depends on 10)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 10, wherein, performing, by the Bluetooth key of a mobile terminal, authentication and connection according to preset key information with a Bluetooth master module of the vehicle when a mobile terminal enters a preset distance range of a vehicle, specifically comprises:
Broadcasting, by the Bluetooth key, a second Bluetooth signal, receiving a first Bluetooth signal broadcast by the Bluetooth master module, and authenticating the Bluetooth master module according to the first Bluetooth signal and preset key information;
Wherein, the second Bluetooth signal is configured for the Bluetooth key to perform authentication according to the second Bluetooth signal and preset key information when the Bluetooth master module receives the second Bluetooth signal; When bidirectional authentication by the Bluetooth master module and the Bluetooth key succeeds, the Bluetooth master module is successfully connected to the Bluetooth key.

### Claim 12 (depends on 11)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 11, wherein, the preset key information includes the UUID of the Bluetooth chip of the Bluetooth master module and the MAC address of the mobile terminal.

### Claim 13 (depends on 11)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 11, wherein, receiving, by the Bluetooth key, the first key signal sent by the Bluetooth slave module of the vehicle, specifically comprises:
Obtaining, by the Bluetooth key, vehicle information corresponding to the Bluetooth master module;
Screening, by the Bluetooth key, the currently received Bluetooth signal according to the vehicle information, so as to receive the first key signal broadcast by the Bluetooth slave module of the vehicle corresponding to the vehicle information.

### Claim 14 (depends on 10)

The method for connecting a Bluetooth key to a vehicle as claimed in claim 10, wherein, the original random code includes a first original random code and a second original random code, and the encrypted random code includes a first encrypted random code obtained according to the first original random code and a second encrypted random code obtained according to the second original random code; The verification random code includes a first encrypted random code obtained according to the first original random code and a second verification random code obtained according to the second encrypted random code;
Wherein the first key signal is the second original random code, and the second key signal is the first verification random code;
Wherein the Bluetooth key authenticates the Bluetooth slave module according to the first key signal and the verification random code, specifically includes: the Bluetooth key matches the second original random code with the second verification random code; if the second original random code matches the second verification random code, the authentication is passed;
Wherein, the second key signal is specifically configured for the Bluetooth slave module to perform authentication according to the matching result of the second key signal and the first original random code when receives the second key signal.
