IP Library › Granted Patent US 12,302,414
Granted Patent B2
US 12,302,414 · App. 17/793,983 · Granted May 13, 2025

Bluetooth connection method, system, and electronic device

Inventors: Ya Zhang (Shenzhen, CN); Liang Wang (Shanghai, CN); Weiting Hsiao (Shenzhen, CN); Yequan Song (Shenzhen, CN); Shanshan Guo (Shenzhen, CN); Nengfu Tang (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04W76/10H04W48/16H04W4/80
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,302,414
App. No.
17/793,983
Granted
May 13, 2025
Kind
B2
Abstract

Embodiments of this application provide a Bluetooth connection method, a system, and an electronic device. In the method, when a communication connection between an electronic device and a vehicle head unit is disconnected, the electronic device starts to scan a Bluetooth advertising signal. When a user carrying the electronic device is close to the vehicle head unit, the electronic device may obtain, through scanning, a Bluetooth advertising signal sent by the vehicle head unit. When obtaining, through scanning, the Bluetooth advertising signal sent by the vehicle head unit, the electronic device may start a vehicle manufacturer application when the vehicle manufacturer application is cleared by a system. The electronic device may reconnect to the vehicle head unit through Bluetooth by using the vehicle manufacturer application and a Bluetooth chip. Embodiments of this application can improve convenience of unlocking in a scenario in which a vehicle is insensibly unlocked.

Claims (64)

1. A Bluetooth connection method, comprising:

establishing, by a first electronic device, a first Bluetooth connection with a second electronic device;

disconnecting, by the first electronic device, the first Bluetooth connection with the second electronic device when a first preset condition is met;

scanning, by the first electronic device, a Bluetooth advertising signal in response to the disconnection of the first Bluetooth connection;

starting, by the first electronic device upon determining that a first advertising signal carries device information of the second electronic device, a first application that is a service application running at an application layer and associated with the second electronic device, wherein the first application is cleared by a system of the first electronic device and in a closed state before the first application is started;

sending, by the first electronic device via the first application, a connection request to the second electronic device; and

establishing, by the first electronic device, a second Bluetooth connection with the second electronic device when receiving a response data packet sent by the second electronic device.

2. The method of claim 1 , wherein before starting the first application, the method further comprises:

detecting, by the first electronic device, whether registration information of the first application is valid.

3. The method of claim 1 , wherein the method further comprises:

displaying, by the first electronic device, a first user interface comprising a first control for disconnecting the first Bluetooth connection with the second electronic device; and

in response to a user operation performed on the first control, disconnecting, by the first electronic device, the first Bluetooth connection with the second electronic device, and skipping scanning the Bluetooth advertising signal.

4. The method of claim 1 , wherein the second electronic device is a vehicle head unit, the first application is a vehicle manufacturer application, and after the establishing, by the first electronic device, a second Bluetooth connection with the second electronic device, the method further comprises:

receiving, by the first electronic device, a ciphertext check instruction from the vehicle head unit through the second Bluetooth connection with the vehicle head unit; and

sending, by the first electronic device to the vehicle head unit via the vehicle manufacturer application, a first ciphertext for vehicle unlocking.

5. The method of claim 4 , wherein the vehicle manufacturer application operatively communicates with a second application installed on the first electronic device, the second application operatively communicates with a secure storage area, and the secure storage area stores the first ciphertext; and

the sending, by the first electronic device via the vehicle manufacturer application, a first ciphertext to the vehicle head unit comprises:

obtaining, by the first electronic device, the first ciphertext from the secure storage area by using the vehicle manufacturer application and the second application, and sending the first ciphertext to the vehicle head unit.

6. The method of claim 1 , wherein the first Bluetooth connection and the second Bluetooth connection each are a Bluetooth low energy (BLE) connection or a classic Bluetooth Basic Rate/Enhanced Data Rate (BR/EDR) connection.

7. The method of claim 1 , wherein the device information of the second electronic device comprises one or more of a media access control (MAC) address of the second electronic device, a vehicle identification number (VIN) of the second electronic device, or a universally unique identifier (UUID) of the second electronic device.

8. The method of claim 1 , the method further comprising:

obtaining, by the first electronic device, the device information of the second electronic device when establishing the first Bluetooth connection to the second electronic device;

detecting, by the first electronic device, whether the registration information of the first application is valid, wherein the registration information of the first application comprises the device information of the second electronic device; and

storing, by the first electronic device, the device information of the second electronic device when the registration information of the first application is valid, wherein the stored device information of the second electronic device is used by the first electronic device to scan the first advertising signal.

9. The method of claim 8 , wherein the detecting, by the first electronic device, whether the registration information of the first application is valid comprises:

obtaining, by the first electronic device, a first certificate of the first application from a server; and

detecting, by the first electronic device based on the first certificate, whether the registration information of the first application is valid.

10. The method of claim 1 , wherein the starting the first application is performed by one of a Bluetooth agent at the application frame layer and a second service application running at the application layer, wherein the one of Bluetooth agent at the application frame layer and the second service application comprises register information of the first application, the register information includes an identifier of the first application and an identifier of the second electronic device.

11. A first electronic device, wherein the first electronic device comprises:

a Bluetooth chip, wherein the Bluetooth chip supports classic Bluetooth Basic Rate/Enhanced Data Rate (BR/EDR) and Bluetooth low energy (BLE);

a memory storing one or more computer program instructions;

one or more processors in communication with the Bluetooth chip and the memory, wherein the one or more processors execute the computer program instructions to cause the first electronic device to perform the following steps of:

establishing a first Bluetooth connection with a second electronic device;

disconnecting the first Bluetooth connection with the second electronic device when a first preset condition is met;

scanning a Bluetooth advertising signal in response to the disconnection of the first Bluetooth connection;

starting, upon determining that a first advertising signal carries device information of the second electronic device, a first application that is a service application running at an application layer and associated with the second electronic device, wherein the first application is cleared by a system of the first electronic device and in a closed state before the first application is started;

sending, via the first application, a connection request to the second electronic device; and

establishing a second Bluetooth connection with the second electronic device when receiving a response data packet sent by the second electronic device.

12. The first electronic device of claim 11 , wherein the one or more processors execute the computer program instructions to cause the first electronic device to perform the following steps of:

in response to the disconnection of the first Bluetooth connection, when the first application is in a closed state, scanning the Bluetooth advertising signal; and

in response to the disconnection of the first Bluetooth connection, when the first application is cleared by the first electronic device, sending the connection request to the second electronic device.

13. The first electronic device of claim 11 , wherein the one or more processors execute the computer program instructions to cause the first electronic device to perform the following steps of:

when the first advertising signal obtained through scanning carries the device information of the second electronic device, detecting whether registration information of the first application is valid; and

starting the first application when the registration information of the first application is valid.

14. The first electronic device of claim 11 , wherein the second electronic device is a vehicle head unit, the first application is a vehicle manufacturer application, and after the first electronic device establishes the second Bluetooth connection with the second electronic device, the one or more processors execute the computer program instructions to cause the first electronic device to perform the following steps of:

receiving a ciphertext check instruction from the vehicle head unit through a Bluetooth connection with the vehicle head unit; and

sending, to the vehicle head unit via the vehicle manufacturer application, a first ciphertext, wherein the first ciphertext is configured to unlock a vehicle.

15. The first electronic device of claim 11 , wherein the starting the first application is performed by one of a Bluetooth agent at the application frame layer and a second service application running at the application layer, wherein the one of Bluetooth agent at the application frame layer and the second service application comprises register information of the first application, the register information includes an identifier of the first application and an identifier of the second electronic device.

16. A non-transitory computer storage medium comprising computer instructions for execution by a processor, the computer instructions including instructions for:

establishing a first Bluetooth connection between a first electronic device and a second electronic device;

disconnecting the first Bluetooth connection with the second electronic device when a first preset condition is met;

scanning a Bluetooth advertising signal in response to the disconnection of the first Bluetooth connection;

starting, upon determining that a first advertising signal carries device information of the second electronic device, a first application that is a service application running at an application layer and associated with the second electronic device, wherein the first application is cleared by a system of the first electronic device and in a closed state before the first application is started;

sending, via the first application, a connection request to the second electronic device; and

establishing a second Bluetooth connection with the second electronic device when receiving a response data packet sent by the second electronic device.

17. The non-transitory computer storage medium of claim 16 , wherein the second electronic device is a vehicle head unit, the first application is a vehicle manufacturer application, and after the establishing, by the first electronic device, a second Bluetooth connection with the second electronic device, the computer instructions further comprise instructions for:

receiving a ciphertext check instruction from the vehicle head unit through the second Bluetooth connection with the vehicle head unit; and

sending, to the vehicle head unit via the vehicle manufacturer application, a first ciphertext for vehicle unlocking.

18. The non-transitory computer storage medium of claim 17 , wherein a second application installed on the first electronic device operatively communicates with the vehicle manufacturer application, the second application operatively communicates with a secure storage area that stores the first ciphertext; and

wherein the sending, via the vehicle manufacturer application, the first ciphertext to the vehicle head unit comprises:

obtaining the first ciphertext from the secure storage area by using the vehicle manufacturer application and the second application, and

sending the first ciphertext to the vehicle head unit.

19. The non-transitory computer storage medium of claim 16 , wherein the device information of the second electronic device comprises one or more of a media access control (MAC) address of the second electronic device, a vehicle identification number (VIN) of the second electronic device, or a universally unique identifier (UUID) of the second electronic device.

20. The non-transitory computer storage medium of claim 16 , wherein the starting the first application is performed by one of a Bluetooth agent at the application frame layer and a second service application running at the application layer, wherein the one of Bluetooth agent at the application frame layer and the second service application comprises register information of the first application, the register information includes an identifier of the first application and an identifier of the second electronic device.

Assignments (2)
EMPLOYMENT CONTRACT AND COMMISSIONED TECHNOLOGY DEVELOPMENT AGREEMENT Recorded Feb 24, 2025
From: SONG, YEQUAN
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 070300/0645 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2025
From: ZHANG, YA; WANG, LIANG; HSIAO, WEITING; GUO, SHANSHAN; TANG, NENGFU
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 070300/0914 →
Priority Claims (1)
CN 202010072388.1 · Jan 21, 2020 · national
Continuity (1)
Related Publication 20230041669A1 · Feb 9, 2023
References Cited (27)
US 10149340B1 · Rabii · 2018 [cited by examiner]
US 20170289787A1 · Yu · 2017 [cited by examiner]
US 20170303070A1 · Batra · 2017 [cited by examiner]
US 20180270883A1 · Wu · 2018 [cited by examiner]
US 20180368206A1 · Wohler et al. · 2018 [cited by applicant]
US 20190253857A1 · Li · 2019 [cited by examiner]
CN 105636004A · 2016 [cited by applicant]
CN 107197346A · 2017 [cited by applicant]
CN 107770849A · 2018 [cited by applicant]
CN 109151787A · 2019 [cited by applicant]
CN 109219028A · 2019 [cited by applicant]
CN 109451474A · 2019 [cited by applicant]
CN 109769240A · 2019 [cited by applicant]
CN 110072221A · 2019 [cited by applicant]
CN 110519737A · 2019 [cited by applicant]
EP 2672764A1 · 2013 [cited by applicant]
EP 3226584A1 · 2017 [cited by applicant]
EP 3468068A1 · 2019 [cited by applicant]
JP 2016111548A · 2016 [cited by applicant]
JP 2017034478A · 2017 [cited by applicant]
JP 2018032928A · 2018 [cited by applicant]
JP 2018506208A · 2018 [cited by applicant]
JP 2019012991A · 2019 [cited by applicant]
JP 2020072343A · 2020 [cited by applicant]
WO 2018000134A1 · 2018 [cited by applicant]
Revised WD of ISO IEC 30141, ISO/IEC JTC 1/WG 10, Information technology Internet of Things Reference Architecture (IoT RA), 3GPP Inbox\LSs_from_external_bodies, 2016, 66 pages. [cited by applicant]
Oppo, Oppo BLE car key open interface document, https://open.oppomobile.com/new/developmentDoc/info?id=10778, 14 pages. [cited by applicant]