Bluetooth connection method and apparatus, wearable device, and computer-readable storage medium
AssigneeGuangdong Oppo Mobile Telecommunicators Corp., Ltd.
InventorEnfu Liu
Life of this patent
Estimating the term…
Abstract
The present application relates to a Bluetooth connection method and apparatus, a wearable device, and a computer-readable storage medium. The methods are provided as follows. When a first system is running, a terminal is paired by a first Bluetooth module, so as to obtain a terminal identifier corresponding to the terminal. A mode switching instruction is obtained, and the first system and the first Bluetooth module is turned off according to the mode switching instruction, and a second Bluetooth module of a second system is turned on. A connection with the terminal is established by the second Bluetooth module controlled by the second system according to the terminal identifier.
Claims18
A method for Bluetooth connection, performed by a wearable device comprising a first processor, a second processor, a first Bluetooth module, and a second Bluetooth module, the first processor being configured to run a first system, the second processor being configured to run a second system, the first processor being configured to communicate with the first Bluetooth module, the second processor being configured to communicate with the second Bluetooth module, the method comprising:
- when the first system is running, pairing with a terminal through the first Bluetooth module so as to obtain a terminal identifier corresponding to the terminal;
- in response to a mode switching instruction, turning off the first system and the first Bluetooth module and turning on the second Bluetooth module;
- and
- establishing, by the second system, a connection to the terminal through the second Bluetooth module according to the terminal identifier;
- wherein the method further comprises:
- when the first system is running, after pairing with the terminal through the first Bluetooth module and obtaining the terminal identifier corresponding to the terminal, sending the terminal identifier to the second system, and storing the terminal identifier through the second system;
- or
- before obtaining the mode switching instruction, obtaining a remaining power value of the wearable device;
- and in response to the remaining power value being lower than a power threshold, generating the mode switching instruction;
- or
- before obtaining the mode switching instruction, sending the terminal identifier to the second processor through a serial peripheral interface bus, wherein the first processor and the second processor are connected through the serial peripheral interface bus;
- and storing the terminal identifier in a memory corresponding to the second processor by the second processor.
A wearable device, comprising:
- a memory;
- a first processor;
- a second processor;
- one or more programs, wherein the one or more programs including instructions are stored in the memory and configured to be executed by the first processor or the second processor to cause the wearable device to:
- when the first system is running, pair with a terminal through the first Bluetooth module to obtain a terminal identifier corresponding to the terminal;
- in response to a mode switching instruction, turn off the first system and the first Bluetooth module and turn on the second Bluetooth module;
- and
- establish, by the second system, a connection to the terminal through the second Bluetooth module according to the terminal identifier;
- wherein in terms of obtaining the mode switching instruction, turning off the first system and the first Bluetooth module according to the mode switching instruction, and turning on the second Bluetooth module, the instructions are configured to be executed to cause the wearable device to:
- in response to the mode switching instruction, determine whether the wearable device is connected to the terminal through the first Bluetooth module;
- if the wearable device being connected to the terminal through the first Bluetooth module, turn on the second Bluetooth module and turning off the first system;
- and if the wearable device is not connected to the terminal through the first Bluetooth module, turn off the first system, and in response to a Bluetooth turning-on instruction being obtained, turning on the second Bluetooth module;
- or
- wherein the wearable device comprises a watch mode and a bracelet mode, and when the wearable device is in the watch mode, the first system and the second system run simultaneously;
- when the wearable device is in the bracelet mode, the first system is turned off and the second system is running;
- in terms of turning off the first system and the first Bluetooth module according to the mode switching instruction, the instructions are configured to be executed to cause the wearable device to:
- while the wearable device is in the watch mode, according to the mode switching instruction, controlling peripheral components of the wearable device from using the first system to using the second system, and turning off the first system and the first Bluetooth module.
A method for system switching, performed by a wearable device comprising a first processor and a second processor, the first processor being configured to run a first system, the second processor being configured to run a second system, the method comprising:
- obtaining a remaining power value of the wearable device;
- in response to the remaining power value being lower than a power threshold, generating a mode switching instruction;
- and
- in response to the mode switching instruction, turning off the first system;
- wherein power consumption of the wearable device when running the first system is greater than the power consumption of the wearable device when running the second system.
Dependencies are inferred from the claim text.