WO2022048488A1 - Communication connection establishment method, bluetooth earphone, and readable storage medium - Google Patents

Communication connection establishment method, bluetooth earphone, and readable storage medium Download PDF

Info

Publication number
WO2022048488A1
WO2022048488A1 PCT/CN2021/114730 CN2021114730W WO2022048488A1 WO 2022048488 A1 WO2022048488 A1 WO 2022048488A1 CN 2021114730 W CN2021114730 W CN 2021114730W WO 2022048488 A1 WO2022048488 A1 WO 2022048488A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
user
sensor
connection
finger
Prior art date
Application number
PCT/CN2021/114730
Other languages
French (fr)
Chinese (zh)
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 WO2022048488A1 publication Critical patent/WO2022048488A1/en

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • H04R2201/109Arrangements to adapt hands free headphones for use on both ears

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method for establishing a communication connection, a Bluetooth headset, and a readable storage medium.
  • a Bluetooth device can be paired to multiple terminals.
  • the Bluetooth device When the Bluetooth device has been pre-connected to the first terminal, it can disconnect from the first terminal and then establish a connection with the second terminal. The connected first terminal is disconnected, and then the Bluetooth headset can touch another terminal through NFC to realize the Bluetooth connection between the headset and the other terminal.
  • the Bluetooth headset By selecting the Bluetooth headset you want to connect on the second terminal, and clicking the Bluetooth headset to "connect", the Bluetooth headset will disconnect from the first terminal and establish a connection with the second terminal.
  • the Bluetooth device switches between multiple paired terminals, the operation is cumbersome, and the user experience is not high. If the second terminal is not at the user's side, it is not possible to operate on the second terminal to establish the connection.
  • the present invention provides a method for establishing a communication connection, a Bluetooth headset and a readable storage medium, which can solve the dependence of a Bluetooth device on a paired terminal device, and can achieve a fast connection even if the paired terminal device is not around, and the The method can avoid the problem of frequent operation on the terminal device.
  • Some embodiments of the present application provide a method for establishing a communication connection.
  • the present application is described below from various aspects, and the embodiments and beneficial effects of the following various aspects can be referred to each other.
  • the present invention provides a method for establishing a communication connection, which is used in a communication system composed of a first electronic device, a second electronic device and a third electronic device, the first electronic device includes a sensor, and the first electronic device receives a response to the sensor. in response to the triggering operation, the first electronic device broadcasts the device identifiers of the second electronic device and the third electronic device in sequence; when the first electronic device broadcasts the device identifiers of the second electronic device, the first electronic device determines A selected operation for the device identification of the second electronic device is received; in response to the selected operation, the first electronic device establishes a communication connection with the second electronic device.
  • the first electronic device of the present application broadcasts the device identification of the electronic device paired with it, and selects the second electronic device as the communication target from the paired electronic devices based on the selection operation for the device identification, thereby avoiding the need for the user to manually
  • the second electronic device is operated, and at the same time, the connection method can avoid the problem that the connection cannot be realized when the second electronic device to be connected is not around (within the range of Bluetooth connection), thereby improving the user experience.
  • the first electronic device is a wearable electronic device, such as an earphone, a wristband, a watch, and smart glasses.
  • the senor is a fingerprint sensor or a pressure sensor.
  • the first electronic device when the first electronic device broadcasts the device identification of the second electronic device, the first electronic device receives a selected operation, including: in the second electronic device The first electronic device receives the selected operation within a preset time period after the broadcast of the device identification is completed.
  • the device identification is presented to the user by means of voice broadcast by the first electronic device.
  • the user hears the device identification of the second electronic device that he wants to connect, he can select the device identification from the start of the voice broadcast to the preset time period.
  • the device identification is determined, and the first electronic device sends a connection request to the second electronic device corresponding to the device identification.
  • the operation is simple and convenient, and even if the second electronic device is not around, the connection between the first electronic device and the second electronic device can still be realized.
  • the selected operation includes one of the following operations: the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; the finger of the user of the first electronic device is moved from The contact state of the first electronic device is switched to leaving the first electronic device; the finger of the user of the first electronic device exerts pressure on the sensor of the electronic device for a preset period of time; the finger of the user of the first electronic device is pressed against the electronic device The sensor exerts pressure and reaches a preset pressure value; the finger of the user of the first electronic device clicks the first electronic device a predetermined number of times.
  • the first electronic device based on a triggering operation of the first electronic device by the user of the first electronic device, the first electronic device is triggered to broadcast successively each of the plurality of second electronic devices. device identification. Through the triggering operation, the first electronic device realizes that the identification of the voice playing device is turned on, and the operation is convenient.
  • the triggering operation includes one of the following operations: the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; The contact state of the first electronic device is switched to the state of leaving the first electronic device, and the finger of the user of the first electronic device exerts pressure on the sensor of the electronic device for a preset period of time; The sensor of the electronic device applies pressure to reach a preset pressure value; the finger of the user of the first electronic device clicks the first electronic device a predetermined number of times.
  • the first electronic device is activated to enable the identification of the voice playback device, and the operation is simple and convenient.
  • the finger of the user of the first electronic device is in contact with the fingerprint sensor of the first electronic device, including the first electronic device recognizing the fingerprint recorded after the user contacts the fingerprint sensor, and verifying the fingerprint Matches the user's pre-stored fingerprint.
  • fingerprint authentication is used to better protect the security of the connection.
  • the first electronic device may also collect the voice of the user of the first electronic device calling the device identifier of the second electronic device.
  • the user uses a voice assistant to call the second electronic device.
  • the name of the electronic device makes a call
  • the first electronic device parses the device identification from the voice through the voice assistant, determines the device identification, and selects the second electronic device as the communication target from the plurality of second electronic devices based on the device identification.
  • voice calling when the user's hands are inconvenient to operate, it can be operated by voice, which is simple and convenient.
  • establishing a communication connection between the first electronic device and the second electronic device of the communication target includes: the first electronic device reads the first electronic device as the communication target from the local memory based on the device identifier. The communication address of the second electronic device; based on the communication address, the first electronic device sends a connection request to the second electronic device, and after the second electronic device responds to the connection request, the first electronic device establishes a connection with the second electronic device.
  • the first electronic device when the response time of the second electronic device to the connection request sent by the first electronic device exceeds a preset time, the first electronic device ends the connection request with the second electronic device.
  • This solution can avoid the power consumption of the device due to long-time waiting, and the long-time waiting will also degrade the user experience.
  • the method when the first electronic device has established a connection with the fourth electronic device, the method further includes: disconnecting the first electronic device from the connected fourth electronic device, and then connecting to the fourth electronic device.
  • the second electronic device establishes a connection. In order to achieve an effective connection with the current communication target device.
  • the present application provides a Bluetooth headset, including:
  • memory for storing instructions for execution by one or more processors of the device
  • the processor is used to execute the above instructions, so that the headset performs the following operations:
  • the Bluetooth headset In response to the triggering operation, the Bluetooth headset broadcasts the device identifications of the second electronic device and the third electronic device in turn; when the Bluetooth headset broadcasts the device identification of the second electronic device, the sensor where it is located receives the selected operation ; In response to the selected operation, the Bluetooth headset establishes a communication connection with the second electronic device.
  • the Bluetooth headset of the present application can prevent the user from manually operating electronic Moreover, the connection method can avoid the problem that the connection cannot be realized when the second electronic device to be connected is not around, and the user experience is improved.
  • the senor is a fingerprint sensor or a pressure sensor.
  • determining that the Bluetooth headset has received a selection operation for the device identification of the second electronic device includes: within a preset time period after the device identification of the second electronic device is broadcast, The Bluetooth headset receives the selected action.
  • the device identification is presented to the user through a Bluetooth headset voice broadcast.
  • the Bluetooth headset sends a connection request to the second electronic device corresponding to the device identification. The operation is simple and convenient, and even if the second electronic device is not around, the connection between the Bluetooth headset and the second electronic device can still be realized.
  • the selected operation includes one of the following operations: the finger of the user of the Bluetooth headset is in contact with the sensor of the Bluetooth headset; the finger of the user of the Bluetooth headset is in contact with the Bluetooth headset from the state Switch to the state of leaving the Bluetooth headset; the action of the user's finger of the Bluetooth headset exerting pressure on the sensor of the electronic device for a preset period of time; the action of the user's finger of the Bluetooth headset exerting pressure on the sensor of the electronic device, and reaches the preset Pressure value; the finger of the user of the Bluetooth headset taps the Bluetooth headset a predetermined number of times.
  • the triggering operation includes one of the following operations: the user's finger of the Bluetooth headset is in contact with the sensor of the Bluetooth headset; the finger of the user of the Bluetooth headset is switched from the state of being in contact with the Bluetooth headset In order to leave the Bluetooth headset, the finger of the user of the Bluetooth headset exerts pressure on the sensor of the electronic device for a preset period of time; the finger of the user of the Bluetooth headset exerts pressure on the sensor of the electronic device, and reaches the preset pressure value; The finger of the user of the Bluetooth headset taps the Bluetooth headset a predetermined number of times.
  • the bluetooth earphone is triggered to turn on the identification of the voice playback device, and the operation is simple and convenient.
  • the finger of the user of the Bluetooth headset is in contact with the sensor of the Bluetooth headset, including: the Bluetooth headset recognizes the fingerprint entered after the user contacts the fingerprint sensor, and verifies that the fingerprint matches the pre-stored fingerprint of the user. Fingerprint matching.
  • fingerprint authentication is used to better protect the security of the connection.
  • the Bluetooth headset may also collect the voice of the user calling the device identification of the second electronic device, and parse the device identification from the voice, and based on the device identification The device of the selected communication destination in the electronic device.
  • voice calling when the user's hands are inconvenient to operate, it can be operated by voice, which is simple and convenient.
  • establishing a communication connection between the Bluetooth headset and the second electronic device includes: the Bluetooth headset reads the communication address of the second electronic device from the local memory based on the device identification; based on the communication address , the Bluetooth headset sends a connection request to the second electronic device, and after the communication target device responds to the connection request, the Bluetooth headset establishes a connection with the second electronic device.
  • the Bluetooth headset ends the connection request with the second electronic device.
  • This solution can avoid the power consumption of the device due to long-time waiting, and the long-time waiting will also degrade the user experience.
  • the method further includes: disconnecting the Bluetooth headset from the fourth electronic device, and then connecting with the fourth electronic device as the communication target.
  • the two electronic devices establish a connection. In order to achieve an effective connection with the current communication target device.
  • the present application provides a terminal device, including:
  • memory for storing instructions for execution by one or more processors of the device
  • a processor configured to execute the method described in the first aspect embodiment.
  • the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor causes the processor to execute the above-mentioned first aspect embodiment. method described.
  • the present application discloses a computer program product containing instructions, which, when executed on a computer, cause the computer to execute the method disclosed in the embodiments of the first aspect.
  • the present application discloses a device including a processor, a memory and a communication module.
  • the processor, the memory, and the communication module communicate with each other through the internal link path, and transmit control and/or data signals, so that the device executes the method disclosed in the embodiment of the first aspect.
  • the present application further discloses a system, where the system includes a first electronic device and a second electronic device, wherein the first electronic device is configured to execute the method described in the embodiments of the first aspect.
  • FIG. 1 is an architecture diagram of a communication system according to an embodiment of the application
  • FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the application.
  • 3a is a flowchart of a method for establishing a communication connection according to an embodiment of the present application
  • 3b is a flowchart of a method for establishing a communication connection according to another embodiment of the present application.
  • FIG. 4a is a scene diagram of a switching connection between a Bluetooth headset and a terminal device according to an embodiment of the application
  • 4b is a structural block diagram of a Bluetooth headset according to an embodiment of the application.
  • FIG. 4c is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device by pressing a pressure sensor according to an embodiment of the application;
  • 5a is a structural block diagram of a Bluetooth headset according to another embodiment of the application.
  • FIG. 5b is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device through fingerprint verification according to an embodiment of the application;
  • 6a is a structural block diagram of a Bluetooth headset according to another embodiment of the application.
  • FIG. 6b is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device through a call according to an embodiment of the application;
  • FIG. 7 is a schematic structural diagram of an earphone according to an embodiment of the present application.
  • FIG. 8 is a block diagram of a device according to some embodiments of the present application.
  • FIG. 9 is a block diagram of a system on a chip (SoC) according to some embodiments of the present application.
  • SoC system on a chip
  • module may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) executing one or more software or firmware programs ) and/or memory, combinatorial logic, and/or other suitable hardware components that provide the described functionality, or may be part of such hardware components.
  • ASIC application specific integrated circuit
  • the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and/or any combination thereof.
  • the processor may be a single-core processor, a multi-core processor, etc., and/or any combination thereof.
  • an existing connection method when an electronic device, such as a mobile phone, is connected to a wearable device such as a Bluetooth headset, the user enables the near field communication (NFC) function on the mobile phone, and the mobile phone is connected with the NFC-enabled device. Touch the functional bluetooth headset to establish a bluetooth connection through the NFC function, and then realize the bluetooth connection between the mobile phone and the bluetooth headset through bluetooth.
  • NFC near field communication
  • Another existing connection method is to directly click on the paired Bluetooth headset on the mobile phone to connect and disconnect the mobile phone and the Bluetooth headset.
  • the Bluetooth headset has been connected to another electronic device before connecting to the mobile phone, For example, on a tablet computer, the user first needs to operate on the tablet computer to disconnect the connection between the tablet computer and the Bluetooth headset, and then operate the mobile phone to realize the connection between the headset and the mobile phone. Whether this connection method is to disconnect from the tablet computer or to connect to the mobile phone, it needs to be operated on the electronic device.
  • the above two connection methods both depend on the operation on the electronic device, and when the electronic device is not around the user, it cannot be connected with the electronic device only by operating the earphone.
  • An embodiment of the present application provides a Bluetooth headset, and the Bluetooth headset can be applied to the communication system as shown in FIG. 1 .
  • the Bluetooth headset 101 has been paired with multiple electronic devices 102. Through pairing, the Bluetooth headset can obtain the device names, device IDs, and communication addresses of multiple electronic devices paired with it.
  • the electronic device 102 includes a smart watch 021 , a smart phone 022 and a smart phone 023 as shown in FIG. 1 , wherein a connection between the Bluetooth headset and the smart phone 022 has been established.
  • the embodiment of the present application uses a Bluetooth headset as an example
  • the communication connection establishment method provided in the embodiment of the present application can also be applied to other electronic devices with Bluetooth functions, such as Bluetooth speakers, mobile phones with Bluetooth modules, A notebook computer with a Bluetooth module, etc., is not limited in this embodiment of the present application.
  • the method for establishing a communication connection provided by the embodiment of the present application can be used in a scenario where the first mobile phone selects one of multiple second mobile phones for connection.
  • the Bluetooth headset 101 acquires the device identifier and communication address of the electronic device 102 by pairing with multiple electronic devices 102 , where the device identifier may include device name, device ID and other identifiers representing the device identity.
  • the voice broadcast function of the electronic device 101 is activated by a trigger operation, for example, by pressing the pressure sensor to make the pressure value reach the set value and other trigger operations.
  • a trigger operation for example, by pressing the pressure sensor to make the pressure value reach the set value and other trigger operations.
  • the Bluetooth headset 101 broadcasts the device identifiers of the paired electronic devices 102 successively by means of voice broadcasting.
  • the specified operation determines the device identity.
  • the Bluetooth headset 101 determines the communication target device to be connected based on the device identification, and establishes the connection.
  • the earphone 101 is usually provided with various sensors 011 , such as a pressure sensor, a fingerprint sensor, etc., which are arranged on the handle 012 of the Bluetooth earphone 101 as shown in FIG. 1 .
  • the sensor 011 provided on the Bluetooth headset 101 can detect the user's click operation, pressing operation, operation from pressing to leaving, etc. on the Bluetooth headset 101 as the selected operation.
  • the Bluetooth headset 101 broadcasts the device identification of the smart phone 022
  • the Bluetooth headset 101 recognizes that the user's finger has moved from touching the pressure sensor of the Bluetooth headset 101 to lifting, that is, the pressure exerted by the user on the pressure sensor at this time.
  • the value is greater than 0N to equal to 0N.
  • the electronic device 101 recognizes the device ID of the smart phone 022, and retrieves the communication address of the smart phone 022 from the local data storage unit according to the device ID, and initiates a connection request to the smart phone 022.
  • the smart phone 022 responds to the connection request and establishes a communication connection with the headset Bluetooth, and then the user can realize the connection between the headset 101 and the mobile phone 022 by operating on the headset 101, avoiding the problem that the mobile phone cannot be connected with the headset when the mobile phone is not around.
  • the selected operation can be a voice command issued by the user.
  • the Bluetooth headset 101 can also identify the device identifier of the user's voice call. For example, when the user calls the device name of the mobile phone 022, such as Honor p40, the headset 101 The device name Honor p40 of the mobile phone 022 can be identified, and then a communication connection is established with the mobile phone 022.
  • the present application does not limit the voice presentation manner of the earphone 101 .
  • the Bluetooth headset 101 and the electronic device 102 can be connected through a wireless short-range communication technology, and the connection can be wireless such as Bluetooth (bluetooth, BT), near field communication (NFC), infrared technology (infrared, IR). communication technology.
  • Bluetooth blue, BT
  • NFC near field communication
  • infrared technology infrared, IR
  • the first electronic device (such as a Bluetooth headset) of the present application is based on presenting the device identification of the second electronic device in a voice manner.
  • the user can establish a connection with the second electronic device, avoiding the need for a second electronic device.
  • the connection between the first electronic device and the second electronic device cannot be established by operating the first electronic device.
  • switching connections between the first electronic device and multiple electronic devices can be implemented, thereby improving user experience.
  • the headset 101 is an example of an electronic device according to the present application, and the present application is not limited to this, and it can also be other wearable devices.
  • the electronic device can be a watch, a bracelet, smart glasses, etc.
  • Wearable devices such as speakers, in-vehicle devices, etc.
  • Terminal devices A, B, and C may be mobile phones, tablet computers, notebook computers, super mobile personal computers, personal digital assistants (personal digital assistants, PDAs), televisions, smart watches, and other devices.
  • the device type of the electronic device is not specifically limited in this application.
  • the above-mentioned second electronic device that will be the communication target is simply referred to as the communication target device.
  • the first electronic device structure is a first electronic device structure:
  • FIG. 2 shows a schematic structural diagram of an electronic device.
  • the electronic device 200 may be implemented as the Bluetooth headset 101 shown in FIG. 1 , or may be implemented as other electronic devices, for example, wearable devices such as watches and glasses.
  • the electronic device 200 may include a processor 210 , an internal memory 220 , a charging management module 230 , a wireless communication module 240 , an audio module 250 , and a sensor module 260 .
  • the charging management module 230 may include a power management module 231 and a battery 232
  • the audio module 250 may include a receiver 252, a microphone 253,
  • the sensor module 260 may include a pressure sensor 261, a fingerprint sensor 262, a touch sensor 263, and the like.
  • a speaker 251 is optionally also included.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 200 .
  • the electronic device 200 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (application processor, AP), a modem processor, a controller, a digital signal processor (digital signal processor, DSP), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor modem processor
  • controller controller
  • DSP digital signal processor
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the processor 210 may generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 210 for storing instructions and data.
  • the memory in processor 110 is cache memory.
  • the memory may hold instructions or data that have just been used or recycled by the processor 210 . If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
  • the processor 210 may store instructions for implementing the communication connection establishment method according to the present application through the provided memory. After the instruction is executed, the electronic device 200 detects other electronic devices in the vicinity through proximity detection technology, such as Bluetooth, and pairs with the detected other electronic devices in the vicinity, and based on the other electronic devices presented in a voice manner Device identification of the device, select a communication target device from these other electronic devices, and establish a communication connection with the communication target device.
  • proximity detection technology such as Bluetooth
  • the processor 210 first executes an instruction to disconnect from the already connected third electronic device, and then communicates with the selected communication target. The device establishes a connection.
  • Internal memory 220 may be used to store computer executable program code, which includes instructions.
  • the internal memory 220 may include a stored program area and a stored data area.
  • the storage program area can store an operating system and an application program required for at least one function, such as a sound playback function, a voice recognition function, a fingerprint recognition function, and the like.
  • the storage data area can store data created during the use of the electronic device 200, for example, a device list of the electronic devices paired with the electronic device 200, where the device list can include information such as a device identifier and a device communication address used to represent the device identity .
  • the processor 210 executes the instructions, the device identifier and the device communication address can be read from the internal memory 220 .
  • the internal memory 220 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 210 executes various functional applications and data processing of the electronic device 200 by executing instructions stored in the internal memory 220 and/or instructions stored in a memory provided in the processor.
  • the wireless communication module 240 can provide applications on the electronic device 200 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), frequency modulation (frequency) modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 240 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 240 receives the electromagnetic wave, frequency modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 210 .
  • the wireless communication module 240 can also receive the signal to be sent from the processor 210, perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves and radiate it out.
  • the electronic device 200 may implement audio functions through an audio module 250, a speaker 251, a receiver 252, a microphone 253, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 250 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 250 may also be used to encode and decode audio signals. And transmit the encoded or decoded audio to the processor 210, so that the processor 210 performs speech recognition based on the encoded or decoded audio, and determines the content corresponding to the audio, such as device name, device serial number (Identity document). , ID) or International Mobile Equipment Identity (IMEI), etc. In some embodiments, the audio module 250 may be provided in the processor 210 , or some functional modules of the audio module 250 may be provided in the processor 210 .
  • the receiver 252 also referred to as an "earpiece" is used to convert audio electrical signals into sound signals.
  • the receiver 252 can be close to the human ear to receive the voice, for example, an earphone is inserted into or close to the ear, and the user can hear the device identification broadcast by the electronic device 200 through the receiver 252 .
  • the microphone 253, also called “microphone” or “microphone”, is used to convert sound signals into electrical signals.
  • the user wants to input a voice to the electronic device 200, the user can make a voice close to the microphone 253 through his mouth, input the voice signal to the microphone 253, and the microphone 253 further transmits the voice signal to the processor 210, so that the processor 210 recognizes the voice content.
  • the electronic device 200 may be provided with at least one microphone 253 . In other embodiments, the electronic device 200 may be provided with two microphones, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 200 may further be provided with three, four or more microphones 253 to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the pressure sensor 261 is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • pressure sensors 261 such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like.
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 261, the capacitance between the electrodes changes.
  • the electronic device 200 determines the intensity of the pressure according to the change in capacitance.
  • the pressure sensor 261 may be disposed on the surface of the electronic device.
  • the electronic device 200 When a pressing or touching operation acts on the pressure sensor 261, the electronic device 200 detects the pressing or touching operation intensity according to the pressure sensor 261, and transmits the detected pressing or touching operation intensity value to the processor 210, and the processor 210 further according to the intensity value Execute the corresponding command. For example, when the pressure value of the user pressing the pressure sensor 261 reaches the preset value, the processor 210 enables the voice assistant function to conduct a voice call, or when the pressure value reaches the preset value, the receiver 252 can hear the broadcast of the electronic device 200 Equipment Identity. The electronic device 200 may also calculate the pressed or touched position according to the detection signal of the pressure sensor 261 .
  • the fingerprint sensor 262 is used to collect fingerprints.
  • the electronic device 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the user recognizes his own fingerprint through the fingerprint sensor, unlocks the electronic device 200, and turns on the voice assistant, so that when the user calls the device identification of a paired device through the voice assistant, the processor 210 can recognize the voice content, and retrieve the communication address of the device corresponding to the device identification, so that the electronic device 200 establishes a connection with the electronic device corresponding to the device identification.
  • the touch sensor 263 is also called “touch device”.
  • the touch sensor 263 is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. For example, user click or double click events, etc.
  • the touch sensor 263 may also be disposed on the surface of the electronic device 200 , which is different from the position where the pressure sensor 261 is located.
  • FIGS 3a-3b show flowcharts of a method for establishing a communication connection.
  • the execution subject of the method is described by taking a Bluetooth headset as an example, and the headset may be a wireless headset such as an earplug type, an in-ear type, a head-mounted type, an ear-mounted type, etc., which is not limited here.
  • the electronic devices paired with the Bluetooth headset are electronic device A, electronic device B and electronic device C. Referring to Figure 3a, the method includes the following steps:
  • Step S310 the headset discovers multiple electronic devices and pairs with these electronic devices.
  • the Bluetooth headset can use Bluetooth to detect multiple electronic devices in the surrounding area.
  • the multiple electronic devices can be electronic devices that have been paired before, that is, they are already paired before discovery; they can also be newly paired devices after discovery. .
  • the headset obtains the electronic device identification and communication address.
  • the device identifier may include an identifier representing the device identity, such as a device name, a device ID, and the like.
  • the device name of the electronic device may be the name "Mary's mate 30" set by the user in the settings, or the default device name "honor p40" in the mobile phone.
  • the communication address may be a bluetooth address or a mac address.
  • Step S320 a trigger operation is received, and in response to the received trigger operation, the headset enables a voice broadcast function.
  • the device identification of the electronic device is presented in a voice manner. For example, enable the voice broadcast function to broadcast the device names of electronic device A, electronic device B, and electronic device C, for example, Mary's mate 30.
  • the trigger operation may be one of the following operations:
  • the user's finger is in contact with the designated position of the headset.
  • the earphone is subjected to fingerprint recognition and determines whether the fingerprint matches the stored fingerprint.
  • the headset detects a trigger operation that matches the currently input fingerprint with the stored fingerprint, it is determined to trigger the headset to start voice broadcasting.
  • the user's finger is switched from being in contact with the earphone to leaving the first electronic device.
  • the earphone detects that the pressure value of the pressure sensor is 0, and determines that the operation is a trigger operation, that is, the earphone is triggered to start voice broadcasting.
  • the earphone detects that the pressure value input by the pressure sensor is greater than 0, and maintains the trigger operation for 5 seconds, and determines that the earphone is triggered to start voice broadcasting.
  • the user's finger exerts pressure on the designated position of the earphone and reaches the preset pressure value.
  • the earphone detects the triggering operation that the pressure value of the pressure sensor reaches 1N, and determines to trigger the earphone to start voice broadcast.
  • the preset pressure value may be set by the earphone according to the strength with which the user presses the pressure sensor for the first time when the user operates the triggering operation for the first time.
  • the preset pressure value may also be a pressure value manually input by the user.
  • the user can also change the pressure value in the setting according to his own needs.
  • the user's finger taps the earphone a predetermined number of times. For example, if the user's finger taps the pressure sensor or the touch sensor 3 times, the earphone detects the triggering operation that the pressure sensor or the touch sensor is clicked 3 times, and determines to trigger the earphone to start voice broadcasting.
  • the pressure sensor and fingerprint sensor mentioned above are usually arranged on the handle of the Bluetooth headset. Other locations are also possible. Other operations on the headset are also possible, but not limited to this.
  • Step S330 the earphone broadcasts the device identifiers of the paired devices in turn (ie, the device identifiers are presented in a voice manner).
  • the voice presentation mode may be that the headset itself broadcasts the device identifiers of the paired electronic devices one by one in an orderly manner, or one by one without order, which is not limited here.
  • the broadcast order may consider the number of times the electronic device is connected to the earphone, the frequency of connection, or the distance between the electronic device and the earphone, or the duration of the last connection between the electronic device and the earphone, etc.
  • the headset first broadcasts the electronic device with the highest signal strength value.
  • the time interval from the end of the current device logo broadcast to the start of the next device logo broadcast can be set to 1 second, 2 seconds, 3 seconds, 5 seconds and other presets.
  • Set the duration For example, taking the broadcast device name as an example, when the device name broadcast to electronic device B is Mary's mate 30, the time from the "M" sound starts to broadcast to 3 seconds, and the "Mary's mate 30" sound broadcast is only Use 3 seconds.
  • the device name of the next electronic device C will be broadcast at an interval of several seconds, such as 2 seconds. Then the user can select the device name within 5 seconds from the start of the broadcast timing.
  • the selection operation within the preset duration will be recognized as the selection of the previous device ID, still taking the device name of electronic device B as an example, when the preset duration is 2 seconds, as in "Mary's mate" If the selected operation is received within 2 seconds after the playback of 30", it will initiate a Bluetooth connection with "Mary's mate 30".
  • the broadcast order of the device identifiers of electronic devices is not limited.
  • the device identifiers of electronic devices A, B, and C may be broadcast successively, or the device identifiers of electronic devices B and C may be broadcast successively. and A et al.
  • Step S340 receiving the selected operation for the broadcasted equipment identification, the headset selects the communication target device from the paired electronic equipment, such as when the headset broadcasts the equipment identification of the electronic equipment B, the headset receives the selected operation, then the headset will Electronic device B serves as a communication target device.
  • the user can also input the device identification of the electronic device B by voice, and after receiving the voice input, the headset selects the electronic device B as the communication target device from the paired electronic devices.
  • the headset when the headset itself broadcasts the device identification, the user can input a selection operation for the broadcasted device identification to select the communication target device to be connected.
  • the headset determines the communication target device according to the user's selected operation.
  • the selected operation may be an operation input by the user within a period of time from the start of the earphone voice broadcast of the device identification, and the specific time setting may refer to step S330 about the broadcast time interval between two device identifications description, which will not be repeated here.
  • the selected action can be one of the following actions:
  • the user's finger is in contact with the designated position of the headset. For example, if the user's finger is in contact with the location of the touch sensor, the headset determines the selected communication target device based on the device identification broadcast during the operation time.
  • the user's finger is switched from being in contact with the earphone to leaving the first electronic device. For example, when the user's finger presses the pressure sensor set on the earphone to lifts it up, the earphone determines the selected communication target device based on the device identifier broadcasted within the operation time.
  • the action of the user's finger exerting pressure on the designated position of the earphone for a preset period of time. For example, if the finger presses the pressure sensor for 5s, the headset determines the selected communication target device based on the device identifier broadcasted within the operation time.
  • the user's finger exerts pressure on the designated position of the earphone and reaches the preset pressure value. For example, if the pressure value of the finger pressing the pressure sensor reaches 2N, the headset determines the selected communication target device based on the device identifier broadcasted within the operation time.
  • the user's finger taps the earphone a predetermined number of times. For example, if the pressure sensor or the touch sensor is clicked three times, the headset determines the selected communication target device based on the device identification broadcast during the operation time.
  • the trigger operation and the selection operation in the present application may be the same actions.
  • the trigger operation may be clicking the earphone 3 times
  • the selection operation may also be clicking the earphone 3 times.
  • the two can also be different actions.
  • the trigger operation is to click the earphone 3 times.
  • the pressure value of the pressure sensor can be selected to reach 1N.
  • the trigger operation and the selected operation can also jointly complete the action of a hand from touching the earphone to leaving the mobile phone.
  • the headset turns on the voice broadcast function and broadcasts the device ID.
  • the headset When the device ID that the user wants to connect is broadcast, the user lifts his finger, and the headset can obtain the user's The selected device ID.
  • Step S350 the headset initiates a connection request to the communication target device.
  • the headset determines the communication target device, that is, the electronic device B
  • the communication address of the electronic device B is read from the local storage according to the device identification of the electronic device B, and based on the communication address, the headset sends the electronic device B to the electronic device B.
  • a connection request is sent, and after the electronic device B responds to the request, the headset establishes a connection with the electronic device B.
  • the communication connection establishment method of the present application can directly connect with the electronic device through the earphone, so as to avoid the problem that the electronic device cannot be connected with the earphone when the electronic device is not around.
  • the user can establish a connection with the electronic device directly through the earphone without knowing the position of the electronic device, which is convenient and fast, and improves the user's experience.
  • step S360 is performed, and after the connection with the electronic device B is established, the connection with the electronic device C is disconnected to ensure an effective connection between the headset and the electronic device B.
  • the user may also present voice to the headset by means of voice input. Referring to FIG. 3b, the difference between FIG. 3b and the flow shown in FIG. 3a is only step S330. As shown in Fig.
  • step S330' the user inputs the device identification to the earphone by voice.
  • a voice assistant is provided in the headset, the user speaks the device identification of the electronic device B to be connected to the headset through the voice assistant, receives the voice through the voice assistant headset, and further identifies the device identification corresponding to the voice to determine the user's desire to connect. Electronic device B to be connected.
  • Fig. 4a shows a scene diagram of a switching connection between a Bluetooth headset and a terminal device.
  • the Bluetooth headset 400, the terminal device A and the terminal device B are included.
  • the Bluetooth headset has established a connection with the terminal device A, and is paired with the terminal device but has not established a connection.
  • the user can establish a connection with the terminal device B and disconnect from the terminal device A by operating the Bluetooth headset 400 .
  • the Bluetooth headset 400 includes a data processing unit 410 (equivalent to the processor 210 shown in Figure 2) and a database unit 420 (equivalent to the The internal memory 220), the device unit 430 (equivalent to the sensor module 260 in FIG. 2), the Bluetooth protocol processing unit 440, and the voice playback module 450 (equivalent to the audio module 250 in FIG. 2).
  • the device unit 430 may include a pressure sensor 431 .
  • the data processing unit 410 is respectively connected with the database unit 420 , the device unit 430 , the Bluetooth protocol processing unit 440 and the voice playing module 450 .
  • the database unit 420 may include a device list of the terminal device A and the terminal device B paired with the Bluetooth headset 400, and the device list may include the device name ⁇ device ID of the terminal device A and the terminal device B and mailing address.
  • the device unit 430 includes a pressure sensor 431 .
  • the pressure sensor 431 is used to detect the pressure value input by the user. When the user presses the pressure sensor 431 , the pressure sensor 431 sends the detected pressure value to the data processing unit 410 .
  • the data processing unit 410 includes a judgment module 411 and an acquisition module 412, and the judgment module 411 is used to judge whether the pressure value sent by the pressure sensor 431 is greater than the threshold value.
  • the data processing unit 410 controls the voice playing module 450 to stop broadcasting, and determines that the pressure value is 0 or reaches the preset value.
  • the device name and use the terminal device corresponding to the device name as the communication target device, for example, terminal device B.
  • the obtaining module 412 obtains the communication address of the terminal device B from the database unit 420 .
  • the Bluetooth protocol processing module 440 includes a connection instruction set and a disconnection instruction set, and the Bluetooth protocol processing module 440 establishes a connection with the terminal device B through the connection instruction set based on the communication address. Disconnect from the already connected terminal device A by disconnecting the instruction set.
  • Figure 4c shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user pressing a pressure sensor.
  • the specific process is shown in Figure 4c, when the user presses the pressure sensor 431 and keeps the pressing operation, the pressure sensor 431 of the Bluetooth headset receives the pressure value pressed by the user and transmits it to the data processing unit 410, and the data processing unit 410 judges the pressure value Whether it is greater than the threshold value, such as 1N, if it is greater than 1N, the data processing unit 410 confirms the trigger operation of the user, and opens the voice playback module 450 of the Bluetooth headset, and reads the paired device identifier from the database unit 420, such as , device names, and these device names are played through the voice playing module 450, for example, terminal device A and terminal device B.
  • the threshold value such as 1N
  • the data processing unit 410 confirms the trigger operation of the user, and opens the voice playback module 450 of the Bluetooth headset, and reads the paired device
  • terminal device B When playing to terminal device B, for example, from the start of playing the device name of terminal device B to 3 seconds after the device name is played, the selected operation can be received, and after receiving the selected operation, terminal device B is used as the communication target device. If the user wants to establish a connection with the terminal device B. Within 3 seconds, the user lifts his finger and releases the pressure on the pressure sensor. At this time, the pressure value of the pressure sensor is 0.
  • the data processing unit 410 confirms the selected operation that the user wants to establish a connection with the terminal device B, and Control the voice playing module 450 to stop playing the device name.
  • the data processing unit 410 obtains the device name broadcast within 3 seconds, such as the terminal device B, and at the same time obtains the communication address of the terminal device B from the database unit 420, and uses the unified communication protocol through the Bluetooth protocol processing unit 440. connection request.
  • the Bluetooth headset 400 establishes a connection with the terminal device B within a set time, such as 30s
  • the data processing unit 410 determines that the connection is successful, and at the same time disconnects from the previously connected terminal device A. If the connection between the Bluetooth headset 400 and the terminal device B is not established within 30s, the data processing unit 410 judges that the connection fails, and the connection ends. In this scenario, the connection between the Bluetooth headset and the terminal device is realized by pressing with a finger, and the operation mode is simple, so that the user can connect with the terminal device through the headset.
  • the selected operation may also be to press the pressure sensor 431 again, and at this time, the trigger operation is to press the pressure sensor 431 and then release it.
  • the other steps in this embodiment are the same as the modules corresponding to FIG. 4c and the functions of each module. For details, please refer to the description of FIG. 4c.
  • FIG. 5a is a schematic structural diagram of a connection between a Bluetooth headset and a terminal device according to another embodiment of the present application.
  • the device unit 530 includes a fingerprint sensor 531, and the fingerprint sensor 531 is used to detect the fingerprint input by the user.
  • the corresponding data is sent to the data processing unit 410, and the judgment module 412 of the data processing unit 410 judges whether the fingerprint currently input by the user matches the previously stored fingerprint, and after the fingerprints match, the data processing unit 410 sequentially reads from the database unit 412.
  • the device identifiers of the terminal device A and the terminal device B, such as device names, and the device names are broadcast successively through the voice playback module 450 .
  • the data processing unit 410 takes the terminal device corresponding to the device name read when the finger is lifted as the communication target device.
  • Other steps in this embodiment are the same as the modules corresponding to FIG. 4b and the functions of each module. For details, please refer to the description of FIG. 4b.
  • Fig. 5b shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user through fingerprint verification.
  • the process shown in FIG. 5b is described in conjunction with FIG. 5a.
  • the triggering operation can be realized by the fingerprint sensor 531.
  • the fingerprint sensor 531 records the user's fingerprint, and when the judgment module 412 judges that the fingerprint matches the previously entered fingerprint, the data processing unit 410 starts the Bluetooth headset. Voice playback module 450 .
  • the selected operation may be that the fingerprint sensor recognizes that the user lifts the finger, that is, the user releases the touch on the fingerprint sensor 531 .
  • the data processing unit 410 selects to establish a connection with the terminal device B.
  • the other steps in this embodiment are the same as the modules corresponding to Fig. 4b and the functions of each module, for details, please refer to the description of Fig. 4b.
  • the connection between the Bluetooth headset and the terminal device is realized by means of fingerprint verification, the operation is simple, and the security of the connection is improved.
  • the sensor included in the device unit 430 may be implemented as a touch sensor, etc., in addition to the pressure sensor and fingerprint sensor listed in the above scenarios 1 and 2,
  • the touch sensor can sense the tap operation and count the number of taps.
  • the count value exceeds the preset threshold, the selected A device that enables the user to enter data that triggers an action or selected action.
  • the trigger operation and the selected operation may be the same or different.
  • Various sensors may also be included in the device unit 430 for identifying various operations. For example, when the trigger operation can be based on the user's input of a fingerprint through the fingerprint sensor, and the selected operation can be determined according to the pressure value input by the user through the pressure sensor, the device unit 430 can include both a fingerprint sensor and a pressure sensor, so that the user can pass The sensor implements the voice broadcast of the Bluetooth headset and determines the device identification selected by the user.
  • the judgment module 412 makes corresponding judgments according to different parameters input by the sensor, such as whether the pressure value reaches the preset value, whether the fingerprint matches, whether the number of clicks reaches the preset number, etc. .
  • FIG. 6a is a schematic structural diagram of a connection between a Bluetooth headset and a terminal device according to another embodiment of the present application.
  • the difference between Fig. 6a and Fig. 4b is that, as shown in Fig. 6a, the user directly inputs the device identification stored in the database unit 420 through the voice input module, such as the device name, and the judgment module 411 of the data processing unit 410 inputs based on the user's voice
  • the device name directly determines the terminal device corresponding to the device name.
  • the device name can be played through the voice playback module without the need of a Bluetooth headset.
  • Fig. 6b shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user through a call.
  • the process shown in Figure 6b is described in conjunction with Figure 6a.
  • the user wakes up the voice input module 630 of the Bluetooth headset by calling, for example, a voice assistant. If the user's voice input is the name of the terminal device B, the data processing unit 410 and the terminal device B establishes a connection.
  • Other steps in this embodiment are the same as the modules corresponding to FIG. 4b and the functions of each module.
  • the connection between the Bluetooth headset and the terminal device is realized by means of a voice call, and the user can complete the connection between the headset and the terminal device without manual operation.
  • FIG. 7 shows a schematic structural diagram of a terminal device.
  • the terminal device includes:
  • memory 710 for storing instructions for execution by one or more processors of the device
  • the processor 720 is configured to execute the connection method of the foregoing embodiment.
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is run by the processor, the processor causes the processor to execute the connection method of the foregoing embodiment.
  • Device 1200 may include one or more processors 1201 coupled to controller hub 1203 .
  • the controller hub 1203 is connected via a multidrop bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or the like 1206 communicates with processor 1201.
  • FOB Front Side Bus
  • QPI Quick Path Interconnect
  • Processor 1201 executes instructions that control general types of data processing operations.
  • the controller hub 1203 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an Input/Output Hub (IOH) (which may be on a separate chip) (not shown), where the GMCH includes the memory and graphics controller and is coupled to the IOH.
  • GMCH Graphics Memory Controller Hub
  • IOH Input/Output Hub
  • Device 1200 may also include a coprocessor 1202 and memory 1204 coupled to controller hub 1203 .
  • the memory and GMCH may be integrated within the processor (as described in this application), with the memory 1204 and coprocessor 1202 coupled directly to the processor 1201 and to the controller hub 1203, the controller hub 1203 and IOH in a single chip.
  • the memory 1204 may be, for example, Dynamic Random Access Memory (DRAM), Phase Change Memory (PCM), or a combination of the two.
  • DRAM Dynamic Random Access Memory
  • PCM Phase Change Memory
  • the coprocessor 1202 is a special-purpose processor, such as, for example, a high-throughput MIC processor (Many Integerated Core, MIC), a network or communications processor, a compression engine, a graphics processor, a general graphics processor (General Purpose Computing on GPU, GPGPU), or embedded processors, etc.
  • a high-throughput MIC processor Many Integerated Core, MIC
  • MIC Manufacturing Integerated Core
  • GPGPU General Purpose Computing on GPU
  • embedded processors etc.
  • Optional properties of the coprocessor 1202 are represented in FIG. 8 by dashed lines.
  • the memory 1204 acts as a computer-readable storage medium and may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions.
  • memory 1204 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as one or more hard-disk drives (HDD(s)), one or more Multiple Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives.
  • HDD hard-disk drives
  • CD Multiple Compact Disc
  • DVD Digital Versatile Disc
  • the device 1200 may further include a Network Interface Controller (NIC) 1206 .
  • Network interface 1206 may include a transceiver for providing a radio interface for device 1200 to communicate with any other suitable device (eg, front-end modules, antennas, etc.).
  • network interface 1206 may be integrated with other components of device 1200 .
  • the network interface 1206 may implement the functions of the communication unit in the above-described embodiments.
  • Device 1200 may further include an input/output (I/O) device 1205 .
  • I/O 1205 may include: a user interface designed to enable a user to interact with device 1200; a peripheral component interface designed to enable peripheral components to also interact with device 1200; and/or sensors designed to determine the environment associated with device 1200 Condition and/or location information.
  • Figure 8 is exemplary only. That is, although FIG. 8 shows that the device 1200 includes multiple devices such as the processor 1201 , the controller hub 1203 , and the memory 1204 , in practical applications, the device using each method of the present application may only include the devices of the device 1200 Some of the devices, for example, may contain only the processor 1201 and the NIC 1206. The properties of the optional device in Figure 8 are shown in dashed lines.
  • the memory 1204 which is a computer-readable storage medium, stores an instruction, and when the instruction is executed on the computer, causes the system 1200 to execute the communication connection establishment method according to the above-mentioned embodiment.
  • the memory 1204 which is a computer-readable storage medium, stores an instruction, and when the instruction is executed on the computer, causes the system 1200 to execute the communication connection establishment method according to the above-mentioned embodiment.
  • the above-mentioned embodiment. method which will not be repeated here.
  • SoC 1300 includes: interconnect unit 1350 coupled to application processor 1310; system proxy unit 1380; bus controller unit 1390; integrated memory controller unit 1340; one or more coprocessors 1320, which may include integrated graphics logic, image processor, audio processor and video processor; Static Random Access Memory (SRAM) unit 1330; Direct Memory Access (DMA) unit 1360.
  • the coprocessor 1320 includes a special purpose processor such as, for example, a network or communications processor, a compression engine, a GPGPU, a high throughput MIC processor, an embedded processor, or the like.
  • Static random access memory (SRAM) unit 1330 may include one or more computer-readable media for storing data and/or instructions.
  • the computer-readable storage medium may have instructions stored thereon, in particular, temporary and permanent copies of the instructions.
  • the instruction may include: when executed by at least one unit in the processor, causing the Soc 1300 to execute the method for establishing a communication connection according to the foregoing embodiment. For details, refer to the method in the foregoing embodiment, which will not be repeated here.
  • Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementation methods.
  • Embodiments of the present application may be implemented as a computer program or program code executing on a programmable system including at least one processor, a storage system (including volatile and nonvolatile memory and/or storage elements) , at least one input device, and at least one output device.
  • Program code may be applied to input instructions to perform the functions described herein and to generate output information.
  • the output information can be applied to one or more output devices in a known manner.
  • a processing system includes any processor having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor system.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • the program code may be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system.
  • the program code may also be implemented in assembly or machine language, if desired.
  • the mechanisms described in this application are not limited in scope to any particular programming language. In either case, the language may be a compiled language or an interpreted language.
  • the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof.
  • the disclosed embodiments can also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (eg, computer-readable) storage media, which can be executed by one or more processors read and execute.
  • the instructions may be distributed over a network or over other computer-readable media.
  • a machine-readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (eg, a computer), including, but not limited to, floppy disks, optical disks, optical disks, Compact Disc Read Only Memory , CD-ROMs), magneto-optical disks, Read Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable Programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic or optical cards, flash memory, or for the use of the Internet to transmit information by electrical, optical, acoustic or other forms of propagating signals (for example, carrier waves, infrared signals tangible machine-readable storage of digital signals, etc.).
  • machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
  • each unit/module mentioned in each device embodiment of this application is a logical unit/module.
  • a logical unit/module may be a physical unit/module or a physical unit/module.
  • a part of a module can also be implemented by a combination of multiple physical units/modules.
  • the physical implementation of these logical units/modules is not the most important, and the combination of functions implemented by these logical units/modules is the solution to the problem of this application. The crux of the technical question raised.
  • the above-mentioned device embodiments of the present application do not introduce units/modules that are not closely related to solving the technical problems raised in the present application, which does not mean that the above-mentioned device embodiments do not exist. other units/modules.

Abstract

The present application relates to the technical field of communications, and provides a communication connection establishment method, a Bluetooth earphone, and a readable storage medium, applied to a communication system consisting of a first electronic device, a second electronic device, and a third electronic device. The first electronic device can present a device identifier via voice and select a target communication device, and by means of an operation of a user on the first electronic device, the first electronic device can be connected to a terminal device paired with the first electronic device, thereby avoiding the problem that a connection cannot be established when the user does not carry the terminal device. The method comprises: the first electronic device receives a trigger operation on a sensor; in response to the trigger operation, the first electronic device broadcasts device identifiers of the second electronic device and the third electronic device in sequence; when the first electronic device broadcasts the device identifier of the second electronic device, the first electronic device receives a selection operation; in response to the selection operation, the first electronic device establishes a communication connection with the second electronic device.

Description

通信连接建立方法、蓝牙耳机及可读存储介质Communication connection establishment method, Bluetooth headset and readable storage medium
本申请要求于2020年09月01日提交中国专利局、申请号为202010905334.9、申请名称为“通信连接建立方法、蓝牙耳机及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010905334.9 and the application name "Communication connection establishment method, Bluetooth headset and readable storage medium", which was filed with the China Patent Office on September 1, 2020, the entire contents of which are by reference Incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及通信连接建立方法、蓝牙耳机及可读存储介质。The present application relates to the field of communication technologies, and in particular, to a method for establishing a communication connection, a Bluetooth headset, and a readable storage medium.
背景技术Background technique
随着蓝牙设备和便捷式蓝牙设备的普遍使用,用户对蓝牙设备的功能要求越来越高。一个蓝牙设备可以配对到多个终端上。蓝牙设备在已预先连接第一终端的情况下,可以断开与第一终端的连接,然后与第二终端建立连接,如蓝牙耳机和第一终端之间通过NFC触碰,实现耳机的蓝牙与已连接的第一终端断开,然后蓝牙耳机可通过NFC触碰另一个终端,实现耳机与另一终端的蓝牙连接。或者,通过在第二终端上选择想要连接的蓝牙耳机,点击蓝牙耳机进行“连接”,此时蓝牙耳机会断开与第一终端的连接,并建立与第二终端的连接。显然,蓝牙设备在多个配对终端之间进行切换时,操作较为繁琐,用户的使用体验不高。如果第二终端不在用户身边时,无法在第二终端上操作以建立连接。With the widespread use of Bluetooth devices and portable Bluetooth devices, users have higher and higher functional requirements for Bluetooth devices. A Bluetooth device can be paired to multiple terminals. When the Bluetooth device has been pre-connected to the first terminal, it can disconnect from the first terminal and then establish a connection with the second terminal. The connected first terminal is disconnected, and then the Bluetooth headset can touch another terminal through NFC to realize the Bluetooth connection between the headset and the other terminal. Alternatively, by selecting the Bluetooth headset you want to connect on the second terminal, and clicking the Bluetooth headset to "connect", the Bluetooth headset will disconnect from the first terminal and establish a connection with the second terminal. Obviously, when the Bluetooth device switches between multiple paired terminals, the operation is cumbersome, and the user experience is not high. If the second terminal is not at the user's side, it is not possible to operate on the second terminal to establish the connection.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供一种通信连接建立方法、蓝牙耳机及可读存储介质,能够解决蓝牙设备对配对的终端设备的依赖,即使配对的终端设备不在身边也可以实现快速的连接,且该方法可以避免在终端设备上频繁操作的问题。In view of this, the present invention provides a method for establishing a communication connection, a Bluetooth headset and a readable storage medium, which can solve the dependence of a Bluetooth device on a paired terminal device, and can achieve a fast connection even if the paired terminal device is not around, and the The method can avoid the problem of frequent operation on the terminal device.
本申请的一些实施方式提供了一种通信连接建立方法。以下从多个方面介绍本申请,以下多个方面的实施方式和有益效果可互相参考。Some embodiments of the present application provide a method for establishing a communication connection. The present application is described below from various aspects, and the embodiments and beneficial effects of the following various aspects can be referred to each other.
第一方面,本发明提供一种通信连接建立方法,用于由第一电子设备、第二电子设备和第三电子设备构成的通信系统,第一电子设备包括传感器,第一电子设备接收对传感器的触发操作;响应于所述触发操作,第一电子设备依次播报第二电子设备和第三电子设备的设备标识;在第一电子设备播报第二电子设备的设备标识时,第一电子设备确定接收到针对所述第二电子设备的设备标识的选定操作;响应于所述选定操作,第一电子设备与第二电子设备建立通信连接。本申请的第一电子设备通过播报与其配对的电子设备的设备标识,并基于针对设备标识的选定操作从配对的多个电子设备中选定作为通信目标的第二电子设备,可以避免用户手动操作第二电子设备,同时,该连接方式可以避免当想要连接的第二电子设备不在身边时(蓝牙可连接的范围内),无法实现连接的问题,提高了用户的体验。In a first aspect, the present invention provides a method for establishing a communication connection, which is used in a communication system composed of a first electronic device, a second electronic device and a third electronic device, the first electronic device includes a sensor, and the first electronic device receives a response to the sensor. in response to the triggering operation, the first electronic device broadcasts the device identifiers of the second electronic device and the third electronic device in sequence; when the first electronic device broadcasts the device identifiers of the second electronic device, the first electronic device determines A selected operation for the device identification of the second electronic device is received; in response to the selected operation, the first electronic device establishes a communication connection with the second electronic device. The first electronic device of the present application broadcasts the device identification of the electronic device paired with it, and selects the second electronic device as the communication target from the paired electronic devices based on the selection operation for the device identification, thereby avoiding the need for the user to manually The second electronic device is operated, and at the same time, the connection method can avoid the problem that the connection cannot be realized when the second electronic device to be connected is not around (within the range of Bluetooth connection), thereby improving the user experience.
在上述第一方面的一种可能的实现中,第一电子设备是可穿戴电子设备,如耳机、手环、手表、智能眼镜等。In a possible implementation of the above-mentioned first aspect, the first electronic device is a wearable electronic device, such as an earphone, a wristband, a watch, and smart glasses.
在上述第一方面的一种可能的实现中,传感器为指纹传感器或压力传感器。In a possible implementation of the above first aspect, the sensor is a fingerprint sensor or a pressure sensor.
在上述第一方面的一种可能的实现中,在所述第一电子设备播报所述第二电子设备的设备标识时,第一电子设备接收到选定操作,包括:在第二电子设备的设备标识播报完毕后的预设时长内,所述第一电子设备接收选定操作。该方案中通过第一电子设备语音播报的方式向用户呈现设备标识,当用户听到 想要连接的第二电子设备的设备标识后,可以在语音播报该设备标识开始至预设时长内进行选定设备标识,由该第一电子设备向该设备标识对应的第二电子设备发送连接请求。该方式操作简单、方便,即时第二电子设备不在身边,依然可以实现第一电子设备与第二电子设备的连接。In a possible implementation of the above-mentioned first aspect, when the first electronic device broadcasts the device identification of the second electronic device, the first electronic device receives a selected operation, including: in the second electronic device The first electronic device receives the selected operation within a preset time period after the broadcast of the device identification is completed. In this solution, the device identification is presented to the user by means of voice broadcast by the first electronic device. When the user hears the device identification of the second electronic device that he wants to connect, he can select the device identification from the start of the voice broadcast to the preset time period. The device identification is determined, and the first electronic device sends a connection request to the second electronic device corresponding to the device identification. The operation is simple and convenient, and even if the second electronic device is not around, the connection between the first electronic device and the second electronic device can still be realized.
在上述第一方面的一种可能的实现中,选定操作包括以下操作的其中之一:第一电子设备的用户的手指与第一电子设备传感器接触;第一电子设备的用户的手指从与第一电子设备接触的状态切换为离开第一电子设备;第一电子设备的用户的手指对电子设备的传感器施加压力的动作,并持续预设时长;第一电子设备的用户的手指对电子设备的传感器施加压力的动作,并达到预设压力值;第一电子设备的用户的手指点击第一电子设备预定次数。通过手指对第一电子设备的操作,选定将要连接的作为通信目标的第二电子设备,操作简单。In a possible implementation of the above-mentioned first aspect, the selected operation includes one of the following operations: the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; the finger of the user of the first electronic device is moved from The contact state of the first electronic device is switched to leaving the first electronic device; the finger of the user of the first electronic device exerts pressure on the sensor of the electronic device for a preset period of time; the finger of the user of the first electronic device is pressed against the electronic device The sensor exerts pressure and reaches a preset pressure value; the finger of the user of the first electronic device clicks the first electronic device a predetermined number of times. By operating the first electronic device with a finger, the second electronic device to be connected as the communication target is selected, and the operation is simple.
在上述第一方面的一种可能的实现中,基于第一电子设备的用户对第一电子设备的触发操作,触发第一电子设备先后播报多个第二电子设备中的每一个第二电子设备的设备标识。通过触发操作,实现第一电子设备开启语音播放设备标识,操作方便。In a possible implementation of the above-mentioned first aspect, based on a triggering operation of the first electronic device by the user of the first electronic device, the first electronic device is triggered to broadcast successively each of the plurality of second electronic devices. device identification. Through the triggering operation, the first electronic device realizes that the identification of the voice playing device is turned on, and the operation is convenient.
在上述第一方面的一种可能的实现中,触发操作包括以下操作的其中之一:第一电子设备的用户的手指与第一电子设备的传感器接触;第一电子设备的用户的手指从与第一电子设备接触的状态切换为离开第一电子设备的状态,第一电子设备的用户的手指对电子设备的传感器施加压力的动作,并持续预设时长;第一电子设备的用户的手指对电子设备的传感器施加压力的动作,并达到预设压力值;第一电子设备的用户的手指点击第一电子设备预定次数。通过手指对第一电子设备的操作,启动第一电子设备开启语音播放设备标识,操作简单,便捷。In a possible implementation of the above-mentioned first aspect, the triggering operation includes one of the following operations: the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; the finger of the user of the first electronic device is in contact with the sensor of the first electronic device; The contact state of the first electronic device is switched to the state of leaving the first electronic device, and the finger of the user of the first electronic device exerts pressure on the sensor of the electronic device for a preset period of time; The sensor of the electronic device applies pressure to reach a preset pressure value; the finger of the user of the first electronic device clicks the first electronic device a predetermined number of times. By operating the first electronic device with a finger, the first electronic device is activated to enable the identification of the voice playback device, and the operation is simple and convenient.
在上述第一方面的一种可能的实现中,第一电子设备的用户的手指与第一电子设备的指纹传感器接触,包括第一电子设备识别用户与指纹传感器接触后录入的指纹,并验证指纹与该用户预先存储的指纹匹配。该方案中,采用指纹验证,可以更好的保护连接的安全性。In a possible implementation of the above-mentioned first aspect, the finger of the user of the first electronic device is in contact with the fingerprint sensor of the first electronic device, including the first electronic device recognizing the fingerprint recorded after the user contacts the fingerprint sensor, and verifying the fingerprint Matches the user's pre-stored fingerprint. In this solution, fingerprint authentication is used to better protect the security of the connection.
在上述第一方面的一种可能的实现中,第一电子设备还可以通过采集第一电子设备的用户对第二电子设备的设备标识进行呼叫的语音,例如,用户利用语音助手,对第二电子设备的名称进行呼叫,第一电子设备通过语音助手从语音中解析设备标识,并确定设备标识,基于设备标识从多个第二电子设备中选定作为通信目标的第二电子设备。通过语音呼叫的方式,在用户手不方便操作时,可以通过语音操作,简单便捷。In a possible implementation of the above-mentioned first aspect, the first electronic device may also collect the voice of the user of the first electronic device calling the device identifier of the second electronic device. For example, the user uses a voice assistant to call the second electronic device. The name of the electronic device makes a call, the first electronic device parses the device identification from the voice through the voice assistant, determines the device identification, and selects the second electronic device as the communication target from the plurality of second electronic devices based on the device identification. Through the method of voice calling, when the user's hands are inconvenient to operate, it can be operated by voice, which is simple and convenient.
在上述第一方面的一种可能的实现中,第一电子设备与通信目标的第二电子设备建立通信连接,包括:第一电子设备基于设备标识,从本地存储器中读取作为通信目标的第二电子设备的通信地址;基于该通信地址,第一电子设备向第二电子设备发送连接请求,且在第二电子设备响应连接请求后,第一电子设备与第二电子设备建立连接。In a possible implementation of the above-mentioned first aspect, establishing a communication connection between the first electronic device and the second electronic device of the communication target includes: the first electronic device reads the first electronic device as the communication target from the local memory based on the device identifier. The communication address of the second electronic device; based on the communication address, the first electronic device sends a connection request to the second electronic device, and after the second electronic device responds to the connection request, the first electronic device establishes a connection with the second electronic device.
在上述第一方面的一种可能的实现中,当第二电子设备对第一电子设备发送的连接请求的响应时间超过预设时间,则第一电子设备结束与第二电子设备的连接请求。该方案可以避免设备因长时间等待,耗电的情况,且长时间的等待也会使用户体验降低。In a possible implementation of the above first aspect, when the response time of the second electronic device to the connection request sent by the first electronic device exceeds a preset time, the first electronic device ends the connection request with the second electronic device. This solution can avoid the power consumption of the device due to long-time waiting, and the long-time waiting will also degrade the user experience.
在上述第一方面的一种可能的实现中,当第一电子设备已经与第四电子设备建立连接时,还包括:第一电子设备与已经连接的第四电子设备断开连接,再与所述第二电子设备建立连接。以实现与当前通信目标设备有效的连接。In a possible implementation of the above-mentioned first aspect, when the first electronic device has established a connection with the fourth electronic device, the method further includes: disconnecting the first electronic device from the connected fourth electronic device, and then connecting to the fourth electronic device. The second electronic device establishes a connection. In order to achieve an effective connection with the current communication target device.
第二方面,本申请提供一种蓝牙耳机,包括:In a second aspect, the present application provides a Bluetooth headset, including:
传感器,用于接收触发操作;A sensor for receiving trigger operations;
存储器,用于存储由设备的一个或多个处理器执行的指令,以及memory for storing instructions for execution by one or more processors of the device, and
处理器,用于执行上述指令,使得耳机执行以下操作:The processor is used to execute the above instructions, so that the headset performs the following operations:
响应于所述触发操作,所述蓝牙耳机依次播报第二电子设备和第三电子设备的设备标识;在所述蓝牙耳机播报所述第二电子设备的设备标识时,所处传感器接收选定操作;响应于所述选定操作,所述蓝牙耳机与所述第二电子设备建立通信连接。本申请的蓝牙耳机通过播报与其配对的电子设备的设备标识,并基于针对设备标识的选定操作从配对的多个电子设备中选定作为通信目标的第二电子设备,可以避免用户手动操作电子设备,且,该连接方式可以避免当想要连接的第二电子设备不在身边时,无法实现连接的问题,提高了用户的体验。In response to the triggering operation, the Bluetooth headset broadcasts the device identifications of the second electronic device and the third electronic device in turn; when the Bluetooth headset broadcasts the device identification of the second electronic device, the sensor where it is located receives the selected operation ; In response to the selected operation, the Bluetooth headset establishes a communication connection with the second electronic device. The Bluetooth headset of the present application can prevent the user from manually operating electronic Moreover, the connection method can avoid the problem that the connection cannot be realized when the second electronic device to be connected is not around, and the user experience is improved.
在上述第二方面的一种可能的实现中,所述传感器为指纹传感器或压力传感器。In a possible implementation of the above second aspect, the sensor is a fingerprint sensor or a pressure sensor.
在上述第二方面的一种可能的实现中,蓝牙耳机确定接收到针对第二电子设备的设备标识的选定操作,包括:在第二电子设备的设备标识播报完毕后的预设时长内,蓝牙耳机接收选定操作。该方案中通过蓝牙耳机语音播报的方式向用户呈现设备标识,当用户听到想要连接的第二电子设备的设备标识后,可以在语音播报该设备标识开始至预设时长内进行选定设备标识,由该蓝牙耳机向该设备标识对应的第二电子设备发送连接请求。该方式操作简单、方便,即时第二电子设备不在身边,依然可以实现蓝牙耳机与第二电子设备的连接。In a possible implementation of the above-mentioned second aspect, determining that the Bluetooth headset has received a selection operation for the device identification of the second electronic device includes: within a preset time period after the device identification of the second electronic device is broadcast, The Bluetooth headset receives the selected action. In this solution, the device identification is presented to the user through a Bluetooth headset voice broadcast. When the user hears the device identification of the second electronic device that he wants to connect, he can select the device from the start of the voice broadcast of the device identification to the preset time period. identification, the Bluetooth headset sends a connection request to the second electronic device corresponding to the device identification. The operation is simple and convenient, and even if the second electronic device is not around, the connection between the Bluetooth headset and the second electronic device can still be realized.
在上述第二方面的一种可能的实现中,选定操作包括以下操作的其中之一:蓝牙耳机的用户的手指与蓝牙耳机的传感器接触;蓝牙耳机的用户的手指从与蓝牙耳机接触的状态切换为离开蓝牙耳机的状态;蓝牙耳机的用户的手指对电子设备的传感器施加压力的动作,并持续预设时长;蓝牙耳机的用户的手指对电子设备的传感器施加压力的动作,并达到预设压力值;蓝牙耳机的用户的手指点击蓝牙耳机预定次数。通过手指对蓝牙耳机的操作,选定将要连接的通信目标的设备,操作简单。In a possible implementation of the above second aspect, the selected operation includes one of the following operations: the finger of the user of the Bluetooth headset is in contact with the sensor of the Bluetooth headset; the finger of the user of the Bluetooth headset is in contact with the Bluetooth headset from the state Switch to the state of leaving the Bluetooth headset; the action of the user's finger of the Bluetooth headset exerting pressure on the sensor of the electronic device for a preset period of time; the action of the user's finger of the Bluetooth headset exerting pressure on the sensor of the electronic device, and reaches the preset Pressure value; the finger of the user of the Bluetooth headset taps the Bluetooth headset a predetermined number of times. Through the operation of the Bluetooth headset with fingers, the device to be connected to the communication target can be selected, and the operation is simple.
在上述第二方面的一种可能的实现中,触发操作包括以下操作的其中之一:蓝牙耳机的用户的手指与蓝牙耳机的传感器接触;蓝牙耳机的用户的手指从与蓝牙耳机接触的状态切换为离开蓝牙耳机,蓝牙耳机的用户的手指对电子设备的传感器施加压力的动作,并持续预设时长;蓝牙耳机的用户的手指对电子设备的传感器施加压力的动作,并达到预设压力值;蓝牙耳机的用户的手指点击蓝牙耳机预定次数。通过手指对蓝牙耳机的操作,触发蓝牙耳机开启语音播放设备标识,操作简单,便捷。In a possible implementation of the above-mentioned second aspect, the triggering operation includes one of the following operations: the user's finger of the Bluetooth headset is in contact with the sensor of the Bluetooth headset; the finger of the user of the Bluetooth headset is switched from the state of being in contact with the Bluetooth headset In order to leave the Bluetooth headset, the finger of the user of the Bluetooth headset exerts pressure on the sensor of the electronic device for a preset period of time; the finger of the user of the Bluetooth headset exerts pressure on the sensor of the electronic device, and reaches the preset pressure value; The finger of the user of the Bluetooth headset taps the Bluetooth headset a predetermined number of times. By operating the bluetooth earphone with a finger, the bluetooth earphone is triggered to turn on the identification of the voice playback device, and the operation is simple and convenient.
在上述第二方面的一种可能的实现中,蓝牙耳机的用户的手指与蓝牙耳机的传感器接触,包括:蓝牙耳机识别用户与指纹传感器接触后录入的指纹,并验证指纹与该用户预先存储的指纹匹配。该方案中,采用指纹验证,可以更好的保护连接的安全性。In a possible implementation of the above second aspect, the finger of the user of the Bluetooth headset is in contact with the sensor of the Bluetooth headset, including: the Bluetooth headset recognizes the fingerprint entered after the user contacts the fingerprint sensor, and verifies that the fingerprint matches the pre-stored fingerprint of the user. Fingerprint matching. In this solution, fingerprint authentication is used to better protect the security of the connection.
在上述第二方面的一种可能的实现中,蓝牙耳机还可以通过采集用户对第二电子设备的设备标识进行呼叫的语音,并从语音中解析设备标识,并基于设备标识从多个第二电子设备中选定通信目标的设备。通过语音呼叫的方式,在用户手不方便操作时,可以通过语音操作,简单便捷。In a possible implementation of the above-mentioned second aspect, the Bluetooth headset may also collect the voice of the user calling the device identification of the second electronic device, and parse the device identification from the voice, and based on the device identification The device of the selected communication destination in the electronic device. Through the method of voice calling, when the user's hands are inconvenient to operate, it can be operated by voice, which is simple and convenient.
在上述第二方面的一种可能的实现中,蓝牙耳机与第二电子设备建立通信连接,包括:蓝牙耳机基于设备标识,从本地存储器中读取第二电子设备的通信地址;基于该通信地址,蓝牙耳机向第二电子设备发送连接请求,且在通信目标设备响应连接请求后,蓝牙耳机与第二电子设备建立连接。In a possible implementation of the above second aspect, establishing a communication connection between the Bluetooth headset and the second electronic device includes: the Bluetooth headset reads the communication address of the second electronic device from the local memory based on the device identification; based on the communication address , the Bluetooth headset sends a connection request to the second electronic device, and after the communication target device responds to the connection request, the Bluetooth headset establishes a connection with the second electronic device.
在上述第二方面的一种可能的实现中,当第二电子设备对蓝牙耳机发送的连接请求的响应时间超过预设时间,则蓝牙耳机结束与第二电子设备的连接请求。该方案可以避免设备因长时间等待,耗电的情况,且长时间的等待也会使用户体验降低。In a possible implementation of the above second aspect, when the response time of the second electronic device to the connection request sent by the Bluetooth headset exceeds a preset time, the Bluetooth headset ends the connection request with the second electronic device. This solution can avoid the power consumption of the device due to long-time waiting, and the long-time waiting will also degrade the user experience.
在上述第二方面的一种可能的实现中,当蓝牙耳机已经与一个其他的第四电子设备建立连接时,还包括:蓝牙耳机与第四电子设备断开连接,再与作为通信目标的第二电子设备建立连接。以实现与当前通信目标设备有效的连接。In a possible implementation of the above second aspect, when the Bluetooth headset has established a connection with another fourth electronic device, the method further includes: disconnecting the Bluetooth headset from the fourth electronic device, and then connecting with the fourth electronic device as the communication target. The two electronic devices establish a connection. In order to achieve an effective connection with the current communication target device.
第三方面,本申请提供一种终端设备,包括:In a third aspect, the present application provides a terminal device, including:
存储器,用于存储由设备的一个或多个处理器执行的指令,以及memory for storing instructions for execution by one or more processors of the device, and
处理器,用于执行上述第一方面实施例所述的方法。A processor, configured to execute the method described in the first aspect embodiment.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器运行时,使得所述处理器执行上述第一方面实施例所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the processor causes the processor to execute the above-mentioned first aspect embodiment. method described.
第五方面,本申请的公开了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面实施例公开的方法。In a fifth aspect, the present application discloses a computer program product containing instructions, which, when executed on a computer, cause the computer to execute the method disclosed in the embodiments of the first aspect.
第六方面,本申请的公开了一种设备,包括处理器、存储器和通信模块。处理器、存储器和通信模块之间通过内部链接通路互相通信,传递控制和/或数据信号,使得该设备执行上述第一方面实施例公开的方法。In a sixth aspect, the present application discloses a device including a processor, a memory and a communication module. The processor, the memory, and the communication module communicate with each other through the internal link path, and transmit control and/or data signals, so that the device executes the method disclosed in the embodiment of the first aspect.
第七方面,本申请还公开了一种系统,所述系统包括第一电子设备和第二电子设备,其中,第一电子设备用于执行上述第一方面实施例所述的方法。In a seventh aspect, the present application further discloses a system, where the system includes a first electronic device and a second electronic device, wherein the first electronic device is configured to execute the method described in the embodiments of the first aspect.
附图说明Description of drawings
图1为本申请一个实施例的通信系统架构图;FIG. 1 is an architecture diagram of a communication system according to an embodiment of the application;
图2为本申请一个实施例的电子设备结构示意图;2 is a schematic structural diagram of an electronic device according to an embodiment of the application;
图3a为本申请一个实施例的通信连接建立方法的流程图;3a is a flowchart of a method for establishing a communication connection according to an embodiment of the present application;
图3b为本申请另一个实施例的通信连接建立方法的流程图;3b is a flowchart of a method for establishing a communication connection according to another embodiment of the present application;
图4a为本申请一个实施例的蓝牙耳机与终端设备切换连接的场景图;FIG. 4a is a scene diagram of a switching connection between a Bluetooth headset and a terminal device according to an embodiment of the application;
图4b为本申请一个实施例的蓝牙耳机的结构框图;4b is a structural block diagram of a Bluetooth headset according to an embodiment of the application;
图4c为本申请一个实施例的用户通过按压压力传感器实现蓝牙耳机与终端设备建立连接的流程图;FIG. 4c is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device by pressing a pressure sensor according to an embodiment of the application;
图5a为本申请另一个实施例的蓝牙耳机的结构框图;5a is a structural block diagram of a Bluetooth headset according to another embodiment of the application;
图5b为本申请一个实施例的用户通过指纹验证的方式实现蓝牙耳机与终端设备建立连接的流程图;FIG. 5b is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device through fingerprint verification according to an embodiment of the application;
图6a为本申请另一个实施例的蓝牙耳机的结构框图;6a is a structural block diagram of a Bluetooth headset according to another embodiment of the application;
图6b为本申请一个实施例的用户通过呼叫的方式实现蓝牙耳机与终端设备建立连接的流程图;FIG. 6b is a flowchart of a user implementing a connection between a Bluetooth headset and a terminal device through a call according to an embodiment of the application;
图7为本申请一个实施例的耳机的结构示意图;7 is a schematic structural diagram of an earphone according to an embodiment of the present application;
图8为本申请一些实施例的一种设备的框图;8 is a block diagram of a device according to some embodiments of the present application;
图9为本申请一些实施例的一种片上系统(SoC)的框图。FIG. 9 is a block diagram of a system on a chip (SoC) according to some embodiments of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
可以理解的是,如本文所使用的,术语“模块”可以指代或者包括专用集成电路(ASIC)、电子电路、执行一个或多个软件或固件程序的处理器(共享、专用、或群组)和/或存储器、组合逻辑电路、和/或提供所描述的功能的其他适当硬件组件,或者可以作为这些硬件组件的一部分。It is to be understood that, as used herein, the term "module" may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) executing one or more software or firmware programs ) and/or memory, combinatorial logic, and/or other suitable hardware components that provide the described functionality, or may be part of such hardware components.
可以理解的是,在本申请各实施例中,处理器可以是微处理器、数字信号处理器、微控制器等,和/或其任何组合。根据另一个方面,所述处理器可以是单核处理器,多核处理器等,和/或其任何组合。It can be understood that, in various embodiments of the present application, the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and/or any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, etc., and/or any combination thereof.
现有的一种连接方式,当电子设备,如,手机,和蓝牙耳机这样的穿戴设备连接时,用户在手机上开启近距离无线通信(near field communication,NFC)功能,将该手机与具有NFC功能的蓝牙耳机触碰,通过NFC功能建立蓝牙连接,此后,通过蓝牙实现手机与蓝牙耳机之间的蓝牙连接。现有的另一种连接方式,直接通过在手机上点击配对的蓝牙耳机,就可以实现手机和蓝牙耳机的连接和断开,若蓝牙耳机在连接该手机之前已经连接上了另一个电子设备,例如平板电脑,则用户首先需要在平板电脑上操 作,来断开平板电脑和蓝牙耳机之间的连接,再操作手机,才能实现耳机与手机的连接。这种连接方式无论是断开与平板电脑的连接,还是与手机连接,都需要在电子设备上进行操作。上述两种连接方式都依赖于在电子设备上操作,而当电子设备不在用户身边时,无法仅通过对耳机进行操作来与电子设备连接。In an existing connection method, when an electronic device, such as a mobile phone, is connected to a wearable device such as a Bluetooth headset, the user enables the near field communication (NFC) function on the mobile phone, and the mobile phone is connected with the NFC-enabled device. Touch the functional bluetooth headset to establish a bluetooth connection through the NFC function, and then realize the bluetooth connection between the mobile phone and the bluetooth headset through bluetooth. Another existing connection method is to directly click on the paired Bluetooth headset on the mobile phone to connect and disconnect the mobile phone and the Bluetooth headset. If the Bluetooth headset has been connected to another electronic device before connecting to the mobile phone, For example, on a tablet computer, the user first needs to operate on the tablet computer to disconnect the connection between the tablet computer and the Bluetooth headset, and then operate the mobile phone to realize the connection between the headset and the mobile phone. Whether this connection method is to disconnect from the tablet computer or to connect to the mobile phone, it needs to be operated on the electronic device. The above two connection methods both depend on the operation on the electronic device, and when the electronic device is not around the user, it cannot be connected with the electronic device only by operating the earphone.
本申请实施例提供了一种蓝牙耳机,该蓝牙耳机可以应用于如图1所示的通信系统中。如图1所示,在该通信系统中,蓝牙耳机101已经与多个电子设备102配对,通过配对的方式,蓝牙耳机可以获取与其配对的多个电子设备的设备名称、设备ID以及通信地址等。电子设备102包括如图1所示的智能手表021、智能手机022和智能手机023,其中,蓝牙耳机与智能手机022已经建立连接。An embodiment of the present application provides a Bluetooth headset, and the Bluetooth headset can be applied to the communication system as shown in FIG. 1 . As shown in FIG. 1 , in this communication system, the Bluetooth headset 101 has been paired with multiple electronic devices 102. Through pairing, the Bluetooth headset can obtain the device names, device IDs, and communication addresses of multiple electronic devices paired with it. . The electronic device 102 includes a smart watch 021 , a smart phone 022 and a smart phone 023 as shown in FIG. 1 , wherein a connection between the Bluetooth headset and the smart phone 022 has been established.
需要说明的是,本申请实施例虽然以蓝牙耳机进行举例,但是本申请实施例提供的通信连接建立方法,也可以适用于具备蓝牙功能的其他电子设备,例如蓝牙音箱、具备蓝牙模块的手机、具备蓝牙模块的笔记本电脑等,本申请实施例对此不做限定。举例来说,本申请实施例提供的通信连接建立方法,可以用于第一手机选择多个第二手机中的一个进行连接的场景。It should be noted that although the embodiment of the present application uses a Bluetooth headset as an example, the communication connection establishment method provided in the embodiment of the present application can also be applied to other electronic devices with Bluetooth functions, such as Bluetooth speakers, mobile phones with Bluetooth modules, A notebook computer with a Bluetooth module, etc., is not limited in this embodiment of the present application. For example, the method for establishing a communication connection provided by the embodiment of the present application can be used in a scenario where the first mobile phone selects one of multiple second mobile phones for connection.
蓝牙耳机101通过与多个电子设备102配对,获取电子设备102的设备标识和通信地址,其中,设备标识可以包括设备名称、设备ID等代表设备身份的标识。当用户想通过蓝牙耳机101与多个电子设备102中的一个建立连接时,通过触发操作开启电子设备101的语音播报功能,例如,通过按压压力传感器使得压力值达到设定值等触发操作。关于触发操作的具体描述请参见下面的关于触发操作的实施例,在此不详细的说明。语音播放功能被开启后,蓝牙耳机101通过语音播报的方式先后播报已经配对的电子设备102的设备标识,当蓝牙耳机101识别到用户针对某一个设备标识的选定操作,蓝牙耳机101根据该选定操作确定该设备标识。蓝牙耳机101基于该设备标识确定将要连接的通信目标设备,并建立连接。The Bluetooth headset 101 acquires the device identifier and communication address of the electronic device 102 by pairing with multiple electronic devices 102 , where the device identifier may include device name, device ID and other identifiers representing the device identity. When the user wants to establish a connection with one of the plurality of electronic devices 102 through the Bluetooth headset 101, the voice broadcast function of the electronic device 101 is activated by a trigger operation, for example, by pressing the pressure sensor to make the pressure value reach the set value and other trigger operations. For the specific description of the triggering operation, please refer to the following embodiments about the triggering operation, which will not be described in detail here. After the voice playback function is turned on, the Bluetooth headset 101 broadcasts the device identifiers of the paired electronic devices 102 successively by means of voice broadcasting. The specified operation determines the device identity. The Bluetooth headset 101 determines the communication target device to be connected based on the device identification, and establishes the connection.
耳机101上通常设置有各种传感器011,如压力传感器、指纹传感器等,设置在如图1所示的蓝牙耳机101的柄部012。蓝牙耳机101上设置的传感器011能检测到作为选定操作的用户对蓝牙耳机101的点击操作、按压操作、由按压到离开的操作等。可选的,当蓝牙耳机101播报智能手机022的设备标识时,蓝牙耳机101识别到用户的手指由原来触碰蓝牙耳机101的压力传感器到抬起的动作,即此时用户给予压力传感器的压力值由大于0N到等于0N,此时电子设备101识别智能手机022的设备标识,并根据该设备标识从本地数据存储单元中调取智能手机022的通信地址,并向该智能手机022发起连接请求,智能手机022响应该连接请求,与耳机蓝牙建立通信连接,进而用户通过在耳机101上操作就可以实现耳机101与手机022的连接,避免手机不在身边时,无法与耳机连接的问题。The earphone 101 is usually provided with various sensors 011 , such as a pressure sensor, a fingerprint sensor, etc., which are arranged on the handle 012 of the Bluetooth earphone 101 as shown in FIG. 1 . The sensor 011 provided on the Bluetooth headset 101 can detect the user's click operation, pressing operation, operation from pressing to leaving, etc. on the Bluetooth headset 101 as the selected operation. Optionally, when the Bluetooth headset 101 broadcasts the device identification of the smart phone 022, the Bluetooth headset 101 recognizes that the user's finger has moved from touching the pressure sensor of the Bluetooth headset 101 to lifting, that is, the pressure exerted by the user on the pressure sensor at this time. The value is greater than 0N to equal to 0N. At this time, the electronic device 101 recognizes the device ID of the smart phone 022, and retrieves the communication address of the smart phone 022 from the local data storage unit according to the device ID, and initiates a connection request to the smart phone 022. , the smart phone 022 responds to the connection request and establishes a communication connection with the headset Bluetooth, and then the user can realize the connection between the headset 101 and the mobile phone 022 by operating on the headset 101, avoiding the problem that the mobile phone cannot be connected with the headset when the mobile phone is not around.
需要说明的是,选定操作可以是用户发出的语音指令,本申请中蓝牙耳机101还可以识别用户语音呼叫的设备标识,例如,当用户呼叫手机022的设备名称时,如Honor p40,耳机101可以识别出该手机022的设备名称Honor p40,再与该手机022建立通信连接。本申请中对于耳机101的语音呈现方式并不进行限定。It should be noted that the selected operation can be a voice command issued by the user. In this application, the Bluetooth headset 101 can also identify the device identifier of the user's voice call. For example, when the user calls the device name of the mobile phone 022, such as Honor p40, the headset 101 The device name Honor p40 of the mobile phone 022 can be identified, and then a communication connection is established with the mobile phone 022. The present application does not limit the voice presentation manner of the earphone 101 .
蓝牙耳机101与电子设备102可以通过无线近距离通信技术进行连接,该连接可以是蓝牙(bluetooth,BT)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信技术。The Bluetooth headset 101 and the electronic device 102 can be connected through a wireless short-range communication technology, and the connection can be wireless such as Bluetooth (bluetooth, BT), near field communication (NFC), infrared technology (infrared, IR). communication technology.
本申请的第一电子设备(例如蓝牙耳机)基于以语音的方式呈现第二电子设备的设备标识,用户通过对第一电子设备进行操作,就可以与第二电子设备建立连接,避免当第二电子设备不在身旁时,(但第一电子设备和第二电子设备处于蓝牙可连接的范围内),无法通过操作第一电子设备与第二电子设备建立连接的问题。同时,通过操作第一电子设备可以实现第一电子设备与多个电子设备之间的切换连接,提升用户的体验。The first electronic device (such as a Bluetooth headset) of the present application is based on presenting the device identification of the second electronic device in a voice manner. By operating the first electronic device, the user can establish a connection with the second electronic device, avoiding the need for a second electronic device. When the electronic device is not around (but the first electronic device and the second electronic device are within the range of Bluetooth connection), the connection between the first electronic device and the second electronic device cannot be established by operating the first electronic device. At the same time, by operating the first electronic device, switching connections between the first electronic device and multiple electronic devices can be implemented, thereby improving user experience.
需要说明的是,耳机101作为根据本申请的电子设备的实例,本申请不限于此,它也可以是其他可穿戴设备,例如,电子设备可以是手表、手环、智能眼镜等,也可以非穿戴设备,如音箱、车载设备等设备。终端设备A、B、C可以是手机、平板电脑、笔记本电脑、超级移动个人计算机、个人数字助理(personal digital assisitant,PDA)、电视、智能手表等设备。本申请中对电子设备的设备类型不予具体限定。It should be noted that the headset 101 is an example of an electronic device according to the present application, and the present application is not limited to this, and it can also be other wearable devices. For example, the electronic device can be a watch, a bracelet, smart glasses, etc. Wearable devices, such as speakers, in-vehicle devices, etc. Terminal devices A, B, and C may be mobile phones, tablet computers, notebook computers, super mobile personal computers, personal digital assistants (personal digital assistants, PDAs), televisions, smart watches, and other devices. The device type of the electronic device is not specifically limited in this application.
在下面的实施例中,上述将作为通信目标的第二电子设备,简称为通信目标设备。In the following embodiments, the above-mentioned second electronic device that will be the communication target is simply referred to as the communication target device.
下面结合第一电子设备的具体结构对本申请的通信连接建立的过程进行描述。The process of establishing a communication connection of the present application will be described below with reference to the specific structure of the first electronic device.
第一电子设备结构:The first electronic device structure:
示例性的,图2示出了一种电子设备的结构示意图。参考图2,该电子设备200可以实现为如图1所示的蓝牙耳机101,也可以实现为其他的电子设备,例如,手表、眼镜等可穿戴设备。电子设备200可以包括处理器210,内部存储器220,充电管理模块230,无线通信模块240,音频模块250,传感器模块260。其中,充电管理模块230可以包括电源管理模块231和电池232,音频模块250可以包括受话器252,麦克风253,传感器模块260可以包括压力传感器261,指纹传感器262,触摸传感器263等。对于其他的穿戴设备,可选地还包括扬声器251。Exemplarily, FIG. 2 shows a schematic structural diagram of an electronic device. Referring to FIG. 2 , the electronic device 200 may be implemented as the Bluetooth headset 101 shown in FIG. 1 , or may be implemented as other electronic devices, for example, wearable devices such as watches and glasses. The electronic device 200 may include a processor 210 , an internal memory 220 , a charging management module 230 , a wireless communication module 240 , an audio module 250 , and a sensor module 260 . The charging management module 230 may include a power management module 231 and a battery 232, the audio module 250 may include a receiver 252, a microphone 253, and the sensor module 260 may include a pressure sensor 261, a fingerprint sensor 262, a touch sensor 263, and the like. For other wearable devices, a speaker 251 is optionally also included.
可以理解的是,本发明实施例示意的结构并不构成对电子设备200的具体限定。在本申请另一些实施例中,电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 200 . In other embodiments of the present application, the electronic device 200 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,控制器,数字信号处理器(digital signal processor,DSP)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (application processor, AP), a modem processor, a controller, a digital signal processor (digital signal processor, DSP), etc. . Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器210可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 210 may generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 210 . If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
在本申请的一个实施例中,处理器210可以通过设置的存储器来存储用于实施根据本申请的通信连接建立方法的指令。在该指令被执行后,电子设备200通过近距离检测技术,例如蓝牙,检测到邻近的其他的电子设备,并与检测到的邻近的其他的电子设备配对,并基于以语音方式呈现的其他电子设备的设备标识,从这些其他电子设备中选定通信目标设备,并与所述通信目标设备建立通信连接。In an embodiment of the present application, the processor 210 may store instructions for implementing the communication connection establishment method according to the present application through the provided memory. After the instruction is executed, the electronic device 200 detects other electronic devices in the vicinity through proximity detection technology, such as Bluetooth, and pairs with the detected other electronic devices in the vicinity, and based on the other electronic devices presented in a voice manner Device identification of the device, select a communication target device from these other electronic devices, and establish a communication connection with the communication target device.
在本申请的另一个实施例中,若电子设备200已经与一个第三电子设备建立连接,处理器210首先要执行与已经连接的第三电子设备断开连接的指令,然后与选择的通信目标设备建立连接。In another embodiment of the present application, if the electronic device 200 has established a connection with a third electronic device, the processor 210 first executes an instruction to disconnect from the already connected third electronic device, and then communicates with the selected communication target. The device establishes a connection.
内部存储器220可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器220可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序,比如声音播放功能、语音识别功能,指纹识别功能等。存储数据区可存储电子设备200使用过程中所创建的数据,比如,与电子设备200配对的电子设备的设备列表,其中设备列表中可以包括用于代表设备身份的设备标识和设备通信地址等信息。处理器210在执行指令时,可以从内部存储器220中读取设备标识和设备通信地址。此外,内部存储器220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器220的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备200的各种功能应用以及数据处理。Internal memory 220 may be used to store computer executable program code, which includes instructions. The internal memory 220 may include a stored program area and a stored data area. The storage program area can store an operating system and an application program required for at least one function, such as a sound playback function, a voice recognition function, a fingerprint recognition function, and the like. The storage data area can store data created during the use of the electronic device 200, for example, a device list of the electronic devices paired with the electronic device 200, where the device list can include information such as a device identifier and a device communication address used to represent the device identity . When the processor 210 executes the instructions, the device identifier and the device communication address can be read from the internal memory 220 . In addition, the internal memory 220 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The processor 210 executes various functional applications and data processing of the electronic device 200 by executing instructions stored in the internal memory 220 and/or instructions stored in a memory provided in the processor.
无线通信模块240可以提供应用在电子设备200上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块240可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块240接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块240还可以从处理器210接收待发送的信号,对其进行调频,放大,在转为电磁波辐射出去。The wireless communication module 240 can provide applications on the electronic device 200 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), frequency modulation (frequency) modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 240 may be one or more devices integrating at least one communication processing module. The wireless communication module 240 receives the electromagnetic wave, frequency modulates and filters the electromagnetic wave signal, and sends the processed signal to the processor 210 . The wireless communication module 240 can also receive the signal to be sent from the processor 210, perform frequency modulation on it, amplify it, and then convert it into electromagnetic waves and radiate it out.
电子设备200可以通过音频模块250,扬声器251,受话器252,麦克风253,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 200 may implement audio functions through an audio module 250, a speaker 251, a receiver 252, a microphone 253, an application processor, and the like. Such as music playback, recording, etc.
音频模块250用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块250还可以用于对音频信号编码和解码。并将编码或解码后的音频传输给处理器210 中,以使得处理器210基于该编码或解码后音频进行语音识别,并确定该音频对应的内容,如,设备名称、设备序列号(Identity document,ID)或国际移动设备识别码(International Mobile Equipment Identity,IMEI)等。在一些实施例中,音频模块250可以设置于处理器210中,或将音频模块250的部分功能模块设置于处理器210中。The audio module 250 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 250 may also be used to encode and decode audio signals. And transmit the encoded or decoded audio to the processor 210, so that the processor 210 performs speech recognition based on the encoded or decoded audio, and determines the content corresponding to the audio, such as device name, device serial number (Identity document). , ID) or International Mobile Equipment Identity (IMEI), etc. In some embodiments, the audio module 250 may be provided in the processor 210 , or some functional modules of the audio module 250 may be provided in the processor 210 .
受话器252,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备200接听电话或语音信息时,可以通过将受话器252靠近人耳接听语音,例如,耳机塞入或贴近耳朵,用户可以通过受话器252听到电子设备200播报的设备标识。The receiver 252, also referred to as an "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 200 receives a call or a voice message, the receiver 252 can be close to the human ear to receive the voice, for example, an earphone is inserted into or close to the ear, and the user can hear the device identification broadcast by the electronic device 200 through the receiver 252 .
麦克风253,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当用户想向电子设备200输入语音时,用户可以通过嘴巴靠近麦克风253发声,将声音信号输入到麦克风253,麦克风253进一步将声音信号输送给处理器210,以使处理器210识别出语音内容。电子设备200可以设置至少一个麦克风253。在另一些实施例中,电子设备200可以设置两个麦克风,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备200还可以设置三个,四个或更多麦克风253,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 253, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When the user wants to input a voice to the electronic device 200, the user can make a voice close to the microphone 253 through his mouth, input the voice signal to the microphone 253, and the microphone 253 further transmits the voice signal to the processor 210, so that the processor 210 recognizes the voice content. The electronic device 200 may be provided with at least one microphone 253 . In other embodiments, the electronic device 200 may be provided with two microphones, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 200 may further be provided with three, four or more microphones 253 to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
压力传感器261用于感受压力信号,可以将压力信号转换成电信号。压力传感器261的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器261,电极之间的电容改变。电子设备200根据电容的变化确定压力的强度。在本申请的一个实施例中,压力传感器261可以设置在电子设备的表面。当有按压或触摸操作作用于压力传感器261时,电子设备200根据压力传感器261检测按压或触摸操作强度,并将检测的按压或触摸操作强度值传输给处理器210,处理器210根据强度值进一步执行相应的指令。例如,当用户按压压力传感器261的压力值达到预设值时,则处理器210开启语音助手功能,进行语音通话,或者压力值达到预设值时,可以通过受话器252听到电子设备200播报的设备标识。电子设备200也可以根据压力传感器261的检测信号计算按压或触摸的位置。The pressure sensor 261 is used to sense pressure signals, and can convert the pressure signals into electrical signals. There are many types of pressure sensors 261, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 261, the capacitance between the electrodes changes. The electronic device 200 determines the intensity of the pressure according to the change in capacitance. In one embodiment of the present application, the pressure sensor 261 may be disposed on the surface of the electronic device. When a pressing or touching operation acts on the pressure sensor 261, the electronic device 200 detects the pressing or touching operation intensity according to the pressure sensor 261, and transmits the detected pressing or touching operation intensity value to the processor 210, and the processor 210 further according to the intensity value Execute the corresponding command. For example, when the pressure value of the user pressing the pressure sensor 261 reaches the preset value, the processor 210 enables the voice assistant function to conduct a voice call, or when the pressure value reaches the preset value, the receiver 252 can hear the broadcast of the electronic device 200 Equipment Identity. The electronic device 200 may also calculate the pressed or touched position according to the detection signal of the pressure sensor 261 .
指纹传感器262用于采集指纹。电子设备200可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 262 is used to collect fingerprints. The electronic device 200 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
在本申请的一个实施例中,用户通过指纹传感器识别自己的指纹并解锁电子设备200,并开启语音助手,以在用户通过语音助手呼叫配对的一个设备的设备标识时,处理器210可以识别语音内容,并调取与该设备标识对应设备的通信地址,以使电子设备200与该设备标识对应的电子设备建立连接。In one embodiment of the present application, the user recognizes his own fingerprint through the fingerprint sensor, unlocks the electronic device 200, and turns on the voice assistant, so that when the user calls the device identification of a paired device through the voice assistant, the processor 210 can recognize the voice content, and retrieve the communication address of the device corresponding to the device identification, so that the electronic device 200 establishes a connection with the electronic device corresponding to the device identification.
触摸传感器263,也称“触控器件”。触摸传感器263用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。例如,用户点击或双击事件等。在另一些实施例中,触摸传感器263也可以设置于电子设备200的表面,与压力传感器261所处的位置不同。The touch sensor 263 is also called "touch device". The touch sensor 263 is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. For example, user click or double click events, etc. In other embodiments, the touch sensor 263 may also be disposed on the surface of the electronic device 200 , which is different from the position where the pressure sensor 261 is located.
下面结合具体的实施例来介绍通信连接建立方法。The following describes a method for establishing a communication connection with reference to specific embodiments.
图3a-图3b示出了通信连接建立方法的流程图。该方法的执行主体以蓝牙耳机为例进行说明,该耳机可以是耳塞式、入耳式、头戴式、挂耳式等无线耳机,在此并不作为限定。如图3a和3b所示,与该蓝牙耳机配对的电子设备为电子设备A,电子设备B和电子设备C。参考图3a所示,该方法包括以下步骤:Figures 3a-3b show flowcharts of a method for establishing a communication connection. The execution subject of the method is described by taking a Bluetooth headset as an example, and the headset may be a wireless headset such as an earplug type, an in-ear type, a head-mounted type, an ear-mounted type, etc., which is not limited here. As shown in Figures 3a and 3b, the electronic devices paired with the Bluetooth headset are electronic device A, electronic device B and electronic device C. Referring to Figure 3a, the method includes the following steps:
步骤S310,耳机发现多个电子设备,并与这些电子设备配对。其中,蓝牙耳机可以利用蓝牙检测到周边的多个电子设备,多个电子设备可以是之前已经配对的电子设备,也就是,在发现之前已经是配对状态;也可以是发现后,新配对的设备。并且耳机获取电子设备标识及通信地址。其中,设备标识可以包括设备名称、设备ID等代表设备身份的标识。电子设备的设备名称可以是用户在设置中设定的名称“Mary的mate 30”,或者,手机中默认的设备名称“honor p40”。通信地址可以为蓝牙地址或mac地址等。Step S310, the headset discovers multiple electronic devices and pairs with these electronic devices. Among them, the Bluetooth headset can use Bluetooth to detect multiple electronic devices in the surrounding area. The multiple electronic devices can be electronic devices that have been paired before, that is, they are already paired before discovery; they can also be newly paired devices after discovery. . And the headset obtains the electronic device identification and communication address. The device identifier may include an identifier representing the device identity, such as a device name, a device ID, and the like. The device name of the electronic device may be the name "Mary's mate 30" set by the user in the settings, or the default device name "honor p40" in the mobile phone. The communication address may be a bluetooth address or a mac address.
步骤S320,接收触发操作,响应于接收到的触发操作,耳机开启语音播报功能。以实现以语音的方式呈现电子设备的设备标识。例如,开启语音播报功能,以播报电子设备A、电子设备B和电子设备 C的设备名称,例如,Mary的mate 30。Step S320, a trigger operation is received, and in response to the received trigger operation, the headset enables a voice broadcast function. The device identification of the electronic device is presented in a voice manner. For example, enable the voice broadcast function to broadcast the device names of electronic device A, electronic device B, and electronic device C, for example, Mary's mate 30.
在本申请的实施例中,触发操作可以是以下几种操作之一:In this embodiment of the present application, the trigger operation may be one of the following operations:
1.用户的手指与耳机的指定位置接触。1. The user's finger is in contact with the designated position of the headset.
例如,当用户的手指与耳机上的指纹传感器所在位置接触,并输入指纹,耳机经过指纹识别并判断该指纹是否与已经存储的指纹匹配。当耳机检测到当前输入指纹与已经存储指纹匹配的触发操作,确定触发耳机开始语音播报。For example, when the user's finger touches the location of the fingerprint sensor on the earphone and inputs a fingerprint, the earphone is subjected to fingerprint recognition and determines whether the fingerprint matches the stored fingerprint. When the headset detects a trigger operation that matches the currently input fingerprint with the stored fingerprint, it is determined to trigger the headset to start voice broadcasting.
2.用户的手指从与耳机接触的状态切换为离开所述第一电子设备。2. The user's finger is switched from being in contact with the earphone to leaving the first electronic device.
例如,当用户的手指从按压耳机上的压力传感器到从耳机抬起,则耳机检测到压力传感器的压力值为0时,并判断该操作为触发操作,即触发耳机开始语音播报。For example, when the user's finger moves from pressing the pressure sensor on the earphone to lifting from the earphone, the earphone detects that the pressure value of the pressure sensor is 0, and determines that the operation is a trigger operation, that is, the earphone is triggered to start voice broadcasting.
3.用户的手指对耳机的指定位置施加压力的动作,并持续预设时长。3. The action of the user's finger exerting pressure on the designated position of the earphone for a preset period of time.
例如,当用户的手指按压耳机的压力传感器5秒,则耳机检测到压力传感器输入的压力值大于0,且维持5秒的触发操作,确定触发耳机开始语音播报。For example, when the user's finger presses the pressure sensor of the earphone for 5 seconds, the earphone detects that the pressure value input by the pressure sensor is greater than 0, and maintains the trigger operation for 5 seconds, and determines that the earphone is triggered to start voice broadcasting.
4.用户的手指对耳机的指定位置施加压力的动作,并达到预设压力值。4. The user's finger exerts pressure on the designated position of the earphone and reaches the preset pressure value.
例如,当用户的手指按压耳机的压力传感器的压力值达到1N,则耳机检测到压力传感器的压力值达到1N的触发操作,确定触发耳机开始语音播报。其中,预设压力值可以是用户在第一次操作该触发操作时,耳机根据用户首次按压压力传感器的力度进行设定。此外,预设压力值也可以是用户自己手动输入的压力值。且,在预设压力值设定成功后,用户还可以根据自身的需要在设置中更改压力值的大小。For example, when the user's finger presses the pressure value of the pressure sensor of the earphone to 1N, the earphone detects the triggering operation that the pressure value of the pressure sensor reaches 1N, and determines to trigger the earphone to start voice broadcast. The preset pressure value may be set by the earphone according to the strength with which the user presses the pressure sensor for the first time when the user operates the triggering operation for the first time. In addition, the preset pressure value may also be a pressure value manually input by the user. Moreover, after the preset pressure value is successfully set, the user can also change the pressure value in the setting according to his own needs.
5.用户的手指点击耳机预定次数。例如,用户的手指点击压力传感器或触摸传感器3次,则耳机检测到压力传感器或触摸传感器被点击3次的触发操作,确定触发耳机开始语音播报。5. The user's finger taps the earphone a predetermined number of times. For example, if the user's finger taps the pressure sensor or the touch sensor 3 times, the earphone detects the triggering operation that the pressure sensor or the touch sensor is clicked 3 times, and determines to trigger the earphone to start voice broadcasting.
上面所述的压力传感器、指纹传感器通常都设置在蓝牙耳机的柄部。也可以是其他位置。其他对耳机的操作也可以,不限于此。The pressure sensor and fingerprint sensor mentioned above are usually arranged on the handle of the Bluetooth headset. Other locations are also possible. Other operations on the headset are also possible, but not limited to this.
步骤S330,耳机依次播报已配对设备的设备标识(即,以语音的方式呈现设备标识)。其中,语音的呈现方式可以是耳机自身对已经配对的电子设备的设备标识逐一的有顺序的进行播报,也可以是逐一的无顺序的播报,在此并不作为限定。播报顺序可以考虑电子设备与耳机连接的次数、连接的频率,或者电子设备与耳机之间的距离,或者电子设备上次与耳机建立连接的时长等。可选的,根据检测到的蓝牙信号强度,耳机先播报信号强度值最大的电子设备。Step S330, the earphone broadcasts the device identifiers of the paired devices in turn (ie, the device identifiers are presented in a voice manner). The voice presentation mode may be that the headset itself broadcasts the device identifiers of the paired electronic devices one by one in an orderly manner, or one by one without order, which is not limited here. The broadcast order may consider the number of times the electronic device is connected to the earphone, the frequency of connection, or the distance between the electronic device and the earphone, or the duration of the last connection between the electronic device and the earphone, etc. Optionally, according to the detected Bluetooth signal strength, the headset first broadcasts the electronic device with the highest signal strength value.
其中,耳机先后播放电子设备A、B和C的设备标识时,从当前设备标识播报结束到下一个设备标识开始播报之间的时间间隔可以设置1秒、2秒、3秒、5秒等预设时长。例如,以播报设备名称为例,当播报到电子设备B的设备名称为Mary的mate 30时,从“M”音开始播报时计时到3秒,其中,“Mary的mate 30”的音播报仅用3秒。该设备名称播报结束后,间隔若干秒,如2秒,再播报下一个电子设备C的设备名称。那么用户可以从开始播报计时的5秒内,对设备名称进行选定操作。在预设时长内的选定操作,会被识别为对前一设备标识的选定,仍以播报电子设备B的设备名称为例,当预设时长为2秒时,如在“Mary的mate 30”播放结束后的2秒内接收到选定操作,则发起与“Mary的mate 30”之间的蓝牙连接。Among them, when the headset plays the device logos of electronic devices A, B and C successively, the time interval from the end of the current device logo broadcast to the start of the next device logo broadcast can be set to 1 second, 2 seconds, 3 seconds, 5 seconds and other presets. Set the duration. For example, taking the broadcast device name as an example, when the device name broadcast to electronic device B is Mary's mate 30, the time from the "M" sound starts to broadcast to 3 seconds, and the "Mary's mate 30" sound broadcast is only Use 3 seconds. After the broadcast of the device name ends, the device name of the next electronic device C will be broadcast at an interval of several seconds, such as 2 seconds. Then the user can select the device name within 5 seconds from the start of the broadcast timing. The selection operation within the preset duration will be recognized as the selection of the previous device ID, still taking the device name of electronic device B as an example, when the preset duration is 2 seconds, as in "Mary's mate" If the selected operation is received within 2 seconds after the playback of 30", it will initiate a Bluetooth connection with "Mary's mate 30".
需要说明的是,本申请中,对电子设备的设备标识的播报顺序并不进行限定,例如,可以是先后播报电子设备A、B和C的设备标识,也可以是先后播报电子设备B、C和A等。It should be noted that in this application, the broadcast order of the device identifiers of electronic devices is not limited. For example, the device identifiers of electronic devices A, B, and C may be broadcast successively, or the device identifiers of electronic devices B and C may be broadcast successively. and A et al.
步骤S340,接收针对播报的设备标识的选定操作,耳机从配对的电子设备中选定通信目标设备,如在耳机进行播报电子设备B的设备标识时,耳机接收到选定操作,则耳机将电子设备B作为通信目标设备。此外,用户也可以通过语音输入电子设备B的设备标识,耳机接收到语音的输入后,从配对的电子设备中选定电子设备B为通信目标设备。Step S340, receiving the selected operation for the broadcasted equipment identification, the headset selects the communication target device from the paired electronic equipment, such as when the headset broadcasts the equipment identification of the electronic equipment B, the headset receives the selected operation, then the headset will Electronic device B serves as a communication target device. In addition, the user can also input the device identification of the electronic device B by voice, and after receiving the voice input, the headset selects the electronic device B as the communication target device from the paired electronic devices.
在本申请的另一个实施例中,当耳机自身对设备标识进行播报时,用户可以针对播报的设备标识输入选定操作,以选择想要连接的通信目标设备。耳机根据用户的选定操作,确定通信目标设备。其中选定操作可以是在耳机语音播报设备标识开始至一段时间内,用户在该时间内输入的操作,其中,具体时间的设定可以参考步骤S330中关于两个设备标识之间播报的时间间隔的描述,在此不再赘述。In another embodiment of the present application, when the headset itself broadcasts the device identification, the user can input a selection operation for the broadcasted device identification to select the communication target device to be connected. The headset determines the communication target device according to the user's selected operation. The selected operation may be an operation input by the user within a period of time from the start of the earphone voice broadcast of the device identification, and the specific time setting may refer to step S330 about the broadcast time interval between two device identifications description, which will not be repeated here.
其中,选定操作可以是以下几种操作之一:The selected action can be one of the following actions:
1.用户的手指与耳机的指定位置接触。例如,用户手指与触摸传感器所在位置接触,则耳机基于该操作时间内播报的设备标识确定选定通信目标设备。1. The user's finger is in contact with the designated position of the headset. For example, if the user's finger is in contact with the location of the touch sensor, the headset determines the selected communication target device based on the device identification broadcast during the operation time.
2.用户的手指从与耳机接触的状态切换为离开所述第一电子设备。例如,用户手指从按压耳机上设置的压力传感器到抬起,则耳机基于该操作时间内播报的设备标识确定选定通信目标设备。2. The user's finger is switched from being in contact with the earphone to leaving the first electronic device. For example, when the user's finger presses the pressure sensor set on the earphone to lifts it up, the earphone determines the selected communication target device based on the device identifier broadcasted within the operation time.
3.用户的手指对耳机的指定位置施加压力的动作,并持续预设时长。例如,手指按压压力传感器5s,则耳机基于该操作时间内播报的设备标识确定选定通信目标设备。3. The action of the user's finger exerting pressure on the designated position of the earphone for a preset period of time. For example, if the finger presses the pressure sensor for 5s, the headset determines the selected communication target device based on the device identifier broadcasted within the operation time.
4.用户的手指对耳机的指定位置施加压力的动作,并达到预设压力值。例如,手指按压压力传感器的压力值达到2N,则耳机基于该操作时间内播报的设备标识确定选定通信目标设备。4. The user's finger exerts pressure on the designated position of the earphone and reaches the preset pressure value. For example, if the pressure value of the finger pressing the pressure sensor reaches 2N, the headset determines the selected communication target device based on the device identifier broadcasted within the operation time.
5.用户的手指点击耳机预定次数。例如,点击压力传感器或触摸传感器3次,则耳机基于该操作时间内播报的设备标识确定选定通信目标设备。5. The user's finger taps the earphone a predetermined number of times. For example, if the pressure sensor or the touch sensor is clicked three times, the headset determines the selected communication target device based on the device identification broadcast during the operation time.
需要说明的是,本申请的触发操作与选定操作可以是相同的动作,例如,触发操作时可以是点击耳机3次,在语音播报后,选定操作也可以是点击耳机3次。此外,两者也可以是不同的动作,例如,触发操作是点击耳机3次,语音播报后,可以选择按压压力传感器的压力值达到1N等。或者触发操作与选定操作也可以共同完成一个手从触摸耳机到离开手机的动作。例如,触发操作时,手按压压力传感器达到1N并持续按压,耳机开启语音播报功能并播报设备标识,当播到用户想要连接的设备标识时,用户手指抬起,此时耳机可以获取用户的选定的设备标识。It should be noted that the trigger operation and the selection operation in the present application may be the same actions. For example, the trigger operation may be clicking the earphone 3 times, and after the voice broadcast, the selection operation may also be clicking the earphone 3 times. In addition, the two can also be different actions. For example, the trigger operation is to click the earphone 3 times. After the voice broadcast, the pressure value of the pressure sensor can be selected to reach 1N. Alternatively, the trigger operation and the selected operation can also jointly complete the action of a hand from touching the earphone to leaving the mobile phone. For example, when the operation is triggered, the hand presses the pressure sensor to 1N and continues to press, the headset turns on the voice broadcast function and broadcasts the device ID. When the device ID that the user wants to connect is broadcast, the user lifts his finger, and the headset can obtain the user's The selected device ID.
步骤S350,耳机向通信目标设备发起连接请求。如图3a所示,在耳机确定了通信目标设备,即电子设备B后,根据电子设备B的设备标识从本地存储器中读取电子设备B的通信地址,基于该通信地址,耳机向电子设备B发送连接请求,在电子设备B响应该请求后,耳机与电子设备B建立连接。Step S350, the headset initiates a connection request to the communication target device. As shown in Figure 3a, after the headset determines the communication target device, that is, the electronic device B, the communication address of the electronic device B is read from the local storage according to the device identification of the electronic device B, and based on the communication address, the headset sends the electronic device B to the electronic device B. A connection request is sent, and after the electronic device B responds to the request, the headset establishes a connection with the electronic device B.
虽然上面列举了多种开启语音呈现功能的触发操作,和多种设备标识确定的选定操作来实现耳机与终端设备建立连接的进行判定协作设备的实施方式。但是,作为另外的实施方式,可以利用其中的以上任意两个的组合来确定协作设备,在此并不作为限定。Although the above lists various trigger operations for enabling the voice presentation function, and various selected operations determined by the device identification to realize the implementation of determining the cooperation device for establishing the connection between the headset and the terminal device. However, as another implementation manner, a combination of any two of the above may be used to determine the cooperation device, which is not limited herein.
本申请的通信连接建立方法,可以通过耳机直接与电子设备进行连接,避免在电子设备不在身边时,无法与耳机连接的问题。用户可以不用知道电子设备的位置,直接通过耳机与电子设备建立连接,方便,快捷,提高了用户的体验。The communication connection establishment method of the present application can directly connect with the electronic device through the earphone, so as to avoid the problem that the electronic device cannot be connected with the earphone when the electronic device is not around. The user can establish a connection with the electronic device directly through the earphone without knowing the position of the electronic device, which is convenient and fast, and improves the user's experience.
在本申请的另一个实施例中,若耳机已经与一个电子设备连接后,在用户将耳机与另外一个电子设备建立连接后,耳机将与在先连接的电子设备断开连接,如图3a所示,若蓝牙耳机与电子设备C已经连接,则执行步骤S360,在与电子设备B建立连接后,断开与电子设备C的连接,以确保耳机与电子设备B的有效连接。在本本申请的另一个实施例中,用户还可以通过语音输入的方式对耳机呈现语音。参考图3b,图3b与图3a所示的流程相比,两者的区别仅在于步骤S330。如图3b所示,步骤S330′,用户通过语音的方式向耳机输入设备标识。例如,耳机内设有语音助手,用户通过语音助手向耳机说出想要连接的电子设备B的设备标识,通过语音助手耳机接收该语音,在进一步识别语音对应的设备标识后,以确定用户想要连接的电子设备B。In another embodiment of the present application, if the earphone has been connected to an electronic device, after the user establishes a connection between the earphone and another electronic device, the earphone will be disconnected from the previously connected electronic device, as shown in FIG. 3a If the Bluetooth headset is already connected to the electronic device C, step S360 is performed, and after the connection with the electronic device B is established, the connection with the electronic device C is disconnected to ensure an effective connection between the headset and the electronic device B. In another embodiment of the present application, the user may also present voice to the headset by means of voice input. Referring to FIG. 3b, the difference between FIG. 3b and the flow shown in FIG. 3a is only step S330. As shown in Fig. 3b, in step S330', the user inputs the device identification to the earphone by voice. For example, a voice assistant is provided in the headset, the user speaks the device identification of the electronic device B to be connected to the headset through the voice assistant, receives the voice through the voice assistant headset, and further identifies the device identification corresponding to the voice to determine the user's desire to connect. Electronic device B to be connected.
下面以蓝牙耳机为例,结合具体场景对本申请的技术方案进行详细的描述。Taking a Bluetooth headset as an example, the technical solution of the present application will be described in detail below in combination with specific scenarios.
场景1scene 1
参考图4a-4c,图4a示出了蓝牙耳机与终端设备切换连接的场景图。该场景中,包括蓝牙耳机400、终端设备A和终端设备B。其中,蓝牙耳机与终端设备A已经建立了连接,与终端设备配对但未建立连接。用户可以通过对蓝牙耳机400进行操作,来实现与终端设备B建立连接,与终端设备A断开连接。Referring to Figs. 4a-4c, Fig. 4a shows a scene diagram of a switching connection between a Bluetooth headset and a terminal device. In this scenario, the Bluetooth headset 400, the terminal device A and the terminal device B are included. Among them, the Bluetooth headset has established a connection with the terminal device A, and is paired with the terminal device but has not established a connection. The user can establish a connection with the terminal device B and disconnect from the terminal device A by operating the Bluetooth headset 400 .
结合图4b和图4c来描述蓝牙耳机与终端设备建立连接的过程。图4b示出了蓝牙耳机的结构框图,结合图2和图4b所示,蓝牙耳机400包括数据处理单元410(相当于图2所示的处理器210)、数据库单元420(相当于图2中的内部存储器220)、器件单元430(相当于图2中的传感器模块260)、蓝牙协议处理单元440,语音播放模块450(相当于图2中的音频模块250)。其中,器件单元430可以包括压力传感器431。数据处理单元410分别与数据库单元420、器件单元430、蓝牙协议处理单元440和语音播放模块450连接。The process of establishing a connection between a Bluetooth headset and a terminal device is described with reference to FIG. 4b and FIG. 4c. Figure 4b shows a structural block diagram of a Bluetooth headset. Combined with Figures 2 and 4b, the Bluetooth headset 400 includes a data processing unit 410 (equivalent to the processor 210 shown in Figure 2) and a database unit 420 (equivalent to the The internal memory 220), the device unit 430 (equivalent to the sensor module 260 in FIG. 2), the Bluetooth protocol processing unit 440, and the voice playback module 450 (equivalent to the audio module 250 in FIG. 2). Wherein, the device unit 430 may include a pressure sensor 431 . The data processing unit 410 is respectively connected with the database unit 420 , the device unit 430 , the Bluetooth protocol processing unit 440 and the voice playing module 450 .
在本申请的实施例中,数据库单元420中可以包括与蓝牙耳机400配对的终端设备A和终端设备B的设备列表,该设备列表中可以包括终端设备A和终端设备B的设备名称\设备ID以及通信地址。器件单元430包括压力传感器器431,压力传感器431用于检测用户输入的压力值,当用户按压该压力传感器431时,压力传感器431将检测到的压力值发送给数据处理单元410。数据处理单元410包括判断模块411和获取模块412,判断模块411用于判断压力传感器431发送的压力值是否大于门限值,当在判断大于门限值时,由数据处理单元410从数据库单元420中读取终端设备A和终端设备B的设备标识,并通过语音播放模块450先后播报设备标识。在语音播报设备标识的过程中,当判断模块411判断压力值达到预设压力,如1N,则数据处理单元410控制语音播放模块450停止播报,并确定压力值为0或达到预设值时所读取的设备名称,将该设备名称对应的终端设备作为通信目标设备,例如,终端设备B。获取模块412从数据库单元420中获取终端设备B的通信地址。蓝牙协议处理模块440包括连接指令集和断开指令集,蓝牙协议处理模块440基于通信地址通过连接指令集与终端设备B建立连接。通过断开指令集与已经连接的终端设备A断开连接。In the embodiment of the present application, the database unit 420 may include a device list of the terminal device A and the terminal device B paired with the Bluetooth headset 400, and the device list may include the device name\device ID of the terminal device A and the terminal device B and mailing address. The device unit 430 includes a pressure sensor 431 . The pressure sensor 431 is used to detect the pressure value input by the user. When the user presses the pressure sensor 431 , the pressure sensor 431 sends the detected pressure value to the data processing unit 410 . The data processing unit 410 includes a judgment module 411 and an acquisition module 412, and the judgment module 411 is used to judge whether the pressure value sent by the pressure sensor 431 is greater than the threshold value. Read the device identifiers of terminal device A and terminal device B in the middle, and broadcast the device identifiers successively through the voice playback module 450 . In the process of voice broadcasting device identification, when the judgment module 411 judges that the pressure value reaches a preset pressure, such as 1N, the data processing unit 410 controls the voice playing module 450 to stop broadcasting, and determines that the pressure value is 0 or reaches the preset value. Read the device name, and use the terminal device corresponding to the device name as the communication target device, for example, terminal device B. The obtaining module 412 obtains the communication address of the terminal device B from the database unit 420 . The Bluetooth protocol processing module 440 includes a connection instruction set and a disconnection instruction set, and the Bluetooth protocol processing module 440 establishes a connection with the terminal device B through the connection instruction set based on the communication address. Disconnect from the already connected terminal device A by disconnecting the instruction set.
图4c示出了用户通过按压压力传感器实现蓝牙耳机与终端设备建立连接的流程图。具体流程如图4c所示,当用户按压压力传感器431后并保持按压的操作,蓝牙耳机的压力传感器431接收到用户按压的压力值,传输给数据处理单元410,数据处理单元410判断该压力值是否大于门限值,如1N,若大于1N,则数据处理单元410确认为用户的触发操作,并开启蓝牙耳机的语音播放模块450,并从数据库单元420中读取已经配对的设备标识,如,设备名称,并通过语音播放模块450播放这些设备名称,例如,终端设备A和终端设备B。当播放到终端设备B时,例如,从开始播放终端设备B的设备名称至设备名称播放完成后3秒内,都可以接收选定操作,并在接收到选定操作后将终端设备B作为通信目标设备。如果用户想与终端设备B建立连接。在3秒内用户抬起手指,松开对压力传感器的按压,此时,压力传感器的压力值为0,则数据处理单元410确认为用户想要与终端设备B建立连接的选定操作,并控制语音播放模块450停止播放设备名称。数据处理单元410获取3秒内播报的设备名称,如终端设备B,同时从数据库单元420中获取终端设备B的通信地址,并通过蓝牙协议处理单元440采用统一的通信协议向终端设备B发送建立连接的请求。当在设定时间内,如30s内,蓝牙耳机400与终端设备B建立连接,则数据处理单元410判断连接成功,同时与之前连接的终端设备A断开连接。若在30s内,蓝牙耳机400与终端设备B未建立连接,则数据处理单元410判断连接失败,则连接结束。该场景中,采用手指按压的方式实现蓝牙耳机与终端设备建立连接,操作方式简单,便于用户通过耳机便可以与终端设备连接。Figure 4c shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user pressing a pressure sensor. The specific process is shown in Figure 4c, when the user presses the pressure sensor 431 and keeps the pressing operation, the pressure sensor 431 of the Bluetooth headset receives the pressure value pressed by the user and transmits it to the data processing unit 410, and the data processing unit 410 judges the pressure value Whether it is greater than the threshold value, such as 1N, if it is greater than 1N, the data processing unit 410 confirms the trigger operation of the user, and opens the voice playback module 450 of the Bluetooth headset, and reads the paired device identifier from the database unit 420, such as , device names, and these device names are played through the voice playing module 450, for example, terminal device A and terminal device B. When playing to terminal device B, for example, from the start of playing the device name of terminal device B to 3 seconds after the device name is played, the selected operation can be received, and after receiving the selected operation, terminal device B is used as the communication target device. If the user wants to establish a connection with the terminal device B. Within 3 seconds, the user lifts his finger and releases the pressure on the pressure sensor. At this time, the pressure value of the pressure sensor is 0. The data processing unit 410 confirms the selected operation that the user wants to establish a connection with the terminal device B, and Control the voice playing module 450 to stop playing the device name. The data processing unit 410 obtains the device name broadcast within 3 seconds, such as the terminal device B, and at the same time obtains the communication address of the terminal device B from the database unit 420, and uses the unified communication protocol through the Bluetooth protocol processing unit 440. connection request. When the Bluetooth headset 400 establishes a connection with the terminal device B within a set time, such as 30s, the data processing unit 410 determines that the connection is successful, and at the same time disconnects from the previously connected terminal device A. If the connection between the Bluetooth headset 400 and the terminal device B is not established within 30s, the data processing unit 410 judges that the connection fails, and the connection ends. In this scenario, the connection between the Bluetooth headset and the terminal device is realized by pressing with a finger, and the operation mode is simple, so that the user can connect with the terminal device through the headset.
在本申请的另一个实施例中,选定操作还可以是对压力传感器431的再次按压,此时触发操作为按压压力传感器431后松开。与该实施例的其他步骤与图4c对应的模块和各模块的作用相同,具体可参见图4c的描述。In another embodiment of the present application, the selected operation may also be to press the pressure sensor 431 again, and at this time, the trigger operation is to press the pressure sensor 431 and then release it. The other steps in this embodiment are the same as the modules corresponding to FIG. 4c and the functions of each module. For details, please refer to the description of FIG. 4c.
场景2scene 2
结合4a和图4b所示,参考图5a和5b,图5a为本申请另一个实施例的蓝牙耳机与终端设备连接的结构示意图。其中,图5a与图4b的区别在于,如图5a所示,器件单元530包括指纹传感器531,指纹传感器531用于检测用户输入的指纹,当指纹传感器531检测到用户输入的指纹,并将指纹对应的数据发送至数据处理单元410,数据处理单元410的判断模块412判断用户当前输入的指纹与之前预存的指纹是否匹配,并在指纹匹配后,数据处理单元410从数据库单元412中先后读取终端设备A和终端设备B的设备标识,如,设备名称,并通过语音播放模块450先后播报设备名称。当用户的手指抬起时,数据处理单元410将手指抬起时读取的设备名称对应的终端设备作为通信目标设备。该实施例的其他步骤与图4b对应的模块和各模块的作用相同,具体可参见图4b的描述。Referring to FIGS. 5a and 5b in conjunction with FIGS. 4a and 4b, FIG. 5a is a schematic structural diagram of a connection between a Bluetooth headset and a terminal device according to another embodiment of the present application. The difference between Fig. 5a and Fig. 4b is that, as shown in Fig. 5a, the device unit 530 includes a fingerprint sensor 531, and the fingerprint sensor 531 is used to detect the fingerprint input by the user. The corresponding data is sent to the data processing unit 410, and the judgment module 412 of the data processing unit 410 judges whether the fingerprint currently input by the user matches the previously stored fingerprint, and after the fingerprints match, the data processing unit 410 sequentially reads from the database unit 412. The device identifiers of the terminal device A and the terminal device B, such as device names, and the device names are broadcast successively through the voice playback module 450 . When the user's finger is lifted, the data processing unit 410 takes the terminal device corresponding to the device name read when the finger is lifted as the communication target device. Other steps in this embodiment are the same as the modules corresponding to FIG. 4b and the functions of each module. For details, please refer to the description of FIG. 4b.
参考图5b所示,图5b示出了用户通过指纹验证的方式实现蓝牙耳机与终端设备建立连接的流程图。结合图5a描述图5b所示流程,触发操作可以通过指纹传感器531实现,指纹传感器531录入用户指纹,并在判断模块412判断该指纹与在先录入指纹匹配时,数据处理单元410启动蓝牙耳机的语音播放模块450。选定操作可以是指纹传感器识别到用户抬起手指,即用户松开对指纹传感器531的触摸。若此时语音播放模块播放的是终端设备B的设备标识,则数据处理单元410选择与终端设备B建立连接。该实 施例的其他步骤与图4b对应的模块和各模块的作用相同,具体可参见图4b的描述。该场景中,采用指纹验证的方式实现蓝牙耳机与终端设备建立连接,操作方式简单,提高了连接的安全性。Referring to Fig. 5b, Fig. 5b shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user through fingerprint verification. The process shown in FIG. 5b is described in conjunction with FIG. 5a. The triggering operation can be realized by the fingerprint sensor 531. The fingerprint sensor 531 records the user's fingerprint, and when the judgment module 412 judges that the fingerprint matches the previously entered fingerprint, the data processing unit 410 starts the Bluetooth headset. Voice playback module 450 . The selected operation may be that the fingerprint sensor recognizes that the user lifts the finger, that is, the user releases the touch on the fingerprint sensor 531 . If the device identification of the terminal device B is played by the voice playing module at this time, the data processing unit 410 selects to establish a connection with the terminal device B. The other steps in this embodiment are the same as the modules corresponding to Fig. 4b and the functions of each module, for details, please refer to the description of Fig. 4b. In this scenario, the connection between the Bluetooth headset and the terminal device is realized by means of fingerprint verification, the operation is simple, and the security of the connection is improved.
需要说明的是,在本申请的一些实施例中,器件单元430中包括的传感器除了被实现为上述场景1和场景2中列举的压力传感器和指纹传感器外,还可以被实现为触摸传感器等,例如,用户通过轻击蓝牙耳机的触摸传感器所在位置数次,触摸传感器可以感应到该轻击的操作并且对轻击的次数进行计数,当计数值超过预设门限值时,确定被选中的设备,实现用户输入用于触发操作或选定操作的数据。It should be noted that, in some embodiments of the present application, the sensor included in the device unit 430 may be implemented as a touch sensor, etc., in addition to the pressure sensor and fingerprint sensor listed in the above scenarios 1 and 2, For example, the user taps the position of the touch sensor of the Bluetooth headset several times, the touch sensor can sense the tap operation and count the number of taps. When the count value exceeds the preset threshold, the selected A device that enables the user to enter data that triggers an action or selected action.
此外,在本申请的一些实施例中,当触发操作和选定操作可以是相同的,也可以是不同的。器件单元430中还可以包括多种传感器,用来识别各种操作。例如,触发操作可以根据用户通过指纹传感器输入指纹,而选定操作可以根据用户通过压力传感器输入的压力值作为判断的参数时,器件单元430可以同时包括指纹传感器和压力传感器,以实现用户通过这些传感器实现蓝牙耳机的语音播报和确定用户选定的设备标识。且,当触发操作和选定操作为不同判断参数时,判断模块412根据传感器输入的不同参数进行对应的判断,例如压力值是否达到预设值,指纹是否匹配,点击次数是否达到预设次数等。In addition, in some embodiments of the present application, the trigger operation and the selected operation may be the same or different. Various sensors may also be included in the device unit 430 for identifying various operations. For example, when the trigger operation can be based on the user's input of a fingerprint through the fingerprint sensor, and the selected operation can be determined according to the pressure value input by the user through the pressure sensor, the device unit 430 can include both a fingerprint sensor and a pressure sensor, so that the user can pass The sensor implements the voice broadcast of the Bluetooth headset and determines the device identification selected by the user. Moreover, when the trigger operation and the selection operation are different judgment parameters, the judgment module 412 makes corresponding judgments according to different parameters input by the sensor, such as whether the pressure value reaches the preset value, whether the fingerprint matches, whether the number of clicks reaches the preset number, etc. .
场景3scene 3
结合4a和4b所示场景,参考图6a和图6b,图6a为本申请另一实施例的蓝牙耳机与终端设备连接的结构示意图。其中,图6a与图4b的区别在于,如图6a所示,用户通过语音输入模块直接输入数据库单元420中存储的设备标识,如,设备名称,数据处理单元410的判断模块411基于用户语音输入的设备名称直接判断设备名称对应的终端设备。且该结构中可以不需要蓝牙耳机通过语音播放模块来播放设备名称。In combination with the scenarios shown in 4a and 4b, referring to FIG. 6a and FIG. 6b, FIG. 6a is a schematic structural diagram of a connection between a Bluetooth headset and a terminal device according to another embodiment of the present application. The difference between Fig. 6a and Fig. 4b is that, as shown in Fig. 6a, the user directly inputs the device identification stored in the database unit 420 through the voice input module, such as the device name, and the judgment module 411 of the data processing unit 410 inputs based on the user's voice The device name directly determines the terminal device corresponding to the device name. And in this structure, the device name can be played through the voice playback module without the need of a Bluetooth headset.
参考图6b所示,图6b示出了用户通过呼叫的方式实现蓝牙耳机与终端设备建立连接的流程图。结合图6a来描述图6b所示的流程,用户通过呼叫方式唤醒蓝牙耳机的语音输入模块630,例如,语音助手,若用户语音输入的是终端设备B的名称,则数据处理单元410与终端设备B建立连接。该实施例的其他步骤与图4b对应的模块和各模块的作用相同,具体可参见图4b的描述。该场景中,采用语音呼叫的方式实现蓝牙耳机与终端设备建立连接,用户可以不需要手来操作,就可以完成耳机与终端设备连接。Referring to Fig. 6b, Fig. 6b shows a flow chart of establishing a connection between a Bluetooth headset and a terminal device by a user through a call. The process shown in Figure 6b is described in conjunction with Figure 6a. The user wakes up the voice input module 630 of the Bluetooth headset by calling, for example, a voice assistant. If the user's voice input is the name of the terminal device B, the data processing unit 410 and the terminal device B establishes a connection. Other steps in this embodiment are the same as the modules corresponding to FIG. 4b and the functions of each module. For details, please refer to the description of FIG. 4b. In this scenario, the connection between the Bluetooth headset and the terminal device is realized by means of a voice call, and the user can complete the connection between the headset and the terminal device without manual operation.
需要说明的是,本申请实施例中的提及的各个参数仅是示例性的说明,为便于对蓝牙耳机与终端设备建立连接过程的理解,在此并不作为限定。参考图7,本申请还提供一种终端设备,该终端设备用于执行上述方法实施例。图7示出了终端设备的结构示意图。如图7所示,该终端设备包括:It should be noted that the parameters mentioned in the embodiments of the present application are only exemplary descriptions, and are not limited herein to facilitate the understanding of the process of establishing a connection between the Bluetooth headset and the terminal device. Referring to FIG. 7 , the present application further provides a terminal device, where the terminal device is configured to execute the foregoing method embodiment. FIG. 7 shows a schematic structural diagram of a terminal device. As shown in Figure 7, the terminal device includes:
存储器710,用于存储由设备的一个或多个处理器执行的指令,以及 memory 710 for storing instructions for execution by one or more processors of the device, and
处理器720,用于执行上述实施例的连接方法。The processor 720 is configured to execute the connection method of the foregoing embodiment.
本申请还提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器运行时,使得处理器执行上述实施例的连接方法。The present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is run by the processor, the processor causes the processor to execute the connection method of the foregoing embodiment.
现在参考图8,图8所示为根据本申请的一个实施例的设备1200的框图。设备1200可以包括耦合到控制器中枢1203的一个或多个处理器1201。对于至少一个实施例,控制器中枢1203经由诸如前端总线(Front Side Bus,FSB)之类的多分支总线、诸如快速通道互连(Quick Path Interconnect,QPI)之类的点对点接口、或者类似的连接1206与处理器1201进行通信。处理器1201执行控制一般类型的数据处理操作的指令。在一实施例中,控制器中枢1203包括,但不局限于,图形存储器控制器中枢(Graphics Memory Controller Hub,GMCH)(未示出)和输入/输出中枢(Input Output Hub,IOH)(其可以在分开的芯片上)(未示出),其中GMCH包括存储器和图形控制器并与IOH耦合。Referring now to FIG. 8, shown is a block diagram of a device 1200 according to one embodiment of the present application. Device 1200 may include one or more processors 1201 coupled to controller hub 1203 . For at least one embodiment, the controller hub 1203 is connected via a multidrop bus such as a Front Side Bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or the like 1206 communicates with processor 1201. Processor 1201 executes instructions that control general types of data processing operations. In one embodiment, the controller hub 1203 includes, but is not limited to, a Graphics Memory Controller Hub (GMCH) (not shown) and an Input/Output Hub (IOH) (which may be on a separate chip) (not shown), where the GMCH includes the memory and graphics controller and is coupled to the IOH.
设备1200还可包括耦合到控制器中枢1203的协处理器1202和存储器1204。或者,存储器和GMCH中的一个或两者可以被集成在处理器内(如本申请中所描述的),存储器1204和协处理器1202直接耦合到处理器1201以及控制器中枢1203,控制器中枢1203与IOH处于单个芯片中。存储器1204可以是例如动态随机存取存储器(Dynamic Random Access Memory,DRAM)、相变存储器(Phase Change Memory,PCM)或这两者的组合。在一个实施例中,协处理器1202是专用处理器,诸如例如高吞吐量MIC处理器(Many Integerated Core,MIC)、网络或通信处理器、压缩引擎、图形处理器、通用图形处理器(General Purpose Computing on GPU,GPGPU)、或嵌入式处理器等等。协处理器1202的任选性质用虚线表示在图8中。 Device 1200 may also include a coprocessor 1202 and memory 1204 coupled to controller hub 1203 . Alternatively, one or both of the memory and GMCH may be integrated within the processor (as described in this application), with the memory 1204 and coprocessor 1202 coupled directly to the processor 1201 and to the controller hub 1203, the controller hub 1203 and IOH in a single chip. The memory 1204 may be, for example, Dynamic Random Access Memory (DRAM), Phase Change Memory (PCM), or a combination of the two. In one embodiment, the coprocessor 1202 is a special-purpose processor, such as, for example, a high-throughput MIC processor (Many Integerated Core, MIC), a network or communications processor, a compression engine, a graphics processor, a general graphics processor (General Purpose Computing on GPU, GPGPU), or embedded processors, etc. Optional properties of the coprocessor 1202 are represented in FIG. 8 by dashed lines.
存储器1204作为计算机可读存储介质,可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性计算机可读介质。例如,存储器1204可以包括闪存等任何合适的非易失性存储器和/或任何合适的非易失性存储设备,例如一个或多个硬盘驱动器(Hard-Disk Drive,HDD(s)),一个或多个光盘(Compact Disc,CD)驱动器,和/或一个或多个数字通用光盘(Digital Versatile Disc,DVD)驱动器。The memory 1204 acts as a computer-readable storage medium and may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. For example, memory 1204 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as one or more hard-disk drives (HDD(s)), one or more Multiple Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives.
在一个实施例中,设备1200可以进一步包括网络接口(Network Interface Controller,NIC)1206。网络接口1206可以包括收发器,用于为设备1200提供无线电接口,进而与任何其他合适的设备(如前端模块,天线等)进行通信。在各种实施例中,网络接口1206可以与设备1200的其他组件集成。网络接口1206可以实现上述实施例中的通信单元的功能。In one embodiment, the device 1200 may further include a Network Interface Controller (NIC) 1206 . Network interface 1206 may include a transceiver for providing a radio interface for device 1200 to communicate with any other suitable device (eg, front-end modules, antennas, etc.). In various embodiments, network interface 1206 may be integrated with other components of device 1200 . The network interface 1206 may implement the functions of the communication unit in the above-described embodiments.
设备1200可以进一步包括输入/输出(Input/Output,I/O)设备1205。I/O 1205可以包括:用户界面,该设计使得用户能够与设备1200进行交互;外围组件接口的设计使得外围组件也能够与设备1200交互;和/或传感器设计用于确定与设备1200相关的环境条件和/或位置信息。 Device 1200 may further include an input/output (I/O) device 1205 . I/O 1205 may include: a user interface designed to enable a user to interact with device 1200; a peripheral component interface designed to enable peripheral components to also interact with device 1200; and/or sensors designed to determine the environment associated with device 1200 Condition and/or location information.
值得注意的是,图8仅是示例性的。即虽然图8中示出了设备1200包括处理器1201、控制器中枢1203、存储器1204等多个器件,但是,在实际的应用中,使用本申请各方法的设备,可以仅包括设备1200各器件中的一部分器件,例如,可以仅包含处理器1201和NIC1206。图8中可选器件的性质用虚线示出。It is worth noting that Figure 8 is exemplary only. That is, although FIG. 8 shows that the device 1200 includes multiple devices such as the processor 1201 , the controller hub 1203 , and the memory 1204 , in practical applications, the device using each method of the present application may only include the devices of the device 1200 Some of the devices, for example, may contain only the processor 1201 and the NIC 1206. The properties of the optional device in Figure 8 are shown in dashed lines.
根据本申请的一些实施例,作为计算机可读存储介质的存储器1204上存储有指令,该指令在计算机上执行时使系统1200执行根据上述实施例中的通信连接建立方法,具体可参照上述实施例的方法,在此不再赘述。According to some embodiments of the present application, the memory 1204, which is a computer-readable storage medium, stores an instruction, and when the instruction is executed on the computer, causes the system 1200 to execute the communication connection establishment method according to the above-mentioned embodiment. For details, please refer to the above-mentioned embodiment. method, which will not be repeated here.
现在参考图9,所示为根据本申请的一实施例的SoC(System on Chip,片上系统)1300的框图。在图9中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC的可选特征。在图9中,SoC1300包括:互连单元1350,其被耦合至应用处理器1310;系统代理单元1380;总线控制器单元1390;集成存储器控制器单元1340;一组或一个或多个协处理器1320,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(Static Random Access Memory,SRAM)单元1330;直接存储器存取(DMA)单元1360。在一个实施例中,协处理器1320包括专用处理器,诸如例如网络或通信处理器、压缩引擎、GPGPU、高吞吐量MIC处理器、或嵌入式处理器等。Referring now to FIG. 9, shown is a block diagram of a SoC (System on Chip, system on chip) 1300 according to an embodiment of the present application. In Figure 9, similar components have the same reference numerals. Also, the dotted box is an optional feature of more advanced SoCs. In FIG. 9, SoC 1300 includes: interconnect unit 1350 coupled to application processor 1310; system proxy unit 1380; bus controller unit 1390; integrated memory controller unit 1340; one or more coprocessors 1320, which may include integrated graphics logic, image processor, audio processor and video processor; Static Random Access Memory (SRAM) unit 1330; Direct Memory Access (DMA) unit 1360. In one embodiment, the coprocessor 1320 includes a special purpose processor such as, for example, a network or communications processor, a compression engine, a GPGPU, a high throughput MIC processor, an embedded processor, or the like.
静态随机存取存储器(SRAM)单元1330中可以包括用于存储数据和/或指令的一个或多个计算机可读介质。计算机可读存储介质中可以存储有指令,具体而言,存储有该指令的暂时和永久副本。该指令可以包括:由处理器中的至少一个单元执行时使Soc1300执行根据上述实施例中的通信连接建立方法,具体可参照上述实施例的方法,在此不再赘述。Static random access memory (SRAM) unit 1330 may include one or more computer-readable media for storing data and/or instructions. The computer-readable storage medium may have instructions stored thereon, in particular, temporary and permanent copies of the instructions. The instruction may include: when executed by at least one unit in the processor, causing the Soc 1300 to execute the method for establishing a communication connection according to the foregoing embodiment. For details, refer to the method in the foregoing embodiment, which will not be repeated here.
本申请公开的机制的各实施例可以被实现在硬件、软件、固件或这些实现方法的组合中。本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程系统包括至少一个处理器、存储系统(包括易失性和非易失性存储器和/或存储元件)、至少一个输入设备以及至少一个输出设备。Embodiments of the mechanisms disclosed herein may be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of the present application may be implemented as a computer program or program code executing on a programmable system including at least one processor, a storage system (including volatile and nonvolatile memory and/or storage elements) , at least one input device, and at least one output device.
可将程序代码应用于输入指令,以执行本申请描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(Digital Signal Processor,DSP)、微控制器、专用集成电路(Application Specific Integrated Circuit,ASIC)或微处理器之类的处理器的任何系统。Program code may be applied to input instructions to perform the functions described herein and to generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any processor having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor system.
程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本申请中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。The program code may be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system. The program code may also be implemented in assembly or machine language, if desired. In fact, the mechanisms described in this application are not limited in scope to any particular programming language. In either case, the language may be a compiled language or an interpreted language.
在一些情况下,所公开的实施例可以以硬件、固件、软件或其任何组合来实现。所公开的实施例还可以被实现为由一个或多个暂时或非暂时性机器可读(例如,计算机可读)存储介质承载或存储在其上的指令,其可以由一个或多个处理器读取和执行。例如,指令可以通过网络或通过其他计算机可读介质分发。因此,机器可读介质可以包括用于以机器(例如,计算机)可读的形式存储或传输信息的任何机制,包括但不限于,软盘、光盘、光碟、光盘只读存储器(Compact Disc Read Only Memory,CD-ROMs)、 磁光盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(RAM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、磁卡或光卡、闪存、或用于利用因特网以电、光、声或其他形式的传播信号来传输信息(例如,载波、红外信号数字信号等)的有形的机器可读存储器。因此,机器可读介质包括适合于以机器(例如,计算机)可读的形式存储或传输电子指令或信息的任何类型的机器可读介质。In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried by or stored on one or more transitory or non-transitory machine-readable (eg, computer-readable) storage media, which can be executed by one or more processors read and execute. For example, the instructions may be distributed over a network or over other computer-readable media. Thus, a machine-readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (eg, a computer), including, but not limited to, floppy disks, optical disks, optical disks, Compact Disc Read Only Memory , CD-ROMs), magneto-optical disks, Read Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable Programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic or optical cards, flash memory, or for the use of the Internet to transmit information by electrical, optical, acoustic or other forms of propagating signals (for example, carrier waves, infrared signals tangible machine-readable storage of digital signals, etc.). Thus, machine-readable media includes any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
在附图中,可以以特定布置和/或顺序示出一些结构或方法特征。然而,应该理解,可能不需要这样的特定布置和/或排序。而是,在一些实施例中,这些特征可以以不同于说明书附图中所示的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示在所有实施例中都需要这样的特征,并且在一些实施例中,可以不包括这些特征或者可以与其他特征组合。In the drawings, some structural or method features may be shown in specific arrangements and/or sequences. It should be understood, however, that such specific arrangements and/or orderings may not be required. Rather, in some embodiments, the features may be arranged in a manner and/or order different from that shown in the figures of the specification. Additionally, the inclusion of structural or method features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments such features may not be included or may be combined with other features.
需要说明的是,本申请各设备实施例中提到的各单元/模块都是逻辑单元/模块,在物理上,一个逻辑单元/模块可以是一个物理单元/模块,也可以是一个物理单元/模块的一部分,还可以以多个物理单元/模块的组合实现,这些逻辑单元/模块本身的物理实现方式并不是最重要的,这些逻辑单元/模块所实现的功能的组合才是解决本申请所提出的技术问题的关键。此外,为了突出本申请的创新部分,本申请上述各设备实施例并没有将与解决本申请所提出的技术问题关系不太密切的单元/模块引入,这并不表明上述设备实施例并不存在其它的单元/模块。It should be noted that each unit/module mentioned in each device embodiment of this application is a logical unit/module. Physically, a logical unit/module may be a physical unit/module or a physical unit/module. A part of a module can also be implemented by a combination of multiple physical units/modules. The physical implementation of these logical units/modules is not the most important, and the combination of functions implemented by these logical units/modules is the solution to the problem of this application. The crux of the technical question raised. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules that are not closely related to solving the technical problems raised in the present application, which does not mean that the above-mentioned device embodiments do not exist. other units/modules.
需要说明的是,在本专利的示例和说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in the examples and specification of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that Any such actual relationship or sequence exists between these entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a" does not preclude the presence of additional identical elements in a process, method, article, or device that includes the element.
虽然通过参照本申请的某些优选实施例,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and detail may be made therein without departing from the present disclosure The spirit and scope of the application.

Claims (12)

  1. 一种通信连接建立方法,用于由第一电子设备、第二电子设备和第三电子设备构成的通信系统,所述第一电子设备包括传感器,其特征在于,A method for establishing a communication connection, used in a communication system composed of a first electronic device, a second electronic device and a third electronic device, the first electronic device comprising a sensor, characterized in that:
    所述第一电子设备接收对所述传感器的触发操作;the first electronic device receives a triggering operation on the sensor;
    响应于所述触发操作,所述第一电子设备依次播报所述第二电子设备和第三电子设备的设备标识;In response to the triggering operation, the first electronic device broadcasts the device identifiers of the second electronic device and the third electronic device in sequence;
    在所述第一电子设备播报所述第二电子设备的设备标识时,所述第一电子设备接收选定操作;When the first electronic device broadcasts the device identification of the second electronic device, the first electronic device receives the selected operation;
    响应于所述选定操作,所述第一电子设备与所述第二电子设备建立通信连接。In response to the selected operation, the first electronic device establishes a communication connection with the second electronic device.
  2. 根据权利要求1所述的方法,其特征在于,所述第一电子设备是可穿戴电子设备。The method of claim 1, wherein the first electronic device is a wearable electronic device.
  3. 根据权利要求1所述的方法,其特征在于,所述传感器为指纹传感器或压力传感器。The method according to claim 1, wherein the sensor is a fingerprint sensor or a pressure sensor.
  4. 根据权利要求1所述的方法,其特征在于,在所述第一电子设备播报所述第二电子设备的设备标识时,所述第一电子设备接收选定操作,包括:The method according to claim 1, wherein when the first electronic device broadcasts the device identification of the second electronic device, the first electronic device receives the selected operation, comprising:
    在所述第二电子设备的设备标识播报完毕后的预设时长内,所述第一电子设备接收所述选定操作。The first electronic device receives the selected operation within a preset time period after the broadcast of the device identification of the second electronic device is completed.
  5. 根据权利要求1或4所述的方法,其特征在于,所述选定操作包括以下操作的其中之一:The method of claim 1 or 4, wherein the selected operation comprises one of the following operations:
    所述第一电子设备的用户的手指与所述第一电子设备的传感器接触;a finger of the user of the first electronic device is in contact with a sensor of the first electronic device;
    所述第一电子设备的用户的手指从与第一电子设备接触的状态切换为离开所述第一电子设备的状态;Switching the finger of the user of the first electronic device from a state of being in contact with the first electronic device to a state of leaving the first electronic device;
    所述第一电子设备的用户的手指对所述第一电子设备的传感器施加压力的动作,并持续预设时长;The action of applying pressure on the sensor of the first electronic device with the finger of the user of the first electronic device, and lasts for a preset period of time;
    所述第一电子设备的用户的手指对所述第一电子设备的传感器施加压力的动作,并达到预设压力值;The action of applying pressure on the sensor of the first electronic device with the finger of the user of the first electronic device, and reaching a preset pressure value;
    所述第一电子设备的用户的手指点击所述第一电子设备预定次数。The finger of the user of the first electronic device clicks the first electronic device a predetermined number of times.
  6. 根据权利要求1所述的方法,其特征在于,所述触发操作包括以下操作的其中之一:The method according to claim 1, wherein the triggering operation comprises one of the following operations:
    所述第一电子设备的用户的手指与第一电子设备的传感器接触;the finger of the user of the first electronic device is in contact with the sensor of the first electronic device;
    所述第一电子设备的用户的手指从与第一电子设备接触的状态切换为离开所述第一电子设备,the finger of the user of the first electronic device is switched from being in contact with the first electronic device to leaving the first electronic device,
    所述第一电子设备的用户的手指对所述第一电子设备的传感器施加压力的动作,并持续预设时长;The action of applying pressure on the sensor of the first electronic device with the finger of the user of the first electronic device, and lasts for a preset period of time;
    所述第一电子设备的用户的手指对所述第一电子设备的传感器施加压力的动作,并达到预设压力值;The action of applying pressure on the sensor of the first electronic device with the finger of the user of the first electronic device, and reaching a preset pressure value;
    所述第一电子设备的用户的手指点击所述第一电子设备预定次数。The finger of the user of the first electronic device clicks the first electronic device a predetermined number of times.
  7. 根据权利要求6所述的方法,其特征在于,所述第一电子设备的用户的手指与第一电子设备的传感器接触,包括:The method according to claim 6, wherein the finger of the user of the first electronic device is in contact with the sensor of the first electronic device, comprising:
    所述第一电子设备识别用户与指纹传感器接触后录入的指纹,并验证所述指纹与该用户预先存储的指纹匹配。The first electronic device identifies the fingerprint recorded by the user after contacting the fingerprint sensor, and verifies that the fingerprint matches the pre-stored fingerprint of the user.
  8. 根据权利要求1所述的方法,其特征在于,响应于所述选定操作,所述第一电子设备与所述第二电子设备建立通信连接,包括:The method of claim 1, wherein, in response to the selected operation, establishing a communication connection between the first electronic device and the second electronic device comprises:
    所述第一电子设备基于所述设备标识,从本地存储器中读取所述第二电子设备的通信地址;The first electronic device reads the communication address of the second electronic device from the local memory based on the device identification;
    基于该通信地址,所述第一电子设备向所述第二电子设备发送连接请求,且Based on the communication address, the first electronic device sends a connection request to the second electronic device, and
    在所述第二电子设备响应所述连接请求后,所述第一电子设备与所述第二电子设备建立连接。After the second electronic device responds to the connection request, the first electronic device establishes a connection with the second electronic device.
  9. 根据权利要求8所述的方法,其特征在于,还包括:The method of claim 8, further comprising:
    当所述第二电子设备对所述第一电子设备发送的连接请求的响应时间超过预设时间,则所述第一电子设备结束与所述第二电子设备的连接请求。When the response time of the second electronic device to the connection request sent by the first electronic device exceeds a preset time, the first electronic device ends the connection request with the second electronic device.
  10. 根据权利要求1所述的方法,其特征在于,当所述第一电子设备已经与第四电子设备建立连接时,还包括:The method according to claim 1, wherein when the first electronic device has established a connection with the fourth electronic device, the method further comprises:
    所述第一电子设备与已经连接的所述第四电子设备断开连接,再与所述第二电子设备建立连接。The first electronic device is disconnected from the already connected fourth electronic device, and then the connection is established with the second electronic device.
  11. 一种蓝牙耳机,其特征在于,包括:A Bluetooth headset, comprising:
    传感器,sensor,
    存储器,用于存储由设备的一个或多个处理器执行的指令,以及memory for storing instructions for execution by one or more processors of the device, and
    处理器,用于执行上述权利要求1-10任一项所述的方法。A processor for executing the method of any one of the above claims 1-10.
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器运行时,使得所述处理器执行权利要求1-10任一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor causes the processor to execute any one of claims 1-10. Methods.
PCT/CN2021/114730 2020-09-01 2021-08-26 Communication connection establishment method, bluetooth earphone, and readable storage medium WO2022048488A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010905334.9 2020-09-01
CN202010905334.9A CN114125792A (en) 2020-09-01 2020-09-01 Communication connection establishing method, Bluetooth headset and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022048488A1 true WO2022048488A1 (en) 2022-03-10

Family

ID=80360416

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114730 WO2022048488A1 (en) 2020-09-01 2021-08-26 Communication connection establishment method, bluetooth earphone, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114125792A (en)
WO (1) WO2022048488A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483915A (en) * 2009-06-25 2012-05-30 蓝蚁无线股份有限公司 Telecommunications device with voice-controlled functionality including walk-through pairing and voice-triggered operation
US20140046664A1 (en) * 2012-08-13 2014-02-13 Plantronics, Inc. Secure Device Pairing Using Voice Input
US20140206290A1 (en) * 2013-01-22 2014-07-24 Samsung Electronics Co., Ltd. Bluetooth device and method for providing and obtaining bluetooth device information
CN104469482A (en) * 2014-12-19 2015-03-25 乐视致新电子科技(天津)有限公司 Control method and device for connection of intelligent terminal and Bluetooth devices
CN106341516A (en) * 2015-07-06 2017-01-18 中兴通讯股份有限公司 Multipoint connection control method and apparatus, terminal and multipoint bluetooth earphone
CN107360536A (en) * 2017-06-02 2017-11-17 深圳市冠旭电子股份有限公司 Control method, terminal device and the computer-readable recording medium of terminal device
CN110944326A (en) * 2019-12-10 2020-03-31 上海闻泰信息技术有限公司 Bluetooth headset pairing method and device, computer equipment and storage medium
CN111083755A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Equipment switching method and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191442B (en) * 2019-04-18 2021-05-11 华为技术有限公司 Bluetooth connection method, equipment and system
CN111464987B (en) * 2020-03-11 2022-07-26 华为技术有限公司 Method for displaying Bluetooth device identification and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483915A (en) * 2009-06-25 2012-05-30 蓝蚁无线股份有限公司 Telecommunications device with voice-controlled functionality including walk-through pairing and voice-triggered operation
US20140046664A1 (en) * 2012-08-13 2014-02-13 Plantronics, Inc. Secure Device Pairing Using Voice Input
US20140206290A1 (en) * 2013-01-22 2014-07-24 Samsung Electronics Co., Ltd. Bluetooth device and method for providing and obtaining bluetooth device information
CN104469482A (en) * 2014-12-19 2015-03-25 乐视致新电子科技(天津)有限公司 Control method and device for connection of intelligent terminal and Bluetooth devices
CN106341516A (en) * 2015-07-06 2017-01-18 中兴通讯股份有限公司 Multipoint connection control method and apparatus, terminal and multipoint bluetooth earphone
CN107360536A (en) * 2017-06-02 2017-11-17 深圳市冠旭电子股份有限公司 Control method, terminal device and the computer-readable recording medium of terminal device
CN110944326A (en) * 2019-12-10 2020-03-31 上海闻泰信息技术有限公司 Bluetooth headset pairing method and device, computer equipment and storage medium
CN111083755A (en) * 2019-12-24 2020-04-28 维沃移动通信有限公司 Equipment switching method and related equipment

Also Published As

Publication number Publication date
CN114125792A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US7953400B2 (en) Automatic pairing method for Bluetooth®-enabled mobile terminal
CN111246441B (en) Method, system and storage medium for connecting Bluetooth headset and terminal
US10630826B2 (en) Information processing device
WO2021114952A1 (en) Data processing method, terminal device, bluetooth device, and storage medium
WO2022262262A1 (en) Method for sound pick-up by terminal device by means of bluetooth peripheral, and terminal device
US20230039861A1 (en) Projection Connection Control Method And Electronic Device
US20210084417A1 (en) Wireless connection onboarding for a hearing device
WO2020124371A1 (en) Method and device for establishing data channels
WO2020132878A1 (en) Bluetooth service query method and electronic device
WO2022048488A1 (en) Communication connection establishment method, bluetooth earphone, and readable storage medium
WO2023071993A1 (en) Bluetooth pairing method, device, system, and storage medium
WO2021239032A1 (en) Bluetooth protocol connection method and apparatus, storage medium, and related device
CN110944313A (en) Bluetooth connection method, device, storage medium and terminal
CN114844736B (en) Equipment and call control method
CN114173321B (en) Equipment communication connection establishment method and equipment communication system
KR20210032104A (en) Electronic device for setting address information and method for operating thereof
WO2024001134A1 (en) Method and apparatus for connecting audio device, and storage medium and device
WO2012119348A1 (en) Vehicle mounted mobile communication device and method for realizing number search
CN220823246U (en) Earphone
CN108391307A (en) Power consumption management-control method, device and storage medium based on android system
CN114844735B (en) Display equipment and voice forwarding method
RU2795130C2 (en) Terminal device, method and system for screen projection with one touch using remote control
WO2023134386A1 (en) Device connection method and apparatus, and device, storage medium and chip
US20220225452A1 (en) Electronic device for transmitting data packets in bluetooth network environment, and method therefor
WO2019047157A1 (en) Video call control method and device

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: 21863553

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: 21863553

Country of ref document: EP

Kind code of ref document: A1