CN114980363A - Bluetooth connection method and related device thereof - Google Patents

Bluetooth connection method and related device thereof Download PDF

Info

Publication number
CN114980363A
CN114980363A CN202210888062.5A CN202210888062A CN114980363A CN 114980363 A CN114980363 A CN 114980363A CN 202210888062 A CN202210888062 A CN 202210888062A CN 114980363 A CN114980363 A CN 114980363A
Authority
CN
China
Prior art keywords
bluetooth
state
message
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.)
Granted
Application number
CN202210888062.5A
Other languages
Chinese (zh)
Other versions
CN114980363B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

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

Description

Bluetooth connection method and related device thereof
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a bluetooth backhaul method and a related apparatus.
Background
At present, a user uses a bluetooth device to connect with a terminal device in daily life, and the bluetooth device and the terminal device are used in cooperation, for example, a bluetooth headset is used to connect with a mobile phone. The bluetooth device attempts to connect back after disconnecting from the terminal device due to a factor such as too far distance. Many bluetooth devices do not have an external power supply and rely on their own battery to supply power, so in order to save power, bluetooth devices will shut down after trying to connect back for a period of time.
The Bluetooth equipment can not be connected back with the terminal equipment after being powered off, if the Bluetooth equipment is powered off, the user needs to reuse the Bluetooth equipment, the Bluetooth equipment needs to be manually powered on again and connected, the user needs to wait for a long time, and the use experience is poor. Therefore, a method is needed to increase the speed of the bluetooth device being disconnected from the terminal device and then being connected back to the terminal device.
Disclosure of Invention
The application provides a Bluetooth connection-back method and a related device thereof, so that connection can be restored as soon as possible after Bluetooth connection between Bluetooth equipment and terminal equipment is disconnected, and the use experience of a user is improved.
In a first aspect, the present application provides a bluetooth connection method, applied to a bluetooth device, including: entering a dormant state under the condition that the Bluetooth device cannot be connected to the terminal device; when the time length in the dormant state reaches a first preset threshold, entering an awakening state; in a first preset time period in an awakening state, sending a first message and receiving a second message, wherein the second message is a message sent by a terminal device in response to the received first message; if the second message is received within the first preset time period, the Bluetooth connection is reestablished with the terminal equipment; or if the second message is not received within the first preset time period, the sleep state is entered again.
Based on the method, after the Bluetooth connection is disconnected due to reasons such as too far distance between the Bluetooth device and the terminal device, the Bluetooth device can enter a dormant state and enter an awakening state at intervals to try to connect back with the terminal device. So, bluetooth equipment can resume to the within range back that can establish the bluetooth and connect with terminal equipment's distance, and the initiative is accomplished and is linked back, and need not manual start to reconnect to be favorable to bluetooth equipment to be connected to terminal equipment fast, long when reducing user's waiting, promote user's use and experience. In addition, since the sleep state is low in power consumption and wakes up and tries to connect back at intervals without being kept in the awake state all the time, 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, a working current of a bluetooth module of the bluetooth device is less than 1 milliamp; when the Bluetooth device is in the awakening state, the working current of the Bluetooth module of the Bluetooth device is larger than or equal to 1 milliampere.
In practical application, the state of the bluetooth device can be judged by measuring the working current of the bluetooth module of the bluetooth device.
With reference to the first aspect, in some possible implementations of the first aspect, the determining that the bluetooth device cannot be connected 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 can not be connected back immediately, so that the terminal device can enter a dormant state immediately, and the energy consumption is reduced.
With reference to the first aspect, in some possible implementations of the first aspect, the determining that the bluetooth device cannot be connected 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 with the terminal device cannot be established in a second preset time period after the Bluetooth connection is disconnected.
The Bluetooth device and the terminal device do not immediately enter the dormant state after the Bluetooth connection is disconnected, but try to reestablish the connection first, if the connection can be reestablished in the second preset time period, the Bluetooth device and the terminal device can be continuously and normally used without entering the dormant state, and therefore the Bluetooth device and the terminal device can be conveniently restored to be connected as soon as possible.
Further, the method further comprises: in a second preset time interval, a point-to-point connection mode is adopted to try to establish Bluetooth connection with the terminal equipment, but the connection fails; or in a second preset time period, adopting a Bluetooth Low Energy (BLE) broadcasting mode to try to establish Bluetooth connection with the terminal equipment, wherein the connection fails.
The method for establishing the bluetooth connection between the bluetooth device and the terminal device in the second preset time period is given, and the application does not limit which method is used to establish the bluetooth connection in the second preset time period.
With reference to the first aspect, in some possible implementations of the first aspect, in a case where the bluetooth devices are not connected back to the terminal device, time points at which the bluetooth devices enter the sleep state are periodically distributed, and time points at which the bluetooth devices enter the awake state from the sleep state are also periodically distributed.
The bluetooth device may periodically switch between the sleep state and the awake state, and the period time of the switching may be predefined by a manufacturer or a user. The state is periodically switched, so that the Bluetooth equipment does not keep a dormant state for a long time, and the connection with the terminal equipment can be tried to be reestablished; the Bluetooth device can not be kept in the awakening state for a long time, so that electric energy can be saved, and power consumption can be reduced.
With reference to the first aspect, in some possible implementations of the first aspect, the method further includes: and starting from the time point when the Bluetooth equipment is determined to be incapable of returning to the terminal equipment and then entering the dormant state for the first time, and entering the shutdown state when the duration of not receiving the message reaches a second preset threshold.
If the Bluetooth device cannot be connected with the terminal device again all the time for a long time, the Bluetooth device can enter a power-off state in order to save electric energy and reduce power consumption.
With reference to the first aspect, in some possible implementations of the first aspect, before entering the sleep state, the method further includes: and responding to user operation, entering a dormancy reconnection mode, wherein the Bluetooth equipment entering the dormancy reconnection mode can actively enter an awakening state in the dormancy state so as to send and receive messages in the awakening state without directly powering off.
After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the user may want to directly turn off the bluetooth device instead of reestablishing the bluetooth connection between the bluetooth device and the terminal device. Therefore, the scheme provides a choice for the user, and the user can select to enable the Bluetooth device to enter the dormancy reconnection mode or directly power off.
In a second aspect, the present application provides a bluetooth backhaul apparatus, including a processor, and a memory communicatively coupled to the processor, the memory being configured to store a computer program, and the processor being configured to invoke 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 backhaul method, which is applied to a terminal device, and the method includes: controlling a Bluetooth module to enter a dormant state under the condition that the Bluetooth module of the terminal equipment 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 awakening state; in a first preset time interval in an awakening state, controlling a Bluetooth module to send a first message and receiving a second message, wherein the second message is a message sent by a Bluetooth device in response to the received first message; if the second message is received within a first preset time period, controlling the Bluetooth module and the Bluetooth equipment to reestablish Bluetooth connection; or if the second message is not received within the first preset time period, controlling the Bluetooth module to enter the dormant state again.
Based on the method, after the Bluetooth connection between the Bluetooth device and the terminal device is disconnected due to reasons such as too far distance, the Bluetooth device can enter a sleep state and enter an awakening state at intervals to attempt to connect back with the terminal device. So, bluetooth equipment can resume to the within range back that can establish the bluetooth and connect with terminal equipment's distance, and the initiative is accomplished and is linked back, and need not manual start to reconnect to be favorable to bluetooth equipment to be connected to terminal equipment fast, long when reducing user's waiting, promote user's use and experience. In addition, since the sleep state is low in power consumption and wakes up and tries to connect back at intervals without being kept in the awake state all the time, power consumption can be saved.
With reference to the third aspect, in some possible implementation manners of the third aspect, a working current of a bluetooth module of the terminal device in a sleep state is less than 1 ma; the working current of the Bluetooth module of the terminal equipment in the awakening state is more than or equal to 1 milliampere.
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, the 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.
The Bluetooth connection between the Bluetooth device and the terminal device is immediately judged to be unable to be connected back when being disconnected, so that the Bluetooth module of the terminal device immediately enters a dormant state, and the reduction of energy consumption is facilitated.
With reference to the third aspect, in some possible implementations of the third aspect, the 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, and the Bluetooth connection with the Bluetooth equipment cannot be established in a second preset time 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 the connection first, if the connection can be reestablished in the second preset time period, the terminal device can continue to be normally used without entering the dormant state, and therefore the Bluetooth device and the terminal device can be conveniently restored to be connected as soon as possible.
Further, the method also includes: in a second preset time period, adopting a point-to-point connection mode to try to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails; or in a second preset time period, adopting a BLE broadcast mode to try to establish Bluetooth connection with the Bluetooth device through the Bluetooth module, wherein the connection fails.
The method for establishing the bluetooth connection between the bluetooth device and the terminal device in the second preset time period is given, and the application does not limit which method is used to establish the bluetooth connection in the second preset time period.
With reference to the third aspect, in some possible implementations of the third aspect, in a case that 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 awake state from the sleep state are also periodically distributed.
The bluetooth module of the terminal device can be periodically switched between a sleep state and an awake state, and the switching cycle time can be predefined by a manufacturer or a user. The state is periodically switched, so that the Bluetooth module of the terminal equipment does not keep a dormant state for a long time, and the connection with the Bluetooth equipment can be tried to be reestablished; the Bluetooth module of the terminal equipment can not be kept in the awakening state for a long time, so that electric energy can be saved, and power consumption can be reduced.
With reference to the third aspect, in some possible implementation manners of the third aspect, the method further includes: and taking the time point of the first sleep state after the Bluetooth module of the terminal equipment determines that the terminal equipment cannot be connected back to the Bluetooth equipment as a starting point, and closing the Bluetooth module when the duration of the non-received message reaches a second preset threshold, without sending or receiving the message through the Bluetooth module.
If the terminal equipment can not be connected with the Bluetooth equipment again all the time in a long time, in order to save electric energy and reduce power consumption, the Bluetooth module of the terminal equipment can enter a power-off state.
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: and responding to the user operation, entering the dormancy reconnection mode, wherein the terminal equipment entering the dormancy reconnection mode can control the Bluetooth module to enter a dormancy state and actively enter an awakening state in the dormancy state so as to send and receive messages in the awakening state without directly closing the Bluetooth module.
After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the user may want to directly turn off the bluetooth module of the terminal device instead of reestablishing the bluetooth connection between the bluetooth device and the terminal device. Therefore, the scheme provides a choice for the user, and the user can select to directly close the Bluetooth module of the terminal equipment or make the Bluetooth module of the terminal equipment enter a dormancy reconnection mode.
In a fourth aspect, the present application provides a bluetooth loopback apparatus, comprising a processor, and a memory communicatively connected to the processor, the memory being configured to store a computer program, and the processor being configured to invoke the computer program in the memory to perform the method according to the third aspect and any one of the possible implementations of the third aspect.
In a fifth aspect, the present application provides a bluetooth loopback apparatus including means for performing any one of the possible implementations of the first aspect or the third aspect as well as the first aspect or the 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 method of the first or third aspect and any possible implementation 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 that, when run on a computer, causes the method of any one of the possible implementations of the first aspect or the third aspect and the first aspect or the third aspect to be performed.
It should be understood that the second aspect of the present application corresponds to the fourth aspect to the seventh aspect, and the first aspect and the third aspect of the present application correspond to the technical solutions of the first aspect and the third aspect of the present application, and the advantageous effects obtained by the aspects and the corresponding possible embodiments are similar and will not be described again.
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 provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a bluetooth backhaul method provided in an embodiment of the present application;
fig. 4 to fig. 8 are schematic diagrams of a bluetooth module sleep state and an awake state of a bluetooth device and a terminal device according to an embodiment of the present application;
fig. 9 is a schematic diagram of mode selection of a bluetooth device according to an embodiment of the present application;
fig. 10 is another schematic flowchart of a bluetooth loopback method provided by 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 backhaul apparatus according to an embodiment of the present application.
Detailed Description
In order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish identical items or similar items with substantially the same functions and actions. For example, the first chip and the second chip are only used for distinguishing different chips, and the sequence order thereof is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In order to better understand the embodiments of the present application, the following describes the structures of the terminal device and the bluetooth device according to the embodiments of the present application.
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 (USB) interface 130, a charging 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 button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 illustrated structure of the embodiment of the present application does not constitute a specific limitation to the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in 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 have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a 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 to connect the battery 142, the charging 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, and supplies power to 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 used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 may 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 terminal device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 on the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. 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 disposed 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 a 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 passes the demodulated low frequency baseband signal to a 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 a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image 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 modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the terminal device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on 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, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The terminal device 100 implements a display function by the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
The terminal device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the 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 extend the storage capability of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, a 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 (UFS), and the like. The processor 110 executes 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 an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. 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 some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The terminal device 100 can listen to music through the speaker 170A, or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the terminal device 100 answers a call or voice information, it is possible to answer a voice by bringing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near 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, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be an Open Mobile Terminal Platform (OMTP) standard interface of 3.5mm, or a 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, shooting a scene, the terminal device 100 may range using the distance sensor 180F to achieve fast focus.
The bone conduction sensor 180M can acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal device 100 may receive a key input, and generate a key signal input related to user setting and function control of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 is also 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 implement functions such as communication and data communication. In some embodiments, the terminal device 100 employs eSIM, namely: an embedded SIM card. The eSIM card may 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.
Illustratively, the 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, a sensor 270, and the like. 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 for storing program codes, such as application programs for pairing and connecting the bluetooth device 200 and the terminal device, processing audio services (e.g., music playing, call/call) of the terminal device, and the like. The memory 250 may also be used to store other information such as identity information, time of connection, time of disconnection, reason for disconnection, etc.
The processor 210 may be configured to execute the application code and call the relevant modules to implement the functions of the bluetooth device 200 in the embodiment of the present application. For example, functions of pairing, connecting, audio playing, and making/receiving calls 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 page packet, so that the terminal device may calculate a Received Signal Strength Indicator (RSSI) according to the received discovery message and determine whether the bluetooth headset is found 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 in one or more of the processors 210. The processor 210 may be specifically an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to perform the functions described in the embodiments of the present application and pertaining to the processor 210.
In some embodiments, the bluetooth module 220 may be specifically a bluetooth chip. The bluetooth device 200 can be paired and connected with the bluetooth chip of the terminal device through the bluetooth chip, so as to realize wireless communication and service processing between the bluetooth device 200 and the terminal device through bluetooth connection. In general, a bluetooth chip may support Basic Rate (BR)/Enhanced Data Rate (EDR) bluetooth and Bluetooth Low Energy (BLE), for example, may receive/transmit a page packet, receive/transmit a BLE broadcast, and the like. The bluetooth module 220 may receive a signal to be transmitted from the processor 210, perform frequency modulation, amplify the signal, and convert the amplified signal into electromagnetic waves via the bluetooth antenna to radiate the electromagnetic waves.
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 by the terminal device to calculate RSSI and perform proximity discovery according to the RSSI.
The audio module 230 may be used to manage audio data and 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 implement functions of making and receiving calls through the bluetooth headset, playing music, activating/deactivating 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 called an earphone or a receiver) for outputting an audio signal, a microphone (or called a microphone or a microphone), a microphone receiving circuit cooperating with the microphone, and so on. The speaker may be used to convert the electrical audio signal into an acoustic signal and play it. The microphone may be used to convert sound signals into electrical audio signals.
A power module 240, which can be used to provide a system power supply for the bluetooth apparatus 200 and supply power to each module of the bluetooth apparatus 200; the supporting bluetooth device 200 receives a charging input, etc. The power module 240 may include a Power Management Unit (PMU) and a battery. The power supply management unit can receive external charging input; the electric signal input by the charging circuit is provided to the battery for charging after being transformed, and the electric signal provided by the battery can also be provided to other modules such as the audio module 230, the Bluetooth module 220 and the like after being transformed; and to prevent overcharging, overdischarging, short-circuiting, overcurrent, etc. of the battery. In some embodiments, the power module 240 may further 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 number, battery health state (electric leakage and impedance) and the like.
A plurality of input/output interfaces 260 may be used to provide wired connections for charging or communication with bluetooth device 200. For example, the input/output interface 260 may be a USB interface, a charging interface, or the like.
Additionally, the bluetooth device 200 may further 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. For example, the bluetooth device 200 may detect whether there is an object near the bluetooth device 200 by using the distance sensor 270C, and the ambient light sensor 270B is used to sense the ambient light brightness; temperature sensor 270A is used to collect temperature. The processor 210 determines that the bluetooth apparatus 200 is worn by the user when it recognizes that there is an object near the bluetooth apparatus 200, and the ambient light brightness is lower than the preset brightness threshold and the temperature is within the preset interval range (i.e., the body temperature interval of the human body).
As another example, the sensor may also include a bone conduction sensor 270D, incorporated into a bone conduction headset. By using the bone conduction sensor 270D, the bluetooth device 200 can acquire the vibration signal of the human body sound part vibration bone block, analyze out the voice signal, realize the voice function, and thus receive the voice command of the user. The bluetooth device 200 may also perform voice authentication according to the user voice signal acquired by the bone conduction headset, so as to authenticate the user identity in a service scenario such as payment transaction.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the bluetooth device. 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 the status of power, incoming/outgoing call, pairing mode, etc.), a display screen (which may prompt the user for relevant information), a dust screen (which may be used with an earphone), and the like. The key may be a physical key or a touch key (used in cooperation with the touch sensor), and is used for triggering operations such as startup, shutdown, pause, play, recording, pairing start, and reset.
The bluetooth headset will try to connect back after disconnecting from the handset due to too far distance. The current way that the bluetooth headset and the mobile phone attempt to connect back is the traditional point-to-point connection, and the connection is made by the BR technology or the EDR technology based on bluetooth. Bluetooth headsets generally do not have an external power supply and rely on their own batteries to supply power, so in order to save power, bluetooth equipment will shut down after trying to connect 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, the user needs to reuse the Bluetooth headset, the Bluetooth headset needs to be manually powered on again 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 connection method, after the bluetooth connection is disconnected due to a reason that the distance between the bluetooth device and the terminal device is too far, the bluetooth device may enter a sleep state, and enter an awake state at intervals to attempt to connect back with the terminal device. So, bluetooth equipment can resume to the within range back that can establish the bluetooth and connect with terminal equipment's distance, and the initiative is accomplished and is linked back, and need not manual start to reconnect to be favorable to bluetooth equipment to be connected to terminal equipment fast, long when reducing user's waiting, promote user's use and experience. In addition, since the sleep state is low in power consumption and wakes up and tries to connect back at intervals without being kept in the awake state all the time, power consumption can be saved.
Fig. 3 is a schematic flowchart of a bluetooth backhaul method provided in an embodiment of the present application. The method may be applied to a bluetooth device. Illustratively, the method may be performed by a bluetooth backhaul apparatus, which may be a bluetooth device, such as the bluetooth device 200 shown in fig. 2, or a component in a bluetooth device, such as the processor 210 shown in fig. 2, 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, using a bluetooth device as an example.
The method 300 shown in fig. 3 may include steps 310 through 342. The various steps in method 300 are described in detail below.
In step 310, if it is determined that the bluetooth device cannot be connected 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, a situation that the terminal device and the bluetooth device cannot be connected back may occur. For example, the mobile phone and the bluetooth headset cannot be connected back to each other due to the too long distance between the mobile phone and the bluetooth headset. 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 a microampere level and is less than 1 milliamp.
Optionally, the manner of determining that the bluetooth device and the terminal device cannot be connected back is: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected.
By the mode, when the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device can not be connected back immediately, so that the Bluetooth device enters the dormant state immediately, and the reduction of energy consumption is facilitated.
Optionally, the method for determining that the bluetooth device and the terminal device cannot be connected back is: and determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, and the Bluetooth connection cannot be recovered within a second preset time period after the Bluetooth connection is disconnected.
By the method, the Bluetooth device does not immediately enter the dormant state after being disconnected from the terminal device, but tries to reestablish the connection first, and can continue to be normally used without entering the dormant state if the connection can be reestablished in the second preset time period, so that the Bluetooth device and the terminal device can be restored to be connected as soon as possible; the dormant state is entered if the re-establishment of the connection fails within the second period of time.
During the second preset period, the manner in which the bluetooth device attempts to establish a bluetooth connection with the terminal device may be a conventional point-to-point connection manner, and this manner generally employs a BR technique or an EDR technique for connection; the BLE broadcast mode is also possible. BLE broadcasting consumes less power than point-to-point connections while keeping the communication range almost unchanged. The present application does not make any limitation as to which way the bluetooth connection is established during the second preset time period.
In step 320, when the duration in the sleep state reaches a first preset threshold, the wake-up state is entered.
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. Therefore, after the bluetooth device enters the sleep state, it is obviously not always in the sleep state, and also needs to enter the wake-up state to re-establish connection with the terminal device.
When the bluetooth device is in the wake-up state, the working current of the bluetooth module of the bluetooth device is generally in the milliampere level, which is greater than or equal to 1 milliampere.
Because the bluetooth device is higher in power consumption and consumes electric energy when in the wake-up state, the bluetooth device obviously cannot be in the wake-up state all the time. The bluetooth device periodically switches back and forth between the sleep state and the awake state if a connection is not yet reestablished with the terminal device for a period of time while the bluetooth device is in the awake state. Namely, 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 switching the bluetooth device between the sleep state and the awake state may be predefined by the manufacturer or the user. The timing device is arranged in the Bluetooth device, timing can be carried out according to the predefined cycle time, and the state of the Bluetooth device is switched.
In step 330, in a first preset time period of the awake state, a first message is sent, and a second message is received. And the second message is a message sent by the terminal equipment in response to the received first message.
In this embodiment of the present application, the bluetooth device transmits the first packet in a broadcast form, which may be, for example, a BLE broadcast. Correspondingly, the terminal device scans the broadcast of the first message, and returns to the bluetooth device to send the second message under the condition of scanning the broadcast of the first message. 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 through the Bluetooth, namely before the Bluetooth connection is disconnected, the encryption mode can be communicated in advance. Then, after the Bluetooth connection is disconnected, the two devices can encrypt the first message and/or the second message by using a pre-communicated encryption mode.
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 the broadcast of the first packet 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.
Note that in step 330, the bluetooth device receives the second message, which does not mean that the bluetooth device can receive the second message. Whether the bluetooth device can receive the second message is related to whether the terminal device can successfully scan the first message. Correspondingly, the bluetooth device may also perform different operations when receiving the second message and when not receiving the second message, as shown in steps 341 and 342 below.
In step 341, if the bluetooth device receives the second packet sent by the terminal device within the first preset time period of the awake state, the bluetooth device may reestablish the connection 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 time period of 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 in which the bluetooth device switches back and forth between the sleep state and the awake state in the above-described method may be referred to as a first cycle; accordingly, the cycle 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 cycle. In the first period, a duration that the bluetooth device is in the sleep state may be referred to as a first sleep duration, and a duration that the bluetooth device is in the awake state may be referred to as a first awake duration; accordingly, in the second period, a duration that the bluetooth module of the terminal device is in the sleep state may be referred to as a second sleep duration, and a duration that the bluetooth module of the terminal device is in the awake state may be referred to as a second awake duration.
There are many situations in which the bluetooth modules of the bluetooth device and the terminal device switch back and forth between a sleep state and an awake state, respectively, and several situations are exemplarily shown below.
The first case is shown in fig. 4. After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the bluetooth device and the terminal device can start the period timing at the same time, and the first period and the second period are equal in length. Because the judgment of the disconnection time by the two methods may have errors, the sleep time and the wake-up time of the two methods do not need to be kept completely consistent. In each dormancy duration, the Bluetooth modules of the Bluetooth equipment and the terminal equipment are kept in a dormant state, and the first message is not broadcasted or scanned; in the respective wake-up duration, the bluetooth device broadcasts the first message, and the bluetooth module of the terminal device scans the first message. If the bluetooth module of the terminal device does not scan the first message broadcast by the bluetooth device, it indicates that the bluetooth device and the terminal device do not meet the condition of the connection back and still cannot be connected back, then the next cycle can be entered; if the bluetooth module of the terminal device scans the first message broadcasted by the bluetooth device, it indicates that the bluetooth device and the terminal device can satisfy the condition of the loopback.
In one example, the first period and the second period are the same length, and both are 1 minute. The first sleep time is 57 seconds, and the first awakening time is 3 seconds; the second sleep duration is 50 seconds, and the second wake-up duration is 10 seconds.
Generally, 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 terminal device is larger and longer-lived than the bluetooth device, so the duty ratio of the wake-up time in one period can be relatively larger.
The second case is shown in fig. 5. After 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 before starting the periodic timing. The time interval for waiting for the connection establishment may be the second preset time interval mentioned above, that is, in the time interval, the bluetooth device and the terminal device will try to establish the connection first, and if the connection establishment fails, the bluetooth device and the terminal device start the periodic timing again; the time interval in which both wait may also be an additional sleep period. This is not a limitation of the present application.
For one example, the time interval is 1 hour. In a 1-hour time interval, the Bluetooth device and the terminal device can attempt to establish a Bluetooth connection by using a traditional point-to-point connection mode. If the Bluetooth device and the terminal device are not successfully connected within the 1 hour, the periodic timing is started again.
The third case is shown in fig. 6. When the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device can start the period counting. The wake-up duration of one of the two is greater than or equal to the length of the other cycle. For example, the second wake-up duration of the bluetooth module of the terminal device is greater than or equal to the first period of the bluetooth device.
Sometimes, the time when the bluetooth device and the terminal device recognize that the bluetooth connection is disconnected is different, and therefore, the bluetooth device and the terminal device cannot start the cycle timing at the same time. If the wake-up duration of one party is greater than or equal to the length of the whole period of the other party, the two parties can be ensured to be in the wake-up state at the same time even if the two parties do not start the timing of the period at the same time. Otherwise, when the Bluetooth device is possible to be awakened, the Bluetooth module of the terminal device is always in a dormant state; when the bluetooth module of the terminal device is awakened, the bluetooth device is always in a dormant state, and the connection speed can be influenced under the dormant state, so that the use experience of a user is influenced.
For example, the length of the first period is 15 seconds, wherein the first sleep duration is 12 seconds, and the first wake-up duration is 3 seconds; the second cycle length is 1 minute, wherein the second sleep duration is 40 seconds, and the second wake-up duration is 20 seconds.
The fourth case is shown in fig. 7. When the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, the Bluetooth device and the terminal device can start the periodic timing. And the lengths of the first period and the second period are not fixed, but gradually become longer.
In one example, initially in the first round, the first period and the second period are the same length, both 4 seconds. Wherein the first dormancy duration is 3 seconds, and the first awakening duration is 1 second; the second sleep duration is 2 seconds, and the second wake-up duration is 2 seconds. Then, the duration of the two periods is increased by 4 seconds in each round, and in the second round, the length of the first period and the length of the second period are both 8 seconds. Wherein the first dormancy duration is 7 seconds, and the first awakening duration is 1 second; the second sleep duration is 6 seconds and the second wake-up duration is 2 seconds. In the third round, the length of the first period and the second period are both 12 seconds. Wherein the first dormancy duration is 11 seconds, and the first awakening duration is 1 second; the second sleep duration is 10 seconds, and the second wake-up duration 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 closer, and the short period and the short dormancy duration mean that the connection can be tried to be reestablished more frequently, which is beneficial to reestablishing the connection more quickly; the physical distance between the two may become far away with the lapse of time, and the longer period and the longer sleeping time mean that the connection does not need to be reestablished too frequently, which helps to reduce power consumption.
The fifth case is shown in fig. 8. After the bluetooth connection between the bluetooth device and the terminal device is disconnected, the bluetooth device starts to count the period, and the bluetooth module of the terminal device is continuously in the wake-up state.
Several kinds of circumstances before, the bluetooth module for bluetooth equipment and terminal equipment is provided with the dormancy and the cycle of awakening up, and to a great extent considers the energy consumption and the continuation of the journey problem of the two. Many bluetooth equipment or terminal equipment pass through battery powered in daily life, do not have external power supply, and battery capacity is less moreover, is in the state of awakening up for a long time and can lead to this equipment continuation of the journey to descend, influences the user and uses experience. Some bluetooth devices or terminal devices are powered by an external power supply or have a large battery capacity, and these devices do not need to consider the problem of endurance, and therefore can be continuously in an awake state, such as a Personal Computer (PC) or a mobile phone being charged. For these devices, the continuous wake-up state helps to re-establish the connection as soon as possible, improving the user experience.
Similarly, the bluetooth device may also be continuously in the wake-up state, which is not described herein again.
Optionally, in order 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 wake state. After the Bluetooth device enters the dormant state for the first time, if the elapsed time reaches a second preset threshold and a second message is still not received from the terminal device, the Bluetooth device enters the shutdown state. Similarly, the bluetooth module of the terminal device does not always switch back and forth between the sleep state and the wake state. After the Bluetooth module of the terminal equipment enters a dormant state for the first time, if the elapsed time length reaches a second preset threshold and the first message is still 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 want to directly turn off the bluetooth device or directly turn off the bluetooth module of the terminal device instead of reestablishing the bluetooth connection between the bluetooth device and the terminal device. Therefore, the user should be provided with a variety of options. The Bluetooth device can enter a dormancy reconnection mode in response to the operation of a user, so that the Bluetooth device can actively enter an awakening state in the dormancy state, send and receive messages and reestablish Bluetooth connection with the terminal device, or can be directly powered off in response to the operation of the user.
In order to implement the above functions, a mode selection means may be provided on the bluetooth device.
As shown in fig. 9, the bluetooth device is exemplified by a bluetooth headset. The bluetooth headset comprises a toggle switch as a mode selection device, and three modes of power-on, sleep-back and power-off are shown in the figure for the user to select.
It should be understood that the mode selection device is disposed on the bluetooth headset only as an example, and the mode selection device may also be disposed on a headset case or other places that are configured with the bluetooth headset, which is not limited in this application.
It should also be understood that the toggle switch is used as the mode selection device, which is only an example, and the mode selection device may also be a push switch, a touch switch, a knob switch, or the like, and the shift position is switched by pressing, or rotating, and the like, which is not limited in the present application.
When the user normally uses the bluetooth headset, the power-on mode may be selected.
After the bluetooth connection between the bluetooth headset and the terminal device is disconnected, the user may select the sleep reconnection mode, or the bluetooth headset automatically switches to the sleep reconnection mode. In the dormant backhaul mode, the bluetooth headset attempts to re-establish a bluetooth connection with the terminal device using the bluetooth backhaul method described above.
When the user does not need to use the bluetooth headset, the power-off mode can be selected, and the bluetooth headset does not try to reestablish bluetooth connection with the terminal equipment by using the bluetooth connection method.
The scheme provides a selection for the user, and the user can select to enable the Bluetooth device to enter a dormancy reconnection mode or directly turn off the Bluetooth device.
The above embodiments take a bluetooth device as an example, and describe the bluetooth backhaul method provided in the present application. This should not be construed as limiting the application in any way. The method provided by the application can also be applied to 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, and the terminal device can control the bluetooth module to switch between the sleep state, the wake-up state, and other states without affecting normal use of other functions of the terminal device.
Fig. 10 is another schematic flowchart of a bluetooth backhaul method provided in an embodiment of the present application. The method can be applied to terminal equipment. Illustratively, the method may be performed by a bluetooth backhaul apparatus, which may be a terminal device, such as the terminal device 100 shown in fig. 1, or a component in the terminal device, such as the processor 110 shown in fig. 1, and is not limited in this application.
The method 1000 shown in fig. 10 includes the following steps:
step 1010, controlling the Bluetooth module to enter a dormant state under the condition that the Bluetooth module of the terminal equipment cannot be connected 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, in a first preset time period in the awakening state, controlling the bluetooth module to send a first message and receive a second message, 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 a first preset time period, controlling the bluetooth module and the bluetooth device to reestablish bluetooth connection; or
Step 1042, if the second message is not received in the first preset time period, controlling the bluetooth module to enter the sleep state again.
The detailed description of the above steps is similar to that of the method 300, and is not repeated here.
Similar to the bluetooth device, the bluetooth module of the terminal device may also enter the sleep reconnection mode in response to the user operation, so as to actively enter the wakeup state in the sleep state, send and receive a message, reestablish the bluetooth connection with the bluetooth device, or directly close 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 a mobile phone as an example. A mode selection interface is displayed on the interface of the mobile phone, and selectable modes comprise opening, dormancy reconnection and closing.
It should be understood that the style of the mode selection interface is merely an example, and the style of the mode selection interface is not limited in the present application.
When the user normally uses the Bluetooth function of the mobile phone, the starting mode can be selected.
After the bluetooth connection between the bluetooth device and the mobile phone is disconnected, the user may select the sleep reconnection mode, or the mobile phone automatically switches to the sleep reconnection mode. In the dormant backhaul mode, the handset attempts to re-establish a bluetooth connection with a bluetooth device using the bluetooth backhaul 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 does not try to reestablish Bluetooth connection with the Bluetooth device by using the Bluetooth connection method.
The scheme provides a choice for the user, and the user can select to close the Bluetooth module of the terminal equipment or make the terminal equipment enter a dormancy reconnection mode.
Based on the method, after the Bluetooth connection between the Bluetooth device and the terminal device is disconnected due to reasons such as too far distance, the Bluetooth device can enter a sleep state and enter an awakening state at intervals to attempt to connect back with the terminal device. So, bluetooth equipment can resume to the within range back that can establish the bluetooth and connect with terminal equipment's distance, and the initiative is accomplished and is linked back, and need not manual start to reconnect to be favorable to bluetooth equipment to be connected to terminal equipment fast, long when reducing user's waiting, promote user's use and experience. In addition, since the sleep state is low in power consumption and wakes up and tries to connect back at intervals without being kept in the awake state all the time, power consumption can be saved.
Fig. 12 is a schematic structural diagram of a bluetooth backhaul apparatus according to an embodiment of the present application.
Illustratively, the bluetooth backhaul apparatus shown in fig. 12 is a bluetooth device or a terminal device. As shown in fig. 12, the apparatus includes: memory 1201, processor 1202, and interface circuitry 1203. The apparatus may also include a display 1204, wherein the memory 1201, the processor 1202, the interface circuitry 1203, and the display 1204 may communicate; illustratively, the memory 1201, the processor 1202, the interface circuit 1203 and the display 1204 can communicate through a communication bus, the memory 1201 is used for storing computer execution instructions, the processor 1202 controls the execution, and the interface circuit 1203 executes the communication, so as to realize the bluetooth loopback method provided by the embodiment of the present application.
Optionally, the interface circuit 1203 may also include a transmitter and/or a receiver. Optionally, the processor 1202 may include one or more CPUs, and may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), and the like. 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 the hardware and software modules in the processor.
In a possible implementation manner, the computer execution instructions in the embodiment of the present application may also be referred to as application program codes, which is not specifically limited in the embodiment of the present application.
The bluetooth connection back device provided in the embodiment of the present application is used for executing the bluetooth connection back method in the foregoing embodiment, and the technical principle and the technical effect are similar and will not be described herein again.
The embodiment of the application provides a terminal device, and the structure of the terminal device 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 to implement the technical solutions of the above-mentioned method embodiments. An embodiment of the present application provides a bluetooth device, and the structure of the bluetooth device is shown in fig. 2. The memory of the bluetooth device may be configured to store at least one program instruction, and the processor may be configured to execute the at least one program instruction to implement aspects of the above-described method embodiments. The implementation principle and technical effect are similar to those of the embodiments related to the method, and are not described herein again.
The embodiment of the application provides a chip. The chip comprises a processor for calling a computer program in a memory to execute the technical solution in the above embodiments. The principle and technical effects are similar to those of the related embodiments, and are not described herein again.
The embodiment of the present 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 solutions in the above embodiments. The implementation principle and technical effect are similar to those of the related embodiments, and are not described herein again.
The embodiment of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a terminal device or a bluetooth device, the terminal device or the bluetooth device executes the technical solution of the above embodiment. The principle and technical effects are similar to those of the related embodiments, and are not described herein again.
The above embodiments are provided to explain the purpose, technical solutions and advantages of the present application in further detail, and it should be understood that the above embodiments are merely illustrative of the present application and are not intended to limit the scope of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present application should be included in the scope of the present application.

Claims (18)

1. A Bluetooth connection method is applied to a Bluetooth device, and comprises the following steps:
entering a dormant state under the condition that the Bluetooth equipment cannot be connected back to the terminal equipment;
when the time length in the dormant state reaches a first preset threshold, entering an awakening state;
sending a first message and receiving a second message in a first preset time period in an awakening state, wherein the second message is a message sent by the terminal equipment in response to the received first message;
if the second message is received within the first preset time period, the Bluetooth connection is reestablished with the terminal equipment; or
And if the second message is not received within the first preset time period, entering the dormant state again.
2. The method of claim 1, wherein when the bluetooth device is in the sleep state, an operating current of a bluetooth module of the bluetooth device is less than 1 ma; when the Bluetooth equipment is in an awakening state, the working current of a Bluetooth module of the Bluetooth equipment is more than or equal to 1 milliampere.
3. The method of claim 1, wherein the determining that the bluetooth device cannot be connected back to a terminal device comprises:
determining that the Bluetooth connection between the Bluetooth equipment and the terminal equipment is disconnected; or
And determining that the Bluetooth connection between the Bluetooth device and the terminal device is disconnected, and the Bluetooth connection with the terminal device cannot be established within a second preset time period after the Bluetooth connection is disconnected.
4. The method of claim 3, further comprising:
in the second preset time period, adopting a point-to-point connection mode to try to establish Bluetooth connection with the terminal equipment, but failing to connect; or
And in the second preset time period, adopting a Bluetooth Low Energy (BLE) broadcasting mode to try to establish Bluetooth connection with the terminal equipment, wherein the connection fails.
5. The method of claim 1, wherein the time points at which the bluetooth devices enter the sleep state are periodically distributed without being connected back to the end device, and the time points at which the bluetooth devices enter the awake state from the sleep state are also periodically distributed.
6. The method of claim 5, wherein the method further comprises:
and if the time point of entering the dormant state for the first time after the Bluetooth device determines that the Bluetooth device cannot be connected to the terminal device is taken as a starting point and the time length of not receiving the message reaches a second preset threshold, entering a power-off state.
7. The method of any of claims 1-6, wherein prior to the entering the sleep state, the method further comprises:
and responding to user operation, entering a dormant reconnection mode, wherein the Bluetooth equipment entering the dormant reconnection mode can actively enter a wake-up state in the dormant state so as to send and receive messages in the wake-up state without being directly powered off.
8. A Bluetooth loopback 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 to store computer instructions;
the processor is configured to execute the memory-stored computer instructions to implement the method of any of claims 1 to 7.
9. A Bluetooth connection method is applied to a terminal device, and comprises the following steps:
controlling the Bluetooth module to enter a dormant state under the condition that the Bluetooth module of the terminal equipment 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 a wakeup state;
controlling the Bluetooth module to send a first message and receive a second message in a first preset time period in an awakening state, wherein the second message is a message sent by the Bluetooth device in response to the received first message;
if the second message is received within the first preset time period, controlling the Bluetooth module and the Bluetooth equipment to reestablish Bluetooth connection; or
And if the second message is not received within the first preset time period, controlling the Bluetooth module to enter the dormant state again.
10. The method of claim 9, wherein the bluetooth module of the end device operates at less than 1 ma in the sleep state; and the working current of the Bluetooth module of the terminal equipment in the awakening state is more than or equal to 1 milliampere.
11. The method of claim 9, wherein determining that a bluetooth module of a terminal device cannot be connected back to a bluetooth device comprises:
determining that the Bluetooth connection between the Bluetooth module of the terminal equipment and the Bluetooth equipment is disconnected; or
And determining that the Bluetooth connection between the Bluetooth module of the terminal equipment and the Bluetooth equipment is disconnected, and the Bluetooth connection with the Bluetooth equipment cannot be established in a second preset time period after the Bluetooth connection is disconnected.
12. The method of claim 11, wherein the method further comprises:
in the second preset time period, adopting a point-to-point connection mode to try to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails; or
And in the second preset time period, adopting a Bluetooth Low Energy (BLE) broadcasting mode to try to establish Bluetooth connection with the Bluetooth equipment through the Bluetooth module, wherein the connection fails.
13. The method of claim 9,
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 dormant state are periodically distributed, and the time points of the Bluetooth module entering the awakening state from the dormant state are also periodically distributed.
14. The method of claim 13, wherein the method further comprises:
and taking the time point when the Bluetooth module of the terminal equipment is determined to be incapable of returning to the Bluetooth equipment and then entering the dormant state for the first time as a starting point, and closing the Bluetooth module when the duration of not receiving the message reaches a second preset threshold, wherein the message is not sent or received through the Bluetooth module any more.
15. The method of any of claims 9 to 14, wherein prior to said controlling the bluetooth module to enter a sleep state, the method further comprises:
and responding to user operation, entering a dormancy reconnection mode, wherein the terminal equipment entering the dormancy reconnection mode can control the Bluetooth module to enter a dormancy state and actively enter an awakening state in the dormancy state so as to send and receive messages in the awakening state without directly closing the Bluetooth module.
16. A bluetooth loopback device comprising a processor, and a memory communicatively coupled to the processor;
the memory is to store computer instructions;
the processor is configured to execute the memory-stored computer instructions to implement the method of any of claims 9 to 15.
17. A bluetooth backhaul apparatus comprising means for performing the method of any one of claims 1 to 7 and 9 to 15.
18. 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-7, 9-15 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 true CN114980363A (en) 2022-08-30
CN114980363B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297462A (en) * 2022-10-09 2022-11-04 深圳市金威澎电子有限公司 Anti-lost awakening method of earphone part and earphone anti-lost method based on pairing relationship
CN115499815A (en) * 2022-09-15 2022-12-20 中山亿联智能科技有限公司 Intelligent quick connection method of low-power-consumption Bluetooth equipment
CN117956546A (en) * 2024-03-27 2024-04-30 荣耀终端有限公司 Device reconnection method, electronic device, storage medium and chip

Citations (25)

* 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
US20120147870A1 (en) * 2009-04-29 2012-06-14 Nanoradio Hellas A.E. method for communication between a wlan terminal and a human interface device
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
US20160301687A1 (en) * 2013-05-15 2016-10-13 Feitian Technologies Co., Ltd. Working method of dynamic token
US20160323826A1 (en) * 2014-03-28 2016-11-03 Huizhou Tcl Mobile Communication Co., Ltd. Multimode and power-saving method of multimedia transmission and system thereof
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
US20180182491A1 (en) * 2016-12-27 2018-06-28 Dexcom, Inc. Systems and methods for patient monitoring using an hcp-specific device
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

Patent Citations (25)

* 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
US20120147870A1 (en) * 2009-04-29 2012-06-14 Nanoradio Hellas A.E. method for communication between a wlan terminal and a human interface device
US20160301687A1 (en) * 2013-05-15 2016-10-13 Feitian Technologies Co., Ltd. Working method of dynamic token
US20160323826A1 (en) * 2014-03-28 2016-11-03 Huizhou Tcl Mobile Communication Co., Ltd. Multimode and power-saving method of multimedia transmission and system thereof
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
US20180182491A1 (en) * 2016-12-27 2018-06-28 Dexcom, Inc. Systems and methods for patient monitoring using an hcp-specific device
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

Cited By (3)

* 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
CN115297462A (en) * 2022-10-09 2022-11-04 深圳市金威澎电子有限公司 Anti-lost awakening method of earphone part and earphone anti-lost method based on pairing relationship
CN117956546A (en) * 2024-03-27 2024-04-30 荣耀终端有限公司 Device reconnection method, electronic device, storage medium and chip

Also Published As

Publication number Publication date
CN114980363B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN113225693B (en) Bluetooth connection method, equipment and system
CN114980363B (en) Bluetooth reconnection method and related device thereof
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
CN112040461B (en) Approach discovery method and device
US20220039179A1 (en) Bluetooth Connection Method and Device
WO2021013156A1 (en) Bluetooth switching method and bluetooth device
CN112533269B (en) Data receiving and sending method, electronic equipment and computer readable storage medium
CN114710768B (en) Bluetooth connection method and related device
CN111491297B (en) Method and device for controlling intelligent household equipment to be connected with network
CN111293749A (en) Charging method, charging device, terminal equipment, mobile power supply and storage medium
EP4024957A1 (en) Bluetooth pairing method, and related device
CN113039822B (en) Method and equipment for establishing data channel
CN114079892A (en) Bluetooth communication method, wearable device and system
CN113810532B (en) Positioning method and related device
CN113765445B (en) Method for controlling vibration of electronic equipment, audio coding and decoding module and electronic equipment
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN114554012A (en) Incoming call answering method, electronic equipment and storage medium
CN113115483B (en) Method and device for releasing radio resource control connection and user equipment
CN113840337B (en) Method for improving paging response speed of terminal and terminal
CN114697932A (en) Method for reducing power consumption and electronic equipment
CN116709476B (en) Method and device for waking up equipment, electronic equipment and storage medium
WO2023236670A1 (en) Data transmission management method, electronic device and storage medium
CN115359607A (en) Paging prompting method, device and storage medium
CN114258044A (en) Standby method, system and terminal equipment
CN118101825A (en) Call control method, related device and communication system

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