Connection method and apparatus
AssigneeHonor Device Co., Ltd.
InventorsYongmin Niu, Yashu Zhang
Life of this patent
Estimating the term…
Abstract
A connection method includes: discovering a connectable target Bluetooth device; detecting a Bluetooth connection request between the terminal and the target Bluetooth device; in response to the Bluetooth connection request, determining, based on a Bluetooth connection manner supported by the terminal, a target Bluetooth connection manner for establishing a Bluetooth connection to the target Bluetooth device; and establishing a Bluetooth connection to the target Bluetooth device in the target Bluetooth connection manner.
Claims21
A connection method, applied to a terminal, the terminal stores configuration information, a priority corresponding to a Bluetooth connection manner is configured in the configuration information, wherein the method comprises:
- discovering a connectable target Bluetooth device;
- detecting a Bluetooth connection request between the terminal and the target Bluetooth device, wherein the Bluetooth connection request comprises a preset Bluetooth connection manner;
- in response to the Bluetooth connection request,
- determining, based on the configuration information and the Bluetooth connection manner supported by the terminal, a priority of a Bluetooth connection manner supported by both the terminal and the target Bluetooth device;
- determining whether a priority corresponding to the preset Bluetooth connection manner is a highest priority in the priority of the Bluetooth connection manner supported by both the terminal and the target Bluetooth device;
- when determining that the priority corresponding to the preset Bluetooth connection manner is the highest priority, determining to use the preset Bluetooth connection manner as the target Bluetooth connection manner;
- and
- establishing a Bluetooth connection to the target Bluetooth device in the target Bluetooth connection manner.
(canceled)
A connection method, applied to a terminal, wherein the Bluetooth connection request comprises a preset Bluetooth connection manner, the terminal stores configuration information, a priority corresponding to each Bluetooth connection manner supported by the terminal is configured in the configuration information, wherein the method comprises:
- discovering a connectable target Bluetooth device;
- detecting a Bluetooth connection request between the terminal and the target Bluetooth device, wherein the Bluetooth connection request comprises a preset Bluetooth connection manner;
- in response to the Bluetooth connection request,
- determining a priority corresponding to the preset Bluetooth connection manner based on the priority that corresponds to each Bluetooth connection manner supported by the terminal and that is configured in the configuration information;
- determining whether the priority corresponding to the preset Bluetooth connection manner is a highest priority in the configuration information;
- and
- when the priority corresponding to the preset Bluetooth connection manner is the highest priority, determining to use the preset Bluetooth connection manner as the target Bluetooth connection manner;
- and
- establishing a Bluetooth connection to the target Bluetooth device in the target Bluetooth connection manner.
11-13. (canceled)
An electronic device, wherein the electronic device comprises one or more processors, a memory, and a display;
- and
- the memory is coupled to the one or more processors, the memory is configured to store computer program code, the computer program code comprises computer instructions, and the one or more processors invoke the computer instructions to enable the electronic device to perform the operations of:
- discovering a connectable target Bluetooth device;
- detecting a Bluetooth connection request between the terminal and the target Bluetooth device, wherein the Bluetooth connection request comprises a preset Bluetooth connection manner;
- in response to the Bluetooth connection request, determining, based on the configuration information and the Bluetooth connection manner supported by the terminal, a priority of a Bluetooth connection manner supported by both the terminal and the target Bluetooth device;
- determining whether a priority corresponding to the preset Bluetooth connection manner is a highest priority in the priority of the Bluetooth connection manner supported by both the terminal and the target Bluetooth device;
- when determining that the priority corresponding to the preset Bluetooth connection manner is the highest priority, determining to use the preset Bluetooth connection manner as the target Bluetooth connection manner;
- and
- establishing a Bluetooth connection to the target Bluetooth device in the target Bluetooth connection manner.
15-23. (canceled)
Dependencies are inferred from the claim text.