CN114980363B - Bluetooth reconnection method and related device thereof - Google Patents

Bluetooth reconnection method and related device thereof Download PDF

Info

Publication number
CN114980363B
CN114980363B CN202210888062.5A CN202210888062A CN114980363B CN 114980363 B CN114980363 B CN 114980363B CN 202210888062 A CN202210888062 A CN 202210888062A CN 114980363 B CN114980363 B CN 114980363B
Authority
CN
China
Prior art keywords
bluetooth
message
state
connection
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210888062.5A
Other languages
Chinese (zh)
Other versions
CN114980363A (en
Inventor
王福凯
李哲
张勇
牛永民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210888062.5A priority Critical patent/CN114980363B/en
Publication of CN114980363A publication Critical patent/CN114980363A/en
Application granted granted Critical
Publication of CN114980363B publication Critical patent/CN114980363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a Bluetooth reconnection method and a related device thereof, and relates to the technical field of terminals. The method comprises the following steps: under the condition that the Bluetooth equipment cannot be connected back to the terminal equipment, entering a dormant state; when the duration in the dormant state reaches a first preset threshold, entering an awake state; in a first preset period in an awake state, sending a first message and receiving a second message; if the second message is received within the first preset period, reestablishing Bluetooth connection with the terminal equipment; or if the second message is not received within the first preset period, entering the sleep state again. Based on the method, after the Bluetooth equipment and the terminal equipment are disconnected due to the too far distance and the like, the Bluetooth equipment and the terminal equipment can enter a sleep state with lower power consumption, and enter an awake state at intervals to try to be connected back. Therefore, the Bluetooth device can actively complete the reconnection after recovering the distance between the Bluetooth device and the terminal device without manual operation, so that the user experience can be improved.

Description

Bluetooth reconnection method and related device thereof
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a bluetooth reconnection method and a related device thereof.
Background
At present, a user can use a bluetooth device to be connected with a terminal device in daily life, and the bluetooth device and the terminal device are matched for use, for example, a bluetooth headset is used to be connected with a mobile phone, and the like. The bluetooth device may attempt to connect back after disconnecting from the terminal device due to too far a distance or the like. Many bluetooth devices have no external power source and rely on their own battery to power, so in order to save power, the bluetooth device may be powered off after attempting to connect back for a period of time.
The Bluetooth device can not be connected back with the terminal device after being powered off, if the Bluetooth device is powered off, a user needs to use the Bluetooth device again, needs to manually restart and connect, needs to wait for a long time, and is poor in use experience. Therefore, a method is needed to increase the speed of the connection back to the terminal device after the disconnection of the bluetooth device from the terminal device.
Disclosure of Invention
The application provides a Bluetooth reconnection method and a related device thereof, so that connection is restored as soon as possible after Bluetooth connection of Bluetooth equipment and terminal equipment is disconnected, and user experience is improved.
In a first aspect, the present application provides a bluetooth reconnection method, applied to a bluetooth device, including: under the condition that the Bluetooth equipment cannot be connected back to the terminal equipment, entering a dormant state; when the duration in the dormant state reaches a first preset threshold, entering an awake state; in a first preset period in an awake state, sending a first message, and receiving a second message, wherein the second message is sent by the terminal equipment in response to the received first message; if the second message is received within the first preset period, reestablishing Bluetooth connection with the terminal equipment; or if the second message is not received within the first preset period, the sleep state is entered again.
Based on the method, after the Bluetooth device and the terminal device are disconnected due to the fact that the distance is too far, the Bluetooth device can enter a dormant state and enter an awake state at intervals to attempt to connect back with the terminal device. Therefore, after the distance between the Bluetooth device and the terminal device is restored to the range capable of establishing Bluetooth connection, the Bluetooth device actively completes reconnection without manual starting and reconnection, so that the Bluetooth device is beneficial to being quickly connected to the terminal device, waiting time of a user is reduced, and use experience of the user is improved. In addition, because the power consumption in the sleep state is low, and the user wakes up and tries to connect back at intervals, the user does not need to keep in the wake-up state all the time, and therefore the power consumption can be saved.
With reference to the first aspect, in some possible implementation manners of the first aspect, when the bluetooth device is in a sleep state, an operating current of a bluetooth module of the bluetooth device is less than 1 milliamp; when the Bluetooth device is in the wake-up state, the working current of the Bluetooth module of the Bluetooth device is greater than or equal to 1 milliamp.
In practical application, the state of the bluetooth device can be determined by measuring the working current of the bluetooth module of the bluetooth device.
With reference to the first aspect, in some possible implementation manners of the first aspect, determining that the bluetooth device cannot connect back to the terminal device includes: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected.
When the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device are immediately judged to be unable to be connected back, so that the Bluetooth device and the terminal device immediately enter a dormant state, and the energy consumption is reduced.
With reference to the first aspect, in some possible implementation manners of the first aspect, determining that the bluetooth device cannot connect back to the terminal device includes: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, and the Bluetooth connection cannot be established with the terminal device within a second preset period after the Bluetooth connection is disconnected.
The Bluetooth device and the terminal device can not enter the dormant state immediately after the Bluetooth connection of the Bluetooth device and the terminal device is disconnected, but try to reestablish the connection first, if the connection can be reestablished within a second preset period, normal use can be continued, and the Bluetooth device and the terminal device do not need to enter the dormant state, so that the Bluetooth device and the terminal device can be connected again as soon as possible.
Further, the method further comprises: in a second preset period, adopting a point-to-point connection mode to attempt to establish Bluetooth connection with the terminal equipment, wherein the connection fails; or in a second preset period, attempting to establish a bluetooth connection with the terminal equipment by adopting a bluetooth low energy (bluetooth low energy, BLE) broadcasting mode, and failing to connect.
The possible ways of establishing the bluetooth connection between the bluetooth device and the terminal device in the second preset period are given here, and the application does not limit what way is used to establish the bluetooth connection in the second preset period.
With reference to the first aspect, in some possible implementation manners of the first aspect, in a case that the terminal device is not connected back, time points at which the bluetooth device enters the sleep state are periodically distributed, and time points at which the bluetooth device enters the wake state from the sleep state are also periodically distributed.
The bluetooth device may periodically switch between a sleep state and an awake state, and the period of the switching may be predefined by a manufacturer or a user. The Bluetooth equipment can not keep the dormant state for a long time by periodically switching the state, so that the connection with the terminal equipment can be attempted to be reestablished; the Bluetooth equipment can not keep the awakening state for a long time, so that the electric energy can be saved, and the power consumption can be reduced.
With reference to the first aspect, in certain possible implementation manners of the first aspect, the method further includes: and taking the time point of the Bluetooth equipment, which is determined to be unable to be connected back to the terminal equipment and then enters the sleep state for the first time, as a starting point, and entering the shutdown state if the duration of the received message reaches a second preset threshold.
If the Bluetooth device cannot reestablish connection with the terminal device for a long time, the Bluetooth device can enter a shutdown state in order to save electric energy and reduce power consumption.
With reference to the first aspect, in certain possible implementation manners of the first aspect, before entering the sleep state, the method further includes: in response to user operation, the Bluetooth device entering the sleep back connection mode can actively enter the wake-up state in the sleep state to send and receive messages in the wake-up state without being directly powered off.
After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the user may not want to reestablish the bluetooth connection between the two, but want to have the bluetooth device directly powered off. Therefore, the scheme provides a user with a choice, and the user can choose to enable the Bluetooth device to enter the sleep mode or to be directly powered off.
In a second aspect, the present application provides a bluetooth loopback device comprising a processor, and a memory communicatively coupled to the processor for storing a computer program, the processor for invoking the computer program in the memory to perform the method as in the first aspect and any one of the possible implementations of the first aspect.
In a third aspect, the present application provides a bluetooth reconnection method, applied to a terminal device, where the method includes: under the condition that the Bluetooth module of the terminal equipment cannot be connected back to the Bluetooth equipment, the Bluetooth module is controlled to enter a dormant state; when the duration in the dormant state reaches a first preset threshold, controlling the Bluetooth module to enter an awake state; controlling the Bluetooth module to send a first message and receive a second message within a first preset period of time in an awake state, wherein the second message is sent by the Bluetooth equipment in response to the received first message; if the second message is received within the first preset period, the Bluetooth module is controlled to reestablish Bluetooth connection with the Bluetooth equipment; or if the second message is not received within the first preset period, controlling the Bluetooth module to enter the sleep state again.
Based on the method, after the Bluetooth device and the terminal device are disconnected due to the fact that the distance is too far, the Bluetooth device can enter a dormant state and enter an awake state at intervals to attempt to connect back with the terminal device. Therefore, after the distance between the Bluetooth device and the terminal device is restored to the range capable of establishing Bluetooth connection, the Bluetooth device actively completes reconnection without manual starting and reconnection, so that the Bluetooth device is beneficial to being quickly connected to the terminal device, waiting time of a user is reduced, and use experience of the user is improved. In addition, because the power consumption in the sleep state is low, and the user wakes up and tries to connect back at intervals, the user does not need to keep in the wake-up state all the time, and therefore the power consumption can be saved.
With reference to the third aspect, in some possible implementations of the third aspect, an operating current of the bluetooth module of the terminal device in the sleep state is less than 1 milliamp; the working current of the Bluetooth module of the terminal equipment in the wake-up state is more than or equal to 1 milliamp.
Therefore, in practical application, the state of the bluetooth module of the terminal device can be judged by measuring the working current of the bluetooth module of the terminal device.
With reference to the third aspect, in some possible implementations of the third aspect, determining that the bluetooth module of the terminal device cannot be connected back to the bluetooth device includes: and determining that the Bluetooth connection between the Bluetooth module of the terminal equipment and the Bluetooth equipment is disconnected.
When the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device are immediately judged to be unable to be connected back, so that the Bluetooth module of the terminal device immediately enters a dormant state, and the energy consumption is reduced.
With reference to the third aspect, in some possible implementations of the third aspect, determining that the bluetooth module of the terminal device cannot be connected back to the bluetooth device includes: determining that Bluetooth connection between a Bluetooth module of the terminal device and the Bluetooth device is disconnected, and failing to establish Bluetooth connection with the Bluetooth device within a second preset period after the Bluetooth connection is disconnected.
After the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth module of the terminal device does not immediately enter the dormant state, but tries to reestablish connection first, if the connection can be reestablished within a second preset period, normal use can be continued, and the Bluetooth module does not need to enter the dormant state, so that the Bluetooth module and the terminal device can be connected again as soon as possible.
Further, the method further comprises: in a second preset period, adopting a point-to-point connection mode to attempt to establish Bluetooth connection with Bluetooth equipment through a Bluetooth module, wherein the connection fails; or in a second preset period, adopting a BLE broadcasting mode to attempt to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails.
The possible ways of establishing the bluetooth connection between the bluetooth device and the terminal device in the second preset period are given here, and the application does not limit what way is used to establish the bluetooth connection in the second preset period.
With reference to the third aspect, in some possible implementations of the third aspect, in a case where the bluetooth module of the terminal device is not connected back to the bluetooth device, time points at which the bluetooth module enters the sleep state are periodically distributed, and time points at which the bluetooth module enters the wake-up state from the sleep state are also periodically distributed.
The bluetooth module of the terminal device may be periodically switched between a sleep state and an awake state, and the period time of the switching may be predefined by a manufacturer or a user. The Bluetooth module of the terminal equipment can not keep the dormant state for a long time by periodically switching the state, so that the Bluetooth module can attempt to reestablish connection with the Bluetooth equipment; the Bluetooth module of the terminal equipment can not keep the awakening state for a long time, so that the electric energy can be saved and the power consumption can be reduced.
With reference to the third aspect, in some possible implementations of the third aspect, the method further includes: and taking a time point of the Bluetooth module of the terminal equipment, which is determined to be unable to be connected back to the Bluetooth equipment and enters the sleep state for the first time, as a starting point, closing the Bluetooth module when the duration of the received message reaches a second preset threshold, and sending or receiving the message through the Bluetooth module.
If the terminal equipment can not reestablish connection with the Bluetooth equipment for a long time, the Bluetooth module of the terminal equipment can enter a shutdown state in order to save electric energy and reduce power consumption.
With reference to the third aspect, in some possible implementations of the third aspect, before controlling the bluetooth module to enter the sleep state, the method further includes: in response to user operation, the terminal device entering the sleep-back mode can control the Bluetooth module to enter a sleep state and actively enter an awake state in the sleep state so as to send and receive messages in the awake state without directly closing the Bluetooth module.
After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the user may not want to reestablish the bluetooth connection between the two, but want to directly turn off the bluetooth module of the terminal device. Therefore, the scheme provides a choice for the user, and the user can choose to directly turn off the Bluetooth module of the terminal equipment or let the Bluetooth module of the terminal equipment enter a sleep-back mode.
In a fourth aspect, the present application provides a bluetooth loopback device comprising a processor, and a memory communicatively coupled to the processor for storing a computer program, the processor for invoking the computer program in the memory to perform the method as in the third aspect and any one of the possible implementations of the third aspect.
In a fifth aspect, the present application provides a bluetooth interconnection apparatus, the apparatus comprising means for performing as in the first or third aspect and any one of the possible implementation manners of the first or third aspect.
In a sixth aspect, the present application provides a computer readable storage medium comprising a computer program which, when run on a computer, causes the first or third aspect and the method in any one of the possible implementations of the first or third aspect to be performed.
In a seventh aspect, the present application provides a computer program product comprising a computer program which, when run on a computer, causes the first or third aspect and the method in any one of the possible implementations of the first or third aspect to be performed.
It should be understood that, the second aspect and the fourth aspect of the present application correspond to the technical solutions of the first aspect and the third aspect of the present application, and the advantages obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a bluetooth reconnection method provided in an embodiment of the present application;
fig. 4 to 8 are schematic diagrams of a sleep state and an awake state of a bluetooth module of a bluetooth device and a terminal device according to an embodiment of the present application;
fig. 9 is a schematic diagram of bluetooth device mode selection provided in an embodiment of the present application;
fig. 10 is another schematic flowchart of a bluetooth reconnection method provided in an embodiment of the present application;
fig. 11 is a schematic diagram of terminal device mode selection provided in an embodiment of the present application;
Fig. 12 is a schematic structural diagram of a bluetooth interconnection device according to an embodiment of the present application.
Detailed Description
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first chip and the second chip are merely for distinguishing different chips, and the order of the different chips is not limited. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to better understand the embodiments of the present application, the structures of the terminal device and the bluetooth device of the embodiments of the present application are described below.
Fig. 1 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
The terminal device 100 shown in fig. 1 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied to the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device 100 may implement a photographing function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or to handsfree talk through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device 100 receives a call or voice message, it is possible to receive voice by approaching the receiver 170B to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The terminal device 100 may be provided with at least one microphone 170C. In other embodiments, the terminal device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may be further provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
A distance sensor 180F for measuring a distance. The terminal device 100 may measure the distance by infrared or laser. In some embodiments, the terminal device 100 may range using the distance sensor 180F to achieve fast focusing.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal apparatus 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
Fig. 2 is a schematic structural diagram of a bluetooth device according to an embodiment of the present application.
By way of example, bluetooth device 200 may include a processor 210, a memory 250, a bluetooth module 220, an audio module 230, a power module 240, an input/output interface 266, and a sensor 270, among others. The processor 210 may include one or more interfaces for interfacing with other components of the bluetooth device 200.
The memory 250 may be used to store program codes, such as application programs for pairing and connecting the bluetooth device 200 with a terminal device, handling audio services of the terminal device (e.g., music playing, receiving/making a call), etc. The memory 250 may also be used to store other information such as identity information, connection time, disconnection cause, etc.
The processor 210 may be configured to execute the application code described above and invoke the relevant modules to implement the functionality of the bluetooth device 200 in the embodiments of the present application. For example, the functions of pairing, connecting, audio playing, receiving/making a call and the like between the bluetooth device 200 and the terminal device are realized. For example, when the bluetooth device 200 is a bluetooth headset, the processor 210 may instruct the bluetooth module 220 to transmit a discovery message such as a paging (page) packet, so that the terminal device may calculate a received signal strength indication (received signal strength indicator, RSSI) according to the received discovery message, and determine whether to discover the bluetooth headset according to the RSSI.
The processor 210 may include one or more processing units, and the different processing units may be separate devices or may be integrated into one or more processors 210. The processor 210 may be an integrated control chip or may be comprised of circuitry including various active and/or passive components configured to perform the functions described in embodiments of the present application as belonging to the processor 210.
In some embodiments, bluetooth module 220 may be a bluetooth chip. The bluetooth device 200 may be paired with and connected to a bluetooth chip of the terminal device through the bluetooth chip, so as to implement wireless communication and service processing between the bluetooth device 200 and the terminal device through a bluetooth connection. In general, bluetooth chips may support Basic Rate (BR)/enhanced data rate (enhanced data rate, EDR) bluetooth and bluetooth low energy (bluetooth low energy, BLE), such as may receive/transmit page packets, receive/transmit BLE broadcasts, and the like. The bluetooth module 220 may receive the signal to be transmitted from the processor 210, perform frequency modulation, amplify the signal, and convert the signal into electromagnetic waves to radiate the electromagnetic waves through a bluetooth antenna.
For example, the signal sent by the bluetooth module 220 via the bluetooth antenna may be a discovery message such as a page packet, which may be used for the terminal device to calculate the RSSI, and perform proximity discovery according to the RSSI.
The audio module 230 may be used to manage audio data to enable the bluetooth device 200 to input and output audio signals. For example, the audio module 230 may obtain an audio signal from the bluetooth module 220, and perform functions of making a call through the bluetooth headset, playing music, starting/closing a voice assistant of a terminal device connected to the bluetooth headset, receiving/transmitting voice data of a user, and the like. The audio module 230 may include a speaker (or earpiece, receiver) assembly for outputting audio signals, a microphone (or microphone, microphone), microphone pickup circuitry that mates with the microphone, and the like. Speakers may be used to convert audio electrical signals into sound signals and play them. Microphones may be used to convert sound signals into audio electrical signals.
The power module 240 may be used to provide a system power for the bluetooth device 200, and power each module of the bluetooth device 200; the bluetooth enabled device 200 receives a charging input, etc. The power module 240 may include a power management unit (power management unit, PMU) and a battery. Wherein the power management unit may receive an external charging input; the electric signals input by the charging circuit are transformed and then supplied to the battery for charging, and the electric signals supplied by the battery can be transformed and then supplied to other modules such as an audio module 230, a Bluetooth module 220 and the like; and to prevent overcharging, overdischarging, shorting, or overcurrent of the battery, etc. In some embodiments, the power module 240 may also include a wireless charging coil for wirelessly charging the bluetooth device 200. In addition, the power management unit can also be used for monitoring parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance) and the like.
A plurality of input/output interfaces 260 may be used to provide a wired connection for charging or communicating with bluetooth device 200. For example, the input/output interface 260 may be a USB interface, a charging interface, or the like.
In addition, the Bluetooth device 200 may also include a sensor 270. For example, the sensors 270 may include a distance sensor 270C, an ambient light sensor 270B, and a temperature sensor 270A, which may be used to determine whether the bluetooth device 200 is being used by a user. Illustratively, the bluetooth device 200 may utilize a distance sensor 270C to detect whether there is an object in the vicinity of the bluetooth device 200, and an ambient light sensor 270B for sensing ambient light intensity; the temperature sensor 270A is used to collect temperature. The processor 210 determines that the bluetooth device 200 is in a state of being worn by the user when it is recognized that there is an object in the vicinity of the bluetooth device 200 and the ambient light level is lower than a preset brightness threshold and the temperature is within a preset interval range (i.e., a body temperature interval of the human body).
As another example, the sensor may also include a bone conduction sensor 270D, in combination with an osteogenic conductive headset. With the bone conduction sensor 270D, the bluetooth device 200 may obtain a vibration signal of the bone mass vibrated by the human vocal part, parse out the voice signal, and implement a voice function, thereby receiving a voice command of the user. The bluetooth device 200 may also perform voice authentication according to the user voice signal obtained by the bone conduction headset, so as to authenticate the user identity in the service scenario such as payment transaction.
It will be appreciated that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on bluetooth devices. It may have more or fewer components, may combine two or more components, or may have a different configuration of components. For example, the external surface of the bluetooth device may further include a key, an indicator light (which may indicate a state of electric quantity, incoming/outgoing call, pairing mode, etc.), a display screen (which may prompt a user about information), a dust screen (which may be used with an earpiece), etc. The key may be a physical key or a touch key (used in cooperation with a touch sensor), and is used for triggering operations such as starting, shutting down, pausing, playing, recording, starting pairing, resetting, and the like.
After the Bluetooth headset is disconnected from the mobile phone due to too far distance and other factors, the Bluetooth headset can try to be connected back. The current mode of attempting to connect back with the mobile phone by the Bluetooth headset is the traditional point-to-point connection, and the BR technology or the EDR technology based on Bluetooth is used for connecting back. The bluetooth headset generally has no external power supply and is powered by a battery of the bluetooth headset, so in order to save power, the bluetooth device is powered off after trying to be connected back for a period of time.
The Bluetooth headset can not be connected back with the mobile phone after being powered off, if the Bluetooth headset is powered off, a user needs to use the Bluetooth headset again, the Bluetooth headset needs to be powered on again manually and connected, the reconnection speed is low, the user needs to wait for a long time, and the use experience is poor.
In view of this, the present application provides a bluetooth reconnection method, where after a bluetooth device and a terminal device are disconnected due to a too far distance, the bluetooth device may enter a sleep state and enter an awake state at intervals to attempt reconnection with the terminal device. Therefore, after the distance between the Bluetooth device and the terminal device is restored to the range capable of establishing Bluetooth connection, the Bluetooth device actively completes reconnection without manual starting and reconnection, so that the Bluetooth device is beneficial to being quickly connected to the terminal device, waiting time of a user is reduced, and use experience of the user is improved. In addition, because the power consumption in the sleep state is low, and the user wakes up and tries to connect back at intervals, the user does not need to keep in the wake-up state all the time, and therefore the power consumption can be saved.
Fig. 3 is a schematic flowchart of a bluetooth reconnection method provided in an embodiment of the present application. The method may be applied to bluetooth devices. The method may be performed by a bluetooth loopback device, which may be a bluetooth device, such as bluetooth device 200 shown in fig. 2, or may be a component of a bluetooth device, such as processor 210 shown in fig. 2, for example, and is not limited in this application. If the method is performed by a component in a bluetooth device, the component may be configured to control the bluetooth device to enter a sleep state or to enter an awake state.
The method is described below by way of example only with respect to a bluetooth device.
The method 300 shown in fig. 3 may include steps 310 through 342. The steps in method 300 are described in detail below.
In step 310, if it is determined that the bluetooth device cannot connect back to the terminal device, the sleep state is entered.
In the process of daily use of the terminal device and the Bluetooth device by the user, the situation that the terminal device and the Bluetooth device cannot be connected back may occur. For example, the distance between the mobile phone and the Bluetooth headset is too far, so that the mobile phone and the Bluetooth headset cannot be connected back. In this case, the bluetooth device may enter a sleep state in order to save power and reduce power consumption. When the Bluetooth device is in a dormant state, the working current of the Bluetooth module of the Bluetooth device is generally in the microampere level, which is less than 1 milliamp.
Optionally, the method for determining that the bluetooth device cannot be connected back to the terminal device is as follows: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected.
By the method, when the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device are immediately judged to be unable to be connected back, so that the Bluetooth device and the terminal device immediately enter a dormant state, and the energy consumption is reduced.
Optionally, the method for determining that the bluetooth device cannot be connected back to the terminal device is as follows: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, and failing to recover the Bluetooth connection within a second preset period after the Bluetooth connection is disconnected.
In this way, the Bluetooth device does not enter the dormant state immediately after the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, but tries to reestablish the connection first, if the connection can be reestablished within a second preset period, normal use can be continued, and the Bluetooth device does not need to enter the dormant state, so that the Bluetooth device and the terminal device can be restored to the connection as soon as possible; if the re-establishment of the connection fails within the second period of time, the dormant state is entered.
In the second preset period, the bluetooth device may attempt to establish bluetooth connection with the terminal device in a conventional point-to-point connection manner, which is generally connected by using BR technology or EDR technology; but may also be in the form of BLE broadcast. BLE broadcast consumes less power than point-to-point connections, keeping the communication range almost unchanged. The present application does not set any limitation as to which manner the bluetooth connection is established for the second preset time period.
In step 320, the awake state is entered when the duration in the sleep state reaches a first preset threshold.
When the Bluetooth equipment is in a dormant state, the power consumption is low, the electric energy is saved, and the connection with the terminal equipment cannot be reestablished. So the bluetooth device is obviously not always in the sleep state after entering the sleep state, and also needs to enter the wake state to reestablish connection with the terminal device.
When the Bluetooth device is in an awake state, the working current of the Bluetooth module of the Bluetooth device is generally in the milliamp level, which is greater than or equal to 1 milliamp.
Because bluetooth device consumes higher power and consumes power when in the awake state, it is obvious that bluetooth device will not always be in the awake state. The bluetooth device is in the awake state for a period of time and periodically toggles between the sleep and awake states if no connection is yet reestablished with the terminal device. That is, the time points when the bluetooth device enters the sleep state are periodically distributed, and the time when the bluetooth device enters the wake state is also periodically distributed. And the cycle time for the bluetooth device to switch between the sleep state and the awake state may be predefined by the manufacturer or the user. The Bluetooth device is internally provided with a timing device, which can perform timing according to a predefined period time and switch the state of the Bluetooth device.
In step 330, a first message is sent and a second message is received during a first predetermined period of time in an awake state. Wherein the second message is a message sent by the terminal device in response to the received first message.
In the embodiment of the present application, the bluetooth device sends the first message in the form of a broadcast, for example, BLE broadcast. Correspondingly, the terminal device scans the broadcast of the first message, and returns a second message to the Bluetooth device when the broadcast of the first message is scanned. Optionally, the first message and/or the second message may be encrypted for security of the connection between the two devices. When the Bluetooth device is connected with the terminal device, that is, before the Bluetooth device is disconnected, an encryption mode is communicated in advance. After the bluetooth connection is disconnected, the two devices can encrypt the first message and/or the second message by using an encryption mode communicated in advance.
Optionally, similar to the bluetooth device, the bluetooth module of the terminal device may also have a sleep state and an awake state, the bluetooth module of the terminal device may scan for the broadcast of the first message in the awake state, and the bluetooth module of the terminal device may also have a period for switching between the sleep state and the awake state. And will not be described in detail herein.
It should be noted that in step 330, the bluetooth device receives the second message, which is not necessarily received by the bluetooth device. Whether the bluetooth device can receive the second message is related to whether the terminal device can successfully scan the first message. Correspondingly, when the bluetooth device receives the second message and does not receive the second message, different operations may be performed, as shown in steps 341 and 342 below.
In step 341, if the bluetooth device receives the second message sent by the terminal device within the first preset period in the awake state, the connection may be reestablished with the terminal device.
In step 342, if the bluetooth device does not receive the second message sent by the terminal device within the first preset period of time in the awake state, the bluetooth device enters the sleep state again until entering the awake state next time according to the predefined cycle time.
For ease of understanding, the cycle time for the bluetooth device to switch back and forth between the sleep state and the awake state in the above method may be referred to as a first cycle; accordingly, the period time for the bluetooth module of the terminal device to switch back and forth between the sleep state and the awake state is referred to as a second period. In the first period, the duration of the bluetooth device in the sleep state may be referred to as a first sleep duration, and the duration of the bluetooth device in the wake state may be referred to as a first wake duration; accordingly, in the second period, the period of time during which the bluetooth module of the terminal device is in the sleep state may be referred to as a second sleep period, and the period of time during which the bluetooth module of the terminal device is in the awake state may be referred to as a second awake period.
There are a number of situations in which the bluetooth module of the bluetooth device and the terminal device each switch back and forth between a sleep state and an awake state, several of which are exemplarily shown below.
The first case is shown in fig. 4. When the Bluetooth connection of the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device can start to count the period at the same time, and the length of the first period is equal to that of the second period. Because the judgment of the disconnection time may have errors, the sleep time and the wake-up time of the two may not be completely consistent. In the respective sleep time, the bluetooth modules of the bluetooth device and the terminal device are kept in sleep state, and the first message is not broadcast or scanned; in the respective wake-up time, the bluetooth device may broadcast a first message, and the bluetooth module of the terminal device may scan the first message. If the Bluetooth module of the terminal equipment does not scan the first message broadcast by the Bluetooth equipment, the Bluetooth equipment and the terminal equipment cannot meet the condition of reconnection and still cannot be reconnected, and then the next period can be entered; if the Bluetooth module of the terminal equipment scans the first message broadcast by the Bluetooth equipment, the Bluetooth equipment and the terminal equipment can meet the condition of reconnection.
In one example, the first period and the second period are the same length, both being 1 minute. The first dormancy time is 57 seconds, and the first awakening time is 3 seconds; the second sleep time is 50 seconds, and the second wake-up time is 10 seconds.
In general, the terminal device may be a terminal device such as a mobile phone or a computer, and the bluetooth device may be a bluetooth device such as a bluetooth headset. The battery of the terminal device is larger and the duration of the battery is longer than that of the Bluetooth device, so that the duty ratio of the wake-up time period in one period can be relatively larger.
The second case is shown in fig. 5. When the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device wait for a period of time, and then start to time the period. The time interval for which the bluetooth device and the terminal device wait may be the second preset time period mentioned above, that is, during the time interval, the bluetooth device and the terminal device will attempt to establish a connection first, and if the connection establishment fails, the bluetooth device and the terminal device start to time periodically; the time interval for which both wait may also be an additional sleep period. The present application is not limited in this regard.
For example, the time interval is 1 hour. In a 1 hour interval, the bluetooth device and the terminal device will attempt to establish a bluetooth connection using a conventional point-to-point connection. If the Bluetooth connection is not successfully established between the Bluetooth device and the terminal device within 1 hour, the timing of the period is started again.
The third case is shown in fig. 6. When the bluetooth connection of the bluetooth device and the terminal device is disconnected, both can start the timing of the cycle. Wherein the wake-up time length of one party is larger than or equal to the length of the period of the other party. For example, the second wake-up time of the bluetooth module of the terminal device is greater than or equal to the first period of the bluetooth device.
Sometimes, the bluetooth device and the terminal device recognize that the time of disconnection of bluetooth connection of both sides is not the same, so that they cannot start the timing of the period at the same time. If the wake-up time of one party is longer than or equal to the length of the whole period of the other party, the two can be ensured to have the time of being in the wake-up state at the same time even if the two are not started to time the period at the same time. Otherwise, when the Bluetooth equipment is possibly awakened, the Bluetooth module of the terminal equipment is always dormant; when the Bluetooth module of the terminal equipment wakes up, the Bluetooth equipment is always in a dormant state, and the speed of reconnection can be influenced under the dormant state, so that the use experience of a user is influenced.
In one example, the first period is 15 seconds in length, where the first sleep duration is 12 seconds and the first wake duration is 3 seconds; the second period is 1 minute in length, wherein the second sleep time is 40 seconds, and the second wake-up time is 20 seconds.
The fourth case is shown in fig. 7. When the bluetooth connection of the bluetooth device and the terminal device is disconnected, both can start the timing of the cycle. And the lengths of the first period and the second period are not fixed, but become longer gradually.
In an example, initially at the first round, the first period and the second period are the same length, both 4 seconds. The first dormancy time is 3 seconds, and the first awakening time is 1 second; the second sleep time is 2 seconds, and the second wake-up time is 2 seconds. The duration of the two cycles would then be 4 seconds long for each round, and the length of the first cycle and the second cycle would be 8 seconds for the second round. The first dormancy time is 7 seconds, and the first awakening time is 1 second; the second sleep time is 6 seconds, and the second wake-up time is 2 seconds. In the third cycle, the length of the first period and the second period is 12 seconds. The first dormancy time is 11 seconds, and the first awakening time is 1 second; the second sleep time is 10 seconds, and the second wake-up time is 2 seconds. And so on.
When the Bluetooth connection between the Bluetooth device and the terminal device is just disconnected, the physical distance between the Bluetooth device and the terminal device is relatively close, and the short period and the short sleep time mean that the connection can be more frequently attempted to be reestablished, thereby being beneficial to reestablishing the connection more quickly; the physical distance between the two devices may become long as time passes, and the longer period and the longer sleep time mean that the connection is not required to be re-established too frequently, which helps to reduce the power consumption.
The fifth case is shown in fig. 8. When the bluetooth connection between the bluetooth device and the terminal device is disconnected, the bluetooth device starts the periodic timing, and the bluetooth module of the terminal device is continuously in an awake state.
In the former cases, the bluetooth modules of the bluetooth device and the terminal device are provided with periods of dormancy and awakening, so that the problems of energy consumption and endurance of the bluetooth device and the terminal device are considered to a great extent. Many bluetooth devices or terminal equipment in daily life are through battery powered to do not have external power supply, and battery capacity is less moreover, is in the awakening state for a long time and can lead to this equipment duration to descend, influences user's use experience. Some bluetooth devices or terminal devices are powered by an external power supply, or the battery capacity is large, and the devices do not need to consider the problem of endurance, so that the devices can be continuously in an awake state, such as a personal computer (personal computer, PC) or a mobile phone being charged. For these devices, the continuous awake state helps to reestablish the connection as soon as possible, improving the user experience.
Similarly, the bluetooth device may also stay in the awake state, which is not described herein.
Optionally, to save power, the bluetooth device and the bluetooth module of the terminal device do not always switch back and forth between the sleep state and the awake state. After the Bluetooth equipment enters the dormant state for the first time, if the elapsed time reaches a second preset threshold and a second message is not received from the terminal equipment, entering a shutdown state. Similarly, the bluetooth module of the terminal device does not always switch back and forth between the sleep state and the awake state. After the Bluetooth module of the terminal equipment enters the dormant state for the first time, if the elapsed time length reaches a second preset threshold and the first message is not received from the Bluetooth equipment, the Bluetooth module of the terminal equipment is closed.
After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the user may not want to reestablish the bluetooth connection between the bluetooth device and the terminal device, but want to directly shut down the bluetooth device, or directly shut down the bluetooth module of the terminal device. Thus, the user should be provided with a variety of choices. The Bluetooth equipment can enter a sleep return mode in response to the operation of a user, so that the Bluetooth equipment can actively enter an awake state in the sleep state, send and receive messages, reestablish Bluetooth connection with the terminal equipment, or can be turned off directly in response to the operation of the user.
In order to achieve the above functions, mode selection means may be provided on the bluetooth device.
As shown in fig. 9, the bluetooth device is exemplified by a bluetooth headset. A toggle switch is included on the Bluetooth headset as a mode selection device, and three modes of power on, sleep back on and power off are shown for user selection.
It should be understood that the mode selection device is provided on the bluetooth headset by way of example only, and the mode selection device may also be provided on a headset case or elsewhere in conjunction with the bluetooth headset, which is not limited in this application.
It should be further understood that the toggle switch is taken as a mode selection device herein as an example, and the mode selection device may be a push button switch, a touch switch, a rotary switch, or the like, and the shift position is switched by clicking, long pressing, rotating, or the like, which is not limited in this application.
The on-mode may be selected when the user is normally using the bluetooth headset.
After the bluetooth connection between the bluetooth headset and the terminal device is disconnected, the user may select the sleep-back mode, or the bluetooth headset automatically switches to the sleep-back mode. In the sleep-back mode, the bluetooth headset may attempt to reestablish a bluetooth connection with the terminal device using the bluetooth-back method described above.
When the user does not need to use the Bluetooth headset, the Bluetooth headset can select a power-off mode, and the Bluetooth headset does not use the Bluetooth reconnection method to attempt to reestablish Bluetooth connection with the terminal equipment.
The scheme provides the user with the choice, and the user can select to enable the Bluetooth device to enter the sleep mode or to be directly powered off.
The above embodiments take a bluetooth device as an example, and describe the bluetooth reconnection method provided in the present application. But this should not constitute any limitation to the present application. The method provided by the application can also be applied to the terminal equipment. Considering that the terminal device may have more abundant functions than the bluetooth device, for example, the terminal device is a mobile phone, the terminal device may control the bluetooth module to switch between the sleep state, the wake state and other states, without affecting the normal use of other functions of the terminal device.
Fig. 10 is another schematic flowchart of a bluetooth callback method provided in an embodiment of the present application. The method can be applied to a terminal device. The method may be performed by a bluetooth loopback device, which may be a terminal device, such as the terminal device 100 shown in fig. 1, or may be a component in a terminal device, such as the processor 110 shown in fig. 1, for example, and this application is not limited.
The method 1000 shown in fig. 10 includes the following steps:
step 1010, controlling the bluetooth module to enter a sleep state under the condition that the bluetooth module of the terminal equipment cannot be connected back to the bluetooth equipment;
step 1020, when the duration in the sleep state reaches a first preset threshold, controlling the bluetooth module to enter an awake state;
step 1030, controlling the bluetooth module to send a first message and receive a second message within a first preset period of time in the awake state, wherein the second message is a message sent by the bluetooth device in response to the received first message;
step 1041, if the second message is received within the first preset period, controlling the bluetooth module to reestablish bluetooth connection with the bluetooth device; or alternatively
Step 1042, if the second message is not received within the first preset period, controlling the bluetooth module to enter the sleep state again.
The detailed description of the steps is similar to that of the method 300, and will not be repeated here.
Similarly to the bluetooth device, the bluetooth module of the terminal device may also enter a sleep-back mode in response to the user operation, so that the terminal device may actively enter an awake state in the sleep state, send and receive a message, reestablish bluetooth connection with the bluetooth device, or may be directly turned off in response to the user operation.
In order to realize the above functions, a mode selection interface may be provided on the terminal device.
As shown in fig. 11, the terminal device is exemplified by a mobile phone. A mode selection interface is displayed on the mobile phone interface, and the modes which can be selected comprise on, sleep back connection and off.
It should be understood that the mode selection interface is merely an example, and the mode selection interface is not limited in this application.
The on mode may be selected when the user is normally using the bluetooth function of the handset.
After the bluetooth connection between the bluetooth device and the handset is disconnected, the user may select the sleep back connection mode, or the handset automatically switches to the sleep back connection mode. In the sleep-back mode, the handset attempts to reestablish a bluetooth connection with the bluetooth device using the bluetooth-back method described above.
When the user does not need to use the Bluetooth function of the mobile phone, the user can select the off mode, and the mobile phone can not use the Bluetooth reconnection method to try to reestablish the Bluetooth connection with the Bluetooth device.
The scheme provides a choice for the user, and the user can select to close the Bluetooth module of the terminal equipment or enable the Bluetooth module to enter a sleep return mode.
Based on the method, after the Bluetooth device and the terminal device are disconnected due to the fact that the distance is too far, the Bluetooth device can enter a dormant state and enter an awake state at intervals to attempt to connect back with the terminal device. Therefore, after the distance between the Bluetooth device and the terminal device is restored to the range capable of establishing Bluetooth connection, the Bluetooth device actively completes reconnection without manual starting and reconnection, so that the Bluetooth device is beneficial to being quickly connected to the terminal device, waiting time of a user is reduced, and use experience of the user is improved. In addition, because the power consumption in the sleep state is low, and the user wakes up and tries to connect back at intervals, the user does not need to keep in the wake-up state all the time, and therefore the power consumption can be saved.
Fig. 12 is a schematic structural diagram of a bluetooth reconnection device according to an embodiment of the present application.
Illustratively, the bluetooth interconnection apparatus shown in fig. 12 is a bluetooth device or a terminal device. As shown in fig. 12, the apparatus includes: a memory 1201, a processor 1202 and an interface circuit 1203. The apparatus may further comprise a display 1204, wherein the memory 1201, the processor 1202, the interface circuit 1203, and the display 1204 may communicate; the memory 1201, the processor 1202, the interface circuit 1203 and the display screen 1204 may communicate through a communication bus, where the memory 1201 is used to store computer execution instructions, the processor 1202 controls the execution, and the interface circuit 1203 performs communication, so as to implement the bluetooth reconnection method provided in the embodiments of the present application.
Optionally, the interface circuit 1203 may also include a transmitter and/or a receiver. Alternatively, the processor 1202 may include one or more CPUs, but may be other general purpose processors, digital signal processors (digital signal processor, DSPs), application specific integrated circuits (application specific integrated circuit, ASICs), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules within a processor.
In a possible implementation manner, the computer-executed instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in this embodiment of the present application.
The bluetooth reconnection device provided in the embodiment of the present application is configured to execute the bluetooth reconnection method in the above embodiment, and the technical principle and the technical effect are similar, and are not repeated herein.
The embodiment of the application provides a terminal device, and the structure is shown in fig. 1. The memory of the terminal device may be configured to store at least one program instruction, and the processor is configured to execute the at least one program instruction, so as to implement the technical solution of the foregoing method embodiment. The embodiment of the application provides a Bluetooth device, and the structure is shown in fig. 2. The memory of the bluetooth device may be configured to store at least one program instruction, and the processor is configured to execute the at least one program instruction, so as to implement the technical solution of the above method embodiment. The implementation principle and technical effects are similar to those of the related embodiments of the method, and are not repeated here.
The embodiment of the application provides a chip. The chip comprises a processor for invoking a computer program in a memory to perform the technical solutions in the above embodiments. The principle and technical effects of the present invention are similar to those of the above-described related embodiments, and will not be described in detail herein.
The embodiment of the application provides a computer program product, which when running on a terminal device or a Bluetooth device, causes the terminal device or the Bluetooth device to execute the technical scheme in the embodiment. The principle and technical effects of the present invention are similar to those of the above-described related embodiments, and will not be described in detail herein.
The embodiment of the application provides a computer readable storage medium, on which program instructions are stored, which when executed by a terminal device or a bluetooth device, cause the terminal device or the bluetooth device to execute the technical solution of the above embodiment. The principle and technical effects of the present invention are similar to those of the above-described related embodiments, and will not be described in detail herein.
The foregoing detailed description of the embodiments has further described the objects, technical solutions and advantageous effects of the present application, and it should be understood that the foregoing is only a detailed description of the present application and is not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the scope of protection of the present application.

Claims (14)

1. A bluetooth reconnection method for a bluetooth device, the method comprising:
Under the condition that the Bluetooth equipment cannot be connected back to the terminal equipment, entering a dormant state;
when the duration in the dormant state reaches a first preset threshold, entering an awake state;
transmitting a first message in a first preset period in an awake state; the first message is encrypted by the Bluetooth equipment according to a preset encryption mode;
if a second message is received within the first preset period, reestablishing Bluetooth connection with the terminal equipment;
if the second message is not received within the first preset period, the sleep state is entered again; wherein the second message is a message sent by the terminal equipment in response to the received first message; the second message is encrypted by the terminal equipment according to the preset encryption mode;
when the time length in the dormant state reaches a third preset threshold after the dormant state is entered again, entering an awake state;
transmitting the first message in a third preset period in an awake state;
if the second message is received within the third preset period, reestablishing Bluetooth connection with the terminal equipment; if the second message is not received within the third preset period, the sleep state is entered again;
Wherein the third preset threshold is greater than the first preset threshold;
if the Bluetooth equipment determines that the time point of entering the sleep state for the first time after being unable to be connected back to the terminal equipment is taken as a starting point, and the duration of not receiving the message reaches a second preset threshold, entering a shutdown state; the second preset threshold is larger than the sum of the first preset time period and a third preset time period;
wherein, the determining that the bluetooth device cannot be connected back to the terminal device includes:
determining that Bluetooth connection between the Bluetooth equipment and the terminal equipment is disconnected; or (b)
And determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, and failing to establish Bluetooth connection with the terminal device within a second preset period after the Bluetooth connection is disconnected.
2. The method of claim 1, wherein the bluetooth device has an operating current of less than 1 milliamp when in a sleep state; when the Bluetooth equipment is in an awakening state, the working current of the Bluetooth module of the Bluetooth equipment is larger than or equal to 1 milliamp.
3. The method of claim 1, wherein the method further comprises:
In the second preset period, adopting a point-to-point connection mode to attempt to establish Bluetooth connection with the terminal equipment, wherein the connection fails; or (b)
And in the second preset period, adopting a Bluetooth low energy BLE broadcasting mode to attempt to establish Bluetooth connection with the terminal equipment, wherein the connection fails.
4. The method of claim 1, wherein the points in time at which the bluetooth device enters a sleep state are periodically distributed without being connected back to the terminal device, and the points in time at which the bluetooth device enters an awake state from a sleep state are also periodically distributed.
5. The method of any of claims 1 to 4, wherein prior to the entering the sleep state, the method further comprises:
in response to user operation, the Bluetooth device entering the sleep back connection mode can actively enter an awake state in the sleep state to send and receive messages in the awake state without being directly powered off.
6. The Bluetooth reconnection device is a Bluetooth device and is characterized by comprising a processor and a memory which is in communication connection with the processor;
the memory is used for storing computer instructions;
The processor is configured to execute computer instructions stored in the memory to implement the method of any one of claims 1 to 5.
7. A bluetooth reconnection method, applied to a terminal device, the method comprising:
controlling the Bluetooth module of the terminal equipment to enter a dormant state under the condition that the Bluetooth module cannot be connected back to the Bluetooth equipment;
when the duration in the dormant state reaches a first preset threshold, controlling the Bluetooth module to enter an awake state;
controlling the Bluetooth module to send a first message in a first preset period in an awake state; the first message is encrypted by the terminal equipment according to a preset encryption mode;
if a second message is received within the first preset period, controlling the Bluetooth module to reestablish Bluetooth connection with the Bluetooth equipment;
if the second message is not received within the first preset period, controlling the Bluetooth module to enter a sleep state again; wherein the second message is a message sent by the Bluetooth device in response to the received first message; the second message is encrypted by the Bluetooth device according to the preset encryption mode;
When the time length in the dormant state reaches a third preset threshold after the dormant state is entered again, controlling the Bluetooth module to enter an awake state;
controlling the Bluetooth module to send the first message in a third preset period in an awake state;
if the second message is received within the third preset period, controlling the Bluetooth module to reestablish Bluetooth connection with the Bluetooth equipment; if the second message is not received within the third preset period, controlling the Bluetooth module to enter a dormant state again;
wherein the third preset threshold is greater than the first preset threshold;
the Bluetooth module of the terminal equipment determines a time point which cannot be connected back to the Bluetooth equipment and then enters a dormant state for the first time as a starting point, and if the duration of the received message reaches a second preset threshold, the Bluetooth module is closed; the second preset threshold is larger than the sum of the first preset time period and a third preset time period;
wherein, the determining that the bluetooth module of the terminal device cannot be connected back to the bluetooth device includes:
determining that Bluetooth connection between a Bluetooth module of the terminal equipment and the Bluetooth equipment is disconnected; or (b)
Determining that Bluetooth connection between the Bluetooth module of the terminal equipment and the Bluetooth equipment is disconnected, and failing to establish Bluetooth connection with the Bluetooth equipment within a second preset period after the Bluetooth connection is disconnected.
8. The method of claim 7, wherein the bluetooth module of the terminal device has an operating current of less than 1 milliamp in a sleep state; the working current of the Bluetooth module of the terminal equipment in the wake-up state is more than or equal to 1 milliamp.
9. The method of claim 7, wherein the method further comprises:
in the second preset period, adopting a point-to-point connection mode to attempt to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails; or (b)
And in the second preset period, adopting a Bluetooth low energy BLE broadcasting mode to attempt to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails.
10. The method of claim 7, wherein,
under the condition that the Bluetooth module of the terminal equipment is not connected back to the Bluetooth equipment, the time points of the Bluetooth module entering the sleep state are periodically distributed, and the time points of the Bluetooth module entering the wake-up state from the sleep state are also periodically distributed.
11. The method of any of claims 7 to 10, wherein prior to said controlling said bluetooth module to enter a sleep state, said method further comprises:
in response to user operation, the terminal device entering the sleep return mode can control the Bluetooth module to enter a sleep state and actively enter an awake state in the sleep state so as to send and receive messages in the awake state without directly closing the Bluetooth module.
12. The Bluetooth reconnection device is characterized by comprising a processor and a memory which is in communication connection with the processor;
the memory is used for storing computer instructions;
the processor is configured to execute computer instructions stored in the memory to implement the method of any one of claims 7 to 11.
13. A bluetooth loopback device comprising means for performing the method according to any one of claims 1 to 5, 7 to 11.
14. A computer readable storage medium for storing a computer program which, when run on a computer, causes the method of any one of claims 1 to 5, 7 to 11 to be performed.
CN202210888062.5A 2022-07-27 2022-07-27 Bluetooth reconnection method and related device thereof Active CN114980363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210888062.5A CN114980363B (en) 2022-07-27 2022-07-27 Bluetooth reconnection method and related device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210888062.5A CN114980363B (en) 2022-07-27 2022-07-27 Bluetooth reconnection method and related device thereof

Publications (2)

Publication Number Publication Date
CN114980363A CN114980363A (en) 2022-08-30
CN114980363B true CN114980363B (en) 2024-03-19

Family

ID=82969127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210888062.5A Active CN114980363B (en) 2022-07-27 2022-07-27 Bluetooth reconnection method and related device thereof

Country Status (1)

Country Link
CN (1) CN114980363B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499815A (en) * 2022-09-15 2022-12-20 中山亿联智能科技有限公司 Intelligent quick connection method of low-power-consumption Bluetooth equipment
CN115297462B (en) * 2022-10-09 2023-03-24 深圳市金威澎电子有限公司 Anti-lost awakening method of earphone part and earphone anti-lost method based on pairing relationship

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617058A (en) * 2004-10-08 2005-05-18 于家新 Intelligent controller and electric appliance with intelligent controller and control method
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN105188115A (en) * 2015-07-31 2015-12-23 广东欧珀移动通信有限公司 Method and device for saving electricity for intelligent terminal
CN105430547A (en) * 2015-10-23 2016-03-23 小米科技有限责任公司 Dormancy method and apparatus of bluetooth earphones
CN105828140A (en) * 2016-04-11 2016-08-03 江苏惠通集团有限责任公司 Main control equipment, controlled equipment and method for awakening controlled equipment
CN106023381A (en) * 2016-06-17 2016-10-12 北京千丁互联科技有限公司 Bluetooth terminal and Bluetooth access control system and method
CN106993261A (en) * 2016-12-12 2017-07-28 建荣半导体(深圳)有限公司 A kind of low-power consumption bluetooth data communications method, equipment and system
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system
CN107770811A (en) * 2017-10-19 2018-03-06 维沃移动通信有限公司 A kind of data processing method, mobile terminal and computer-readable recording medium
CN109511035A (en) * 2018-12-14 2019-03-22 歌尔股份有限公司 A kind of Earphone box, wireless headset and its awakening method
CN109922440A (en) * 2019-01-31 2019-06-21 维沃移动通信有限公司 Method of data synchronization, equipment, mobile terminal and storage medium
CN110139259A (en) * 2019-05-15 2019-08-16 中国联合网络通信集团有限公司 Bluetooth control method and system
CN110149568A (en) * 2019-05-30 2019-08-20 歌尔科技有限公司 A kind of bluetooth headset and communication means, system, electronic equipment, computer media
CN110213753A (en) * 2019-05-08 2019-09-06 杰哈思文化创意(杭州)有限公司 Connection method, device, storage medium and the terminal of intelligent toothbrush
CN111343614A (en) * 2019-12-31 2020-06-26 东南大学 BLE active scanning-oriented rapid discovery mechanism
CN111356117A (en) * 2018-12-20 2020-06-30 深圳市冠旭电子股份有限公司 Voice interaction method and Bluetooth device
CN111679861A (en) * 2020-05-09 2020-09-18 浙江大华技术股份有限公司 Wake-up apparatus and method for electronic device, computer device and storage medium
CN111883145A (en) * 2020-07-28 2020-11-03 苏州思必驰信息科技有限公司 Wake-up recognition processing method and device
CN113766482A (en) * 2021-09-15 2021-12-07 荣耀终端有限公司 Method for searching Bluetooth device, electronic device and storage medium
CN114245362A (en) * 2022-02-25 2022-03-25 荣耀终端有限公司 Device reconnection method and Bluetooth peripheral
CN114666694A (en) * 2020-12-22 2022-06-24 华为技术有限公司 Bluetooth headset loss prevention method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8861492B2 (en) * 2009-04-29 2014-10-14 Samsung Electronics Co., Ltd Method for communication between a WLAN terminal and a human interface device
CN103312508A (en) * 2013-05-15 2013-09-18 飞天诚信科技股份有限公司 Working method of dynamic token
CN103906208A (en) * 2014-03-28 2014-07-02 惠州Tcl移动通信有限公司 Multimode power-saving multimedia transmission method and system
EP3563224B1 (en) * 2016-12-27 2023-12-20 Dexcom, Inc. Systems and methods for patient monitoring using an hcp - specific device

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617058A (en) * 2004-10-08 2005-05-18 于家新 Intelligent controller and electric appliance with intelligent controller and control method
CN104469980A (en) * 2014-11-21 2015-03-25 广东欧珀移动通信有限公司 Bluetooth connecting method and Bluetooth equipment
CN105188115A (en) * 2015-07-31 2015-12-23 广东欧珀移动通信有限公司 Method and device for saving electricity for intelligent terminal
CN105430547A (en) * 2015-10-23 2016-03-23 小米科技有限责任公司 Dormancy method and apparatus of bluetooth earphones
CN105828140A (en) * 2016-04-11 2016-08-03 江苏惠通集团有限责任公司 Main control equipment, controlled equipment and method for awakening controlled equipment
CN106023381A (en) * 2016-06-17 2016-10-12 北京千丁互联科技有限公司 Bluetooth terminal and Bluetooth access control system and method
CN106993261A (en) * 2016-12-12 2017-07-28 建荣半导体(深圳)有限公司 A kind of low-power consumption bluetooth data communications method, equipment and system
CN107197418A (en) * 2017-04-21 2017-09-22 上海掌门科技有限公司 A kind of intelligent control method worn based on wrist-watch and system
CN107770811A (en) * 2017-10-19 2018-03-06 维沃移动通信有限公司 A kind of data processing method, mobile terminal and computer-readable recording medium
CN109511035A (en) * 2018-12-14 2019-03-22 歌尔股份有限公司 A kind of Earphone box, wireless headset and its awakening method
CN111356117A (en) * 2018-12-20 2020-06-30 深圳市冠旭电子股份有限公司 Voice interaction method and Bluetooth device
CN109922440A (en) * 2019-01-31 2019-06-21 维沃移动通信有限公司 Method of data synchronization, equipment, mobile terminal and storage medium
CN110213753A (en) * 2019-05-08 2019-09-06 杰哈思文化创意(杭州)有限公司 Connection method, device, storage medium and the terminal of intelligent toothbrush
CN110139259A (en) * 2019-05-15 2019-08-16 中国联合网络通信集团有限公司 Bluetooth control method and system
CN110149568A (en) * 2019-05-30 2019-08-20 歌尔科技有限公司 A kind of bluetooth headset and communication means, system, electronic equipment, computer media
CN111343614A (en) * 2019-12-31 2020-06-26 东南大学 BLE active scanning-oriented rapid discovery mechanism
CN111679861A (en) * 2020-05-09 2020-09-18 浙江大华技术股份有限公司 Wake-up apparatus and method for electronic device, computer device and storage medium
CN111883145A (en) * 2020-07-28 2020-11-03 苏州思必驰信息科技有限公司 Wake-up recognition processing method and device
CN114666694A (en) * 2020-12-22 2022-06-24 华为技术有限公司 Bluetooth headset loss prevention method and electronic equipment
CN113766482A (en) * 2021-09-15 2021-12-07 荣耀终端有限公司 Method for searching Bluetooth device, electronic device and storage medium
CN114245362A (en) * 2022-02-25 2022-03-25 荣耀终端有限公司 Device reconnection method and Bluetooth peripheral

Also Published As

Publication number Publication date
CN114980363A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN112449328B (en) Bluetooth searching method, system and related device
CN114980363B (en) Bluetooth reconnection method and related device thereof
CN110730114B (en) Method and equipment for configuring network configuration information
CN111491297B (en) Method and device for controlling intelligent household equipment to be connected with network
CN114710768B (en) Bluetooth connection method and related device
CN111293749A (en) Charging method, charging device, terminal equipment, mobile power supply and storage medium
US11844119B2 (en) Bluetooth pairing method and related apparatus
CN112334860B (en) Touch control method of wearable device, wearable device and system
CN113316199B (en) Connection management method and related equipment
CN111405681A (en) Wi-Fi Aware link establishing method, system, electronic device and storage medium
WO2022257617A1 (en) Method for detecting bluetooth positioning device, device, and storage medium
CN112738794B (en) Network residing method, chip, mobile terminal and storage medium
CN113810532B (en) Positioning method and related device
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN114554012B (en) Incoming call answering method, electronic equipment and storage medium
CN113609472A (en) Method for unlocking SIM card, electronic equipment and storage medium
CN117062039B (en) Bluetooth connection method, electronic equipment and computer readable storage medium
CN116667875B (en) Switching method and device of internet access and terminal equipment
CN112996066B (en) Network residing method and related equipment
CN117713267A (en) Wireless charging control method, device and system
CN117255434A (en) Data transmission management method, electronic device and storage medium
CN117295040A (en) Message sending method, electronic equipment and communication system
CN117177223A (en) Communication method, communication system and electronic equipment
CN117978189A (en) Low-power consumption wake-up circuit, receiver, wake-up sequence transmitting method and electronic equipment
CN117354955A (en) Network connection method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant