CN112806092B - Microphone MIC switching method and device - Google Patents

Microphone MIC switching method and device Download PDF

Info

Publication number
CN112806092B
CN112806092B CN201880098498.6A CN201880098498A CN112806092B CN 112806092 B CN112806092 B CN 112806092B CN 201880098498 A CN201880098498 A CN 201880098498A CN 112806092 B CN112806092 B CN 112806092B
Authority
CN
China
Prior art keywords
earplug
wireless
mic
mobile phone
voice data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201880098498.6A
Other languages
Chinese (zh)
Other versions
CN112806092A (en
Inventor
郑勇
朱宇洪
王良
张景云
陈志超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112806092A publication Critical patent/CN112806092A/en
Application granted granted Critical
Publication of CN112806092B publication Critical patent/CN112806092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application provides a MIC switching method and device, which relate to the technical field of electronics and can switch MIC of an earplug for providing voice data for voice service of electronic equipment in real time so as to better process the voice service. The specific scheme is as follows: the electronic equipment establishes a first Bluetooth connection with the first wireless earplug, establishes a second Bluetooth connection with the second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection; the electronic equipment sends audio data to the first wireless earplug and the second wireless earplug through the first Bluetooth connection and the second Bluetooth connection respectively; the electronic equipment receives first voice data acquired by MIC of the first wireless earplug, and performs service processing according to the first voice data; and when the first wireless earplug meets the switching condition, the electronic equipment performs service processing according to the second voice data acquired by the MIC of the second wireless earplug. The embodiment of the application is used for switching MIC.

Description

Microphone MIC switching method and device
Technical Field
The embodiment of the application relates to the technical field of electronics, in particular to a Microphone (MIC) switching method and device.
Background
With the increasing demand of users for convenience, wireless headphones are gaining favor of more and more users. Wherein, do not need the wire connection between two earplugs of true wireless stereo (true wireless stereo, TWS) earphone, therefore can facilitate the user to use better.
MIC is provided on each TWS ear plug. After the TWS earphone establishes a wireless connection with an electronic device such as a mobile phone, the electronic device generally performs voice service processing according to voice data collected by the MIC on one TWS ear plug.
Disclosure of Invention
The embodiment of the application provides a microphone MIC switching method and device, which can switch MIC of an earplug for providing voice data for voice service of electronic equipment in TWS earphone in real time so as to better process the voice service.
In order to achieve the above purpose, the embodiment of the application adopts the following technical scheme:
in a first aspect, a method for switching microphone MIC is provided in the technical solution of the present application, including: the electronic equipment establishes a first Bluetooth connection with the first wireless earplug, establishes a second Bluetooth connection with the second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, wherein the MIC of the first wireless earplug is in an open state, and the MIC of the second wireless earplug is in a closed state. The electronic device sends audio data to the first wireless ear bud and the second wireless ear bud through the first Bluetooth connection and the second Bluetooth connection respectively. The electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the first wireless earplug, through a first Bluetooth connection. And the electronic equipment performs service processing according to the first voice data. When the first wireless earplug meets the switching condition, the electronic device instructs the second wireless earplug to open the MIC so that the MIC of the second wireless earplug is in an open state. The electronic device receives second voice data which is sent by the second wireless earplug and collected by the MIC of the second wireless earplug. And the electronic equipment performs service processing according to the second voice data.
In the scheme, bluetooth connection is respectively established between the electronic equipment and the first wireless earplug and between the electronic equipment and the second wireless earplug, when the first wireless earplug meets the switching condition, the electronic equipment can control the second wireless earplug to open the MIC and control the first wireless earplug to close the MIC, so that the MIC of the first wireless earplug provides voice data for the service of the electronic equipment, and the MIC of the second wireless earplug is switched to provide voice data for the service of the electronic equipment.
In a second aspect, an embodiment of the present application provides a microphone MIC switching method, including: the electronic equipment establishes a first Bluetooth connection with the first wireless earplug, establishes a second Bluetooth connection with the second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, and MICs of the first wireless earplug and the second wireless earplug are in an open state. The electronic device sends audio data to the first wireless ear bud and the second wireless ear bud through the first Bluetooth connection and the second Bluetooth connection respectively. The electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the first wireless earplug, through a first Bluetooth connection. The electronic device receives second voice data collected by the MIC of the second wireless earplug, which is sent by the second wireless earplug, through a second Bluetooth connection. And the electronic equipment performs service processing according to the first voice data. And when the first wireless earplug meets the switching condition, the electronic equipment performs service processing according to the second voice data.
In the scheme, bluetooth connection is respectively established between the electronic equipment and the first wireless earplug and the second wireless earplug, and when the first wireless earplug meets the switching condition, the electronic equipment can control the MIC of the first wireless earplug to provide voice data for the service of the electronic equipment and switch the MIC of the second wireless earplug to provide voice data for the service of the electronic equipment.
In a third aspect, the present application further provides a microphone MIC switching method, including: the electronic equipment establishes a first Bluetooth connection with the first wireless earplug, establishes a second Bluetooth connection with the second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, wherein the MIC of the first wireless earplug is in an open state, and the MIC of the second wireless earplug is in a closed state; the first wireless earplug and the second wireless earplug are a pair of wireless earplugs, the first wireless earplug is a main earplug, and the second wireless earplug is a secondary earplug. The electronic device sends audio data to the first wireless ear bud and the second wireless ear bud through the first Bluetooth connection and the second Bluetooth connection respectively. The electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the first wireless earplug, through a first Bluetooth connection. And the electronic equipment performs service processing according to the first voice data. When the first wireless earplug meets the switching condition, the electronic equipment sends first information to the second wireless earplug, so that the second wireless earplug is switched into the main earplug, and the MIC is opened to enable the MIC of the second wireless earplug to be in an open state; and sending a second message to the first wireless earpiece to cause the first wireless earpiece to switch to the secondary earpiece and close the MIC to cause the MIC of the first wireless earpiece to be in a closed state. The electronic device receives second voice data collected by the MIC of the second wireless earplug, which is sent by the second wireless earplug, through a second Bluetooth connection. And the electronic equipment performs service processing according to the second voice data.
In the scheme, bluetooth connection is established between the electronic equipment and the first wireless earplug and between the electronic equipment and the second wireless earplug respectively, when the first wireless earplug meets the switching condition, the electronic equipment can switch to the main earplug and open the MIC by controlling the second wireless earplug, and control the first wireless earplug to switch to the auxiliary earplug and close the MIC, so that the MIC of the first wireless earplug provides voice data for the service of the electronic equipment, and the MIC of the second wireless earplug provides voice data for the service of the electronic equipment.
In a fourth aspect, the present application further provides a microphone MIC switching method, including: the electronic equipment establishes a first Bluetooth connection with the first wireless earplug, establishes a second Bluetooth connection with the second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, wherein MICs of the first wireless earplug and the second wireless earplug are both in an open state; the first wireless earplug and the second wireless earplug are a pair of wireless earplugs, the first wireless earplug is a main earplug, and the second wireless earplug is a secondary earplug. The electronic device sends audio data to the first wireless ear bud and the second wireless ear bud through the first Bluetooth connection and the second Bluetooth connection respectively. The electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the first wireless earplug, through a first Bluetooth connection. The electronic device receives second voice data collected by the MIC of the second wireless earplug, which is sent by the second wireless earplug, through a second Bluetooth connection. And the electronic equipment performs service processing according to the first voice data. When the first wireless earplug meets the switching condition, the electronic device indicates the second wireless earplug to be switched to the main earplug, and indicates the first wireless earplug to be switched to the auxiliary earplug. And the electronic equipment performs service processing according to the second voice data.
In the scheme, bluetooth connection is respectively established between the electronic equipment and the first wireless earplug and the second wireless earplug, when the first wireless earplug meets the switching condition, the electronic equipment can switch to the main earplug by controlling the second wireless earplug and switch to the auxiliary earplug, so that the MIC of the first wireless earplug provides voice data for the service of the electronic equipment, and the MIC of the second wireless earplug provides voice data for the service of the electronic equipment.
With reference to any one of the foregoing aspects, in one possible implementation, when the first wireless earplug meets the switching condition, the method further includes: the electronic device instructs the first wireless earpiece to close the MIC such that the MIC of the first wireless earpiece is in a closed state.
When the first wireless earplug meets the switching condition and is switched to the state that the MIC of the second wireless earplug provides voice data for the service of the electronic equipment, the MIC of the first wireless earplug can be closed to reduce the power consumption of the first wireless earplug.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the first wireless earplug is out; or the first wireless earplug is out of the ear, and the second wireless earplug is in the ear; or, the first wireless earplug is in an in-ear state, and the in-ear time is greater than or equal to a first preset value.
In such an implementation, when the first wireless earpiece meets the switching conditions herein, the first wireless earpiece is not in the ear and may not normally provide voice data for the service of the electronic device, and thus may switch to providing voice data for the service of the electronic device by the MIC of the second wireless earpiece.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the first wireless ear bud is disconnected from the electronic device and the second wireless ear bud remains bluetooth connected with the electronic device.
In this implementation, when the first wireless earplug is disconnected from the electronic device, the first wireless earplug cannot normally provide voice data for the service of the electronic device, and thus may switch to providing voice data for the service of the electronic device by the MIC of the second wireless earplug.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the electric quantity of the first wireless earplug is smaller than a second preset value; or the electric quantity of the first wireless earplug is smaller than that of the second wireless earplug; the electric quantity of the first wireless earplug is obtained through the first Bluetooth connection, and the electric quantity of the second wireless earplug is obtained through the second Bluetooth connection.
In this implementation, when the first wireless earplug meets the switching condition herein, the power of the first wireless earplug is low, and voice data may not be normally provided for the service of the electronic device, so that the MIC of the second wireless earplug may be switched to provide voice data for the service of the electronic device.
In another possible implementation, there is a wireless connection between the first wireless earpiece and the second wireless earpiece; alternatively, there is no wireless connection between the first wireless earpiece and the second wireless earpiece.
When the first wireless earplug and the second wireless earplug are in wireless connection, the first wireless earplug and the second wireless earplug can interact with information such as a quantity of electricity, whether the first wireless earplug and the second wireless earplug are out of the ear or not through the Bluetooth earphone.
In a fifth aspect, a technical solution of the present application provides a microphone MIC switching method, including: the electronic device establishes a first bluetooth connection with the first wireless earpiece, establishes a second bluetooth connection with the second wireless earpiece, and simultaneously maintains the first bluetooth connection and the second bluetooth connection. The electronic device sends audio data to the first wireless ear bud and the second wireless ear bud through the first Bluetooth connection and the second Bluetooth connection respectively. The electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the first wireless earplug, through a first Bluetooth connection. And the electronic equipment performs service processing according to the first voice data. And when the first wireless earplug meets the switching condition, the electronic equipment performs service processing according to the second voice data acquired by the MIC of the second wireless earplug.
In the scheme, bluetooth connection is respectively established between the electronic equipment and the first wireless earplug and the second wireless earplug, and when the first wireless earplug meets the switching condition, the electronic equipment can control the MIC of the first wireless earplug to provide voice data for the service of the electronic equipment and switch the MIC of the second wireless earplug to provide voice data for the service of the electronic equipment.
In a possible implementation manner of the fifth aspect, before the electronic device performs service processing according to the second voice data collected by the MIC of the second wireless earplug, the first wireless earplug is a primary earplug, and the second wireless earplug is a secondary earplug. The electronic device receives first voice data collected by the MIC of the first wireless earplug sent by the first wireless earplug through a first bluetooth connection, and the electronic device comprises: the electronic device receives first voice data collected by the MIC of the first wireless earplug, which is sent by the main earplug through the first Bluetooth connection. The electronic device performs service processing according to second voice data acquired by the MIC of the second wireless earplug, including: the electronic equipment indicates the first wireless earplug to be switched into the auxiliary earplug, and indicates the second wireless earplug to be switched into the main earplug; and the electronic equipment performs service processing according to the second voice data acquired by the MIC of the switched main earplug.
In another possible implementation, before the electronic device performs service processing according to the second voice data collected by the MIC of the second wireless earplug, the MIC of the first wireless earplug is in an on state, and the MIC of the second wireless earplug is in an off state. The electronic device performs service processing according to second voice data acquired by the MIC of the second wireless earplug, including: the electronic device instructs the second wireless ear bud to open the MIC; the electronic equipment receives second voice data acquired by the MIC of the second wireless earplug, which is sent by the second wireless earplug, through a second Bluetooth connection; and the electronic equipment performs service processing according to the second voice data.
In another possible implementation, before the electronic device performs service processing according to the second voice data collected by the MIC of the second wireless earplug, the MIC of the first wireless earplug and the MIC of the second wireless earplug are both in an on state, and the electronic device further receives the second voice data collected by the MIC of the second wireless earplug and sent by the second wireless earplug through the second bluetooth connection. After the electronic device performs service processing according to the second voice data collected by the MIC of the second wireless earplug, the method further includes: the electronic device stops performing service processing according to the first voice data.
In another possible implementation, when the first wireless earplug meets the switch condition, the method further comprises: the electronic device instructs the first wireless earpiece to close the MIC.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the first wireless earplug is out; or the first wireless earplug is out of the ear, and the second wireless earplug is in the in-ear state; or, the first wireless earplug is out of the ear, the out-of-ear time is greater than or equal to a first preset value, and the second wireless earplug is in the ear.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the first wireless ear bud is disconnected from the electronic device and the second wireless ear bud remains bluetooth connected with the electronic device.
In another possible implementation, the first wireless earplug meeting the switching condition includes: the electric quantity of the first wireless earplug is smaller than a second preset value; or the electric quantity of the first wireless earplug is smaller than that of the second wireless earplug; the electric quantity of the first wireless earplug is obtained through the first Bluetooth connection, and the electric quantity of the second wireless earplug is obtained through the second Bluetooth connection.
In another possible implementation, there is a wireless connection between the first wireless earpiece and the second wireless earpiece; alternatively, there is no wireless connection between the first wireless earpiece and the second wireless earpiece.
In a sixth aspect, a technical solution of the present application provides an MIC switching device, where the device is included in an electronic device, and the device has a function of implementing the behavior of the electronic device in any one of the possible implementation manners of the first aspect to the fifth aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. Such as a connection module or unit, a MIC switching module or unit, a determination module or unit, etc.
In a seventh aspect, the present application provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the MIC switching method in any of the possible implementations of the first through fifth aspects described above.
In an eighth aspect, a technical solution of the present application provides a computer storage medium, including computer instructions, which when executed on an electronic device, cause the electronic device to perform the MIC switching method in any one of the possible implementations of the first aspect to the fifth aspect.
In a ninth aspect, the present application provides a computer program product, which when run on a computer, causes an electronic device to perform the MIC switching method in any one of the possible implementations of the first to fifth aspects.
In a tenth aspect, the present application provides a system, which may include the electronic device, the first wireless earplug and the second wireless earplug in any one of the possible implementation manners of the first aspect or the second aspect. The electronic device, the first wireless ear bud and the second wireless ear bud may perform the MIC switching method in any one of the possible implementations of the first aspect to the fifth aspect. The first wireless ear bud and the second wireless ear bud are a pair of wireless ear buds.
Drawings
Fig. 1 is a schematic diagram of a system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a mobile phone according to an embodiment of the present application;
fig. 3A is a schematic structural view of an earplug according to an embodiment of the present application;
fig. 3B is a schematic view of an earplug and an earphone box according to an embodiment of the disclosure;
FIG. 3C is a schematic illustration of an earplug provided in an embodiment of the application;
fig. 4 is a schematic diagram of a dual-hair connection according to an embodiment of the present application;
Fig. 5 is a flowchart of a MIC switching method provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a set of scenarios provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of an interface according to an embodiment of the present disclosure;
FIG. 8 is a schematic illustration of another interface provided in an embodiment of the present application;
FIG. 9 is a schematic view of another set of scenarios provided in an embodiment of the present application;
fig. 10 is a flowchart of another MIC switching method provided in an embodiment of the present application;
fig. 11A is a schematic view of a scenario provided in an embodiment of the present application;
FIG. 11B is a schematic view of another scenario provided in an embodiment of the present application;
fig. 12 is a flowchart of another MIC switching method provided in an embodiment of the present application;
fig. 13 is a flowchart of another MIC switching method provided in an embodiment of the present application;
fig. 14 is a flowchart of another MIC switching method provided in an embodiment of the present application;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
As shown in fig. 1, the pairing connection method provided in the embodiment of the present application may be applied to a system formed by an electronic device 01 and at least one external device 02. In this system, the electronic device 01 and the external device 02 are connected wirelessly. The wireless mode may be Bluetooth (BT), wireless fidelity (wireless fidelity, wi-Fi) network, global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (IR), and the like. For example, the electronic device 01 may be a cell phone, a media player (e.g., MP3, MP4, etc.) tablet, a notebook, an ultra-mobile personal computer (UMPC), a personal digital assistant (personal digital assistant, PDA), a television, etc. For example, the external device 02 may be a wireless earphone, a wireless speaker, a wireless bracelet, a wireless vehicle, wireless smart glasses, an augmented reality (augmented reality, AR) \virtual reality (VR) device, and the like, which is not limited in any way by the embodiments of the present application. Wherein the wireless headset may be a headset, an earplug or other portable listening device.
The external device 02 may include a first main body 021 and a second main body 022 that are used in a matched mode, and the first main body 021 and the second main body 022 are matched with each other and work cooperatively. For example, the external device 02 may be an earpiece type TWS headset, which may include a left earpiece (generally identified as "L") and a right earpiece (generally identified as "R") that are paired for stereo playback, the left earpiece may be used to play a left channel signal of audio data, and the right earpiece may be used to synchronously play a right channel signal of the audio data. For another example, the external device 02 may be a wireless speaker, where the wireless speaker may include a left channel speaker and a right channel speaker that are paired for use, the left earpiece and the right earpiece are used for stereo playback, the left channel speaker may be used for playing a left channel signal of audio data, and the right channel speaker may be used for synchronously playing a right channel signal of the audio data.
In the system shown in fig. 1, the electronic device 01 is exemplified by a mobile phone, the external device 02 is exemplified by a TWS earphone, and the first main body 021 and the second main body 022 are exemplified by left and right earplugs. It can be understood that the electronic device 01 and the external device 02 in the system may also be other devices, which are not limited in this embodiment of the present application.
For example, when the electronic device 01 is the mobile phone 100, fig. 2 shows a schematic structural diagram of the mobile phone 100. The handset 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the handset 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components may be provided. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural center or a command center of the mobile phone 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the mobile phone 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the I2S interface, to implement a function of answering a phone call through a bluetooth headset, and the like.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the camera function of cell phone 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the handset 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect to a charger to charge the mobile phone 100, or may be used to transfer data between the mobile phone 100 and an external device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other handsets, such as AR devices, etc.
It should be understood that the connection relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not limited to the structure of the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the cell phone 100. The charging management module 140 can also supply power to the mobile phone through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to the handset 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. applied to the handset 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
For example, in the embodiment of the present application, the mobile phone 100 may utilize the wireless communication module 160 to establish a wireless connection with an external device through a wireless communication technology (such as bluetooth). Based on the established wireless connection, the mobile phone can interact audio (audio) data, control data and the like with the external device. The audio data may include media data, voice data, and the like, among others. For example, the mobile phone 100 may receive voice data of a user collected by a TWS headset of an external device. For another example, the mobile phone 100 may also send music media data to the external device, so that the external device sends playing music.
In some embodiments, the antenna 1 and the mobile communication module 150 of the handset 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the handset 100 can communicate with a network and other devices through wireless communication technology. Wireless communication techniques may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The mobile phone 100 implements display functions through a GPU, a display 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the cell phone 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The mobile phone 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the cell phone 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the handset 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, etc.
Video codecs are used to compress or decompress digital video. The handset 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record video in multiple coding formats, for example: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the mobile phone 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capabilities of the handset 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 executes various functional applications of the cellular phone 100 and data processing by executing instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may respectively establish wireless pairing connection with two main bodies of the external device and perform short-distance data exchange with the external device through the wireless communication module 160 by executing the instructions stored in the internal memory 121, so as to implement the functions of voice communication and playing music through the external device. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the handset 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
In this embodiment, the mobile phone 100 may respectively establish wireless connection with two main bodies of the external device by using a wireless communication technology (such as bluetooth). After the wireless connection is established, the handset 100 may store the bluetooth address of the external device in the internal memory 121. In some embodiments, when the external device is a device including two bodies, such as a TWS headset, the left and right earpieces of the TWS headset have respective bluetooth addresses, respectively, the mobile phone 100 may store the bluetooth addresses of the left and right earpieces of the TWS headset in the internal memory 121 in association so as to use the left and right earpieces of the TWS headset as a pair of devices.
The handset 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The handset 100 may listen to music, or to hands-free calls, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the handset 100 is answering a telephone call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The handset 100 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the mobile phone 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, implement directional recording, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile handset platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
In the embodiment of the present application, when the mobile phone 100 establishes a wireless connection with an external device, such as a TWS headset, the TWS headset may be used as an audio input/output device of the mobile phone 100. Illustratively, the audio module 170 may receive the audio signal transmitted by the wireless communication module 160, and implement the functions of making a call, video call, playing music, etc. through the TWS headset. For example, in the process of making a call by a user, the TWS earphone may collect voice data of the user through a microphone of the ear bud, convert the voice data into an audio signal, and send the audio signal to the wireless communication module 160 of the mobile phone 100, thereby providing voice data for telephone service. When the earplug shows problems of ear, chain breakage and the like, the mobile phone can be switched to the microphone of the other earplug to provide voice data for telephone service. Specifically, the wireless communication module 160 transmits the audio electrical signal to the audio module 170. The audio module 170 may convert the received audio electrical signal into a digital audio signal, encode the digital audio signal, and transmit the digital audio signal to the mobile communication module 150. Is transmitted to the call counterpart device by the mobile communication module 150 to implement the call.
For another example, when a user plays music using the media player of the mobile phone 100, the application processor may transmit an audio electrical signal corresponding to the music played by the media player to the audio module 170. The audio electrical signal is transmitted by the audio module 170 to the wireless communication module 160. The wireless communication module 160 may transmit the audio electrical signal to the TWS headphones such that the TWS headphones convert the audio electrical signal to a sound signal for playback.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The handset 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display 194, the mobile phone 100 detects the touch operation intensity from the pressure sensor 180A. The mobile phone 100 may also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine the motion gesture of the cell phone 100. In some embodiments, the angular velocity of the handset 100 about three axes (i.e., x, y, and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the mobile phone 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the mobile phone 100 through the reverse motion, thereby realizing anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the handset 100 calculates altitude from the barometric pressure value measured by the barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The mobile phone 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the mobile phone 100 is a flip phone, the mobile phone 100 may detect the opening and closing of the flip based on the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E can detect the magnitude of acceleration of the mobile phone 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the handset 100 is stationary. The method can also be used for recognizing the gesture of the mobile phone, and is applied to the applications of horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The cell phone 100 may measure the distance by infrared or laser. In some embodiments, the cell phone 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The cellular phone 100 emits infrared light outward through the light emitting diode. The cell phone 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the cell phone 100. When insufficient reflected light is detected, the handset 100 can determine that there is no object in the vicinity of the handset 100. The mobile phone 100 can detect that the user holds the mobile phone 100 close to the ear to talk by using the proximity light sensor 180G, so as to automatically extinguish the screen to achieve the purpose of saving electricity. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The cell phone 100 may adaptively adjust the brightness of the display 194 based on perceived ambient light levels. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect if the handset 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The mobile phone 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is for detecting temperature. In some embodiments, the handset 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, handset 100 performs a reduction in the performance of a processor located near temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the mobile phone 100 heats the battery 142 to avoid the low temperature causing the mobile phone 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the handset 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the mobile phone 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may parse out the voice data based on the vibration signal of the vocal part vibration bone piece obtained by the bone conduction sensor 180M, and implement the voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 180M, so that a heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The handset 100 may receive key inputs, generating key signal inputs related to user settings and function control of the handset 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation with the handset 100. The handset 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, handset 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the handset 100 and cannot be separated from the handset 100.
For example, when the external device 02 is a TWS earphone, fig. 3A shows a schematic structural diagram of one of the bodies of the TWS earphone, i.e., an earplug (left earplug or right earplug). As shown in fig. 3A, an earplug for a TWS headset may include: processor 301, memory 302, sensor 303, wireless communication module 304, receiver 305, microphone 306, and power supply 307.
The memory 302 may be used for storing application code, such as application code for establishing a wireless connection with another earplug of the TWS headset, and for enabling a mating connection of the earplug with the electronic device 01 described above.
The processor 301 may control execution of the above-mentioned application program codes to implement the functions of the earplug of the TWS earphone in the embodiments of the application. For example, a wireless mating connection between each earpiece of the TWS headset and the electronic device 01, respectively, is achieved.
The memory 302 may also have stored therein a bluetooth address for uniquely identifying the earpiece and a bluetooth address of another earpiece of the TWS headset. In addition, the memory 302 may also store a pairing history of the electronic device 01 that was successfully paired with the earplug. For example, the pairing history may include the bluetooth address of the electronic device 01 that was successfully paired with the earplug. Based on the pairing history, the earplug can automatically connect back to the paired giant electronic device 01. The bluetooth address may be a medium access control (media access control, MAC) address.
The sensor 303 may be a distance sensor or a proximity light sensor. The ear bud may determine whether it is being worn by the user via the sensor 303. For example, the earbud may utilize a proximity light sensor to detect whether there is an object in the vicinity of the earbud, thereby determining whether the earbud is being worn by the user. Upon determining that the earpiece is worn, the earpiece may turn on the receiver 305. In some embodiments, the earplug may further comprise a bone conduction sensor, in combination with the bone conduction headset. By utilizing the bone conduction sensor, the earplug can acquire the vibration signal of the sound part vibration bone block, analyze out the voice data and realize the voice function. In other embodiments, the earbud may further include a touch sensor for detecting a touch operation by a user. In other embodiments, the earplug may further comprise a fingerprint sensor for detecting a user fingerprint, identifying a user identity, etc. In other embodiments, the earplug may further comprise an ambient light sensor, and parameters, such as volume level, may be adaptively adjusted according to the perceived brightness of the ambient light.
A wireless communication module 304, configured to support short-range data exchange between the earplug of the TWS headset and various electronic devices 01, such as the electronic devices 01 described above. In some embodiments, the wireless communication module 304 may be a bluetooth transceiver. The earpiece of the TWS headset may establish a wireless connection with the above-mentioned electronic device 01 via the bluetooth transceiver to enable a short-range data exchange between the two.
At least one receiver 305, which may also be referred to as a "earpiece", may be used to convert the audio electrical signal into a sound signal and play it. For example, when the earplug of the TWS earphone is used as the audio output device of the above-described electronic device 01, the receiver 305 may convert the received audio electric signal into a sound signal and play it.
At least one microphone 306, which may also be referred to as a "microphone," is used to convert sound signals into audio electrical signals. For example, when the earpiece of the TWS headset is used as the audio input device of the electronic device 01, the microphone 306 may collect voice data of the user during the process of speaking (e.g., talking or sending a voice message) and convert the voice data into an audio electrical signal, which is provided to the electronic device 01 for voice service processing. The audio signal is the audio data in the embodiment of the application. When the microphone of the earplug has problems such as ear out and chain breakage, the earplug can stop providing voice data for voice service of the electronic equipment 01 according to the instruction of the electronic equipment 01. For another example, when another earplug presents problems such as ear, chain breakage, etc., the earplug can provide voice data for voice service of the electronic device through the microphone 306 according to the indication of the electronic device 01.
A power supply 307 may be used to supply power to the various components contained in the earplug of the TWS earphone. In some embodiments, the power source 307 may be a battery, such as a rechargeable battery.
Typically, TWS headphones will be equipped with a headphone case (e.g., 023 shown in FIG. 3B). The earphone box may be used to receive left and right earplugs of a TWS earphone. As shown in connection with fig. 3A, the earphone case 023 may be used to house left and right earplugs 022, 021 of a TWS earphone. In some embodiments, at least one touch control 024 may be provided on the earphone box 023, which may be used to trigger pairing of the TWS earphone with the new electronic device 01, or to trigger a pairing between two earplugs of the TWS earphone, etc. The earphone box 023 may also be provided with a charging port 025 for charging the earphone box itself. It will be appreciated that other controls may be included on the earphone pod 023, which will not be further described herein. In addition, the earphone box 023 may also charge the left and right earplugs of the TWS earphone. Accordingly, in some embodiments, the earplug of the TWS earphone may further include: an input/output interface 308.
The input/output interface 308 may be used to provide any wired connection between the earpieces of the TWS headset and a headset box (such as headset box 023 described above). In some embodiments, the input/output interface 308 may be an electrical connector. When the earpieces of the TWS headset are placed in the headset case, the earpieces of the TWS headset may be electrically connected with the headset case (e.g., with an input/output interface included with the headset case) through the electrical connector. After the electrical connection is established, the earphone case may charge the power supply 307 of the earplug of the TWS earphone. After the electrical connection is established, the earpiece of the TWS headset may also be in data communication with the headset case. For example, an earpiece of a TWS headset may receive pairing instructions from the headset case over the electrical connection. The pairing command is used to instruct the earpiece of the TWS headset to turn on the wireless communication module 304, so that the earpiece of the TWS headset may be paired with the electronic device 01 using a corresponding wireless communication protocol (e.g., bluetooth).
Of course, the earplug of the TWS headset described above may also not include the input/output interface 308. In this case, the ear bud may implement a charging or data communication function based on the wireless connection established with the earphone box through the wireless communication module 304 described above.
Additionally, in some embodiments, a headset box (such as headset box 023 described above) may also include a processor, memory, and the like. The memory may be used to store application code and be controlled by the processor of the earphone cassette to perform the functions of the earphone cassette. For example. When the user opens the cover of the headphone case, the processor of the headphone case may transmit a pairing command or the like to the earplug of the TWS headphone in response to the user opening the cover by executing the application code stored in the memory.
It will be appreciated that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the earplug of the TWS headset. It may have more or fewer components than shown in fig. 3A, may combine two or more components, or may have a different configuration of components. For example, the earplug may further include an indicator light 309 (which may indicate the status of the earplug, etc.), a display screen 310 (which may prompt the user for information), a dust screen (which may be used with the earpiece), a motor, etc. The various components shown in fig. 3A may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
By way of example, fig. 3C provides a schematic diagram of a right ear bud 021 that may include a receiver 305, a microphone 306, an input/output interface 308, instructions etc 309, a display screen 310, and touch keys 311 and proximity light sensors 312, etc. The touch key 311 is used in cooperation with a touch sensor to trigger operations such as pause, play, record, turn on a microphone, turn off a microphone, etc.
The left and right earplugs of the TWS earphone may have the same structure. For example, the left and right earplugs of a TWS headset may both include the components shown in FIG. 3A. Alternatively, the structure of the left and right earplugs of the TWS headset may also be different. For example, one earpiece (e.g., a right earpiece) of the TWS headset may include the component shown in FIG. 3A, while the other earpiece (e.g., a left earpiece) may include other components in FIG. 3A in addition to the microphone 306.
It should be noted that the structures shown in fig. 3A, 3B, and 3C are only exemplary descriptions, and are not intended to limit the structures or functions of the TWS earphone and the earphone box.
In the following embodiments of the present application, a mobile phone is taken as an electronic device 01, a TWS headset is taken as an external device 02, and a connection is established between the mobile phone 01 and the TWS headset 02 in a bluetooth manner, which is an example, to describe the MIC switching method provided in the embodiments of the present application.
At present, the bluetooth connection scheme between the TWS earphone and the mobile phone mainly includes a monitoring scheme, a forwarding scheme, a near field magnetic induction (near field magnetic induction, NFMI) scheme, a dual-transmission scheme (or called dual-connection scheme), and the like.
In the monitoring scheme, the TWS earphone may include a main earplug and an auxiliary earplug, where the mobile phone and the main earplug establish a bluetooth connection to complete sending of audio data to the main earplug and complete service actions triggered by the mobile phone and the TWS earphone (such as playing, pausing, switching to the last one, switching to the next one, etc.); bluetooth connection is established between the two earplugs, so that information synchronization between the two earplugs is completed; the auxiliary earplug acquires audio data by monitoring a Bluetooth link between the main earplug and the mobile phone.
In the forwarding scheme, the TWS earphone can comprise a main earplug and an auxiliary earplug, bluetooth connection is established between the mobile phone and the main earplug, the transmission of audio data to the main earplug is completed, and service actions triggered by the mobile phone and the TWS earphone are completed; bluetooth connection is established between the two earplugs, information synchronization between the two earplugs is completed, and the main earplugs forward audio data to the auxiliary earplugs through Bluetooth links between the main earplugs and the auxiliary earplugs.
In the NFMI scheme, the TWS earphone may include a main earplug and an auxiliary earplug, and bluetooth connection is established between the mobile phone and the main earplug, so as to complete transmission of audio data to the main earplug and complete service actions triggered by the mobile phone and the TWS earphone; and NFMI connection is established between the two earplugs, information synchronization between the two earplugs is completed, and the main earplug forwards audio data to the auxiliary earplugs through NFMI links between the main earplugs and the auxiliary earplugs.
In the monitoring scheme, the forwarding scheme and the NFMI scheme, the mobile phone only establishes Bluetooth connection with the main earplug, and exchanges audio data with the main earplug; the mobile phone does not establish a bluetooth connection with the auxiliary earplug and does not interact audio data with the auxiliary earplug, so the connection schemes can also be called as a single-shot scheme.
Referring to fig. 4, in the dual-transmission scheme, the mobile phone establishes bluetooth connection with two earplugs of the TWS, respectively, so as to implement operations such as audio data playing and service action control by interacting with audio data, service control data, etc. through bluetooth links between the two earplugs of the TWS, respectively. The two earplugs of the TWS can be connected in a wireless mode or disconnected in a wireless mode. Specific details regarding the two-shot approach may be found among others in application documents having application numbers PCT/CN2018/118783, PCT/CN2018/118730, and PCT/CN 2018/118791.
The following embodiments of the present application mainly take a two-way connection between a mobile phone and a TWS headset as an example.
The TWS headset may interact with audio (audio) data, which may include media (media) data, voice (voice) data, etc., through a Bluetooth bi-directional connection with the handset. For example, TWS headphones may play media data such as music, recordings, sounds in video files, etc. for a user; in the scenes of telephone, audio call and video call, the method can play incoming call prompt tone, play voice data of the opposite end of the call, collect voice data of a user and send the voice data to a mobile phone; in a game scene, background music, game prompt tone, voice data of game teammates and the like can be played, and voice data of users are collected and sent to a mobile phone; under the WeChat voice message scene, voice message can be played, voice data recorded by a user are collected and sent to a mobile phone; under the scenes of voice assistants and the like, voice data of a user can be collected and sent to the mobile phone.
Specifically, the left earplug and the right earplug of the TWS earphone are provided with MICs, and the MICs can be used for collecting voice data of a user in voice service and sending the voice data to a mobile phone for voice service processing. For example, in voice services such as telephone service, weChat audio/video chat service, weChat voice message service, etc., MIC on the ear plug can be used for collecting voice data of the user, and the voice data is sent to the opposite terminal after being processed by the mobile phone; the system can also be used for collecting voice instructions of users for indicating to dial/connect a phone, connect an audio/video call and the like and sending the voice instructions to a mobile phone. For another example, in a voice control service (e.g., a voice assistant service), the MIC on the earplug may be used to collect voice instructions from the user and send to the handset, e.g., to instruct to turn on an APP, to instruct to start playing music, to instruct to play the next piece of music, to instruct to pause playing music, etc. For another example, in a gaming service, the MIC on the ear plug may be used to collect voice data from a user and send it to a game player via a cell phone. It may be appreciated that the voice service may also include other service scenarios, which are not limited in the embodiments of the present application.
In order to reduce power consumption, resources, duty cycle, etc. of a mobile phone, the mobile phone generally only uses voice data sent by the MIC of one TWS earplug to perform voice service processing.
The following embodiments of the present application mainly take a voice service as a telephone service as an example for explanation. Referring to fig. 5, the method may include:
500. the handset establishes a bluetooth connection with each TWS earpiece while maintaining the two bluetooth connections.
The TWS headset may include a first earpiece and a second earpiece, and the handset may establish a first Bluetooth connection with the first earpiece and a second Bluetooth connection between the handset and the second earpiece while maintaining both Bluetooth connections. Namely, a double-transmission connection is established between the mobile phone and the TWS earphone. After the dual-send connection is established, the mobile phone can send audio data to the first earplug through the first Bluetooth connection, send audio data to the second earplug through the second Bluetooth connection, and enable the first earplug and the second earplug to synchronously play the audio data.
501. The handset initiates a telephone service.
When a user wishes to make a call, the handset may first establish a two-way connection with the TWS headset, and then the handset may initiate a phone service (e.g., make or receive a call) to make a call using the TWS headset.
Illustratively, in the telephone service scenario shown in fig. 6 (a), as shown in fig. 6 (b), the user may make a call using the TWS headset.
In a telephone service scene, the first earplug can receive voice data of a telephone opposite terminal sent by a mobile phone through a first Bluetooth connection, the second earplug can receive voice data of the telephone opposite terminal sent by the mobile phone through a second Bluetooth connection, and a user can answer the voice data of the telephone opposite terminal through the first earplug and the second earplug. And the MIC of the TWS earphone can also collect voice data of a local user and send the voice data to the mobile phone, and the mobile phone processes the voice data of the user and sends the voice data to the opposite terminal.
Or, the mobile phone can also start the telephone service first and make a call by adopting other modes such as a receiver and the like; after the mobile phone establishes the double-sending connection with the TWS earphone, the mobile phone is switched to be connected with the telephone through the TWS earphone. Illustratively, in the telephone service scenario shown in fig. 6 (c), the user uses the handset to answer the call; the user may also click on control 601 to switch answer modes; after the user clicks the control 602 shown in (d) in fig. 6 to select the TWS earphone mode to answer, the mobile phone may establish a two-way connection with the TWS earphone, and then referring to (b) in fig. 6, the user may use the TWS earphone to answer a call.
502. The mobile phone receives voice data collected by the MIC of the first earplug.
After the mobile phone establishes the double-sending connection with the TWS earphone and starts the telephone service, the mobile phone can determine a target earplug (a left earplug or a right earplug) according to a preset strategy, and then receives voice data which are sent by the target earplug and collected by the MIC of the target earplug through Bluetooth connection with the target earplug.
The preset strategy can be various. For example, by default the right earplug of the TWS headset is the target earplug, the earplug may report an identification to the phone to indicate whether it is the left earplug or the right earplug, and the phone determines the earplug identified as the right earplug as the target earplug according to the identification.
For another example, the earplug that is first removed from the earphone box is the target earplug. The mobile phone can be notified when the earplug is out of the box, and the mobile phone determines that the earplug which firstly receives the out-box notification is the target earplug. Wherein the TWS earphone arranged in the earphone box is kept in contact with or electrically connected with the earphone box; when the earplug is taken out of the earphone box, the earplug is separated from the earphone box.
For another example, a first in ear earplug is the target earplug. The earbud may determine whether to be in the ear by a proximity light sensor, an ambient light sensor, or a distance sensor; if the in-ear is determined, the earplug sends an in-ear notification to the mobile phone to indicate that the earplug is in-ear, and the mobile phone can determine the earplug which sends the in-ear notification first as a target earplug.
For another example, the user may indicate whether the target earplug is a left earplug or a right earplug. For example, two earplugs can be respectively displayed on a display screen of the mobile phone, and a user can select one of the earplugs as a target earplug; for another example, the user may indicate that one of the earpieces is the target earpiece by the MIC of the cell phone or by MIC speech of the earpieces; for another example, if one earplug detects the touch operation of the user on the first control, the operation is reported to the mobile phone, and the mobile phone determines that the earplug is the target earplug.
For another example, of the two earplugs in the TWS headset, the earplug that first established the connection with the handset may be the target earplug.
For another example, after the dual-transmission connection is established, the mobile phone can obtain the electric quantity of the first earplug through the first Bluetooth connection and obtain the electric quantity of the second earplug through the second Bluetooth connection, so that the earplug with the larger electric quantity in the TWS earphone is determined to be the target earplug.
For another example, after the dual-hop connection is established, an earpiece with high channel quality of the bluetooth link with the handset in the TWS earpiece is the target earpiece.
If the mobile phone determines that the first earplug is the target earplug, the mobile phone can receive voice data acquired by the MIC of the first earplug, which is sent by the first earplug, through a first Bluetooth connection between the mobile phone and the first earplug.
503. And the mobile phone performs telephone service processing according to the voice data acquired by the MIC of the first earplug.
After receiving the voice data collected by the MIC of the first earplug, the mobile phone can perform phone service processing according to the voice data. For example, the voice data is encoded, compressed, and the like, and transmitted to the counterpart device.
After step 503, the method may further include:
504. if the first earplug meets the switching condition, the mobile phone performs telephone service processing according to voice data acquired by the MIC of the second earplug.
When the phone service is processed according to the voice data collected by the MIC of the first earplug, if the first earplug meets the switching condition, it can be indicated that the first earplug has a problem, and the MIC of the first earplug may not normally provide the voice data for the phone service of the phone. The handset may switch to providing voice data for the telephone service via the MIC of the second earpiece so that telephone service processing is performed based on the voice data collected by the MIC of the second earpiece. Here, a specific explanation about the switching condition can be found in the description in the following embodiment.
After the two-way connection between the mobile phone and the TWS headset is established and the telephone service is started, the mobile phone can determine and record whether the MICs of the first earplug and the second earplug are in the on state or the off state. And, the mobile phone may be notified when the open/close states of the MIC of the first and second earplugs are changed, and the mobile phone may record the open/close states of the MIC of the first and second earplugs after the change.
When the MIC of the first earplug provides voice data for voice service of the mobile phone, if the MIC of the first earplug is in an open state and the MIC of the second earplug is in a closed state, executing the MIC switching process described in the following case 1; if the MIC of both the first earpiece and the second earpiece are in an on state, the MIC switching process described in case 2 below is performed.
Case 1: when the mobile phone carries out telephone service processing according to voice data collected by the MIC of the first earplug, the MIC of the second earplug is in a closed state.
After the mobile phone establishes bluetooth connection with the first earplug and the second earplug, the MIC of the first earplug and the MIC of the second earplug can be in an open state by default, the mobile phone can instruct to close the MIC of the second earplug, and keep the MIC of the first earplug in the open state, so that voice data is provided for telephone service by using the MIC of the first earplug. Or, the mobile phone can indicate that one of the earplugs is a first earplug, and the MIC of the first earplug is in an open state; the phone may indicate that the other earpiece is a second earpiece, which automatically closes the MIC.
Or after the mobile phone establishes bluetooth connection with the first earplug and the second earplug, the MIC of the first earplug and the MIC of the second earplug can be in a closed state by default, the mobile phone can instruct to open the MIC of the first earplug, and keep the MIC of the second earplug in the closed state, so that voice data is provided for telephone service by using the MIC of the first earplug. Or, the mobile phone may indicate one of the earplugs as the first earplug, and the first earplug automatically opens the MIC; the handset may indicate that the other earplug is a second earplug, which remains closed.
In an embodiment, the first earplug meeting the switching condition in step 504 includes the first earplug meeting a first preset condition. That is, referring to fig. 5, step 504 may specifically include:
504A, if the first earplug meets the first preset condition, the mobile phone performs phone service processing according to the voice data collected by the MIC of the second earplug.
Wherein the first preset condition may include one or more of: the method comprises the steps of outputting an ear (separating from the ear), wherein the time of outputting the ear is larger than or equal to a first preset value, disconnecting the mobile phone from the chain (namely disconnecting the mobile phone from Bluetooth), the electric quantity is smaller than a second preset value, the channel quality of a link between the mobile phone and the electric quantity is lower than a third preset value, or voice data (of the opposite terminal) are not played in a preset time period, voice data (of the MIC of the earplug) are not collected (of a local user), and the like. Among these, there may be various parameters for representing channel quality, such as one or more of packet loss rate, packet error rate, signal-to-noise ratio, qoS parameters, channel quality indication (channel quality indicator, CQI) parameters, etc.
If the first earplug meets the first preset condition, it may indicate that the first earplug has a problem, and the MIC of the first earplug may not normally provide voice data for phone service of the mobile phone. At this time, whether the second earplug has the same problem as the first earplug or not, the second earplug can be switched to provide voice data to the telephone service of the mobile phone through the MIC of the second earplug so that the mobile phone can process the telephone service normally or better.
For the detection of the coming out of the ear, the earplug can determine whether the earplug is separated from the ear or not through a distance sensor or an approaching light sensor, and if the earplug is separated from the ear, the earplug is reported to the mobile phone. For broken link detection, the earplug may send a reset (reset) or detach (detach) or the like to the handset indicating a disconnection to the handset; or the mobile phone can also automatically detect whether the connection with the earplug is disconnected. For the channel parameters, the earplug can measure the channel parameters of the link between the earplug and the mobile phone and report the channel parameters to the mobile phone; alternatively, the handset may itself detect the channel parameters of the link with the earpiece. For the electric quantity, the earplug can report the electric quantity of the earplug to the mobile phone. Whether the earplug detects voice data or not, if the earplug does not detect the voice data within a preset time length, the event can be reported to the mobile phone; or, the mobile phone can determine whether voice data sent by the earplug is received within a preset time period. After receiving the report message of the earplug, the mobile phone can return a confirmation message to the earplug to inform the earplug that the mobile phone has received the report message.
The first preset condition is, for example, a first earplug breaking. If the first earplug breaks the link, the second earplug is switched to provide voice data for telephone service of the mobile phone through MIC of the second earplug no matter what state the second earplug is in.
Still further exemplary, the first predetermined condition is that the first earplug is out of the ear. If the first earplug is out of the ear, the second earplug is switched to provide voice data for telephone service of the mobile phone through MIC of the second earplug no matter what state the second earplug is in.
And when the first earplug meets the first preset condition, the mobile phone or the TWS earphone can prompt the user that the first earplug has a problem through modes such as display, sound, vibration, indicator lamps and the like. For example, the first earpiece is a right earpiece, and when the first earpiece breaks the chain, see fig. 7, the phone prompts the user via prompt box 701 that the right earpiece has been disconnected from the phone by bluetooth.
The mobile phone switching to the MIC through the second earpiece to provide the voice data for the telephone service means that the mobile phone instructs the TWS earpiece to switch to the MIC through the second earpiece to provide the voice data for the telephone service. The manner in which the mobile phone instructs the TWS headset to switch is illustrated below by taking the first preset condition as an example of the first earplug out.
In one arrangement, when the first earpiece is out of the ear, the handset may automatically instruct/automatically control the switch to provide voice data for the telephone service via the MIC of the second earpiece.
In an exemplary embodiment, when the first earplug is in the out ear (i.e., the first preset condition is satisfied), the mobile phone may automatically instruct the second earplug to open the MIC, receive voice data collected by the MIC of the second earplug, perform phone service processing according to the voice data, and instruct the first earplug to close the MIC.
In another scheme, when the first earplug is out of the ear, the mobile phone can also prompt the user whether to switch, and after detecting a switching instruction of the user, the mobile phone instructs the TWS earphone to switch to provide voice data for telephone service of the mobile phone through the MIC of the second earplug.
For example, referring to fig. 8, the first ear plug is a right ear plug, the second ear plug is a left ear plug, and the mobile phone prompts the user whether to switch to providing voice data for the phone service of the mobile phone through the MIC of the second ear plug through a prompt box 801, if the mobile phone detects that the user clicks yes on the display screen, or the MIC of the mobile phone detects that the user indicates the switched voice data, the mobile phone indicates that the second ear plug opens the MIC, and indicates that the first ear plug closes the MIC.
Still further exemplary, the first earplug is a right earplug and the second earplug is a left earplug. Referring to fig. 9 (a), the mobile phone audibly prompts the user through the first earpiece and/or the second earpiece whether to switch to providing voice data for the phone service of the mobile phone through the MIC of the second earpiece. If the MIC of the first earplug detects a voice switching instruction input by a user, the voice switching instruction is sent to the mobile phone, and the mobile phone instructs the second earplug to open the MIC and instructs the first earplug to close the MIC. Alternatively, referring to (b) of fig. 9, if the mobile phone detects an input voice switching command through its own MIC, the mobile phone instructs the second earpiece to open the MIC and instructs the first earpiece to close the MIC.
The mobile phone automatic indication switching/automatic control switching or the mobile phone switching to the MIC of the second earplug according to the instruction of the user can be called mobile phone switching. The embodiment of the application mainly uses mobile phone switching as an example for illustration.
In case 1, referring to fig. 10, the step 504A may specifically include:
1001A, if the first earplug meets the first preset condition, the mobile phone instructs the second earplug to open the MIC, so that the MIC of the second earplug is switched from the closed state to the open state.
After the second earplug opens the MIC according to the indication of the mobile phone, a notification message may be sent to the mobile phone to enable the mobile phone to know and record that the MIC of the second earplug has been switched to an on state.
1002. The mobile phone receives voice data collected by the MIC of the second earplug.
Specifically, the mobile phone may receive, through a second bluetooth connection with the second earpiece, voice data sent by the second earpiece and collected by the MIC of the second earpiece.
1003. And the mobile phone performs telephone service processing according to the voice data acquired by the MIC of the second earplug.
1004. The handset instructs the first earpiece to close the MIC.
In step 1004, after the mobile phone instructs the first earpiece to close the MIC, the mobile phone may still send audio data to the first earpiece, and the user may still hear the voice data of the opposite end of the phone through the first earpiece. It should be noted that, if the first preset condition includes the first earplug breaking, after step 1001A, the mobile phone may not need to execute step 1004, and the first earplug may close the MIC by itself.
After step 1001A, the mobile phone may receive a message sent by the second earpiece that the MIC of the second earpiece is opened, and after receiving the message that the MIC of the second earpiece is opened, instruct the first earpiece to close the MIC.
Or the mobile phone instructs the first earplug to close the MIC after receiving the voice data acquired by the MIC of the second earplug.
After the first earpiece closes the MIC, a notification message may be sent to the handset to cause the handset to learn and record that the MIC of the first earpiece has been switched to the closed state.
In case 1, when the MIC of the first earplug is switched to the MIC of the second earplug to provide voice data for the telephone service of the mobile phone, the MIC of the second earplug can be opened first, and then the MIC of the first earplug is closed, so that the voice data of the user can be provided to the mobile phone uninterruptedly, and interruption of the voice data is avoided. And the MIC of the first earplug is closed in time after the switching, so that the power consumption of the first earplug can be saved.
In another embodiment, the first earplug meeting the switching condition in step 504 may include the first earplug meeting a first preset condition and the second earplug meeting a second preset condition. That is, referring to fig. 5, step 504 may specifically include:
504B, if the first earplug meets the first preset condition and the second earplug meets the second preset condition, the mobile phone performs phone service processing according to the voice data collected by the MIC of the second earplug.
Accordingly, referring to fig. 10, step 1001A of steps 1001A-1003 described above may be replaced with:
1001B, if the first earplug meets the first preset condition and the second earplug meets the second preset condition, the mobile phone instructs the second earplug to open the MIC, so that the MIC of the second earplug is switched from the closed state to the open state.
Wherein the second preset condition may include one or more of: in-ear (in the ear), bluetooth connection is saved with the mobile phone, the electric quantity is larger than or equal to a second preset value, and the channel quality of a link between the mobile phone and the mobile phone is higher than or equal to a third preset value.
When the first earplug meets the first preset condition, it may indicate that the first earplug has a problem, and the MIC of the first earplug may not normally provide voice data for phone service of the mobile phone. If the second earplug meets the second preset condition, the MIC of the second earplug may be indicated to be able to normally provide voice data for the phone service of the mobile phone, so that the mobile phone may switch to provide voice data for the phone service through the MIC of the second earplug, and thus phone service processing is performed according to the voice data collected by the MIC of the second earplug. Wherein the mobile phone being switchable to provide voice data for the telephone service through the MIC of the second earpiece means that the mobile phone instructs the TWS earpiece to switch to provide voice data for the telephone service through the MIC of the second earpiece.
In this embodiment, if the first earplug meets the first preset condition and the second earplug does not meet the second preset condition, the MIC of the first earplug may be continuously used to provide voice data for the phone service of the mobile phone. Or if the first earplug meets the first preset condition and the second earplug does not meet the second preset condition, the user can be prompted by the mobile phone or the TWS earphone that the TWS earphone has a problem, and the TWS earphone is stopped to provide voice data for telephone service of the mobile phone.
In a specific embodiment, if the first earplug meets the first preset condition, it may indicate that the first earplug has a problem, and at this time, whether the second earplug also has the same problem as the first earplug, as long as the second earplug meets the second preset condition, and the second preset condition is that the second earplug is connected with the mobile phone through bluetooth, the second preset condition may be switched to provide voice data for the phone service of the mobile phone through the MIC of the other earplug, so that the mobile phone can process the phone service normally or better.
That is, when the first earplug meets the first preset condition, and the problems of ear out, chain breakage, low power, poor channel quality, or no voice data playing and no voice data collecting occur within the preset time period, and the like, if the second earplug is connected with the mobile phone by bluetooth, the mobile phone can switch to provide voice data for the telephone service of the mobile phone through the MIC of the second earplug. If the second earplug and the mobile phone are disconnected, the mobile phone does not switch MIC, and the MIC of the first earplug is still used for providing voice data for telephone service of the mobile phone.
For example, the first preset condition includes that the first earplug is disconnected from the mobile phone, and the second preset condition is that the second earplug is connected with the mobile phone in a Bluetooth mode. When the first earplug breaks the link with the mobile phone, the MIC of the first earplug can not normally provide voice data for the telephone service of the mobile phone; at this time, if the second earplug is connected to the mobile phone through bluetooth, the mobile phone may switch to MIC of the second earplug to provide voice data for the phone service.
For another example, the first preset condition includes that the first earplug does not play voice data and does not collect voice data within a preset time period, and the second preset condition includes that the second earplug is in Bluetooth connection with the mobile phone. The preset time length can be set according to actual needs, for example, 10 seconds. If the MIC of the first earplug does not play the voice data of the opposite terminal within the preset time, the local user may speak, and if the mobile phone does not collect the voice data within the preset time, the mobile phone does not receive the voice data provided by the MIC of the first earplug within the preset time, the MIC of the first earplug may be damaged or the first earplug may be damaged so as to be unable to be used normally. At this time, if the second earplug is connected to the mobile phone through bluetooth, the mobile phone may switch to provide voice data for the phone service of the mobile phone through MIC of the second earplug.
For another example, the first preset condition includes that a channel quality of a link between the first earpiece and the mobile phone is lower than a third preset value, and the second preset condition includes that the second earpiece maintains a bluetooth connection with the mobile phone. When the channel quality of the link between the first earplug and the mobile phone is lower than a third preset value, the quality of voice data provided by the first earplug for the telephone service of the mobile phone is lower. At this time, if the second earplug is connected to the mobile phone through bluetooth, the mobile phone may switch to provide voice data for the phone service of the mobile phone through MIC of the second earplug.
For another example, the first preset condition includes that the first earplug protrudes out of the ear, and the channel quality of the link between the first earplug and the mobile phone is lower than a third preset value; the second preset condition includes that the second earplug is in Bluetooth connection with the mobile phone. When the first earpiece is out of the ear and the channel quality of the link between the first earpiece and the handset is below a third preset value, for example, the user may place the MIC of the first earpiece in the mouth to speak, but the MIC of the first earpiece provides lower quality voice data for the phone service of the handset. At this time, if the second earplug is connected to the mobile phone by bluetooth, the mobile phone may switch to provide voice data for the phone service of the mobile phone through the MIC of the second earplug if the second earplug is connected to the mobile phone by bluetooth.
For another example, the first preset condition includes that the electric quantity of the first earplug is smaller than a second preset value, and the second preset condition includes that Bluetooth connection is kept between the second earplug and the mobile phone. When the electric quantity of the first earplug is smaller than the second preset value, the electric quantity of the first earplug is lower, the first earplug can stop working at any time, and the MIC of the first earplug can not normally provide voice data for telephone service of the mobile phone. In one scheme, the first earplug can report to the mobile phone when the electric quantity is smaller than a second preset value; in another scheme, the mobile phone can monitor the electric quantity of the first earplug, so that whether the electric quantity of the first earplug is smaller than a second preset value or not can be conveniently obtained. At this time, if the second earplug is connected to the mobile phone through bluetooth, the mobile phone may switch to provide voice data for the phone service of the mobile phone through MIC of the second earplug.
In another embodiment, if the first earplug meets the first preset condition, it may indicate that the first earplug has a problem, and voice data may not be normally provided for phone service of the mobile phone. At this time, if the second earplug does not have the same problem, the method may switch to providing voice data for the phone service of the mobile phone through the MIC of the second earplug. When the first earplug meets a first preset condition and the second earplug meets a second preset condition, the second preset condition comprises a first sub-condition, and the first sub-condition is a condition opposite to the first preset condition, the second earplug has no problem same as the first earplug.
And, the second preset condition may further include a second sub-condition, where the second sub-condition is that the second earplug is kept connected with the mobile phone by bluetooth. Wherein the first sub-condition may include at least one of: in order to enter the ear (i.e. the state of being placed in the ear), the electric quantity is larger than or equal to a second preset value, the channel quality of a link between the electric quantity and the mobile phone is higher than or equal to a third preset value, and voice data are collected within a preset time period.
For example, the first preset condition includes that the first earplug is out of the ear, the second preset condition includes that the second earplug is in Bluetooth connection with the mobile phone, and the second earplug is in an in-ear (in-ear) state. If the first earplug comes out of the ear, the first earplug may be dropped carelessly, or the user may take the first earplug out of the ear, and the first earplug may not normally provide voice data for voice service of the mobile phone. If the second earplug is connected with the mobile phone by Bluetooth and the second earplug is in an in-ear state, that is, the second earplug is still in the ear, the mobile phone can switch to provide voice data for voice service of the mobile phone through MIC of the second earplug.
For another example, the first preset condition includes that the first earplug is out of the ear, the second preset condition includes that Bluetooth connection is kept between the second earplug and the mobile phone, the second earplug is in an in-ear state, and the electric quantity of the second earplug is larger than or equal to a second preset value. That is, if the first earplug is out of the ear, the first earplug may be inadvertently dropped, or the user may remove the first earplug from the ear, and the first earplug may not be able to normally provide voice data for phone service of the mobile phone. At this time, if the second earplug is connected to the mobile phone by bluetooth, the second earplug is still in the ear, and the electric quantity of the second earplug is greater than or equal to the second preset value (i.e. the electric quantity of the second earplug is sufficient), the mobile phone can switch to provide voice data for the phone service of the mobile phone through the MIC of the second earplug.
For another example, the first preset condition includes that the electric quantity of the first earplug is smaller than a second preset value, the second preset condition includes that bluetooth connection is kept between the second earplug and the mobile phone, and the electric quantity of the second earplug is larger than or equal to the second preset value. When the electric quantity of the first earplug is smaller than the second preset value, the electric quantity of the first earplug is lower, the first earplug can stop working at any time, and the MIC of the first earplug can not normally provide voice data for telephone service of the mobile phone. At this time, if the second earplug is connected to the mobile phone by bluetooth, and the electric quantity of the second earplug is greater than or equal to the second preset value, the electric quantity of the second earplug is sufficient, and the mobile phone can switch to provide voice data for the phone service of the mobile phone through the MIC of the second earplug.
For another example, the first preset condition includes that the electric quantity of the first earplug is smaller than a second preset value, the second preset condition includes that bluetooth connection is kept between the second earplug and the mobile phone, the electric quantity of the second earplug is larger than or equal to the second preset value, and the channel quality of a link between the second earplug and the mobile phone is higher than or equal to a third preset value. When the power of the first earpiece is low, the MIC of the first earpiece may not normally provide voice data for the phone service of the mobile phone. If the second earplug is connected with the mobile phone by Bluetooth, the electric quantity of the second earplug is sufficient, and the channel quality of the link between the second earplug and the mobile phone is high, the mobile phone can be switched to provide voice data with higher quality for telephone service of the mobile phone through MIC of the second earplug.
For another example, the first preset condition includes that an electric quantity of the first earplug is smaller than a second preset value, and a channel quality of a link between the second earplug and the mobile phone is lower than a third preset value. The second preset condition includes that Bluetooth connection is kept between the second earplug and the mobile phone, the electric quantity of the second earplug is larger than or equal to a second preset value, and the channel quality of a link between the second earplug and the mobile phone is higher than or equal to a third preset value. That is, if the power of the first earpiece is low and the channel quality of the link between the second earpiece and the handset is low, the MIC of the first earpiece may not be suitable to continue to provide voice data for the phone service of the handset. At this time, if the second earplug is connected with the mobile phone by bluetooth, the electric quantity of the second earplug is sufficient, and the channel quality of the link between the second earplug and the mobile phone is higher, the MIC of the second earplug can be switched to better provide voice data for the telephone service of the mobile phone.
For another example, the first preset condition includes that the ear-out time of the first earplug is greater than or equal to a first preset value, the second preset condition includes that the second earplug is in Bluetooth connection with the mobile phone, and the second earplug is in an in-ear state. If the first earplug out-of-ear time is greater than or equal to the first preset value, the first earplug may fall for a longer time, or the user does not want to use the first earplug any more, and the MIC of the first earplug cannot normally provide voice data for telephone service of the mobile phone. If the second earpiece is connected to the phone by bluetooth and the second earpiece is still in the ear, the phone may switch to providing voice data for phone service of the phone through MIC of the second earpiece.
For another example, the first preset condition includes that the first earplug is out of the ear, and the channel quality of the link between the first earplug and the mobile phone is lower than a third preset value. The second preset condition includes maintaining a bluetooth connection between the second earpiece and the handset, the channel quality of the link between the second earpiece and the handset being higher than or equal to a third preset value. That is, if the first earpiece is not in the ear, but the MIC of the first earpiece collects voice data and the channel quality of the link between the first earpiece and the handset is poor, the user may be speaking with the first earpiece in the mouth, but the MIC of the first earpiece may not provide better quality voice data to the handset. If the channel quality of the link between the second earpiece and the handset is high, the MIC of the second earpiece may better provide voice data for the phone service of the handset and thus may be switched to the MIC of the second earpiece to provide voice data.
In another embodiment, the first earpiece in step 504 meeting the switching condition may include a state parameter of the first earpiece being worse than a state parameter of the second earpiece. That is, referring to fig. 5, step 504 may specifically include:
504C, if the state parameter of the first earplug is worse than the state parameter of the second earplug, the mobile phone performs phone service processing according to the voice data collected by the MIC of the second earplug.
Accordingly, referring to fig. 10, step 1001A of steps 1001A-1003 described above may be replaced with:
1001C, if the state parameter of the first earplug is worse than the state parameter of the second earplug, the mobile phone instructs the second earplug to open the MIC, so that the MIC of the second earplug is switched from the closed state to the open state.
The status parameters of the earplug may include, among other things, whether the earplug remains connected to the phone, whether the earplug is in the ear, the amount of power of the earplug, the channel quality of the link between the earplug and the phone, etc. For example, when a first earpiece is disconnected from the phone and a second earpiece remains connected to the phone, the state parameter of the first earpiece is worse than the state parameter of the second earpiece, which is better than the state parameter of the first earpiece. For another example, when the first earplug exits the ear and the second earplug enters the ear, the state parameter of the first earplug is worse than the state parameter of the second earplug, which is better than the state parameter of the first earplug. For another example, when the power of the first earpiece is lower than the power of the second earpiece, the status parameter of the first earpiece is worse than the status parameter of the second earpiece, which is better than the status parameter of the first earpiece. For another example, when the channel quality of the link between the first earpiece and the handset is lower than the channel quality of the link between the second earpiece and the handset, the state parameter of the first earpiece is worse than the state parameter of the second earpiece, which is better than the state parameter of the first earpiece.
For example, the switching condition may include the power of the first earpiece being less than the power of the second earpiece. When the electric quantity of the first earplug is smaller than that of the second earplug, the mobile phone can be switched to provide voice data for voice service through the MIC of the second earplug.
Still further exemplary, the switching condition may include the power of the first earpiece being less than the power of the second earpiece, and the channel quality of the link between the first earpiece and the handset being lower than the channel quality of the link between the second earpiece and the handset. When the switching condition is satisfied, the mobile phone can switch to provide voice data for the voice service through the MIC of the second earplug.
In another embodiment, if the first earplug has a problem, the second earplug has the same problem, but other state parameters corresponding to the second earplug are better than those corresponding to the first earplug, the method switches to provide voice data for telephone service of the mobile phone through MIC of the second earplug. That is, the first earplug meets a first preset condition, the second earplug meets the first preset condition and a second preset condition, and the second preset condition includes that other state parameters corresponding to the second earplug are better than other state parameters corresponding to the first earplug. The other state parameters referred to herein refer to state parameters other than those to which the first preset condition relates. In this embodiment, if the other state parameters corresponding to the second earplug are worse than the other state parameters corresponding to the first earplug, the MIC is not switched.
For example, if the first earplug is out (i.e., the first earplug meets the first preset condition), the second earplug is also out (i.e., the second earplug meets the first preset condition), but the power of the second earplug is higher than the power of the first earplug, or the channel quality of the link between the second earplug and the mobile phone is higher than the channel quality of the link between the first earplug and the mobile phone (i.e., the second earplug meets the second preset condition), the method switches to providing voice data for the phone service of the mobile phone through the MIC of the second earplug. In this way, the second earpiece has better state parameters than the first earpiece, is better suited for providing voice data for phone traffic of the handset, and thus can switch MIC.
For example, if the first earplug leaves the ear (i.e., the first earplug meets the first preset condition), the second earplug also leaves the ear (i.e., the second earplug meets the first preset condition), but the electric quantity of the second earplug is lower than that of the first earplug (i.e., other state parameters corresponding to the second earplug are worse than those corresponding to the first earplug), the MIC is not switched, and voice data is still provided for telephone service of the mobile phone through the MIC of the first earplug. In this way, the first earpiece has better state parameters than the second earpiece, and is better suited for providing voice data for phone traffic of the handset, so that the MIC may not be switched.
In another embodiment, if the first earpiece presents a problem and the second earpiece presents the same problem, the MIC is not switched, and voice data is still provided for phone service of the mobile phone through the MIC of the first earpiece.
For example, if both the first earplug and the second earplug meet the first preset condition, it may be indicated that the same problem occurs with both the second earplug and the first earplug.
For example, if the first earplug leaves the ear (i.e., the first earplug meets the first preset condition), the second earplug also leaves the ear (i.e., the second earplug meets the first preset condition), the MIC is not switched, and voice data is still provided for the phone service of the mobile phone through the MIC of the first earplug. For another example, if the electric quantity of the first earplug is lower than the second preset value and the electric quantity of the second earplug is also lower than the second preset value, the MIC is not switched, and voice data is still provided for the telephone service of the mobile phone through the MIC of the first earplug.
In another embodiment, if the first earplug has a problem, the second earplug does not have the same problem, but the second earplug has another problem, the MIC is not switched, and the MIC of the first earplug is still used to provide voice data for phone service of the mobile phone.
If the first earplug is in the in-ear state, but the electric quantity of the second earplug is lower than the second preset value, the MIC is not switched, and the MIC of the first earplug is still used for providing voice data for telephone service of the mobile phone.
In another embodiment, when the first earpiece is out of the ear and the channel quality of the link between the first earpiece and the handset is higher than the channel quality of the link between the second earpiece and the handset, the user may be talking with the first earpiece at the mouth, so that the MIC of the second earpiece need not be switched to provide voice data for the phone service of the handset, although the first earpiece is out of the ear.
It should be noted that, the above embodiment is described taking, as an example, the mobile phone instructs the MIC of the second earplug to be switched to provide voice data for the telephone service when the switching condition is satisfied. In another aspect, if a wireless connection (e.g., a bluetooth connection, an NFMI connection, etc.) is provided between the first earpiece and the second earpiece, the TWS earpiece may also automatically switch from the MIC of the first earpiece to the MIC of the second earpiece to provide voice data for the phone service of the handset.
When the first earplug and the second earplug are in wireless connection, the electric quantity of each earplug can be interacted between the first earplug and the second earplug through the wireless connection, the channel quality of a link between each earplug and the mobile phone, whether each earplug is out of the ear, whether the link between each earplug and the mobile phone is broken or not and the like.
Illustratively, in step 504B, the first preset condition includes a first earplug out of the ear; the second preset condition includes that the second earplug is connected with the mobile phone in a Bluetooth mode, and the second earplug is in an in-ear state. After the first earplug leaves the ear (i.e. the first preset condition is met), the first earplug may send a notification message 1 to the second earplug; when the second earplug is in an in-ear state, bluetooth connection with the mobile phone is maintained (namely, a second preset condition is met), and after the notification message 1 is received, the MIC of the second earplug can be opened, and the notification message 2 is sent to the first earplug; after the first earpiece receives the notification message 2, the MIC of the first earpiece may be turned off.
In another scheme, the TWS earphone may also prompt the user whether to switch, and after the TWS earphone detects the switching instruction of the user, the TWS earphone switches to provide voice data for the phone service of the mobile phone through the MIC of the second earplug.
In this scenario, in step 504B, the first preset condition includes a first earplug out; the second preset condition includes that the second earplug is connected with the mobile phone in a Bluetooth mode, and the second earplug is in an in-ear state. The first earplug meets the first preset condition, and the second earplug meets the second preset condition is described as an example:
The first earpiece and/or the second earpiece illustratively voice prompts the user whether to switch to providing voice data for telephony services of the handset via the MIC of the second earpiece. If the second earpiece detects a first manipulation by the user on the second earpiece, the second earpiece opens the MIC. The second earpiece then notifies the first earpiece to close the MIC, or if the first earpiece detects a second operation by the user on the first earpiece, the first earpiece closes the MIC.
For example, the first earpiece and the second earpiece may have MIC switches thereon, the first operation may be a user click operation on the MIC switch of the first earpiece, and the second operation may be a user click operation on the MIC switch of the second earpiece. In another example, the first operation may be an operation of the user shaking the first earpiece and the second operation may be an operation of the user shaking the second earpiece. For example, when a user nods his head, the first ear plug and the second ear plug shake to switch the MIC on and off, i.e. the second ear plug opens the MIC and the first ear plug closes the MIC.
In an exemplary embodiment, a wireless connection is established between the first earpiece and the second earpiece, and the first earpiece and/or the second earpiece voice prompts the user whether to switch to providing voice data for telephony services of the handset via the MIC of the second earpiece. Referring to fig. 11A, the first earpiece is a right earpiece, a MIC switch 1101 is provided on the first earpiece, when the first earpiece detects that the user touches the operation of the MIC switch 1101, the first earpiece notifies the second earpiece to open the MIC, and the first earpiece closes the MIC.
Still further exemplary, a wireless connection is established between the first earpiece and the second earpiece, the first earpiece and/or the second earpiece audibly prompting the user whether to switch to providing voice data for telephony services of the handset through the MIC of the second earpiece. If the MIC of the first earplug detects a voice switching instruction of the user, the first earplug informs the second earplug of opening the MIC through Bluetooth connection with the second earplug, and the first earplug closes the MIC.
The above-mentioned audio means of prompting the user may be from a mobile phone or in a pre-existing earplug.
Still further exemplary, a wireless connection is established between the first earpiece and the second earpiece, see fig. 11B, the first earpiece being the left earpiece, the first earpiece prompting the user "switch MIC? ". If the display screen detects touch operation of a user, the first earplug informs the second earplug of opening the MIC through Bluetooth connection between the first earplug and the second earplug, and the first earplug closes the MIC; if the touch operation of the user is not detected, the MIC is not switched. Or triggering the second earplug to open the MIC by double-click operation, if the display screen detects double-click operation of a user, the first earplug informs the second earplug to open the MIC through Bluetooth connection with the second earplug, and the first earplug closes the MIC; if the display screen does not detect the double click operation of the user, the MIC is not switched.
It should be noted that, the ways in which the TWS earphone prompts the user to switch to the MIC of the other earplug may also be multiple, for example, by vibration, by an indicator light, or by a combination of the above-mentioned prompting ways; the manner in which the user indicates the switch may also be varied, and the embodiments of the present application will not be described in detail.
Case 2: when the mobile phone carries out telephone service processing according to voice data collected by the MIC of the first earplug, the MIC of the second earplug is also in an open state.
After the mobile phone establishes bluetooth connection with the first earplug and the second earplug, the MIC of the first earplug and the MIC of the second earplug may be in a closed state by default, and the mobile phone may indicate to open the MIC of the first earplug and the MIC of the second earplug. The MIC of the first earpiece and the MIC of the second earpiece both collect voice data. The first earplug and the second earplug respectively send the voice data acquired by the MIC to the mobile phone through Bluetooth connection with the mobile phone. And the mobile phone performs telephone service processing according to the voice data acquired by the MIC of the first earplug.
Alternatively, after the bluetooth connection is established between the mobile phone and the first and second earpieces, the MIC of the first earpiece and the MIC of the second earpiece may be in an on state by default. The MIC of the first earpiece and the MIC of the second earpiece both collect voice data. The first earplug and the second earplug respectively send the voice data acquired by the MIC to the mobile phone through Bluetooth connection with the mobile phone. And the mobile phone performs telephone service processing according to the voice data acquired by the MIC of the first earplug.
That is, in case 2, the MIC of two TWS earplugs is in an on state, and the mobile phone may receive two voice data collected by two MIC, but performs phone service processing according to only one voice data collected by one MIC.
In case 2, as in case 1, when the first earplug meets the first preset condition and the second earplug meets the second preset condition, the method may switch to providing voice data for phone service of the mobile phone through MIC of the second earplug.
In an embodiment, the first preset condition and the second preset condition in case 2 may be the same as the first preset condition and the second preset condition in case 1.
In another embodiment, in case 2, the first preset condition may further include that the first earplug does not play the voice data and does not collect the voice data for a preset time period. The second preset condition may further include that the second earplug does not play the voice data for a preset period of time but collects the voice data.
For example, the first preset condition includes that the first earplug does not play voice data and does not collect voice data within a preset time period; the second preset condition comprises that Bluetooth connection is kept between the second earplug and the mobile phone, the second earplug does not play voice data within a preset time period, and the second earplug collects the voice data within the preset time period. If the first earplug does not play the voice data within the preset time period and the MIC of the first earplug does not collect the voice data within the preset time period, the MIC of the first earplug may be damaged; if the second earplug is connected with the mobile phone by Bluetooth and the second earplug does not play voice data within a preset time, the second earplug collects the voice data within the preset time, the MIC of the second earplug can be normally used, and therefore the MIC of the second earplug can be switched to provide voice data for telephone service.
For another example, the first preset condition includes that the first earplug is out of the ear, and the first earplug does not collect voice data within a preset time period. The second preset condition comprises that Bluetooth connection is kept between the second earplug and the mobile phone, the second earplug is in an in-ear state, voice data are not played by the second earplug in a preset time period, but voice signals are collected, the electric quantity of the second earplug is larger than or equal to a second preset value, and the channel quality of a link between the second earplug and the mobile phone is higher than or equal to a third preset value. That is, if the first earpiece is not in the ear and no voice data is collected for a preset period of time, the first earpiece may not be beside the user and the MIC of the first earpiece may not normally provide voice data to the cell phone. At this time, if the second earpiece is in the ear and the second earpiece has sufficient power and the channel quality of the link between the second earpiece and the handset is high, then a switch may be made to better provide voice data for the phone service of the handset through the MIC of the second earpiece.
In another embodiment, in case 2, the state parameter of the first earplug is worse than the state parameter of the second earplug, and the first earplug plays the voice data and does not collect the voice data within a preset time period, and the second earplug does not play the voice data and does not collect the voice data within the preset time period.
In case 2, when the phone service processing needs to be switched to the phone service processing through the MIC of the second earplug, the phone or the TWS earphone may be automatically switched to the phone service processing through the MIC of the second earplug, as in case 1. Or the mobile phone or the TWS earphone can also prompt the user whether to switch, and after the switching instruction of the user is detected, the mobile phone or the TWS earphone is switched to provide voice data for telephone service of the mobile phone through the MIC of the second earplug.
For example, in the scheme shown in step 504B, when the first earplug meets the first preset condition and the second earplug meets the second preset condition, the mobile phone automatically performs phone service processing according to the voice data collected by the MIC of the second earplug, and stops performing phone service processing according to the voice data collected by the MIC of the first earplug.
For another example, in the scheme shown in step 504B, when the first earplug meets the first preset condition and the second earplug meets the second preset condition, the mobile phone prompts the user through the voice of the first earplug and/or the second earplug, and whether to switch to provide voice data for the phone service of the mobile phone through the MIC of the second earplug. If the first earplug or the second earplug detects the MIC of the user voice indication switching earplug, the first earplug or the second earplug informs the mobile phone, and telephone service processing is carried out according to voice data acquired by the MIC of the second earplug.
It should be further noted that, in case 2, since the MIC of both earplugs is in an open state, when the MIC of voice data is provided for the phone service of the mobile phone, the voice data provided for the phone service of the mobile phone is not interrupted in the process of switching from the MIC of the first earplug to the MIC of the second earplug.
In case 2, after switching to providing voice data to the phone service of the mobile phone through the MIC of the second earpiece, in one scheme, unlike in case 1, the MIC of the first earpiece may be kept in an on state. That is, referring to fig. 12, before step 503 in fig. 5, the method may further include: 1201. the mobile phone receives voice data collected by the MIC of the second earplug. Specifically, the mobile phone may receive, through a second bluetooth connection with the second earpiece, voice data sent by the second earpiece and collected by the MIC of the second earpiece.
Step 504A in fig. 5 may include:
1202A, if the first earplug meets the first preset condition, the mobile phone performs phone service processing according to the voice data collected by the MIC of the second earplug.
1203. The mobile phone stops the telephone service processing according to the voice data collected by the MIC of the first earplug.
Step 1201A may also be replaced with step 1202B or step 1202C, corresponding to step 504B and step 504C in fig. 5:
1202B, if the first earplug meets the first preset condition and the second earplug meets the second preset condition, the mobile phone performs phone service processing according to voice data acquired by the MIC of the second earplug.
1202C, if the state parameter of the first earplug is worse than the state parameter of the second earplug, the mobile phone performs phone service processing according to the voice data collected by the MIC of the second earplug.
In case 2, after switching to providing voice data to the phone service of the mobile phone through the MIC of the second earpiece, i.e. after step 1203, the mobile phone may also instruct the first earpiece to close the MIC in another scenario.
In other embodiments of the present application, when the first earplug has a low power, a poor channel quality of a link with the mobile phone, or the first earplug has a problem of coming out of the ear, but both the first earplug and the second earplug are connected with the mobile phone by bluetooth, the MIC of the first earplug and the MIC of the second earplug can simultaneously provide voice data for a phone service of the mobile phone.
In other embodiments of the present application, the two earplugs of the TWS headset have a split of the primary earplug and the secondary earplug in a two-shot approach. The mobile phone can firstly process telephone service according to the voice data collected by the main earplug. When the primary earplug (for example, the first earplug) meets the switching condition, the mobile phone can inform the primary earplug and the secondary earplug of switching primary roles and secondary roles, switch the original secondary earplug (for example, the second earplug) to be a new primary earplug, switch the original primary earplug (for example, the first earplug) to be a new secondary earplug, and provide voice data for the mobile phone by adopting the switched new primary earplug (for example, the second earplug), so that the mobile phone can perform telephone service processing. Namely, the mobile phone always carries out telephone service processing according to the voice data collected by the main earplug.
After the two-way connection is established and the main earplug and the auxiliary earplug are determined, the MIC of the main earplug is in an open state, the MIC of the auxiliary earplug is in a closed state, and the mobile phone performs telephone service processing according to voice data acquired by the MIC of the main earplug corresponding to the situation 1. Corresponding to the above case 2, the MIC of the main earplug and the MIC of the auxiliary earplug are both in an on state, and the mobile phone performs phone service processing according to the voice data collected by the MIC of the main earplug. Then, referring to the process described in the above embodiment, when the switching condition is satisfied, the roles of the main earplug and the auxiliary earplug can be switched, and the mobile phone performs phone service processing according to the voice data collected by the MIC of the main earplug after the switching.
For example, in case 1, referring to fig. 13, before step 503, the method may further include: 1300. the mobile phone determines a main earplug and an auxiliary earplug, wherein the first earplug is the main earplug, and the second earplug is the auxiliary earplug. The manner in which the mobile phone determines the main earplug can be varied. For example, the primary earplug may be determined with reference to the above specific implementation manner of determining the target earplug according to the preset policy, and another earplug other than the primary earplug is a secondary earplug, which is not described herein. Step 502 may specifically include: 1301. the mobile phone receives voice data sent by the main earplug. Step 503 may specifically include: 1302. the mobile phone processes telephone service according to the voice data collected by the main earplug (namely the first earplug). Step 504 may specifically include: 1303A, if the first earplug (i.e. the main earplug) meets the first preset condition, the mobile phone sends information 1 (i.e. the first information) to the second earplug (i.e. the auxiliary earplug), so that the second earplug is switched to the main earplug and the MIC is opened, and the MIC of the second earplug is switched from the closed state to the open state; and sends information 2 (i.e., second information) to the first earpiece to cause the first earpiece to switch to the secondary earpiece and to close the MIC such that the MIC of the first earpiece switches from an on state to an off state. 1304. And the mobile phone receives the voice data sent by the switched main earplug. 1305. And the mobile phone processes telephone service according to the voice data acquired by the switched main earplug.
Wherein, the information 1 may be used to instruct the second earpiece to switch to the master earpiece and instruct the second earpiece to open the MIC; alternatively, information 1 may be used to instruct the second earpiece to switch to the master earpiece, which automatically opens the MIC. After receiving the information 1 sent by the mobile phone, the second earplug can be switched to the main earplug first and then the MIC is opened; or the second earpiece may first open the MIC and then switch to the master earpiece.
Specifically, the earplug can store first identification information for indicating the identity of the main earplug or second identification information for indicating the identity of the auxiliary earplug, and when the earplug updates the first identification information into the second identification information, the earplug is switched from the main earplug to the auxiliary earplug; when the earplug updates the second identification information to the first identification information, the earplug is switched from the auxiliary earplug to the main earplug.
Information 2 may be used to indicate that the first earpiece is switched to the secondary earpiece and that the first earpiece is turned off the MIC; alternatively, information 2 may be used to indicate that the first earpiece is switched to the secondary earpiece, which automatically closes the MIC. After receiving the information 2 sent by the mobile phone, the first earplug can close the MIC first and then switch to be a secondary earplug; or the first earpiece may be switched to the secondary earpiece before closing the MIC.
It should be noted that, for the step of transmitting the information 2 by the mobile phone in the step 1303A, the mobile phone may specifically transmit the information 2 to the first earplug before the steps 1304-1305, or may transmit the information 2 to the first earplug after the steps 1304-1305, which is not limited in the embodiments of the present application.
The step 1303A may be replaced by a step 1303B or a step 1303C:
1303B, if the first earplug (i.e. the main earplug) meets the first preset condition and the second earplug (i.e. the auxiliary earplug) meets the second preset condition, the mobile phone sends information 1 to the second earplug, so that the second earplug is switched to the main earplug and the MIC is opened; and sends a message 2 to the first earpiece to cause the first earpiece to switch to the secondary earpiece and close the MIC.
1303C, if the status parameter of the first earplug (i.e. the main earplug) is worse than the status parameter of the second earplug (i.e. the auxiliary earplug), the mobile phone sends information 1 to the second earplug, so that the second earplug is switched to the main earplug and the MIC is opened; and sends a message 2 to the first earpiece to cause the first earpiece to switch to the secondary earpiece and close the MIC.
In step 1303A, step 1303B, or step 1303C, the second earpiece may also send a notification message to the mobile phone after opening the MIC, so that the mobile phone knows and records that the MIC of the second earpiece has been switched to the on state. After the MIC of the first earpiece is closed, a notification message may also be sent to the handset to cause the handset to learn and record that the MIC of the first earpiece has been switched to the closed state.
Referring to fig. 14, in case 2, on the basis of steps 500, 1300, 1301, 1302, and 1303A, 1303B, or 1303C shown in fig. 13, step 1303A in fig. 13 may be replaced with 1403A, step 1303B may be replaced with 1403B, and step 1303C may be replaced with 1403C).
1403A, if the first earplug (i.e. the master earplug) meets the first preset condition, the mobile phone sends information 3 to the second earplug to instruct the second earplug to switch to the master earplug; and sends information 4 to the first earpiece to instruct the first earpiece to switch to the secondary earpiece.
1403B, if the first earplug (i.e. the main earplug) meets the first preset condition and the second earplug (i.e. the auxiliary earplug) meets the second preset condition, the mobile phone sends information 3 to the second earplug to instruct the second earplug to switch to the main earplug; and sends information 4 to the first earpiece to instruct the first earpiece to switch to the secondary earpiece.
1403C, if the state parameter of the first earplug (i.e. the main earplug) is worse than the state parameter of the second earplug (i.e. the auxiliary earplug), the mobile phone sends information 3 to the second earplug, and the mobile phone sends information 3 to the second earplug to instruct the second earplug to switch to the main earplug; and sends information 4 to the first earpiece to instruct the first earpiece to switch to the secondary earpiece.
Also, in case 2, since the MICs of both earplugs are in the on state, step 1402 may also be performed before step 1403A, step 1403B, or step 1403C: the mobile phone receives voice data collected by MIC of the auxiliary earplug.
After step 1403A, step 1403B or step 1403C, the mobile phone may perform step 1404: and the mobile phone processes telephone service according to the voice data acquired by the switched main earplug.
Optionally, after step 1403A, step 1403B or step 1403C, the mobile phone may further notify the first earplug to close the MIC, so that the MIC of the first earplug is switched from the on state to the off state. After the MIC of the first earplug is closed, a notification message may also be sent to the mobile phone to enable the mobile phone to know and record that the MIC of the first earplug has been switched to the closed state.
In the foregoing description, the two-way connection scheme between the mobile phone and the TWS earphone is mainly taken as an example, in other connection schemes such as monitoring, forwarding, and NFMI, when voice data is provided for a phone service of the mobile phone through the MIC of the first earplug, if the first earplug meets a first preset condition and the second earplug meets a second preset condition, the MIC of the second earplug may also be switched to provide voice data for the phone service of the mobile phone.
For example, the first preset condition may include one or more of a first earpiece out of the ear, a first earpiece low power, a MIC of the first earpiece not collecting voice data for a preset period of time, a low channel quality of a link between the first earpiece and the handset, and the like. The second preset condition may include one or more of the second earpiece being in an in-ear state, the second earpiece being sufficiently charged, a channel quality of a link between the second earpiece and the handset being high, etc.
For example, the TWS headset includes a right ear plug and a left ear plug, where in other connection schemes such as listening, forwarding, NFMI, etc., the right ear plug establishes a bluetooth connection with the mobile phone, the right ear plug is the main ear plug, the first ear plug is the right ear plug, the second ear plug is the left ear plug, and the MIC of the right ear plug provides voice data for the phone service of the mobile phone. When the right earplug meets the first preset condition and the left earplug meets the second preset condition, bluetooth connection with the left earplug is established, and then voice data is provided for telephone service of the mobile phone through MIC of the left earplug. Then, in one scheme, the mobile phone can keep the bluetooth connection with the right earplug, the right earplug is still the main earplug, and the MIC of the right earplug can be kept open or closed. In another scheme, the mobile phone can keep Bluetooth connection with the right earplug, the left earplug is switched to the main earplug, and the MIC of the right earplug can be kept on or closed; in another approach, the phone may disconnect the bluetooth connection with the right earpiece, the left earpiece being switched to the master earpiece.
For another example, the TWS headset includes a right earplug and a left earplug, where in other connection schemes such as monitoring, forwarding, NFMI, etc., the right earplug establishes a bluetooth connection with the mobile phone, the right earplug is a main earplug, the first earplug is a left earplug, the second earplug is a right earplug, and voice data collected by the MIC of the left earplug is forwarded to the mobile phone through the right earplug, so as to provide voice data for phone service of the mobile phone. When the left earplug meets the first preset condition and the right earplug meets the second preset condition, voice data can be provided for telephone service of the mobile phone through the MIC of the right earplug, and the MIC of the left earplug can be opened or closed.
It should be noted that, in the embodiment of the present application, after the mobile phone sends a message to the earplug, the earplug replies a response message to the mobile phone to notify the mobile phone earplug that the message sent by the mobile phone has been received, or notify the mobile phone earplug that the operation indicated by the message has been performed. Similarly, after the earplug sends a message to the mobile phone, the mobile phone also replies a response message to the earplug. For example, after the mobile phone sends the message 1 to the second earplug in step 1303A, the second earplug may send a response message to the mobile phone after receiving the message 1 to inform the mobile phone that the second earplug has received the message. For another example, after the mobile phone sends the information 1 to the second earplug in step 1303A, the second earplug receives the information 1 and opens the MIC, a response message may be sent to the mobile phone to notify the mobile phone that the second earplug has opened the MIC. For another example, after the earplug reports the electric quantity to the mobile phone, the mobile phone can reply a response message to inform the earplug that the mobile phone has received the electric quantity reported by the earplug.
In the foregoing, the phone service is mainly taken as a voice service for illustration, and in the voice service such as the WeChat audio/video call and the WeChat voice message, the mobile phone can switch the MIC by the method in the foregoing embodiment, which is not repeated in this application.
It will be appreciated that in order to achieve the above-described functionality, the electronic device comprises corresponding hardware and/or software modules that perform the respective functionality. The steps of an algorithm for each example described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The present embodiment may divide the functional modules of the electronic device according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
In the case of dividing the respective functional modules with the respective functions, fig. 15 shows a schematic diagram of one possible composition of the electronic device 1500 involved in the above-described embodiment, and as shown in fig. 15, the electronic device 1500 may include: a connection unit 1501, a MIC switching unit 1502, and a determination unit 1503.
Wherein the connection unit 1501 may be used to support the electronic device 1500 to perform the steps 500 described above, etc., and/or other processes for the techniques described herein.
MIC switching unit 1502 may be used to support electronic device 1500 to perform steps 501-503, etc. described above, and/or other processes for the techniques described herein.
The determination unit 1503 may be used to support the electronic device 1500 to perform the steps 1300 described above, etc., and/or other processes for the techniques described herein.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device 1500 provided in this embodiment is configured to perform the MIC switching method described above, so that the same effects as those of the implementation method described above can be achieved.
In the case of an integrated unit, the electronic device 1500 may include a processing module, a storage module, and a communication module. The processing module may be configured to control and manage the actions of the electronic device 1500, for example, may be configured to support the electronic device 1500 to perform the steps performed by the connection unit 1501, the MIC switching unit 1502, and the determining unit 1503. The memory module may be used to support the electronic device 1500 in storing program code, data, and the like. A communication module may be used to support communication of the electronic device 1500 with other devices, such as with a first earpiece and a second earpiece.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a mobile phone having the structure shown in fig. 2.
Embodiments of the present application also provide a computer storage medium having stored therein computer instructions that, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the MIC switching method in the above-described embodiments.
Embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the MIC switching method performed by the electronic device in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip executes the MIC switching method executed by the electronic device in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
Another embodiment of the present application provides a system that may include the electronic device, the first earplug, and the second earplug, and may be used to implement the MIC switching method.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A microphone MIC switching method, comprising:
the electronic equipment establishes a first Bluetooth connection with a first wireless earplug, establishes a second Bluetooth connection with a second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, wherein MICs of the first wireless earplug and the second wireless earplug are both in an open state;
the electronic equipment sends audio data to the first wireless earplug and the second wireless earplug through the first Bluetooth connection and the second Bluetooth connection respectively;
the electronic equipment receives first voice data collected by MIC of the first wireless earplug, which is sent by the first wireless earplug, through the first Bluetooth connection;
the electronic equipment receives second voice data acquired by MIC of the second wireless earplug, which is sent by the second wireless earplug, through the second Bluetooth connection;
the electronic equipment performs service processing according to the first voice data;
when the first wireless earplug meets the switching condition, the electronic equipment indicates the first wireless earplug to close the MIC so that the MIC of the first wireless earplug is in a closed state, and the electronic equipment performs service processing according to the second voice data.
2. The method of claim 1, wherein the first wireless earplug meeting a handoff condition comprises:
the first wireless earplug exits an ear; or alternatively, the process may be performed,
the first wireless earplug exits the ear, and the second wireless earplug enters the ear; or alternatively, the process may be performed,
the first wireless earplug is in an in-ear state, and the in-ear time is greater than or equal to a first preset value.
3. The method of claim 1, wherein the first wireless earplug meeting a handoff condition comprises:
the first wireless ear bud is disconnected from the electronic device, and the second wireless ear bud remains bluetooth connected with the electronic device.
4. The method of claim 1, wherein the first wireless earplug meeting a handoff condition comprises:
the electric quantity of the first wireless earplug is smaller than a second preset value; or alternatively, the process may be performed,
the electric quantity of the first wireless earplug is smaller than that of the second wireless earplug;
the electric quantity of the first wireless earplug is obtained through the first Bluetooth connection, and the electric quantity of the second wireless earplug is obtained through the second Bluetooth connection.
5. The method of any of claims 1-4, wherein the first wireless ear bud and the second wireless ear bud have a wireless connection therebetween; alternatively, there is no wireless connection between the first wireless ear bud and the second wireless ear bud.
6. A microphone MIC switching method, comprising:
the electronic equipment establishes a first Bluetooth connection with a first wireless earplug, establishes a second Bluetooth connection with a second wireless earplug, and simultaneously maintains the first Bluetooth connection and the second Bluetooth connection, wherein MICs of the first wireless earplug and the second wireless earplug are both in an open state; the first wireless earplug and the second wireless earplug are a pair of wireless earplugs, the first wireless earplug is a main earplug, and the second wireless earplug is a secondary earplug;
the electronic equipment sends audio data to the first wireless earplug and the second wireless earplug through the first Bluetooth connection and the second Bluetooth connection respectively;
the electronic equipment receives first voice data collected by MIC of the first wireless earplug, which is sent by the first wireless earplug, through the first Bluetooth connection;
the electronic equipment receives second voice data acquired by MIC of the second wireless earplug, which is sent by the second wireless earplug, through the second Bluetooth connection;
the electronic equipment performs service processing according to the first voice data;
when the first wireless earplug meets a switching condition, the electronic equipment indicates the second wireless earplug to be switched to a main earplug and indicates the first wireless earplug to be switched to a secondary earplug;
And the electronic equipment performs service processing according to the second voice data.
7. The method of claim 6, wherein the first wireless earplug meeting a handoff condition comprises:
the first wireless earplug exits an ear; or alternatively, the process may be performed,
the first wireless earplug exits the ear, and the second wireless earplug enters the ear; or alternatively, the process may be performed,
the first wireless earplug is in an in-ear state, and the in-ear time is greater than or equal to a first preset value.
8. The method of claim 6, wherein the first wireless earplug meeting a handoff condition comprises:
the first wireless ear bud is disconnected from the electronic device, and the second wireless ear bud remains bluetooth connected with the electronic device.
9. The method of claim 6, wherein the first wireless earplug meeting a handoff condition comprises:
the electric quantity of the first wireless earplug is smaller than a second preset value; or alternatively, the process may be performed,
the electric quantity of the first wireless earplug is smaller than that of the second wireless earplug;
the electric quantity of the first wireless earplug is obtained through the first Bluetooth connection, and the electric quantity of the second wireless earplug is obtained through the second Bluetooth connection.
10. The method of any of claims 6-9, wherein the first wireless ear bud and the second wireless ear bud have a wireless connection therebetween; alternatively, there is no wireless connection between the first wireless ear bud and the second wireless ear bud.
11. An electronic device includes a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the microphone MIC switching method of any one of claims 1-10.
12. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the microphone MIC switching method of any one of claims 1-10.
CN201880098498.6A 2018-12-13 2018-12-13 Microphone MIC switching method and device Active CN112806092B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/120977 WO2020118641A1 (en) 2018-12-13 2018-12-13 Microphone (mic) switching method and device

Publications (2)

Publication Number Publication Date
CN112806092A CN112806092A (en) 2021-05-14
CN112806092B true CN112806092B (en) 2023-07-28

Family

ID=71075848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880098498.6A Active CN112806092B (en) 2018-12-13 2018-12-13 Microphone MIC switching method and device

Country Status (2)

Country Link
CN (1) CN112806092B (en)
WO (1) WO2020118641A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973249B (en) * 2020-07-24 2023-04-07 华为技术有限公司 Earphone communication method and earphone
CN112181344A (en) * 2020-10-19 2021-01-05 Oppo广东移动通信有限公司 Device calling method, device calling apparatus, interaction system, electronic device, and storage medium
CN113660580A (en) * 2021-10-20 2021-11-16 翱捷科技(深圳)有限公司 Earphone communication method and system, earphone and electronic equipment
CN118057899A (en) * 2022-11-21 2024-05-21 Oppo广东移动通信有限公司 Equipment control method, device, terminal equipment and storage medium
CN116887388B (en) * 2023-09-06 2023-12-01 荣耀终端有限公司 Communication processing method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271090A (en) * 2018-01-10 2018-07-10 深圳市沃特沃德股份有限公司 Bluetooth headset master-slave switching method and device
CN108345591A (en) * 2018-01-26 2018-07-31 歌尔股份有限公司 Voice real time translating method based on mobile terminal ears wireless headset and system
CN108718467A (en) * 2018-06-06 2018-10-30 歌尔科技有限公司 A kind of transmission method of voice data, wireless headset and TWS earphones

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130607B (en) * 2016-06-27 2019-04-26 联想(北京)有限公司 A kind of control method and electronic equipment
CN107124674B (en) * 2017-06-20 2019-11-08 歌尔科技有限公司 A kind of audio-frequency inputting method of bluetooth headset, device and bluetooth headset
CN108882087A (en) * 2018-06-12 2018-11-23 歌尔科技有限公司 A kind of intelligent sound detection method, wireless headset, TWS earphone and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271090A (en) * 2018-01-10 2018-07-10 深圳市沃特沃德股份有限公司 Bluetooth headset master-slave switching method and device
CN108345591A (en) * 2018-01-26 2018-07-31 歌尔股份有限公司 Voice real time translating method based on mobile terminal ears wireless headset and system
CN108718467A (en) * 2018-06-06 2018-10-30 歌尔科技有限公司 A kind of transmission method of voice data, wireless headset and TWS earphones

Also Published As

Publication number Publication date
WO2020118641A1 (en) 2020-06-18
CN112806092A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN113382397B (en) Bluetooth connection method, device and system
CN112789867B (en) Bluetooth connection method and equipment
CN112640505B (en) Transmission rate control method and equipment
CN113228701B (en) Audio data synchronization method and device
CN114726946B (en) Method for automatically switching Bluetooth audio coding modes, electronic equipment and readable storage medium
CN112789883B (en) Rate control method, device and computer storage medium
CN112806092B (en) Microphone MIC switching method and device
CN114710768B (en) Bluetooth connection method and related device
CN112911566B (en) Bluetooth communication method and device
CN111385777A (en) TWS earphone low-power reminding method and electronic equipment
CN114554012B (en) Incoming call answering method, electronic equipment and storage medium
CN113129916B (en) Audio acquisition method, system and related device
CN116133165A (en) Headset connection system, method, headset, electronic device, and readable storage medium
CN113678481B (en) Wireless audio system, audio communication method and equipment
CN116708317B (en) Data packet MTU adjustment method and device and terminal equipment
CN114520870B (en) Display method and terminal
CN116667875B (en) Switching method and device of internet access and terminal equipment
CN115665632B (en) Audio circuit, related device and control method
CN117354955A (en) Network connection method, electronic device and storage medium
CN116938950A (en) Data transmission method, electronic equipment and storage medium
CN117014377A (en) Congestion control negotiation method, electronic equipment and storage medium

Legal Events

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