WO2021008614A1 - 一种建立通信连接的方法及可穿戴设备 - Google Patents

一种建立通信连接的方法及可穿戴设备 Download PDF

Info

Publication number
WO2021008614A1
WO2021008614A1 PCT/CN2020/102805 CN2020102805W WO2021008614A1 WO 2021008614 A1 WO2021008614 A1 WO 2021008614A1 CN 2020102805 W CN2020102805 W CN 2020102805W WO 2021008614 A1 WO2021008614 A1 WO 2021008614A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
wearable device
terminals
signal
vibration
Prior art date
Application number
PCT/CN2020/102805
Other languages
English (en)
French (fr)
Inventor
周嘉鹏
陈腾豪
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021008614A1 publication Critical patent/WO2021008614A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/304Reselection being triggered by specific parameters by measured or perceived connection quality data due to measured or perceived resources with higher communication quality
    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Definitions

  • This application relates to the field of terminal technology, and in particular to a method for establishing a communication connection and a wearable device.
  • a user often has multiple smart terminals.
  • users can have multiple terminals such as mobile phones, tablet computers, smart watches, and Bluetooth headsets.
  • the Bluetooth headset can be used as an output device to respectively establish a communication connection with other terminals of the user, and further, the user can use the Bluetooth headset to play audio content in the connected terminal (ie, audio source device).
  • the Bluetooth headset can save the address of the terminal that was connected most recently (for example, the Bluetooth address of the terminal). After the user turns on the Bluetooth headset, the Bluetooth headset can try to search for the Bluetooth signal of the terminal according to the saved address of the terminal. If the Bluetooth signal of the terminal is found, the Bluetooth headset can automatically establish a Bluetooth connection with the last connected terminal.
  • the Bluetooth headset establishes a Bluetooth connection. It can be seen that the user needs to perform multiple operations on the terminal to establish a Bluetooth connection between the Bluetooth headset and the terminal required by the user. The entire connection process takes a long time, the operation is relatively cumbersome, and the user experience is not high.
  • This application provides a method for establishing a communication connection and a wearable device, which can simply and quickly complete the establishment process of a communication connection between devices, simplify the operation process, and improve the user experience.
  • the present application provides a method for establishing a communication connection, including: the wearable device may first establish a first ACL link with the first terminal; subsequently, if the wearable device detects a user input preset by the vibration sensor Click operation, the wearable device can send measurement signals to N terminals (the first terminal is not included in the N terminals, N ⁇ 1) according to the saved identification information; among the above N terminals, M(1 ⁇ M ⁇ N) terminals can feed back response signals, so that the wearable device can receive M response signals from M terminals, and the response signals are associated with the RSSI of the terminal; when the RSSI of the terminal is larger, the distance between the terminal can be The closer the wearable device is, the wearable device can determine the terminal with the largest RSSI among the above M terminals and the first terminal as the second terminal that needs to be connected; further, the wearable device can disconnect from the first terminal Establish a second ACL link with the second terminal.
  • the user can trigger the wearable device to quickly switch the Bluetooth connected device from the first terminal to the second terminal, which simplifies the operation process when establishing a Bluetooth connection between devices and improves Improve the user experience.
  • the above method does not need to modify the hardware or software of the terminal, so that the above method can be applied to various existing terminal devices, thereby improving the use scenario of the above method.
  • the above-mentioned measurement signal is a paging signal, for example, page request.
  • the preset tapping operations include: the user taps the wearable device with a finger or knuckle; the user taps the second terminal with the wearable device; or the user taps the wearable device
  • the method further includes: the wearable device may calculate the value of each response signal of the M response signals. Signal strength, thereby obtaining the RSSI of each of the M terminals.
  • the terminal may also carry its own RSSI in the response signal sent, so that the wearable device can obtain the RSSI of the corresponding terminal from the response signal sent by each terminal.
  • the wearable device may also obtain the RSSI of the first terminal based on the foregoing first ACL link. In this way, the wearable device can determine the second terminal with the largest RSSI among the foregoing M terminals and the first terminal.
  • the present application provides a method for establishing a communication connection, including: a wearable device detects a user input preset tapping operation through a vibration sensor; in response to the tapping operation, the wearable device can send to N terminals Measurement signal, N>1; M (1 ⁇ M ⁇ N) terminals receiving the measurement signal among the above-mentioned N terminals can feed back response signals, so that the wearable device receives M response signals respectively sent from M terminals, The response signal is associated with the signal strength of the terminal; when the signal strength of the terminal is greater, it means that the terminal is closer to the wearable device. Then, the wearable device can determine the terminal with the highest signal strength among the above M terminals as The first terminal that needs to be connected this time; further, the wearable device establishes a short-range wireless communication connection with the first terminal.
  • the wearable device can respond to the tap operation input by the user, detect the terminal closest to the wearable device, and establish a connection with the terminal Connection, thereby simplifying the operation process when establishing a short-range wireless communication connection between devices, and improving the user experience.
  • the wearable device detects the user input preset tapping operation through the vibration sensor, including: the wearable device uses the vibration sensor to collect the received vibration signal; when the vibration characteristics of the vibration signal are compared with the prediction When the vibration characteristics of the set tapping operation match, the wearable device can determine that the user has input the preset tapping operation.
  • the preset tapping operations include: the user taps the wearable device with a finger or knuckle; the user taps the first terminal with the wearable device; or the user taps the wearable device The operation of the wearable device tapping objects around the first terminal.
  • the wearable device sends measurement signals to N terminals, including: the wearable device can send measurement signals to the corresponding terminal according to the identification information (for example, pairing information) of each of the N terminals signal.
  • the wearable device determining the first terminal includes: the wearable device can calculate the signal strength (for example, RSSI) of each of the M terminals based on the received M response signals; further, The wearable device may determine the terminal with the highest signal strength as the first terminal.
  • the signal strength for example, RSSI
  • the aforementioned signal strength refers to the ratio between the absolute value of the signal strength and the preset signal strength standard value.
  • the present application provides a method for establishing a communication connection, including: a terminal receives a first tap operation input by a user through a vibration sensor; when the first tap operation is a preset tap operation, the terminal starts the preset The process starts to wait for the measurement signal; the terminal receives the measurement signal sent by the wearable device; in response to the measurement signal, the terminal establishes a short-range wireless communication connection with the wearable device.
  • the terminal can also detect the tap operation performed by the user through the vibration sensor. Then, after the Bluetooth headset sends the measurement signal, there is no need to determine the signal strength of each terminal.
  • the terminal that detects the tap operation can actively act as a connection device with the Bluetooth The headset establishes a Bluetooth connection, thereby shortening the time it takes for the Bluetooth headset to connect to the terminal.
  • the user can trigger the Bluetooth headset to quickly establish a communication connection with the corresponding terminal by performing a simple tap operation, which simplifies the operation process when establishing a communication connection between devices and improves the user experience.
  • the aforementioned preset tapping operation is: an operation for the user to tap the terminal using the wearable device.
  • the method further includes: when the vibration feature of the first tapping operation matches the preset vibration feature of the tapping operation, The terminal may determine that the first tapping operation is a preset tapping operation.
  • the method before the terminal establishes a short-range wireless communication connection with the wearable device, the method further includes: the terminal acquires the vibration signal of the second tapping operation collected by the wearable device; wherein the terminal automatically responds to the measurement signal
  • Establishing a short-range wireless communication connection with the wearable device includes: when the vibration signal of the second tapping operation and the vibration signal of the first tapping operation come from the same tapping operation, it means that the user tapped the terminal with the Bluetooth headset, that is, The user wants the terminal to be the connection device of the Bluetooth headset. At this time, the terminal can establish a short-range wireless communication connection with the wearable device.
  • the foregoing short-range wireless communication connection may be a Bluetooth connection
  • the foregoing measurement signal may be a paging signal.
  • the present application provides a wearable device, including: a vibration sensor for collecting vibration signals generated by the wearable device; one or more processors; a communication module; a memory, the memory
  • One or more computer programs are stored in the wearable device.
  • the processor executes one or more computer programs stored in the memory, so that the wearable device executes the method for establishing a communication connection as described in any one of the above .
  • the present application provides a terminal, including: a vibration sensor for collecting vibration signals generated by the wearable device; a touch screen; one or more processors; a communication module; a memory, the memory
  • a terminal including: a vibration sensor for collecting vibration signals generated by the wearable device; a touch screen; one or more processors; a communication module; a memory, the memory
  • One or more computer programs are stored in the terminal.
  • the processor executes the one or more computer programs stored in the memory, so that the terminal can execute any one of the methods for establishing a communication connection described above.
  • the present application provides a computer storage medium, including computer instructions, when the computer instructions run on the above-mentioned wearable device or terminal, the wearable device or terminal is caused to execute the method for establishing a communication connection described in any one of the above .
  • the present application provides a computer program product that, when the computer program product runs on the wearable device or terminal, causes the wearable device or terminal to execute the method for establishing a communication connection described in any one of the foregoing.
  • this application provides a chip system that includes at least one processor and at least one interface circuit; the interface circuit is used to read instructions stored in a memory and send the instructions to the processor; when the instructions are processed When the device is executed, the wearable device or terminal is caused to execute any one of the methods for establishing a communication connection described above.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the application
  • FIG. 2 is a first structural diagram of a wearable device provided by an embodiment of the application
  • FIG. 3 is a first structural diagram of a terminal provided by an embodiment of this application.
  • FIG. 4 is a schematic diagram 1 of interaction of a method for establishing a communication connection provided by an embodiment of this application;
  • FIG. 5 is a schematic diagram 1 of a scenario of a method for establishing a communication connection provided by an embodiment of this application;
  • FIG. 6 is a schematic diagram of a second scenario of a method for establishing a communication connection provided by an embodiment of this application;
  • FIG. 7 is a second schematic diagram of interaction of a method for establishing a communication connection provided by an embodiment of this application.
  • FIG. 8 is a schematic diagram of a third scenario of a method for establishing a communication connection provided by an embodiment of this application.
  • FIG. 9 is a second structural diagram of a wearable device provided by an embodiment of this application.
  • FIG. 10 is a second schematic structural diagram of a terminal provided by an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • the method for establishing a communication connection may be applied to the communication system 100 shown in FIG. 1.
  • the communication system 100 may include a wearable device 101 and one or more terminals 102.
  • the aforementioned wearable device 101 may be a device such as a wireless headset, a smart bracelet, a smart watch, or smart glasses.
  • the above-mentioned terminal 102 may be a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a personal digital assistant (personal digital assistant, PDA) and other devices, which are not restricted in the embodiment of the application. .
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the wearable device 101 can establish a short-distance wireless communication connection with the aforementioned one or more terminals 102, respectively, to realize the communication function between the wearable device 101 and the terminal 102.
  • the wearable device 101 can establish a communication connection such as a Bluetooth connection, a Wi-Fi (wireless fidelity, wireless fidelity) connection, a ZigBee (Zigbee protocol) connection, or an NFC (near field communication) connection with the terminal 102.
  • the wearable device 101 can also establish a communication connection through a cellular network interconnection or a switching device (for example, a USB data cable or a Dock device), which is not limited in the embodiment of the present invention.
  • a vibration sensor 201 may be provided in the wearable device 101.
  • the vibration sensor 201 may be used to detect the vibration signal generated by the wearable device 101.
  • the vibration sensor 201 may be an acceleration sensor or a gyroscope, etc., which is not limited in the embodiment of the present application.
  • the user can trigger the wearable device 101 to automatically establish a short-range wireless communication connection with the terminal 102 that has been tapped or collided this time by tapping or collision between the wearable device 101 and the terminal 102.
  • a pair of Bluetooth headsets may include a left earplug and a right earplug.
  • a vibration sensor 201 can be provided in the left earplug, and the vibration sensor 201 can be used to collect vibration signals generated by the left earplug.
  • it can be preset to use the left earplug of the Bluetooth headset to tap a certain terminal 102 twice to trigger the Bluetooth headset to establish a Bluetooth connection with the terminal 102 (for example, mobile phone A).
  • the vibration sensor 201 in the left earplug can be set to be always on, and the vibration sensor 201 can continuously collect the vibration signal generated by the left earplug.
  • the vibration signal generated by the left earbud of the Bluetooth headset by performing two tap operations on the left earbud usually has a fixed vibration characteristic.
  • the waveform characteristics generated by the vibration sensor 201 are usually constant. Therefore, when the vibration signal collected by the vibration sensor 201 meets the preset vibration characteristics, it means that the user has tapped a certain terminal twice with the left earbud of the Bluetooth headset at this time, and the user wants to establish the Bluetooth headset and be tapped. Bluetooth connection between the terminals.
  • the identification information of one or more terminals may be stored in the Bluetooth headset.
  • the identification information may be: the pairing information of one or more terminals that have completed Bluetooth pairing with the Bluetooth headset.
  • the pairing information may include the terminal's MAC (media access control, media access control) address, device name, etc. .
  • the pairing information of mobile phone A and mobile phone B is stored in the bluetooth headset, it means that the bluetooth headset has been established with mobile phone A and mobile phone B to complete the Bluetooth pairing process. Then, after the Bluetooth headset detects that the user has performed the preset tapping twice, it can send a measurement signal to mobile phone A according to the pairing information of mobile phone A, and send a measurement signal to mobile phone B according to the pairing information of mobile phone B.
  • the measurement signal sent by the Bluetooth headset to the mobile phone A and the mobile phone B may specifically be a page request initiated by the Bluetooth device.
  • all existing Bluetooth devices retain a connection back mechanism, that is, after the Bluetooth function of the Bluetooth device is turned on, it can automatically connect back to the last connected device. For example, after the user turns on the Bluetooth headset, the Bluetooth headset can automatically connect back to the last connected notebook 1. If the Bluetooth headset is not successfully connected with the notebook 1 and it is detected that the user has performed a preset tapping operation, the Bluetooth headset can send measurement signals to each terminal according to the terminal identification according to the above method.
  • mobile phone A and mobile phone B can send a corresponding response signal to the Bluetooth headset after receiving the measurement signal sent by the Bluetooth headset, and the response signal can reflect the sender (ie Corresponding to the signal strength of the terminal).
  • the response signal may be a page response signal.
  • mobile phone A can send a first response signal to the Bluetooth headset in response to the measurement signal
  • mobile phone B can send a second response signal to the Bluetooth headset in response to the measurement signal.
  • the user wants the device connected to the Bluetooth headset to be the terminal tapped by the Bluetooth headset.
  • the distance between the terminal and the Bluetooth headset is generally very close.
  • the signal strength of the response signal received by the Bluetooth headset is greater, the signal strength of the terminal that sends the response signal is greater, indicating that the distance between the Bluetooth headset and the terminal that sends the response signal is closer.
  • the Bluetooth headset can determine the terminal with the highest signal strength as the connected device that needs to establish a Bluetooth connection with the Bluetooth headset.
  • the Bluetooth headset can determine that the mobile phone A sending the first response signal is this time A connected device that needs to establish a Bluetooth connection with a Bluetooth headset. Furthermore, the Bluetooth headset can establish an ACL (asynchronous connectionless, asynchronous connectionless) link between the Bluetooth headset and the mobile phone A according to the standard Bluetooth protocol, thereby achieving a Bluetooth connection between the Bluetooth headset and the mobile phone A.
  • ACL asynchronous connectionless, asynchronous connectionless
  • the user can also perform a preset tap operation to trigger the Bluetooth headset to switch its connected device from mobile phone C to the new one according to the above method.
  • Connected device such as mobile phone A).
  • the user can trigger the wearable device to quickly establish a short-range wireless communication connection with the corresponding connected device by performing a simple tap operation, thereby simplifying the operation process when establishing a short-range wireless communication connection between devices.
  • the foregoing method for establishing a short-range wireless communication connection does not need to modify the hardware or software of the connecting device, so that the foregoing method for establishing a short-range wireless communication connection can be applied to various existing terminal devices, thereby improving the foregoing short-range wireless communication.
  • Use scenarios of the connection establishment method are examples of the connection establishment method.
  • the Bluetooth headset may be a true wireless stereo (TWS) headset, or a wireless headset with a connecting wire, etc.
  • TWS true wireless stereo
  • the earplug of the Bluetooth headset may also include a processor 202, a memory 203, a wireless communication module 204, an audio module 205, a receiver 206, a microphone 207, and a power supply 208.
  • the memory 203 may be used to store application program codes, such as application program codes for establishing a wireless connection with another earplug of a Bluetooth headset, and for pairing and connecting the earplug with the aforementioned terminal 102.
  • the processor 202 may control the execution of the above application program code to realize the function of the earplug of the Bluetooth headset in the embodiment of the present application. For example, it can measure the channel quality of the link between the Bluetooth headset and the electronic device and the amount of data to be transmitted.
  • the memory 203 may also store a Bluetooth address for uniquely identifying the earplug, and a Bluetooth address of another earplug of the Bluetooth headset.
  • the memory 203 may also store the pairing history of the terminal 102 successfully paired with the earplug before.
  • the pairing history may include the Bluetooth address of the terminal 102 successfully paired with the earplug. Based on the pairing history, the earplug can automatically connect back to the paired terminal 102.
  • the aforementioned Bluetooth address may be a media access control (media access control, MAC) address.
  • the wireless communication module 204 is used to support the wireless data exchange between the current earplug and the other earplug of the Bluetooth headset and various terminals 102.
  • the wireless communication module 204 may be a Bluetooth transceiver.
  • the earplug of the Bluetooth headset can establish a wireless connection with the aforementioned terminal 102 through the Bluetooth transceiver to realize short-distance data exchange between the two. For example, exchange audio data, exchange control data, and so on.
  • the audio module 205 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 205 may also include an encoder and a decoder for encoding and decoding audio signals.
  • the audio module 205 may be provided in the processor 202, or part of the functional modules of the audio module 205 may be provided in the processor 202.
  • At least one receiver 206 which may also be referred to as a "handset", may be used to convert audio electrical signals into sound signals and play them.
  • the receiver 206 may convert the received audio electrical signal into a sound signal and play it.
  • At least one microphone 207 which may also be called a “microphone” or “microphone”, is used to convert sound signals into audio electrical signals.
  • the microphone 207 can collect the user's voice signal and convert it into an audio electrical signal during the user's speech (such as a call or voice message).
  • the foregoing audio electrical signal is the audio data in the embodiment of the application.
  • the power supply 208 may be used to supply power to various components included in the earplug of the Bluetooth headset.
  • the power source 208 may be a battery, such as a rechargeable battery.
  • Bluetooth headsets are equipped with a headset box.
  • the earphone box can be used to store the left and right earplugs of the Bluetooth earphone.
  • the earphone box can be used to store the left earplug and the right earplug of the Bluetooth headset.
  • the headset box may be provided with at least one touch control, which may be used to trigger operations such as re-pairing the Bluetooth headset with the terminal 102.
  • the earphone box can also be provided with a charging port for charging the earphone box itself.
  • the headset box can also charge the left and right earplugs of the Bluetooth headset. It is understandable that the earphone box may also include other controls, which will not be described here.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the Bluetooth headset. It may have more or fewer components than shown in FIG. 2, may combine two or more components, or may have a different component configuration.
  • the Bluetooth headset can also include: distance sensor, proximity light sensor, indicator light (which can indicate the status of the power of the earplug), display screen (which can prompt the user with relevant information), dust net (which can be used with the earpiece), motor, etc. part.
  • the various components shown in FIG. 2 may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing or application specific integrated circuits.
  • the terminal 102 in the aforementioned communication system 100 may specifically be a mobile phone.
  • the mobile phone may include processor 110, external memory interface 120, internal memory 121, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, Sensor module 180, camera 193, display screen 194, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or fewer components than those shown in the figure, or combine certain components, or disassemble certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processing unit
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the wireless communication function of the mobile phone can be realized by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on a mobile phone.
  • the mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the wireless communication module 160 can provide applications on mobile phones including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (Bluetooth, BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • Bluetooth Bluetooth
  • GNSS global navigation satellite systems
  • FM frequency modulation
  • NFC near field communication
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating one or more communication processing modules.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves for radiation via the antenna 2.
  • the antenna 1 of the mobile phone is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the mobile phone achieves display functions through GPU, display 194, and application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the mobile phone may include one or N display screens 194, and N is a positive integer greater than one.
  • the mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, display 194 and application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the mobile phone 100 may include 1 or N cameras, and N is a positive integer greater than 1.
  • the camera 193 may be a front camera or a rear camera.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital video.
  • the phone can support one or more video codecs.
  • the mobile phone can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store one or more computer programs, and the one or more computer programs include instructions.
  • the processor 110 can run the above-mentioned instructions stored in the internal memory 121, so that the mobile phone executes the method for intelligent contact recommendation provided in some embodiments of the present application, as well as various functional applications and data processing.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store the operating system; the storage program area can also store one or more application programs (such as a gallery, contacts, etc.) and so on.
  • the data storage area can store data (such as photos, contacts, etc.) created during the use of the mobile phone.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), etc.
  • the processor 110 executes the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor to cause the mobile phone to execute the smart recommendation number provided in the embodiments of the present application. Method, and various functional applications and data processing.
  • the mobile phone can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
  • the mobile phone can listen to music through the speaker 170A, or listen to hands-free calls.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the voice can be heard by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can approach the microphone 170C through the mouth to make a sound, and input the sound signal to the microphone 170C.
  • the mobile phone can be equipped with one or more microphones 170C.
  • the mobile phone may be provided with two microphones 170C, in addition to collecting sound signals, it may also achieve a noise reduction function.
  • the mobile phone can also be equipped with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc., in the embodiments of the present application There are no restrictions on this.
  • a Bluetooth headset is used as the wearable device 101, and the paired devices of the Bluetooth headset include mobile phone A and mobile phone B as examples.
  • FIG. 4 is a schematic flowchart of a method for establishing a communication connection provided by an embodiment of the application. As shown in Figure 4, the method may include:
  • the Bluetooth headset plays audio content from mobile phone A, and the Bluetooth headset and mobile phone A have established a Bluetooth connection.
  • the Bluetooth headset and the Bluetooth function in mobile phone A can be turned on, and a Bluetooth connection between mobile phone A and the Bluetooth headset can be established.
  • mobile phone A can display a list of Bluetooth devices that have been connected in the Bluetooth function setting interface 501.
  • One or more Bluetooth devices in the Bluetooth device list are all Bluetooth devices that have completed Bluetooth pairing with mobile phone A.
  • the mobile phone A can add the Bluetooth device to the aforementioned Bluetooth device list.
  • the mobile phone A can store the pairing information of each paired Bluetooth device, that is, the identification information of the Bluetooth device.
  • the pairing information may include the name of the Bluetooth device, the MAC address of the Bluetooth device, etc., which are not limited in the embodiment of the present application.
  • the user can select the Bluetooth headset in the aforementioned setting interface 501 after turning on the Bluetooth headset (for example, the option "My Headset" in the aforementioned Bluetooth device list).
  • the mobile phone A may send a page request to the Bluetooth headset according to the stored pairing information of the Bluetooth headset.
  • the Bluetooth headset After the Bluetooth headset receives the page request from the mobile phone A, since the pairing information of the mobile phone A is also stored in the Bluetooth headset, the Bluetooth headset can send a corresponding response signal (page response) to the mobile phone A.
  • page response page response
  • mobile phone A After receiving the page response from the Bluetooth headset, mobile phone A can establish the first ACL link with the Bluetooth headset to realize the Bluetooth connection between mobile phone A and the Bluetooth headset.
  • mobile phone A can first pair with the Bluetooth headset after searching for the Bluetooth headset, and then establish a Bluetooth connection with the Bluetooth headset according to the above-mentioned Bluetooth connection establishment process. There are no restrictions on this.
  • the mobile phone A After the Bluetooth headset establishes a Bluetooth connection with the mobile phone A, the mobile phone A can be used as a Bluetooth headset connection device to output the audio content of the mobile phone A to the Bluetooth headset, and the Bluetooth headset plays the audio content to the user.
  • the Bluetooth headset detects that the user inputs a preset tap operation.
  • the user can use a Bluetooth headset (for example, a pair of Bluetooth headsets The left earplug or the right earplug) performs a preset tap operation on the mobile phone B.
  • the preset tapping operation may be an operation of the user using a Bluetooth headset to tap a terminal (for example, mobile phone B) waiting to be connected.
  • the preset tapping operation may specifically be an operation of tapping the mobile phone B twice using a Bluetooth headset. The preset tapping operation is used to trigger the Bluetooth headset to switch its connected device from the connected mobile phone A to the mobile phone B.
  • a vibration sensor such as an acceleration sensor may be provided in the Bluetooth headset.
  • the Bluetooth headset can control the acceleration sensor to collect the current vibration signal at a certain working frequency.
  • the Bluetooth headset can extract corresponding vibration characteristics from the collected vibration signals in real time. If the vibration feature extracted at a certain time matches the vibration feature of the preset tapping operation, the Bluetooth headset can determine that the user has input the preset tapping operation at this time.
  • the Bluetooth headset can extract the corresponding vibration waveform from the collected vibration signal in real time.
  • the Bluetooth headset can use a preset waveform algorithm to analyze whether the extracted vibration waveform is a vibration waveform generated by two consecutive taps of the Bluetooth headset. If the obtained vibration waveform is a vibration waveform generated by two consecutive taps of the Bluetooth headset, the Bluetooth headset can determine that the user has used the Bluetooth headset to tap a certain terminal twice. Furthermore, the Bluetooth headset can determine the new connection device that the Bluetooth headset needs to switch by performing the following steps S403-S404.
  • the user's finger or knuckle tapping on the Bluetooth headset can also be set as the preset tap operation.
  • the user when the user wants to change the connected device of the Bluetooth headset, the user does not need to take off the headset, and can directly perform a preset tap operation on the Bluetooth headset worn (for example, tap the knuckle of the Bluetooth headset) to trigger the Bluetooth
  • the headset determines the new connection device that the Bluetooth headset needs to switch by performing the following steps S403-S404.
  • the user can also use the Bluetooth headset to perform tap operations near mobile phone B, for example, use the Bluetooth headset to tap the desktop near mobile phone B twice .
  • the aforementioned preset tapping operation refers to the tapping operation performed by the user using the Bluetooth headset near the terminal to be connected.
  • the following steps S403-S404 can be executed to determine the new connection device that the Bluetooth headset needs to switch.
  • the object of tapping the Bluetooth headset in the preset tapping operation can be the user's finger, knuckle, terminal that needs to be switched, or any object near the terminal that needs to be switched, and the embodiment of the present application does not impose any restriction on this .
  • the Bluetooth headset In response to the aforementioned tapping operation, the Bluetooth headset sends a measurement signal to the mobile phone B.
  • the Bluetooth headset After the Bluetooth headset detects that the user has entered a preset tap operation, it indicates that the user wants to change the current connected device of the Bluetooth headset. However, at this time, the Bluetooth headset cannot determine which terminal the user wants to replace with the new connection device.
  • the Bluetooth headset may send measurement signals to one or more paired Bluetooth devices. Similar to the Bluetooth device list of mobile phone A shown in FIG. 5, the Bluetooth headset may also store the pairing information of one or more paired Bluetooth devices. Taking the pairing information of mobile phone B stored in the Bluetooth headset as an example, in order to determine the connected device that needs to be replaced at this time, the Bluetooth headset can send a measurement signal to mobile phone B according to the pairing information of mobile phone B.
  • the measurement signal may be a page request (page request).
  • the Bluetooth headset can also send measurement signals to these terminals according to the identification information.
  • the Bluetooth headset can interact with mobile phone A through the Bluetooth headset to obtain information such as the signal strength of mobile phone A. Therefore, after the Bluetooth headset detects the above-mentioned tapping operation, there is no need to Mobile phone A sends a measurement signal.
  • the Bluetooth headset may send a page request (page request) to the mobile phone B according to the process of establishing an ACL link, and the page request is the above-mentioned measurement signal.
  • mobile phone B can receive paging signals from other devices after turning on the Bluetooth function.
  • the mobile phone B After the mobile phone B receives the paging signal (ie, the measurement signal) sent by the Bluetooth headset, it can respond to the paging signal to send a page response (ie, the response signal) to the Bluetooth headset. Furthermore, the Bluetooth headset can continue to perform the following steps S404-S405.
  • the paging signal ie, the measurement signal
  • the Bluetooth headset can respond to the paging signal to send a page response (ie, the response signal) to the Bluetooth headset. Furthermore, the Bluetooth headset can continue to perform the following steps S404-S405.
  • the Bluetooth headset determines the signal strength of the mobile phone A and the mobile phone B.
  • the Bluetooth headset disconnects the Bluetooth connection with the mobile phone A, and establishes a Bluetooth connection with the mobile phone B.
  • step S404 after the Bluetooth headset receives a response signal from another Bluetooth device (for example, the aforementioned mobile phone B), since the response signal sent by mobile phone B is related to the signal strength of mobile phone B, the Bluetooth headset can The response signal determines the signal strength of mobile phone B, for example, RSSI (received signal strength indication, signal strength indication) of mobile phone B.
  • RSSI received signal strength indication, signal strength indication
  • the Bluetooth headset can calculate the RSSI of the mobile phone B according to a preset formula based on the response signal sent by the mobile phone B. Or, if the response signal sent by the mobile phone B carries the RSSI of the mobile phone B, the Bluetooth headset may obtain the RSSI of the mobile phone B from the preset field of the response signal.
  • the Bluetooth headset can obtain the signal strength of the mobile phone A based on the Bluetooth connection, for example, the RSSI of the mobile phone A.
  • the distance between the Bluetooth headset and the new connected device is generally relatively short. As the distance between the two devices is closer, the signal strength of the two devices during signal interaction will increase accordingly. Correspondingly, as the distance between the two devices increases, the attenuation of the signal strength gradually increases when the two devices perform signal interaction. As shown in Table 1, taking the example of device 1 sending a signal to device 2, the signal transmission power F of device 1 is 2400 Hz. When the distance between device 1 and device 2 increases from 0.1 m to 1 m, the attenuation value of the signal sent by device 1 gradually increases, that is, the strength of the signal sent by device 1 gradually decreases.
  • the Bluetooth headset After the Bluetooth headset receives the response signal from one or more Bluetooth devices, it can obtain the signal strength of each response signal separately, thereby obtaining the signal strength of each Bluetooth device corresponding to each response signal. In addition, the Bluetooth headset can obtain the signal strength of mobile phone A from the connected mobile phone A. Furthermore, the Bluetooth headset can determine the Bluetooth device with the highest signal strength among the multiple Bluetooth devices as the new connected device.
  • the above response signal may also be BLE (bluetooh low energy, Bluetooth low energy) broadcast.
  • BLE bluetooh low energy, Bluetooth low energy
  • mobile phone A and mobile phone B can periodically send advertising data (broadcast data) in the form of BLE broadcast based on the BLE protocol. Advertising data is used to indicate that the current BLE Bluetooth device is in a connectable state. Then, after the Bluetooth headset receives the advertising data sent by mobile phone A and mobile phone B, it can calculate the signal strength of the advertising data sent by mobile phone A and mobile phone B to determine the signal strength of mobile phone A and mobile phone B. Furthermore, the Bluetooth headset can determine the Bluetooth device with the highest signal strength as the new connected device.
  • the Bluetooth headset can use the RSSI of the response signal as the RSSI of mobile phone B.
  • the Bluetooth headset can obtain the RSSI of mobile phone A from mobile phone A.
  • the Bluetooth headset can calculate the RSSI of mobile phone A based on the Bluetooth signal sent by mobile phone A. If it is detected that the RSSI of mobile phone B is greater than the RSSI of mobile phone A, it indicates that the Bluetooth headset is closer to mobile phone B, and the user is likely to use the Bluetooth headset to perform a preset tap operation on mobile phone B.
  • the Bluetooth headset can determine the mobile phone B as the connected device that needs to establish a Bluetooth connection this time.
  • the Bluetooth headset can disconnect the first ACL link established with mobile phone A, and establish a second ACL link with mobile phone B, that is, switch the connected device of the Bluetooth headset from mobile phone A For mobile phone B. In this way, the user can use the Bluetooth headset to play the audio content in the mobile phone B based on the second ACL link.
  • the Bluetooth headset can continue to maintain the first ACL link with the mobile phone A without switching the current connected device.
  • the signal transmission power set by different Bluetooth devices when sending the above response signal to the Bluetooth headset may be different. Then, in some scenarios, although the signal strength of the first response signal sent by mobile phone A to the Bluetooth headset is greater than The signal strength of the second response signal sent by mobile phone B to the Bluetooth headset, but because the signal transmission power of mobile phone A is greater than that of mobile phone B, when the distance between mobile phone A and the Bluetooth headset is greater than the distance between mobile phone B and the Bluetooth headset , The signal strength of the first response signal received by the Bluetooth headset may also be greater than the signal strength of the second response signal. In this way, the connected device determined by the Bluetooth headset based on the actual measured value of the signal strength may be inaccurate.
  • the Bluetooth headset after the Bluetooth headset obtains the actual measured value of the signal strength corresponding to each response signal, it can calculate the relative signal strength of each response signal, and then determine the Bluetooth device corresponding to the response signal with the highest relative signal strength as the new connected device .
  • the relative signal strength refers to the ratio between the actual measured value of the signal strength and the preset signal strength standard value.
  • the signal strength standard values of different types or models of equipment are different.
  • the signal strength standard value may be the nominal maximum signal strength of the device, or the actual detected maximum signal strength of the device.
  • the standard value of signal strength transmitted by mobile phone A is 1000 dBm
  • the Bluetooth headset can determine that the mobile phone B sending the second response signal is the new connected device.
  • the signal strength standard value of each device or each type of device can be pre-stored in the Bluetooth headset.
  • the Bluetooth headset detects the actual measured value of the signal strength of each response signal, it can search for the corresponding signal strength standard value, and then calculate the relative signal strength of the response signal. In this way, by comparing the relative signal strength of different response signals, the Bluetooth headset can more accurately determine the connected device that needs to establish a Bluetooth connection this time.
  • a vibration sensor may also be provided in the device (for example, the aforementioned mobile phone A or mobile phone B) tapped by the Bluetooth headset.
  • the Bluetooth headset when a user uses a Bluetooth headset to input a preset tap operation to a new connected device (for example, mobile phone B), not only the Bluetooth headset can detect the tap operation, but the mobile phone B can also detect the tap operation. Then, the mobile phone B can also actively establish a Bluetooth connection with the Bluetooth headset, thereby shortening the time consuming to establish or switch the Bluetooth connection.
  • a method for establishing a communication connection provided by an embodiment of the present application includes:
  • the Bluetooth headset plays audio content from mobile phone A, and the Bluetooth headset and mobile phone A have established a Bluetooth connection.
  • step S701 the user can use the mobile phone A as the connection device of the Bluetooth headset to establish the first ACL link between the mobile phone A and the Bluetooth headset. Furthermore, the user can use the Bluetooth headset to play the audio content in the mobile phone A based on the first ACL link.
  • the Bluetooth headset detects that the user inputs a preset tap operation.
  • the user can use the Bluetooth headset to input a preset tap operation on the connected device that needs to be switched, so as to trigger the Bluetooth headset to establish a Bluetooth connection with the new connected device.
  • a vibration sensor is provided in the Bluetooth headset, and the Bluetooth headset can use the vibration sensor to collect the vibration signal generated on the Bluetooth headset.
  • the Bluetooth headset can extract corresponding vibration characteristics from the collected vibration signals. If the vibration characteristics extracted at a certain time match the vibration characteristics of the preset tapping operation, the Bluetooth headset can determine that the user has entered the preset tapping operation at this time, indicating that the user wants to connect the Bluetooth headset to the new Connecting to the device.
  • S703 The mobile phone B detects that the user inputs a preset tap operation.
  • the above-mentioned vibration sensor may also be set in the candidate connection device of the Bluetooth headset (for example, mobile phone B).
  • the vibration sensor in the mobile phone B can also collect the corresponding vibration signal.
  • the mobile phone B can also extract corresponding vibration characteristics from the collected vibration signals. If the extracted vibration characteristics match the vibration characteristics of the preset tapping operation, mobile phone B can determine that the user has input the preset tapping operation at this time, indicating that the user wants to use mobile phone B as the connected device of the Bluetooth headset at this time. Bluetooth headset connection.
  • the mobile phone B After the mobile phone B detects that the user enters the preset tapping operation, it can report the tapping operation to the relevant application of the Bluetooth function in the application layer. Furthermore, the application can start a preset process to set mobile phone B as the master device, and wait for a paging signal sent by other Bluetooth devices to trigger mobile phone B to actively establish a Bluetooth connection with other Bluetooth devices.
  • the Bluetooth headset In response to the aforementioned tapping operation, the Bluetooth headset sends a paging signal to the mobile phone B.
  • step S704 after the Bluetooth headset detects that the user has input a preset tapping operation, it can follow the existing Bluetooth connection establishment process according to the saved identification information of one or more Bluetooth devices ( For example, pairing information) sends a paging signal to the corresponding Bluetooth device.
  • the Bluetooth headset detects that the user has input a preset tapping operation, it can follow the existing Bluetooth connection establishment process according to the saved identification information of one or more Bluetooth devices ( For example, pairing information) sends a paging signal to the corresponding Bluetooth device.
  • the Bluetooth headset can send a page request to mobile phone B according to the pairing information of mobile phone B.
  • mobile phone B In response to the above paging signal, mobile phone B automatically establishes a Bluetooth connection with the Bluetooth headset.
  • step S705 since mobile phone B has determined that other devices need to establish a communication connection with itself (ie, mobile phone B) by detecting the preset tapping operation in step S703, mobile phone B switches to the master device mode and waits to receive paging signal. Then, after the mobile phone B receives the paging signal from the Bluetooth headset, it can be determined that the device that needs to establish a communication connection with the mobile phone B this time is the Bluetooth headset. Correspondingly, other Bluetooth devices that received the paging signal did not detect the user input preset tapping operation before receiving the paging signal. Therefore, these Bluetooth devices received the paging signal from the Bluetooth headset. It is not necessary to respond to the paging signal.
  • the mobile phone B can be used as a master to establish a second ACL link with the Bluetooth headset to realize the Bluetooth connection between the Bluetooth headset and the mobile phone B.
  • the Bluetooth headset can automatically disconnect the first ACL link with the mobile phone A.
  • the mobile phone B in order to prevent the mobile phone B from establishing a Bluetooth connection with the wrong Bluetooth device after receiving the paging signal, the mobile phone B can also obtain the user input from the Bluetooth headset after receiving the paging signal from the Bluetooth headset. Vibration signal or vibration characteristic generated during preset tapping operation. Furthermore, the mobile phone B can compare the vibration signal generated by the mobile phone B (ie, the first vibration signal) with the vibration signal generated by the Bluetooth headset (ie, the second vibration signal) to determine whether the two vibration signals are generated by the same tap operation. For example, when the vibration signal generated by the mobile phone B is the same as the vibration signal generated by the Bluetooth headset, it can be determined that the two vibration signals are from the same tap operation.
  • mobile phone B can actively establish a Bluetooth connection with the Bluetooth headset, thereby switching the connected device of the Bluetooth headset from mobile phone A For mobile phone B.
  • each candidate connection device of the Bluetooth headset can also detect the tap operation performed when the user changes the connection device, the Bluetooth headset does not need to measure and calculate the signal strength of multiple candidate connection devices .
  • the candidate connection device that detects the tapping operation can take the initiative to establish a Bluetooth connection with the Bluetooth headset as a new connection device, thereby shortening the time it takes for the Bluetooth headset to switch connection devices.
  • the user can trigger the Bluetooth headset to quickly establish a communication connection with the corresponding connected device, thereby simplifying the operation process when establishing a communication connection between the devices and improving the user experience.
  • the Bluetooth headset is used as an example of a wearable device, and the Bluetooth headset is used as an example to illustrate the application scenario of switching the connected device between the mobile phone A and the mobile phone B. It is understandable that the above method for establishing a communication connection can be applied to various wearable devices and various application scenarios.
  • the Bluetooth connection state of the Bluetooth headset is in a stable state. If the user wants to switch the connected device of the Bluetooth headset to notebook B, as shown in (b) in Figure 8, the user can use the Bluetooth headset to perform a preset tap operation on notebook B. Similar to the foregoing embodiment, the Bluetooth headset can respond to the tapping operation to determine that the connected device that needs to be replaced this time is notebook B. At this time, the Bluetooth connection state of the Bluetooth headset is in the switching state. Furthermore, as shown in (c) of FIG. 8, the Bluetooth headset can establish a Bluetooth connection with the new connected device (i.e. notebook B), and the Bluetooth connection state of the Bluetooth headset is switched to a stable state again.
  • the new connected device i.e. notebook B
  • the Bluetooth headset and mobile phone A have established a Bluetooth connection
  • the user wants to use the Bluetooth headset to play audio content in the vehicle device in the car
  • the user can use the Bluetooth headset to perform a preset tap operation on the vehicle device.
  • the Bluetooth headset can determine that the connected device that needs to be replaced this time is a vehicle-mounted device in response to the tap operation, and then establish a Bluetooth connection with the vehicle-mounted device.
  • wearable devices such as smart bracelets, smart watches, and smart glasses
  • these wearable devices are usually used as slave devices to establish communication connections with master devices such as mobile phones via Bluetooth or Wi-Fi.
  • master devices such as mobile phones via Bluetooth or Wi-Fi.
  • the wearable device may be triggered to establish a communication connection with a different main device by performing a preset tap operation on the wearable device.
  • terminals such as mobile phones, tablets, speakers, and notebook computers can also establish communication connections with other terminals via Bluetooth or Wi-Fi in accordance with the above methods.
  • the above-mentioned vibration sensor can be installed in the user's mobile phone.
  • the mobile phone can be used to perform a preset tap operation on the Bluetooth speaker.
  • the mobile phone detects the tapping operation, it can determine that the device to be connected to the mobile phone is a Bluetooth speaker according to the method described in the above embodiment, and further, the mobile phone can automatically establish a Bluetooth connection with the Bluetooth speaker.
  • the user can trigger the two devices to quickly establish a communication connection by performing a simple tap operation, thereby simplifying the operation process when establishing a communication connection between the devices and improving the user experience.
  • an embodiment of the present application discloses a wearable device, including: one or more processors 902; vibration sensors 901; storage 903; communication module 906; and one or more computer programs 904.
  • the aforementioned devices can be connected through one or more communication buses 905.
  • the aforementioned one or more computer programs 904 are stored in the aforementioned memory 903 and configured to be executed by the one or more processors 902, and the one or more computer programs 904 include instructions, and the aforementioned instructions can be used to execute the aforementioned Each step in the embodiment should be implemented.
  • the foregoing processor 902 may specifically be the processor 202 shown in FIG. 2, the foregoing memory 903 may specifically be the internal memory 203 shown in FIG. 2, and the foregoing communication module 906 may specifically be the wireless communication module shown in FIG. 2 204.
  • the above-mentioned vibration sensor 901 may specifically be the vibration sensor 201 shown in FIG. 2, which is not limited in the embodiment of the present application.
  • an embodiment of the present application discloses a terminal, including: a touch screen 1001, the touch screen 1001 includes a touch sensor 1006 and a display screen 1007; one or more processors 1002; vibration sensor 1009; memory 1003; communication Module 1008; and one or more computer programs 1004.
  • the above-mentioned devices may be connected through one or more communication buses 1005.
  • the aforementioned one or more computer programs 1004 are stored in the aforementioned memory 1003 and configured to be executed by the one or more processors 1002, and the one or more computer programs 1004 include instructions, and the aforementioned instructions can be used to execute the aforementioned Each step in the embodiment should be implemented.
  • the processor 1002 may be the processor 110 shown in FIG. 3, the memory 1003 may be the internal memory 121 shown in FIG. 3, and the display screen 1007 may be the display screen 194 shown in FIG. 3.
  • the above-mentioned communication module 1008 may specifically be the mobile communication module 150 and/or the wireless communication module 160 shown in FIG. 3, and the above-mentioned touch sensor 1006 may specifically be the touch sensor in the sensor module 180 shown in FIG. This does not impose any restrictions.
  • the chip system includes at least one processor 1101 and at least one interface circuit 1102.
  • the processor 1101 and the interface circuit 1102 may be interconnected by wires.
  • the interface circuit 1102 can be used to receive signals from other devices (eg, memory, vibration sensors).
  • the interface circuit 1102 may be used to send signals to other devices (such as the processor 1101).
  • the interface circuit 1102 can read the instructions stored in the memory and send the instructions to the processor 1101.
  • the above-mentioned wearable device or terminal can be made to execute each step in the above-mentioned embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • a computer readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Abstract

本申请提供一种建立通信连接的方法及可穿戴设备,应用于无线耳机、手机、智能车、车载涉笔、平板电脑、笔记本电脑、便携机等设备,可简单、快捷的完成设备之间通信连接的建立过程。该方法包括:可穿戴设备与第一终端建立第一ACL链路;可穿戴设备通过振动传感器检测到预设的敲击操作;响应于敲击操作,可穿戴设备向N个终端发送测量信号;可穿戴设备接收来自M个终端响应测量信号产生的M个响应信号,响应信号与终端的RSSI关联;可穿戴设备确定第二终端,第二终端为M个终端及第一终端中RSSI最大的终端;可穿戴设备断开与第一终端之间的第一ACL链路,建立与第二终端之间的第二ACL链路。

Description

一种建立通信连接的方法及可穿戴设备
本申请要求于2019年7月18日提交国家知识产权局、申请号为201910650281.8、发明名称为“一种建立通信连接的方法及可穿戴设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种建立通信连接的方法及可穿戴设备。
背景技术
目前,一个用户往往具备多个智能终端。例如,用户可以拥有手机、平板电脑、智能手表以及蓝牙耳机等多个终端。其中,蓝牙耳机可作为输出设备分别与用户其他的终端建立通信连接,进而,用户可使用蓝牙耳机播放与其相连的终端(即音源设备)中的音频内容。
一般,蓝牙耳机可以保存最近一次连接的终端的地址(例如,终端的蓝牙地址)。用户打开蓝牙耳机后,蓝牙耳机可根据已保存的终端的地址尝试搜索该终端的蓝牙信号。如果搜索到该终端的蓝牙信号,则蓝牙耳机可自动与最近一次连接的终端建立蓝牙连接。
但是,如果没有搜索到最近一次连接的终端的蓝牙信号,则用户需要在等待连接的终端中打开蓝牙设备列表,并在蓝牙设备列表中选择蓝牙耳机作为本次的连接设备,从而触发该终端与蓝牙耳机建立蓝牙连接。可以看出,用户需要在终端上执行多次操作,才能建立蓝牙耳机与用户所需的终端之间的蓝牙连接,整个连接过程耗时较长,操作较为繁琐,用户的使用体验不高。
发明内容
本申请提供一种建立通信连接的方法及可穿戴设备,可简单、快捷的完成设备之间通信连接的建立过程,简化操作流程,提高用户的使用体验。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种建立通信连接的方法,包括:可穿戴设备可先与第一终端建立第一ACL链路;后续,如果可穿戴设备通过振动传感器检测到用户输入预设的敲击操作,可穿戴设备可根据保存的标识信息向N个终端(这N个终端中不包括第一终端,N≥1)发送测量信号;上述N个终端中接收到测量信号的M(1≤M≤N)个终端可反馈响应信号,使得可穿戴设备可接收到来自M个终端的M个响应信号,该响应信号与终端的RSSI关联;当终端的RSSI越大时,说明该终端距离可穿戴设备的距离越近,那么,可穿戴设备可将上述M个终端及第一终端中RSSI最大的终端确定为本次需要连接的第二终端;进而,可穿戴设备可断开与第一终端之间的第一ACL链路,建立与第二终端之间的第二ACL链路。
可以看出,用户通过执行一次简单的敲击操作,便可以触发可穿戴设备快速将蓝 牙连接设备从第一终端切换为第二终端,从而简化了设备之间建立蓝牙连接时的操作流程,提高了用户的使用体验。并且,上述方法无需对终端的硬件或软件进行修改,使得上述方法可适用现有的各类终端设备,从而提高了上述方法的使用场景。
在一种可能的实现方式中,上述测量信号为寻呼信号,例如,page request。
在一种可能的实现方式中,上述预设的敲击操作包括:用户使用手指或指关节敲击可穿戴设备的操作;用户使用可穿戴设备敲击第二终端的操作;或者,用户使用可穿戴设备敲击第二终端周围物体的操作。也就是说,在预设的敲击操作中敲击蓝牙耳机的对象可以为用户手指、指关节、需要切换的终端或需要切换的终端附近的任意物体,本申请实施例对此不做任何限制。
在一种可能的实现方式中,在可穿戴设备接收来自M个终端响应该测量信号产生的M个响应信号之后,还包括:可穿戴设备可分别计算上述M个响应信号中每个响应信号的信号强度,从而得到M个终端中每个终端的RSSI。或者,终端也可以在发送的响应信号中携带自身的RSSI,使得可穿戴设备可从每个终端发送的响应信号获取到对应终端的RSSI。
另外,可穿戴设备还可以基于上述第一ACL链路获取第一终端的RSSI。这样,可穿戴设备可在上述M个终端和第一终端中确定RSSI最大的第二终端。
第二方面,本申请提供一种建立通信连接的方法,包括:可穿戴设备通过振动传感器检测到用户输入预设的敲击操作;响应于该敲击操作,可穿戴设备可向N个终端发送测量信号,N>1;上述N个终端中接收到测量信号的M(1≤M≤N)个终端可反馈响应信号,使得可穿戴设备接收到来自M个终端分别发送的M个响应信号,该响应信号与终端的信号强度关联;当终端的信号强度越大时,说明该终端距离可穿戴设备的距离越近,那么,可穿戴设备可将上述M个终端中信号强度最大的终端确定为本次需要连接的第一终端;进而,可穿戴设备与第一终端建立短距离无线通信连接。
也就是说,无论可穿戴设备是否已经与某一终端建立了短距离无线通信连接,可穿戴设备均可响应用户输入的敲击操作,检测到距离可穿戴设备最近的终端,并与该终端建立连接,从而简化了设备之间建立短距离无线通信连接时的操作流程,提高了用户的使用体验。
在一种可能的实现方式中,可穿戴设备通过振动传感器检测到用户输入预设的敲击操作,包括:可穿戴设备使用振动传感器采集接收到的振动信号;当该振动信号的振动特征与预设的敲击操作的振动特征相符时,可穿戴设备可确定用户输入了预设的敲击操作。
在一种可能的实现方式中,上述预设的敲击操作包括:用户使用手指或指关节敲击可穿戴设备的操作;用户使用可穿戴设备敲击第一终端的操作;或者,用户使用可穿戴设备敲击第一终端周围物体的操作。
在一种可能的实现方式中,可穿戴设备向N个终端发送测量信号,包括:可穿戴设备可按照这N个终端中每个终端的标识信息(例如配对信息),向对应的终端发送测量信号。
在一种可能的实现方式中,可穿戴设备确定第一终端,包括:可穿戴设备可基于接收到的M个响应信号计算这M个终端中每个终端的信号强度(例如RSSI);进而, 可穿戴设备可将信号强度最大的终端确定为第一终端。
在一种可能的实现方式中,上述信号强度是指:信号强度绝对值与预设的信号强度标准值之间的比值。
第三方面,本申请提供一种建立通信连接的方法,包括:终端通过振动传感器接收用户输入的第一敲击操作;当第一敲击操作为预设的敲击操作时,终端启动预设的进程开始等待测量信号;终端接收可穿戴设备发送的测量信号;响应于该测量信号,终端与可穿戴设备建立短距离无线通信连接。
也就是说,终端也可通过振动传感器检测到用户执行的敲击操作,那么,蓝牙耳机发送测量信号后无需再确定各个终端的信号强度,检测到敲击操作的终端可主动作为连接设备与蓝牙耳机建立蓝牙连接,从而缩短了蓝牙耳机连接终端时所耗费的时间。并且,用户通过执行一次简单的敲击操作,便可以触发蓝牙耳机快速地与相应的终端建立通信连接,从而简化了设备之间建立通信连接时的操作流程,提高了用户的使用体验。
在一种可能的实现方式中,上述预设的敲击操作为:用户使用可穿戴设备敲击终端的操作。
在一种可能的实现方式中,在终端通过振动传感器接收用户输入的第一敲击操作之后,还包括:当第一敲击操作的振动特征与预设的敲击操作的振动特征相符时,终端可确定第一敲击操作为预设的敲击操作。
在一种可能的实现方式中,在终端与可穿戴设备建立短距离无线通信连接之前,还包括:终端获取可穿戴设备采集到的第二敲击操作的振动信号;其中,终端响应测量信号自动与可穿戴设备建立短距离无线通信连接,包括:当第二敲击操作的振动信号与第一敲击操作的振动信号来自同一敲击操作时,说明用户使用蓝牙耳机敲击了该终端,即用户希望该终端作为蓝牙耳机的连接设备,此时,终端可与可穿戴设备建立短距离无线通信连接。
在一种可能的实现方式中,上述短距离无线通信连接可以为蓝牙连接,上述测量信号可以为寻呼信号。
第四方面,本申请提供一种可穿戴设备,包括:振动传感器,所述振动传感器用于采集所述可穿戴设备产生的振动信号;一个或多个处理器;通信模块;存储器,所述存储器中存储有一个或多个计算机程序,当可穿戴设备运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使可穿戴设备执行上述任一项所述的建立通信连接的方法。
第五方面,本申请提供一种终端,包括:振动传感器,所述振动传感器用于采集所述可穿戴设备产生的振动信号;触摸屏;一个或多个处理器;通信模块;存储器,所述存储器中存储有一个或多个计算机程序,当终端运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使可终端执行上述任一项所述的建立通信连接的方法。
第六方面,本申请提供一种计算机存储介质,包括计算机指令,当计算机指令在上述可穿戴设备或终端上运行时,使得可穿戴设备或终端执行上述任一项所述的建立通信连接的方法。
第七方面,本申请提供一种计算机程序产品,当计算机程序产品在上述可穿戴设备或终端上运行时,使得可穿戴设备或终端执行上述任一项所述的建立通信连接的方法。
第八方面,本申请提供一种芯片系统,该芯片系统包括至少一个处理器和至少一个接口电路;接口电路用于读取存储器中存储的指令,并将指令发送给处理器;当指令被处理器执行时,使得上述可穿戴设备或终端执行上述任一项所述的建立通信连接的方法。
可以理解地,上述提供的可穿戴设备、终端、计算机存储介质、计算机程序产品以及芯片系统均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种通信系统的架构示意图;
图2为本申请实施例提供的一种可穿戴设备的结构示意图一;
图3为本申请实施例提供的一种终端的结构示意图一;
图4为本申请实施例提供的一种建立通信连接的方法的交互示意图一;
图5为本申请实施例提供的一种建立通信连接的方法的场景示意图一;
图6为本申请实施例提供的一种建立通信连接的方法的场景示意图二;
图7为本申请实施例提供的一种建立通信连接的方法的交互示意图二;
图8为本申请实施例提供的一种建立通信连接的方法的场景示意图三;
图9为本申请实施例提供的一种可穿戴设备的结构示意图二;
图10为本申请实施例提供的一种终端的结构示意图二;
图11为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
下面将结合附图对本实施例的实施方式进行详细描述。
示例性的,本申请实施例提供的一种建立通信连接的方法可应用图1所示的通信系统100中。通信系统100中可以包括可穿戴设备101以及一个或多个终端102。
其中,上述可穿戴设备101可以是无线耳机、智能手环、智能手表或智能眼镜等设备。上述终端102可以是手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、个人数字助理(personal digital assistant,PDA)等设备,本申请实施例对此不做任何限制。
在通信系统100中,可穿戴设备101可分别与上述一个或多个终端102建立短距离无线通信连接,实现可穿戴设备101与终端102之间的通信功能。例如,可穿戴设备101可与终端102建立蓝牙连接、Wi-Fi(wireless fidelity,无线保真)连接、ZigBee(紫蜂协议)连接或NFC(near field communication,近场通信)连接等通信连接。当然,可穿戴设备101还可以通过蜂窝网络互联或转接设备(例如,USB数据线或Dock设备)建立通信连接,本发明实施例对此不作任何限制。
如图2所示,可穿戴设备101中可设置振动传感器201。振动传感器201可用于检测可穿戴设备101产生的振动信号。例如,该振动传感器201可以为加速度传感器 或陀螺仪等,本申请实施例对此不做任何限制。
在本申请实施例中,用户可以通过可穿戴设备101与终端102产生敲击或碰撞的方式,触发可穿戴设备101自动与本次被敲击或被碰撞的终端102建立短距离无线通信连接。
例如,以蓝牙耳机为上述可穿戴设备101举例,一对蓝牙耳机可以包括左耳塞和右耳塞。以蓝牙耳机中的某一耳塞(例如左耳塞)为例,如图2所示,可以在左耳塞中设置振动传感器201,振动传感器201可用于采集左耳塞产生的振动信号。并且,可预先设置使用蓝牙耳机的左耳塞连续敲击某一终端102两下可触发蓝牙耳机与该终端102(例如手机A)建立蓝牙连接。
示例性的,可将左耳塞中的振动传感器201设置为常开状态(always on),振动传感器201可持续采集左耳塞产生的振动信号。一般,在蓝牙耳机的左耳塞上执行两次敲击操作而导致左耳塞产生的振动信号通常具有固定的振动特征。例如,在左耳塞上执行两次敲击操作时,振动传感器201所产生的波形特征通常是一定的。因此,当振动传感器201采集到的振动信号符合预设的振动特征时,说明此时用户使用蓝牙耳机的左耳塞对某一终端敲击了两次,此时用户希望建立蓝牙耳机与被敲击的终端之间的蓝牙连接。
示例性的,蓝牙耳机内可存储有一个或多个终端的标识信息。例如,该标识信息可以是:已经与蓝牙耳机完成蓝牙配对的一个或多个终端的配对信息,例如,该配对信息可以包括终端的MAC(media access control,介质访问控制)地址、设备名称等标识。当检测到用户使用左耳塞执行了预设的敲击两次的操作后,蓝牙耳机可根据存储的各个终端的标识,向一个或多个终端102发送测量信号,以确定本次需要与蓝牙耳机建立蓝牙连接的连接设备。示例性的,如果蓝牙耳机中存储有手机A和手机B的配对信息,说明蓝牙耳机曾经与手机A和手机B均建立完成了蓝牙配对过程。那么,蓝牙耳机检测到用户执行了预设的敲击两次的操作后,可根据手机A的配对信息向手机A发送测量信号,并根据手机B的配对信息向手机B发送测量信号。例如,蓝牙耳机向手机A和手机B发送的测量信号具体可以为蓝牙设备发起的寻呼信号(page request)。
另外,现有的蓝牙设备中均保留有回连机制,即蓝牙设备的蓝牙功能开启后可自动回连最近一次的连接设备。例如,用户打开蓝牙耳机后,蓝牙耳机可自动回连最近一次连接的笔记本1。如果蓝牙耳机没有与笔记本1回连成功,且检测到用户执行了预设的敲击操作,则蓝牙耳机可按照上述方法根据终端的标识向各个终端发送测量信号。
仍以蓝牙耳机向手机A和手机B发送测量信号举例,手机A和手机B接收到蓝牙耳机发送的测量信号后,可向蓝牙耳机发送对应的响应信号,该响应信号可反映出发送方(即对应终端)的信号强度。例如,该响应信号可以为page response信号。例如,手机A可响应测量信号向蓝牙耳机发送第一响应信号,手机B可响应测量信号向蓝牙耳机发送第二响应信号。
一般,用户希望蓝牙耳机连接的设备为蓝牙耳机所敲击的终端。并且,用户使用蓝牙耳机敲击某一终端时该终端与蓝牙耳机之间的距离一般很近。而当蓝牙耳机接收 到的响应信号的信号强度越大时,发送该响应信号的终端的信号强度越大,说明蓝牙耳机与发送该响应信号的终端之间的距离越近。那么,蓝牙耳机可将信号强度最大的终端确定为本次需要与蓝牙耳机建立蓝牙连接的连接设备。例如,当上述第一响应信号的信号强度大于第二响应信号的信号强度时,说明手机A的信号强度大于手机B的信号强度,蓝牙耳机可将发送第一响应信号的手机A确定为本次需要与蓝牙耳机建立蓝牙连接的连接设备。进而,蓝牙耳机可按照标准的蓝牙协议建立蓝牙耳机与手机A之间的ACL(asynchronous connection less,异步无连接)链路,从而在蓝牙耳机与手机A之间实现蓝牙连接。
另外,在蓝牙耳机与其他终端(例如手机C)已经建立了蓝牙连接的场景下,用户也可以通过执行预设的敲击操作,触发蓝牙耳机按照上述方法将其连接设备从手机C切换为新的连接设备(例如手机A)。
也就是说,用户通过执行一次简单的敲击操作,便可以触发可穿戴设备快速与相应的连接设备建立短距离无线通信连接,从而简化了设备之间建立短距离无线通信连接时的操作流程,提高了用户的使用体验。并且,上述建立短距离无线通信连接的方法无需对连接设备的硬件或软件进行修改,使得上述建立短距离无线通信连接的方法可适用现有的各类终端设备,从而提高了上述短距离无线通信连接建立方法的使用场景。
进一步地,仍以蓝牙耳机为上述可穿戴设备101举例,该蓝牙耳机具体可以为真无线立体声(true wireless stereo,TWS)耳机,也可以是具有连接线的无线耳机等,本申请实施例对此不做任何限制。
如图2所示,蓝牙耳机的耳塞中除了上述振动传感器201之外,还可以包括处理器202、存储器203、无线通信模块204、音频模块205、受话器206、麦克风207以及电源208等。
其中,存储器203可以用于存储应用程序代码,如用于与蓝牙耳机的另一只耳塞建立无线连接,以及使得耳塞与上述终端102进行配对连接的应用程序代码。处理器202可以控制执行上述应用程序代码,以实现本申请实施例中蓝牙耳机的耳塞的功能。例如,实现测量蓝牙耳机与电子设备之间的链路的信道质量、待传输数据量等。
存储器203中还可以存储有用于唯一标识该耳塞的蓝牙地址,以及存储有蓝牙耳机的另一只耳塞的蓝牙地址。另外,该存储器203中还可以存储有与该耳塞之前成功配对过的终端102的配对历史。例如,该配对历史可以包括与该耳塞成功配对过的终端102的蓝牙地址。基于该配对历史,该耳塞能够自动回连至已配对的终端102。上述蓝牙地址可以为媒体访问控制(media access control,MAC)地址。
无线通信模块204,用于支持当前耳塞与蓝牙耳机的另一只耳塞以及与各种终端102之间的无线数据交换。在一些实施例中,该无线通信模块204可以为蓝牙收发器。蓝牙耳机的耳塞可以通过该蓝牙收发器与上述终端102之间建立无线连接,以实现两者之间的短距离数据交换。例如,交换音频数据、交换控制数据等。
音频模块205用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块205还可以包括编码器和解码器,用于对音频信号进行编码和解码。在一些实施例中,音频模块205可以设置于处理器202中,或将 音频模块205的部分功能模块设置于处理器202中。
至少一个受话器206,也可以称为“听筒”,可以用于将音频电信号转换成声音信号并播放。例如,当蓝牙耳机的耳塞作为上述终端102的音频输出设备时,受话器206可以将接收到的音频电信号转换为声音信号并播放。
至少一个麦克风207,也可以称为“话筒”,“传声器”,用于将声音信号转换为音频电信号。例如,当蓝牙耳机的耳塞作为上述终端102的音频输入设备时,在用户说话(如通话或发语音消息)的过程中,麦克风207可以采集用户的声音信号,并将其转换为音频电信号。上述音频电信号即为本申请实施例中的音频数据。
电源208,可以用于向蓝牙耳机的耳塞包含的各个部件供电。在一些实施例中,该电源208可以是电池,如可充电电池。通常,蓝牙耳机会配有一耳机盒。该耳机盒可以用于收纳蓝牙耳机的左右耳塞。该耳机盒可以用于收纳蓝牙耳机的左耳塞和右耳塞。在一些实施例中,该耳机盒上可以设置有至少一个触摸控件,可以用于触发蓝牙耳机与终端102重新配对等操作。该耳机盒上还可以设置有充电口,用于耳机盒自身进行充电。又例如,该耳机盒还可以为蓝牙耳机的左右耳塞充电。可以理解的是,该耳机盒上还可以包括其他控件,此处不再一一说明。
可以理解的是,本申请实施例示意的结构并不构成对蓝牙耳机的具体限定。其可以具有比图2中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。例如,蓝牙耳机中还可以包括:距离传感器、接近光传感器、指示灯(可以指示耳塞的电量等状态)、显示屏(可以提示用户相关信息)、防尘网(可以配合听筒使用)、马达等部件。图2中所示出的各种部件可以在包括一个或多个信号处理或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
如图3所示,上述通信系统100中的终端102具体可以为手机。手机中可以包括处理器110,外部存储器接口120,内部存储器121,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,摄像头193以及显示屏194等。
可以理解的是,本发明实施例示意的结构并不构成对手机的具体限定。在本申请另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。处理器110中还可以设置存储器,用于存储指令和数据。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal  asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括一个或多个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成一个或多个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。
手机通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏194,N为大于1的正整数。
手机可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理 器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。在一些实施例中,手机100可以包括1个或N个摄像头,N为大于1的正整数。摄像头193可以是前置摄像头也可以是后置摄像头。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机可以支持一种或多种视频编解码器。这样,手机可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得手机执行本申请一些实施例中所提供的联系人智能推荐的方法,以及各种功能应用和数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储手机使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在另一些实施例中,处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,来使得手机执行本申请实施例中所提供的智能推荐号码的方法,以及各种功能应用和数据处理。
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机可以设置一个或多个麦克风170C。在另一些实施例中,手机可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等,本申请实施例对此不做任何限制。
以下,将结合附图对本申请实施例提供的一种建立通信连接的方法进行具体介绍。以下实施例中均以蓝牙耳机作为上述可穿戴设备101,并以蓝牙耳机的配对设备包括手机A和手机B举例说明。
图4为本申请实施例提供的一种建立通信连接的方法的流程示意图。如图4所示,该方法可以包括:
S401、蓝牙耳机播放来自手机A的音频内容,蓝牙耳机与手机A已建立蓝牙连接。
示例性的,当用户希望使用蓝牙耳机播放手机A中的音频内容时,可开启蓝牙耳机以及手机A中的蓝牙功能,并建立手机A与蓝牙耳机之间的蓝牙连接。例如,如图5所示,手机A可在蓝牙功能的设置界面501中显示曾经连接过的蓝牙设备列表。蓝牙设备列表中的一个或多个蓝牙设备均为曾经与手机A完成蓝牙配对的蓝牙设备。手机A每次与新的蓝牙设备配对成功后,手机A可将该蓝牙设备添加至上述蓝牙设备列表中。并且,手机A可存储每个已配对的蓝牙设备的配对信息,即蓝牙设备的标识信息。例如,该配对信息可以包括蓝牙设备的名称、蓝牙设备的MAC地址等,本申请实施例对此不做任何限制。
如果蓝牙耳机位于手机A显示的上述蓝牙设备列表中,则用户打开蓝牙耳机后,可在上述设置界面501中选择该蓝牙耳机(例如上述蓝牙设备列表中“我的耳机”这一选项)。进而,手机A可根据已保存的蓝牙耳机的配对信息,向蓝牙耳机发送寻呼信号(page request)。蓝牙耳机接收到手机A发来的page request后,由于蓝牙耳机中也存储有手机A的配对信息,因此,蓝牙耳机可向手机A发送对应的响应信号(page response)。手机A接收到蓝牙耳机发来的page response后,可与蓝牙耳机建立第一ACL链路,实现手机A与蓝牙耳机之间的蓝牙连接。
当然,如果手机A未曾与蓝牙耳机建立过蓝牙连接,则手机A搜索到该蓝牙耳机后可先与蓝牙耳机进行配对,再按照上述蓝牙连接的建立流程与蓝牙耳机建立蓝牙连接,本申请实施例对此不做任何限制。
蓝牙耳机与手机A建立了蓝牙连接后,手机A可作为蓝牙耳机的连接设备,向蓝牙耳机输出手机A中的音频内容,由蓝牙耳机向用户播放该音频内容。
S402、蓝牙耳机检测到用户输入预设的敲击操作。
在蓝牙耳机播放手机A中音频内容的同时,如果用户希望将该蓝牙耳机的连接设备从手机A切换为手机B,则如图6所示,用户可使用蓝牙耳机(例如一对蓝牙耳机中的左耳塞或右耳塞)对手机B执行预设的敲击操作。在一些实施例中,该预设的敲击操作可以为用户使用蓝牙耳机敲击等待连接的终端(例如手机B)的操作。例如,该预设的敲击操作具体可以为使用蓝牙耳机连续敲击两下手机B的操作。该预设的敲击操作用于触发蓝牙耳机将其连接设备从已连接的手机A切换为手机B。
示例性的,蓝牙耳机中可设置加速度传感器等振动传感器。蓝牙耳机开启后,蓝牙耳机可控制加速度传感器以一定的工作频率采集当前的振动信号。进而,蓝牙耳机可实时从采集到的振动信号中提取对应的振动特征。如果某一时间提取到的振动特征与预设的敲击操作的振动特征相符,则蓝牙耳机可确定用户此时输入了预设的敲击操作。
例如,蓝牙耳机可从采集到的振动信号中实时提取对应的振动波形。蓝牙耳机可使用预设的波形算法分析提取到的振动波形是否为蓝牙耳机连续敲击两下产生的振动波形。如果取到的振动波形是蓝牙耳机连续敲击两下产生的振动波形,则蓝牙耳机可确定用户此时使用蓝牙耳机向某一终端连续敲击了两下。进而,蓝牙耳机可通过执行下述步骤S403-S404确定蓝牙耳机需要切换的新的连接设备。
在另一些实施例中,除了将使用蓝牙耳机敲击其他终端作为预设的敲击操作外,还可以将用户手指或指关节敲击蓝牙耳机的操作设置为预设的敲击操作。也就是说,当用户希望更换蓝牙耳机的连接设备时,用户无需摘下耳机,可直接在佩戴的蓝牙耳机上执行预设的敲击操作(例如指关节敲击蓝牙耳机一下),从而触发蓝牙耳机通过执行下述步骤S403-S404确定蓝牙耳机需要切换的新的连接设备。
又或者,如果用户希望将该蓝牙耳机的连接设备从手机A切换为手机B,用户还可以使用蓝牙耳机在手机B附近执行敲击操作,例如,使用蓝牙耳机敲击手机B附近的桌面两下。此时,上述预设的敲击操作是指用户使用蓝牙耳机在需要连接的终端附近执行的敲击操作。同样,蓝牙耳机检测到该预设的敲击操作后,可通过执行下述步骤S403-S404确定蓝牙耳机需要切换的新的连接设备。
可以看出,在预设的敲击操作中敲击蓝牙耳机的对象可以为用户手指、指关节、需要切换的终端或需要切换的终端附近的任意物体,本申请实施例对此不做任何限制。
S403、响应于上述敲击操作,蓝牙耳机向手机B发送测量信号。
蓝牙耳机检测到用户输入了预设的敲击操作后,说明用户希望更换蓝牙耳机当前的连接设备。但此时蓝牙耳机无法确定用户希望更换的新的连接设备具体是哪一个终端。
对此,在步骤S403中,为了确定蓝牙耳机此时需要更换的连接设备,蓝牙耳机可向已配对的一个或多个蓝牙设备分别发送测量信号。与图5中所示的手机A的蓝牙设备列表类似的,蓝牙耳机中也可存储已配对的一个或多个蓝牙设备的配对信息。以蓝牙耳机中保存有手机B的配对信息举例,为了确定此时蓝牙耳机需要更换的连接设备,蓝牙耳机可根据手机B的配对信息向手机B发送测量信号。例如,该测量信号可以为寻呼信号(page request)。
当然,如果蓝牙耳机中还保存有手机C等其他终端的标识信息,则蓝牙耳机也可根据其标识信息向这些终端发送测量信号。另外,由于蓝牙耳机已经与手机A建立了蓝牙连接,蓝牙耳机能够通过该蓝牙耳机与手机A交互从而获取到手机A的信号强度等信息,因此,蓝牙耳机检测到上述敲击操作后,无需向手机A发送测量信号。
示例性的,蓝牙耳机可按照建立ACL链路的流程,向手机B发送寻呼信号(page request),该寻呼信号即为上述测量信号。同时,手机B开启蓝牙功能后可以接收到其他设备发来的寻呼信号。
那么,手机B接收到蓝牙耳机发来的寻呼信号(即测量信号)后,可响应该寻呼信号向蓝牙耳机发送page response(即响应信号)。进而,蓝牙耳机可继续执行下述步骤S404-S405。
S404、蓝牙耳机确定手机A和手机B的信号强度。
S405、若手机B的信号强度最大,则蓝牙耳机断开与手机A之间的蓝牙连接,与手机B建立蓝牙连接。
在步骤S404中,蓝牙耳机接收到其他蓝牙设备(例如上述手机B)发来的响应信号后,由于手机B发来的响应信号与手机B的信号强度是关联的,因此,蓝牙耳机可根据该响应信号确定手机B的信号强度,例如,手机B的RSSI(received signal strength indication,信号强度指示)。例如,蓝牙耳机可基于手机B发来的响应信号按照预设的公式计算手机B的RSSI。又或者,如果手机B发来的响应信号中携带有手机B的RSSI,则蓝牙耳机可从该响应信号的预设字段中获取手机B的RSSI。
并且,由于蓝牙耳机与手机A之间已经建立有蓝牙连接,因此,蓝牙耳机可基于该蓝牙连接获取手机A的信号强度,例如,手机A的RSSI。
当用户使用蓝牙耳机在新的连接设备上执行了预设的敲击操作时,蓝牙耳机与该新的连接设备之间的距离一般较近。当两个设备的距离越近时,两个设备进行信号交互时的信号强度也会相应增大。相应的,当两个设备的距离越远时,两个设备进行信号交互时信号强度的衰减逐渐增大。如表1所示,以设备1向设备2发送信号举例,设备1的信号发射功率F为2400Hz。当设备1与设备2之间的距离从0.1m增加至1m的过程中,设备1发送的信号的衰减值逐渐增大,即设备1发送的信号强度逐渐减小。
表1
说明 Los(衰减值/dB) D(距离/m) F(发射功率/Hz)
0.1m的衰减 20.04422483 0.1 2400
0.2m的衰减 26.06482475 0.2 2400
0.3m的衰减 29.58664993 0.3 2400
0.4m的衰减 32.08542466 0.4 2400
0.5m的衰减 34.02362492 0.5 2400
1.0m的衰减 40.04422483 1.0 2400
蓝牙耳机接收到一个或多个蓝牙设备发来的响应信号后,可分别获取每个响应信号的信号强度,从而得到与每个响应信号对应的每个蓝牙设备的信号强度。并且,蓝牙耳机可从已连接的手机A中获取手机A的信号强度。进而,蓝牙耳机可在这多个蓝 牙设备中将信号强度最大的蓝牙设备确定为新的连接设备。
在另一些实施例中,上述响应信号除了可以为page response外,还可以为BLE(bluetooh low energy,蓝牙低功耗)广播。示例性的,如果手机A和手机B为BLE蓝牙设备,则手机A和手机B可基于BLE协议周期性的以BLE广播的形式发送advertising data(广播数据)。advertising data用于指示当前BLE蓝牙设备处于可被连接的状态。那么,蓝牙耳机接收到手机A和手机B发来的advertising data后,可分别计算手机A和手机B发来的advertising data的信号强度,从而确定出手机A和手机B的信号强度。进而,蓝牙耳机可将信号强度最大的蓝牙设备确定为新的连接设备。
示例性的,蓝牙耳机接收到手机B发来的响应信号后,可计算该响应信号的RSSI。蓝牙耳机可将该响应信号的RSSI作为手机B的RSSI。并且,蓝牙耳机可从手机A中获取手机A的RSSI。或者,蓝牙耳机可根据手机A发来的蓝牙信号计算手机A的RSSI。如果检测到手机B的RSSI大于手机A的RSSI,说明蓝牙耳机与手机B的距离更近,用户很可能使用蓝牙耳机在手机B上执行了预设的敲击操作。进而,蓝牙耳机可将手机B确定为本次需要建立蓝牙连接的连接设备。
那么,在步骤S405中,蓝牙耳机可断开与手机A之间已建立的第一ACL链路,并建立与手机B之间的第二ACL链路,即将蓝牙耳机的连接设备从手机A切换为手机B。这样,用户便可使用蓝牙耳机基于第二ACL链路播放手机B中的音频内容。
相应的,如果检测到手机A的RSSI大于手机B的RSSI,说明用户很可能使用蓝牙耳机在手机A上执行了预设的敲击操作。但由于蓝牙耳机已经与手机A建立了第一ACL链路,因此,蓝牙耳机可继续保持与手机A之间的第一ACL链路,无需切换当前的连接设备。
在另一些实施例中,不同蓝牙设备在向蓝牙耳机发送上述响应信号时设置的信号发射功率可能不同,那么,在一些场景中,虽然手机A向蓝牙耳机发送的第一响应信号的信号强度大于手机B向蓝牙耳机发送的第二响应信号的信号强度,但由于手机A的信号发射功率大于手机B的信号发射功率,因此,在手机A与蓝牙耳机的距离大于手机B与蓝牙耳机的距离时,蓝牙耳机接收到的第一响应信号的信号强度也有可能大于第二响应信号的信号强度。这样一来,蓝牙耳机根据信号强度的实测值确定出的连接设备可能存在不准确的情况。
对此,蓝牙耳机获取到与各个响应信号对应的信号强度的实测值后,可以计算各个响应信号的相对信号强度,进而将相对信号强度最大的响应信号所对应的蓝牙设备确定为新的连接设备。其中,相对信号强度是指:信号强度的实测值与预设的信号强度标准值之间的比值。一般,不同类型或不同型号的设备的信号强度标准值是不同的。示例性的,该信号强度标准值可以是该设备标称的最大信号强度,也可以是实际检测出的该设备的最大信号强度。
例如,手机A发射的信号强度标准值为1000dBm,手机B发射的信号强度标准值为800dBm。如果检测到手机A发送的第一响应信号的信号强度(即第一响应信号强度的实测值)为600dBm,则第一响应信号的相对信号强度=600dBm/1000dBm=0.6。如果检测到手机B发送的第二响应信号的信号强度(即第二响应信号强度的实测值)为500dBm,则第二响应信号的相对信号强度=500dBm/800dBm=0.625。
可以看出,虽然第一响应信号强度的实测值(600dBm)大于第二响应信号强度的实测值(500dBm),但第一响应信号的相对信号强度(0.6)小于第二响应信号的相对信号强度(0.625),实际手机B与蓝牙耳机之间的距离更近。因此,蓝牙耳机可确定发送第二响应信号的手机B为新的连接设备。
其中,各个设备或各类设备的信号强度标准值可预先存储在蓝牙耳机中。这样,蓝牙耳机检测出每个响应信号的信号强度的实测值后,可查找对应的信号强度标准值,进而计算该响应信号的相对信号强度。这样,通过对比不同响应信号的相对信号强度,蓝牙耳机可以更加准确的确定出本次需要建立蓝牙连接的连接设备。
在本申请的另一些实施例中,还可以在蓝牙耳机所敲击的设备(例如上述手机A或手机B)中设置振动传感器。这样,用户使用蓝牙耳机向新的连接设备(例如手机B)输入预设的敲击操作时,不仅蓝牙耳机可以检测到该敲击操作,手机B也可检测到该敲击操作。那么,手机B也可主动与蓝牙耳机建立蓝牙连接,从而缩短建立或切换蓝牙连接时的耗时。
示例性的,如图7所示,本申请实施例提供的一种建立通信连接的方法包括:
S701、蓝牙耳机播放来自手机A的音频内容,蓝牙耳机与手机A已建立蓝牙连接。
与步骤S401类似的,在步骤S701中,用户可将手机A作为蓝牙耳机的连接设备,建立手机A与蓝牙耳机之间的第一ACL链路。进而,用户可使用蓝牙耳机基于第一ACL链路播放手机A中的音频内容。
S702、蓝牙耳机检测到用户输入预设的敲击操作。
示例性的,用户可使用蓝牙耳机对需要切换的连接设备输入预设的敲击操作,以触发蓝牙耳机与新的连接设备建立蓝牙连接。
与步骤S402类似的,在步骤S702中,蓝牙耳机中设置有振动传感器,蓝牙耳机可使用该振动传感器采集蓝牙耳机上产生的振动信号。并且,蓝牙耳机可从采集到的振动信号中提取对应的振动特征。如果某一时间提取到的振动特征与预设的敲击操作的振动特征相符,则蓝牙耳机可确定用户此时输入了预设的敲击操作,说明用户此时希望将蓝牙耳机连接至新的连接设备中。
S703、手机B检测到用户输入预设的敲击操作。
在步骤S703中,还可以在蓝牙耳机的候选连接设备(例如手机B)中设置上述振动传感器。这样,当用户可使用蓝牙耳机对手机B输入预设的敲击操作时,手机B中的振动传感器也可以采集到相应的振动信号。进而,手机B也可以从采集到的振动信号中提取对应的振动特征。如果提取到的振动特征与预设的敲击操作的振动特征相符,则手机B可确定用户此时输入了预设的敲击操作,说明用户此时希望将手机B作为蓝牙耳机的连接设备与蓝牙耳机连接。
手机B检测到用户输入预设的敲击操作后,可将该敲击操作上报给应用层中蓝牙功能的相关应用。进而,该应用可启动预设的进程将手机B设置为主设备(Master),等待其他蓝牙设备发来的寻呼信号触发手机B主动与其他蓝牙设备建立蓝牙连接。
S704、响应于上述敲击操作,蓝牙耳机向手机B发送寻呼信号。
与步骤S403类似的,在步骤S704中,蓝牙耳机检测到用户输入了预设的敲击操作后,可按照现有的蓝牙连接的建立流程,根据保存的一个或多个蓝牙设备的标识信 息(例如配对信息)向对应的蓝牙设备发送寻呼信号。
以蓝牙耳机保存有手机B的配对信息举例,蓝牙耳机检测到用户输入了预设的敲击操作后,可根据手机B的配对信息向手机B发送寻呼信号(page request)。
S705、响应于上述寻呼信号,手机B自动与蓝牙耳机建立蓝牙连接。
在步骤S705中,由于在步骤S703中手机B通过检测预设的敲击操作已经确定出有其他设备需要与自身(即手机B)建立通信连接,手机B以切换为主设备模式等待接收寻呼信号。那么,手机B接收到蓝牙耳机发来的寻呼信号后,可确定本次需要与手机B建立通信连接的设备为蓝牙耳机。相应的,其他接收到寻呼信号的蓝牙设备由于在接收到寻呼信号之前并没有检测到用户输入预设的敲击操作,因此,这些蓝牙设备在接收到蓝牙耳机发来的寻呼信号之后可以不响应该寻呼信号。
进而,手机B可作为主设备(master)与蓝牙耳机建立第二ACL链路,实现蓝牙耳机与手机B之间的蓝牙连接。手机B与蓝牙耳机建立蓝牙连接时,蓝牙耳机可自动断开与手机A之间的第一ACL链路。
在一些实施例中,为了避免手机B接收到寻呼信号后与错误的蓝牙设备建立蓝牙连接,手机B在接收到蓝牙耳机发来的寻呼信号后,还可以从蓝牙耳机中获取用户输入上述预设的敲击操作时产生的振动信号或振动特征。进而,手机B可对比手机B产生的振动信号(即第一振动信号)与蓝牙耳机产生的振动信号(即第二振动信号),从而判断这两个振动信号是否为同一敲击操作产生的。例如,当手机B产生的振动信号与蓝牙耳机产生的振动信号相同时,可确定这两个振动信号来自同一敲击操作。如果判断出这两个振动信号来自同一敲击操作,说明用户希望手机B连接的设备为该蓝牙耳机,则手机B可主动与蓝牙耳机建立蓝牙连接,从而将蓝牙耳机的连接设备从手机A切换为手机B。
在上述建立通信连接的方法中,由于蓝牙耳机的各个候选连接设备也可以检测到用户更换连接设备时执行的敲击操作,因此,蓝牙耳机无需对多个候选连接设备的信号强度进行测量和计算,检测到敲击操作的候选连接设备可主动作为新的连接设备与蓝牙耳机建立蓝牙连接,从而缩短了蓝牙耳机切换连接设备时所耗费的时间。并且,用户通过执行一次简单的敲击操作,便可以触发蓝牙耳机快速地与相应的连接设备建立通信连接,从而简化了设备之间建立通信连接时的操作流程,提高了用户的使用体验。
需要说明的是,上述实施例中是以蓝牙耳机作为可穿戴设备举例,以蓝牙耳机在手机A和手机B中切换连接设备为应用场景举例说明的。可以理解的是,上述建立通信连接的方法可应用在多种可穿戴设备以及多种应用场景中。
例如,如图8中的(a)所示,蓝牙耳机与手机A建立蓝牙连接后,蓝牙耳机的蓝牙连接状态处于一个稳定状态。如果用户希望将蓝牙耳机的连接设备切换为笔记本B,如图8中的(b)所示,用户可使用蓝牙耳机在笔记本B上执行预设的敲击操作。与上述实施例类似的,蓝牙耳机可响应该敲击操作确定本次需要更换的连接设备为笔记本B,此时,蓝牙耳机的蓝牙连接状态处于切换状态中。进而,如图8中的(c)所示,蓝牙耳机可与新的连接设备(即笔记本B)建立蓝牙连接,蓝牙耳机的蓝牙连接状态再次切换到一个稳定状态。
又例如,在蓝牙耳机与手机A已建立蓝牙连接时,如果用户在汽车内希望使用蓝牙耳机播放车载设备中的音频内容,则用户可使用蓝牙耳机在车载设备上执行预设的敲击操作。同样,蓝牙耳机可响应该敲击操作确定本次需要更换的连接设备为车载设备,进而与车载设备建立蓝牙连接。
又例如,对于智能手环、智能手表以及智能眼镜等可穿戴设备,这些可穿戴设备在工作时通常作为从设备与手机等主设备通过蓝牙或Wi-Fi建立通信连接。那么,也可按照上述实施例中所述的方法,通过对可穿戴设备执行预设的敲击操作,触发可穿戴设备与不同的主设备建立通信连接。
另外,除了可穿戴设备外,手机、平板电脑、音箱、笔记本电脑等终端也可按照上述方法与其他终端通过蓝牙或Wi-Fi建立通信连接。例如,用户的手机中可设置上述振动传感器。当用户希望手机与蓝牙音箱建立蓝牙连接时,可使用手机对蓝牙音箱执行预设的敲击操作。进而,手机检测到该敲击操作后,可按照上述实施例中所述的方法确定出手机需要连接的设备为蓝牙音箱,进而,手机可自动与蓝牙音箱建立蓝牙连接。这样,用户通过执行一次简单的敲击操作,便可以触发两个设备快速的建立通信连接,从而简化了设备之间建立通信连接时的操作流程,提高了用户的使用体验。
如图9所示,本申请实施例公开了一种可穿戴设备,包括:一个或多个处理器902;振动传感器901;存储器903;通信模块906;以及一个或多个计算机程序904。上述各器件可以通过一个或多个通信总线905连接。其中,上述一个或多个计算机程序904被存储在上述存储器903中并被配置为被该一个或多个处理器902执行,该一个或多个计算机程序904包括指令,上述指令可以用于执行上述应实施例中的各个步骤。
示例性的,上述处理器902具体可以为图2所示的处理器202,上述存储器903具体可以为图2所示的内部存储器203,上述通信模块906具体可以为图2所示的无线通信模块204,上述振动传感器901具体可以为图2所示的振动传感器201,本申请实施例对此不做任何限制。
如图10所示,本申请实施例公开了一种终端,包括:触摸屏1001,所述触摸屏1001包括触摸传感器1006和显示屏1007;一个或多个处理器1002;振动传感器1009;存储器1003;通信模块1008;以及一个或多个计算机程序1004。上述各器件可以通过一个或多个通信总线1005连接。其中,上述一个或多个计算机程序1004被存储在上述存储器1003中并被配置为被该一个或多个处理器1002执行,该一个或多个计算机程序1004包括指令,上述指令可以用于执行上述应实施例中的各个步骤。
示例性的,上述处理器1002具体可以为图3所示的处理器110,上述存储器1003具体可以为图3所示的内部存储器121,上述显示屏1007具体可以为图3所示的显示屏194,上述通信模块1008具体可以为图3所示的移动通信模块150和/或无线通信模块160,上述触摸传感器1006具体可以为图3所示的传感器模块180中的触摸传感器,本申请实施例对此不做任何限制。
本申请实施例公开了一种芯片系统,如图11所示,该芯片系统包括至少一个处理器1101和至少一个接口电路1102。处理器1101和接口电路1102可通过线路互联。例如,接口电路1102可用于从其它装置(例如存储器、振动传感器)接收信号。又例如,接口电路1102可用于向其它装置(例如处理器1101)发送信号。示例性的,接 口电路1102可读取存储器中存储的指令,并将该指令发送给处理器1101。当所述指令被处理器1101执行时,可使得上述可穿戴设备或终端执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (29)

  1. 一种建立通信连接的方法,其特征在于,包括:
    可穿戴设备与第一终端建立第一异步无连接ACL链路;
    所述可穿戴设备通过振动传感器检测到用户输入预设的敲击操作;
    响应于所述敲击操作,所述可穿戴设备向N个终端发送测量信号,所述可穿戴设备保存有所述N个终端中每个终端的标识信息,所述N个终端不包括所述第一终端,N≥1;
    所述可穿戴设备接收来自M个终端响应所述测量信号产生的M个响应信号,所述响应信号与终端的信号强度指示RSSI关联,1≤M≤N,M、N均为整数;
    所述可穿戴设备确定第二终端,所述第二终端为所述M个终端中的一个,所述第二终端为所述M个终端及所述第一终端中RSSI最大的终端;
    所述可穿戴设备断开与所述第一终端之间的所述第一ACL链路,建立与所述第二终端之间的第二ACL链路。
  2. 根据权利要求1所述的方法,其特征在于,所述测量信号为寻呼信号。
  3. 根据权利要求1或2所述的方法,其特征在于,所述预设的敲击操作包括:用户使用手指或指关节敲击所述可穿戴设备的操作;用户使用所述可穿戴设备敲击所述第二终端的操作;或者,用户使用所述可穿戴设备敲击所述第二终端周围物体的操作。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,在所述可穿戴设备接收来自M个终端响应所述测量信号产生的M个响应信号之后,还包括:
    所述可穿戴设备基于所述M个响应信号计算所述M个终端中每个终端的RSSI。
  5. 一种建立通信连接的方法,其特征在于,包括:
    可穿戴设备通过振动传感器检测到用户输入预设的敲击操作;
    响应于所述敲击操作,所述可穿戴设备向N个终端发送测量信号,所述可穿戴设备保存有所述N个终端中每个终端的标识信息,N>1;
    所述可穿戴设备接收来自M个终端响应所述测量信号产生的M个响应信号,所述响应信号与终端的信号强度关联,1<M≤N,M、N均为整数;
    所述可穿戴设备确定第一终端,所述第一终端为所述M个终端中信号强度最大的终端;
    所述可穿戴设备与所述第一终端建立短距离无线通信连接。
  6. 根据权利要求5所述的方法,其特征在于,可穿戴设备通过振动传感器检测到用户输入预设的敲击操作,包括:
    所述可穿戴设备使用所述振动传感器采集接收到的振动信号;
    当所述振动信号的振动特征与预设的敲击操作的振动特征相符时,所述可穿戴设备确定用户输入了所述预设的敲击操作。
  7. 根据权利要求5或6所述的方法,其特征在于,所述预设的敲击操作包括:用户使用手指或指关节敲击所述可穿戴设备的操作;用户使用所述可穿戴设备敲击所述第一终端的操作;或者,用户使用所述可穿戴设备敲击所述第一终端周围物体的操作。
  8. 根据权利要求5-7中任一项所述的方法,其特征在于,所述可穿戴设备向N个终端发送测量信号,包括:
    所述可穿戴设备按照所述N个终端中每个终端的标识信息,向对应的终端发送测量信号。
  9. 根据权利要求5-8中任一项所述的方法,其特征在于,所述可穿戴设备确定第一终端,包括:
    所述可穿戴设备基于所述M个响应信号计算所述M个终端中每个终端的信号强度;
    所述可穿戴设备将信号强度最大的终端确定为所述第一终端。
  10. 根据权利要求9所述的方法,其特征在于,所述信号强度是指:信号强度绝对值与预设的信号强度标准值之间的比值。
  11. 一种建立通信连接的方法,其特征在于,包括:
    终端通过振动传感器接收用户输入的第一敲击操作;
    当所述第一敲击操作为预设的敲击操作时,所述终端启动预设的进程开始等待测量信号;
    所述终端接收可穿戴设备发送的测量信号;
    响应于所述测量信号,所述终端与所述可穿戴设备建立短距离无线通信连接。
  12. 根据权利要求11所述的方法,其特征在于,所述预设的敲击操作为:用户使用所述可穿戴设备敲击所述终端的操作。
  13. 根据权利要求11或12所述的方法,其特征在于,在终端通过振动传感器接收用户输入的第一敲击操作之后,还包括:
    当所述第一敲击操作的振动特征与预设的敲击操作的振动特征相符时,所述终端确定所述第一敲击操作为所述预设的敲击操作。
  14. 根据权利要求11-13中任一项所述的方法,其特征在于,在所述终端与所述可穿戴设备建立短距离无线通信连接之前,还包括:
    所述终端获取所述可穿戴设备采集到的第二敲击操作的振动信号;
    其中,所述终端响应所述测量信号自动与所述可穿戴设备建立短距离无线通信连接,包括:
    当所述第二敲击操作的振动信号与所述第一敲击操作的振动信号来自同一敲击操作时,所述终端与所述可穿戴设备建立短距离无线通信连接。
  15. 根据权利要求11-14中任一项所述的方法,其特征在于,所述短距离无线通信连接为蓝牙连接,所述测量信号为寻呼信号。
  16. 一种可穿戴设备,其特征在于,包括:
    振动传感器,所述振动传感器用于采集所述可穿戴设备产生的振动信号;
    一个或多个处理器;
    通信模块;
    存储器;
    其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述可穿戴设备执行时,使得所述可穿戴设备执行以下步骤:
    与第一终端建立第一异步无连接ACL链路;
    通过所述振动传感器检测到用户输入预设的敲击操作;
    响应于所述敲击操作,向N个终端发送测量信号,所述可穿戴设备保存有所述N个终端中每个终端的标识信息,所述N个终端不包括所述第一终端,N≥1;
    接收来自M个终端响应所述测量信号产生的M个响应信号,所述响应信号与终端的信号强度指示RSSI关联,1≤M≤N,M、N均为整数;
    确定第二终端,所述第二终端为所述M个终端中的一个,所述第二终端为所述M个终端及所述第一终端中RSSI最大的终端;
    断开与所述第一终端之间的所述第一ACL链路,建立与所述第二终端之间的第二ACL链路。
  17. 根据权利要求16所述的可穿戴设备,其特征在于,在所述可穿戴设备接收来自M个终端响应所述测量信号产生的M个响应信号之后,所述可穿戴设备还用于执行:
    基于所述M个响应信号计算所述M个终端中每个终端的RSSI。
  18. 一种可穿戴设备,其特征在于,包括:
    振动传感器,所述振动传感器用于采集所述可穿戴设备产生的振动信号;
    一个或多个处理器;
    通信模块;
    存储器;
    其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述可穿戴设备执行时,使得所述可穿戴设备执行以下步骤:
    通过所述振动传感器检测到用户输入预设的敲击操作;
    响应于所述敲击操作,向N个终端发送测量信号,所述可穿戴设备保存有所述N个终端中每个终端的标识信息,N>1;
    接收来自M个终端响应所述测量信号产生的M个响应信号,所述响应信号与终端的信号强度关联,1<M≤N,M、N均为整数;
    确定第一终端,所述第一终端为所述M个终端中信号强度最大的终端;
    与所述第一终端建立短距离无线通信连接。
  19. 根据权利要求18所述的可穿戴设备,其特征在于,可穿戴设备通过所述振动传感器检测到用户输入预设的敲击操作,具体包括:
    使用所述振动传感器采集接收到的振动信号;
    当所述振动信号的振动特征与预设的敲击操作的振动特征相符时,确定用户输入了所述预设的敲击操作。
  20. 根据权利要求18或19所述的可穿戴设备,其特征在于,所述可穿戴设备向N个终端发送测量信号,具体包括:
    按照所述N个终端中每个终端的标识信息,向对应的终端发送测量信号。
  21. 根据权利要求18-20中任一项所述的可穿戴设备,其特征在于,所述可穿戴设备确定第一终端,具体包括:
    基于所述M个响应信号计算所述M个终端中每个终端的信号强度;
    将信号强度最大的终端确定为所述第一终端。
  22. 一种终端,其特征在于,包括:
    触摸屏,所述触摸屏包括显示屏和触摸传感器;
    振动传感器,所述振动传感器用于采集所述终端产生的振动信号;
    一个或多个处理器;
    通信模块;
    存储器;
    其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述终端执行时,使得所述终端执行以下步骤:
    通过所述振动传感器接收用户输入的第一敲击操作;
    当所述第一敲击操作为预设的敲击操作时,启动预设的进程开始等待测量信号;
    接收可穿戴设备发送的测量信号;
    响应于所述测量信号,与所述可穿戴设备建立短距离无线通信连接。
  23. 根据权利要求22所述的终端,其特征在于,在所述终端通过所述振动传感器接收用户输入的第一敲击操作之后,所述终端还用于执行:
    当所述第一敲击操作的振动特征与预设的敲击操作的振动特征相符时,确定所述第一敲击操作为所述预设的敲击操作。
  24. 根据权利要求22或23所述的终端,其特征在于,在所述终端与所述可穿戴设备建立短距离无线通信连接之前,所述终端还用于执行:
    获取所述可穿戴设备采集到的第二敲击操作的振动信号;
    其中,所述终端响应所述测量信号自动与所述可穿戴设备建立短距离无线通信连接,具体包括:
    当所述第二敲击操作的振动信号与所述第一敲击操作的振动信号来自同一敲击操作时,与所述可穿戴设备建立短距离无线通信连接。
  25. 一种通信系统,其特征在于,包括:如权利要求16至21中任一项所述的可穿戴设备;以及一个或多个如权利要求22至24中任一项所述的终端。
  26. 一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器和至少一个接口电路;所述接口电路用于读取存储器中存储的指令,并将所述指令发送给所述处理器;当所述指令被所述处理器执行时,使得可穿戴设备执行所述权利要求1-10中任一项所述的建立通信连接的方法。
  27. 一种芯片系统,其特征在于,所述芯片系统包括至少一个处理器和至少一个接口电路;所述接口电路用于读取存储器中存储的指令,并将所述指令发送给所述处理器;当所述指令被所述处理器执行时,使得终端执行所述权利要求11-15中任一项所述的建立通信连接的方法。
  28. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在可穿戴设备上运行时,使得所述可穿戴设备执行所述权利要求1-10中任一项所述的建立通信连接的方法。
  29. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行所述权利要求11-15中任一项所述的建立通信连接的方法。
PCT/CN2020/102805 2019-07-18 2020-07-17 一种建立通信连接的方法及可穿戴设备 WO2021008614A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910650281.8A CN112243220A (zh) 2019-07-18 2019-07-18 一种建立通信连接的方法及可穿戴设备
CN201910650281.8 2019-07-18

Publications (1)

Publication Number Publication Date
WO2021008614A1 true WO2021008614A1 (zh) 2021-01-21

Family

ID=74168182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102805 WO2021008614A1 (zh) 2019-07-18 2020-07-17 一种建立通信连接的方法及可穿戴设备

Country Status (2)

Country Link
CN (1) CN112243220A (zh)
WO (1) WO2021008614A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887952A (zh) * 2021-01-28 2021-06-01 Oppo广东移动通信有限公司 蓝牙设备与终端连接的方法和装置、电子设备
CN112954660A (zh) * 2021-02-09 2021-06-11 Oppo广东移动通信有限公司 蓝牙匹配方法、装置、移动终端、蓝牙设备和通信系统
CN113207052A (zh) * 2021-01-28 2021-08-03 珠海市杰理科技股份有限公司 通信连接方法及装置、蓝牙耳机、通信系统、存储介质
CN113365257A (zh) * 2021-06-04 2021-09-07 华勤技术股份有限公司 主从耳机切换方法、装置、耳机及可读存储介质
CN113453381A (zh) * 2021-07-08 2021-09-28 Oppo广东移动通信有限公司 设备配对方法及相关产品
CN113519176A (zh) * 2021-03-22 2021-10-19 华为技术有限公司 一种通信方法、通信装置及终端
WO2022261084A1 (en) * 2021-06-07 2022-12-15 Bose Corporation Device tap detection for wireless connection
CN116249046A (zh) * 2023-01-17 2023-06-09 东莞市般若电子科技有限公司 一种耳机仓控制方法、耳机仓以及可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163383B (zh) * 2021-04-20 2023-01-03 Oppo广东移动通信有限公司 通信连接控制方法、装置、计算机设备及可读存储介质
CN115250147A (zh) * 2021-04-25 2022-10-28 Oppo广东移动通信有限公司 可穿戴设备的通信方法、装置、可穿戴设备和存储介质
CN113194417B (zh) * 2021-04-30 2022-03-15 深圳市欢太科技有限公司 设备连接方法、装置、计算机设备及存储介质
CN113507702B (zh) * 2021-05-28 2023-10-03 西安闻泰信息技术有限公司 蓝牙连接方法、装置、车载蓝牙设备和存储介质
CN115476347B (zh) * 2021-06-16 2023-12-12 北京小米机器人技术有限公司 通信链路的建立方法、装置、控制设备及机器人

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540190A (zh) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 与蓝牙设备配对的方法和系统
CN105303790A (zh) * 2015-08-07 2016-02-03 北京自在科技有限责任公司 一种通过敲击配对的蓝牙防丢装置及敲击配对方法
US9368006B1 (en) * 2013-09-24 2016-06-14 Woodenshark, LLC Wearable bracelet with bidirectional network connectivity and touch feedback
CN105704839A (zh) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 一种蓝牙连接方法和装置
CN106803854A (zh) * 2015-11-26 2017-06-06 阿里巴巴集团控股有限公司 信息接收、发送的方法、装置及可穿戴设备
CN109714744A (zh) * 2019-02-28 2019-05-03 深圳市空联技术有限公司 一种设备配对方法及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340212A (zh) * 2007-07-03 2009-01-07 艾威梯软件技术(北京)有限公司 按键触发蓝牙连接设备自动切换的方法、设备和系统
CN102752029A (zh) * 2011-04-18 2012-10-24 中兴通讯股份有限公司 蓝牙配件配对蓝牙设备的方法及蓝牙配件
CN105302635A (zh) * 2014-07-17 2016-02-03 联想(北京)有限公司 一种切换方法及电子设备
CN105262512B (zh) * 2015-09-17 2019-03-15 小米科技有限责任公司 切换主机的方法及装置
CN105722249B (zh) * 2016-01-29 2019-01-25 宇龙计算机通信科技(深圳)有限公司 一种切换连接的方法、装置以及终端
CN107835518B (zh) * 2017-10-09 2021-09-14 惠州Tcl移动通信有限公司 选择性连接和搜索蓝牙的控制方法、移动终端及存储介质
US11129099B2 (en) * 2017-12-31 2021-09-21 Fortinet, Inc. Mobile device battery optimization for processing location beacons using mobile inbuilt sensors
CN108538041A (zh) * 2018-01-29 2018-09-14 北京硬壳科技有限公司 电子设备配对方法及应用其的电子设备
CN108769964B (zh) * 2018-05-25 2021-10-15 歌尔光学科技有限公司 一种蓝牙设备连接方法、装置及设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9368006B1 (en) * 2013-09-24 2016-06-14 Woodenshark, LLC Wearable bracelet with bidirectional network connectivity and touch feedback
CN104540190A (zh) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 与蓝牙设备配对的方法和系统
CN105303790A (zh) * 2015-08-07 2016-02-03 北京自在科技有限责任公司 一种通过敲击配对的蓝牙防丢装置及敲击配对方法
CN106803854A (zh) * 2015-11-26 2017-06-06 阿里巴巴集团控股有限公司 信息接收、发送的方法、装置及可穿戴设备
CN105704839A (zh) * 2016-01-20 2016-06-22 广东欧珀移动通信有限公司 一种蓝牙连接方法和装置
CN109714744A (zh) * 2019-02-28 2019-05-03 深圳市空联技术有限公司 一种设备配对方法及系统

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887952A (zh) * 2021-01-28 2021-06-01 Oppo广东移动通信有限公司 蓝牙设备与终端连接的方法和装置、电子设备
CN113207052A (zh) * 2021-01-28 2021-08-03 珠海市杰理科技股份有限公司 通信连接方法及装置、蓝牙耳机、通信系统、存储介质
CN112954660A (zh) * 2021-02-09 2021-06-11 Oppo广东移动通信有限公司 蓝牙匹配方法、装置、移动终端、蓝牙设备和通信系统
CN113519176A (zh) * 2021-03-22 2021-10-19 华为技术有限公司 一种通信方法、通信装置及终端
CN113365257A (zh) * 2021-06-04 2021-09-07 华勤技术股份有限公司 主从耳机切换方法、装置、耳机及可读存储介质
CN113365257B (zh) * 2021-06-04 2023-01-24 华勤技术股份有限公司 主从耳机切换方法、装置、耳机及可读存储介质
WO2022261084A1 (en) * 2021-06-07 2022-12-15 Bose Corporation Device tap detection for wireless connection
CN113453381A (zh) * 2021-07-08 2021-09-28 Oppo广东移动通信有限公司 设备配对方法及相关产品
CN113453381B (zh) * 2021-07-08 2023-01-10 Oppo广东移动通信有限公司 设备配对方法及相关产品
CN116249046A (zh) * 2023-01-17 2023-06-09 东莞市般若电子科技有限公司 一种耳机仓控制方法、耳机仓以及可读存储介质

Also Published As

Publication number Publication date
CN112243220A (zh) 2021-01-19

Similar Documents

Publication Publication Date Title
WO2021008614A1 (zh) 一种建立通信连接的方法及可穿戴设备
CN112789867B (zh) 一种蓝牙连接方法及设备
CN110364151B (zh) 一种语音唤醒的方法和电子设备
CN112868244B (zh) 一种点对多点的数据传输方法及设备
CN113228701B (zh) 音频数据的同步方法及设备
WO2021180083A1 (zh) 蓝牙通信系统和无线通信系统
CN114499587B (zh) 音频同步的通信方法、系统、无线耳机、终端及存储介质
CN111629366B (zh) 蓝牙设备间的交互方法及装置、存储介质和电子设备
CN113504887A (zh) 一种音量设置方法及电子设备
CN112771828B (zh) 一种音频数据的通信方法及电子设备
CN113489844B (zh) 一种音量档位的调整方法及电子设备
CN113301544B (zh) 一种音频设备间语音互通的方法及设备
CN115175159B (zh) 一种蓝牙耳机播放方法及设备
CN115022766B (zh) 音频数据播放方法及设备
US9300778B2 (en) Bluetooth headset for mobile phone
CN112099741A (zh) 显示屏位置识别方法、电子设备及计算机可读存储介质
CN116054870B (zh) 无线通信电路、蓝牙通信切换方法和电子设备
CN109618062B (zh) 语音交互方法、装置、设备以及计算机可读存储介质
CN112469014A (zh) 配置蓝牙连接参数的方法和电子设备
CN114696961B (zh) 一种多媒体数据传输方法和设备
CN113950037B (zh) 一种音频播放方法及终端设备
CN116346982B (zh) 处理音频的方法、电子设备及可读存储介质
CN113963732B (zh) 音频播放方法和终端设备
WO2022095581A1 (zh) 数据传输方法及终端设备
CN116744275A (zh) 通信方法、电子设备及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20841086

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20841086

Country of ref document: EP

Kind code of ref document: A1