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 is a validly registered Bluetooth device in the candidate Bluetooth devices, connecting, by the first device, to the validly registered Bluetooth device.
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.
10 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 is a validly registered Bluetooth device in the candidate Bluetooth devices, connecting, by the first device, to the validly registered Bluetooth device. - View Dependent Claims (2, 3, 4, 5, 10)
-
-
6. A master device for implementing Bluetooth automatic connection, comprising a network module and a connection module,
the connection module is configured to enable a Bluetooth function, to obtain Bluetooth devices in a communication range; the network module is configured to connect to a first server, wherein the first server stores validly registered Bluetooth device information;
the network module 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 module 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 is a validly registered Bluetooth device in the candidate Bluetooth devices, trigger the connection module to connect to the validly registered Bluetooth device.- View Dependent Claims (7, 9, 11)
-
8. A slave device for implementing Bluetooth automatic connection, wherein information of serial number (SN) or media access control (MAC) of the slave device is attached on a housing of the slave device.
Specification