Bluetooth automatic connection method, and master device, slave device, and system
First Claim
1. A Bluetooth automatic connection method, comprising the following steps:
- enabling, by a first device, a Bluetooth function, to obtain Bluetooth device names in a communication range;
determining, one by one, whether the Bluetooth device names in the communication range contain a specific character, and if any Bluetooth device name contains the specific character, determining a Bluetooth device corresponding to the Bluetooth device name as a candidate Bluetooth device;
connecting, by the first device, to a first server, wherein the first server stores validly registered Bluetooth device information;
according to the validly registered Bluetooth device information and names of candidate Bluetooth devices, determining whether there is a validly registered Bluetooth device in the candidate Bluetooth devices; and
if it is determined that there are validly registered Bluetooth devices in the candidate Bluetooth devices, the validly registered Bluetooth devices are ranked according to the strength of Bluetooth signals, connecting, by the first device, to the validly registered Bluetooth device having a strongest Bluetooth signal in the communication range.
3 Assignments
0 Petitions
Accused Products
Abstract
The inventor provides a Bluetooth automatic connection method and a master device, slave device, and system for implementing Bluetooth automatic connection, solving the problem that manual selection and connection are needed in a scenario in which there are multiple Bluetooth devices. The present invention relates to implementation of connection between Bluetooth devices, and in particular, quick automatic connection of the Bluetooth devices. The method includes the following steps: enabling, by a first device, a Bluetooth function, to obtain Bluetooth device names in a communication range; determining, one by one, whether the Bluetooth device names in the communication range contain a specific character, and if any Bluetooth device name contains the specific character, determining a Bluetooth device corresponding to the Bluetooth device name as a candidate Bluetooth device; connecting, by the first device, to a first server, where the first server stores validly registered Bluetooth device information; and according to the validly registered Bluetooth device information and names of candidate Bluetooth devices, determining whether there is a validly registered Bluetooth device in the candidate Bluetooth devices.
8 Citations
11 Claims
-
1. A Bluetooth automatic connection method, comprising the following steps:
-
enabling, by a first device, a Bluetooth function, to obtain Bluetooth device names in a communication range; determining, one by one, whether the Bluetooth device names in the communication range contain a specific character, and if any Bluetooth device name contains the specific character, determining a Bluetooth device corresponding to the Bluetooth device name as a candidate Bluetooth device; connecting, by the first device, to a first server, wherein the first server stores validly registered Bluetooth device information;
according to the validly registered Bluetooth device information and names of candidate Bluetooth devices, determining whether there is a validly registered Bluetooth device in the candidate Bluetooth devices; andif it is determined that there are validly registered Bluetooth devices in the candidate Bluetooth devices, the validly registered Bluetooth devices are ranked according to the strength of Bluetooth signals, connecting, by the first device, to the validly registered Bluetooth device having a strongest Bluetooth signal in the communication range. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A master device for implementing Bluetooth automatic connection, comprising a network circuit and a connection circuit,
the connection circuit is configured to enable a Bluetooth function, to obtain Bluetooth devices in a communication range; the network circuit is configured to connect to a first server, wherein the first server stores validly registered Bluetooth device information;
the network circuit is configured to trigger determining, one by one, whether the Bluetooth device names in the communication range contain a specific character, and if any Bluetooth device name contains the specific character, determining a Bluetooth device corresponding to the Bluetooth device name as a candidate Bluetooth device;
the network circuit is configured to according to the validly registered Bluetooth device information and names of candidate Bluetooth devices, trigger determining whether there is a validly registered Bluetooth device in the candidate Bluetooth devices; and
if it is determined that there are validly registered Bluetooth devices in the candidate Bluetooth devices, ranking the validly registered Bluetooth devices according to the strength of Bluetooth signals, trigger the connection circuit to connect to the validly registered Bluetooth device having a strongest Bluetooth signal in the communication range.- View Dependent Claims (8, 9, 10, 11)
Specification