CN114501239A - Master-slave switching method and device of earphone, Bluetooth earphone and storage medium - Google Patents

Master-slave switching method and device of earphone, Bluetooth earphone and storage medium Download PDF

Info

Publication number
CN114501239A
CN114501239A CN202210178812.XA CN202210178812A CN114501239A CN 114501239 A CN114501239 A CN 114501239A CN 202210178812 A CN202210178812 A CN 202210178812A CN 114501239 A CN114501239 A CN 114501239A
Authority
CN
China
Prior art keywords
bluetooth
sound signal
earphone
headset
bluetooth headset
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.)
Pending
Application number
CN202210178812.XA
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210178812.XA priority Critical patent/CN114501239A/en
Publication of CN114501239A publication Critical patent/CN114501239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/03Connection circuits to selectively connect loudspeakers or headphones to amplifiers

Abstract

The application discloses a master-slave switching method and device of an earphone, a Bluetooth earphone and a storage medium, and relates to the technical field of electronic equipment. The method comprises the following steps: the method comprises the steps of acquiring a sound signal acquired by a first microphone of a first Bluetooth headset as a first sound signal, acquiring a sound signal acquired by a second microphone of a second Bluetooth headset as a second sound signal through a second Bluetooth link between the first Bluetooth headset and the second Bluetooth headset, and sending a switching instruction to the second Bluetooth headset through a second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with electronic equipment. This application carries out the switching control of principal and subordinate's earphone through the sound signal based on principal earphone and gathering from the earphone, can promote the rate of accuracy that principal and subordinate's earphone switches and reduce bluetooth headset's cost.

Description

Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for switching between master and slave of an earphone, a bluetooth earphone, and a storage medium.
Background
With the development of science and technology, electronic equipment is more and more widely used and has more and more functions, and the electronic equipment becomes one of the necessary things in daily life of people. Currently, when a user uses an electronic device to pick up a sound signal, the user often uses a bluetooth headset to pick up the sound signal, and particularly, a True Wireless Stereo (TWS) headset with a wirelessly separated left channel and a wirelessly separated right channel is used. TWS headphones can be generally divided into master headphones and slave headphones, but at present, the choice of master headphones and slave headphones is difficult to ensure good acquisition of sound signals and quality of audio transmitted to electronic equipment.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, an electronic device, and a storage medium for switching between master and slave of an earphone, so as to solve the above problems.
In a first aspect, an embodiment of the present application provides a master-slave switching method for an earphone, which is applied to a first bluetooth earphone, when the first bluetooth earphone is used as a master earphone and establishes a first bluetooth link with an electronic device, a second bluetooth earphone is used as a slave earphone and establishes a second bluetooth link with the first bluetooth earphone, the first bluetooth earphone includes a first microphone, the second bluetooth earphone includes a second microphone, and the method includes: acquiring a sound signal collected by the first microphone as a first sound signal; acquiring a sound signal acquired by the second microphone through the second Bluetooth link to serve as a second sound signal; and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
In a second aspect, an embodiment of the present application provides a master-slave switching device for a headset, which is applied to a first bluetooth headset, where when a first bluetooth link is established between the first bluetooth headset and an electronic device as a master headset, a second bluetooth link is established between a second bluetooth headset and the first bluetooth headset as a slave headset, the first bluetooth headset includes a first microphone, and the second bluetooth headset includes a second microphone, where the device includes: the first sound signal acquisition module is used for acquiring a sound signal acquired by the first microphone as a first sound signal; the second sound signal acquisition module is used for acquiring a sound signal acquired by the second microphone through the second Bluetooth link to serve as a second sound signal; and the master-slave earphone switching module is used for sending a switching instruction to the second Bluetooth earphone through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth earphone to serve as a master earphone to establish a Bluetooth link with the electronic equipment.
In a third aspect, embodiments of the present application provide a bluetooth headset, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the above-mentioned method.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
In the embodiment of the application, the main earphone is based on the sound signal collected by the microphone of the main earphone and the sound signal collected by the microphone of the slave earphone, and whether the main earphone and the slave earphone need to be switched is determined, so that the cost problem caused by the arrangement of other sensors for detecting wearing can be avoided, and the cost of the Bluetooth earphone can be reduced. In addition, the main earphone is based on the sound signals collected by the microphone of the main earphone and the sound signals collected by the microphone of the auxiliary earphone, so that the problem of detection errors of other sensors for detecting wearing can be avoided, and the accuracy of switching between the main earphone and the auxiliary earphone can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment of a master-slave switching method for a headset according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a master-slave switching method for a headset according to an embodiment of the present application;
fig. 9 is a timing diagram illustrating a master-slave switching method of a headset according to an embodiment of the present application;
fig. 10 shows a block diagram of a master-slave switching device of a headset according to an embodiment of the present application;
fig. 11 shows a block diagram of an electronic device for executing a master-slave switching method of a headset according to an embodiment of the present application;
fig. 12 illustrates a storage unit for storing or carrying program codes for implementing a master-slave switching method of a headset according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be noted that: in the present examples, "first", "second", etc. are used for distinguishing similar objects and are not necessarily used for describing a particular order or sequence.
Currently, most electronic devices, such as computers and mobile phones, can play and pick up audio data. With the development of scientific technology and the increase of user demands, the electronic equipment can be connected with external audio acquisition equipment, so that the electronic equipment can acquire audio data (sound signals) through the external audio acquisition equipment. The audio acquisition device may include, among other things, an earphone with a microphone, and the like. The audio acquisition device may acquire audio data and transmit the acquired audio data to the electronic device for processing, for example, the acquired audio data may be transmitted to other electronic devices via the electronic device through a network. The electronic device may be connected to the audio acquisition device in a wired manner or a wireless manner, which is not limited herein.
When the audio data is actually collected by the audio collecting device and transmitted to the electronic device, the user often uses a Wireless communication headset to collect and transmit the audio data, for example, the audio data is collected and transmitted by a Wireless Fidelity (WiFi) headset or a Bluetooth (BT) headset. Especially for users with high requirements, audio data can be collected and played through a TWS earphone with a left channel and a right channel separated wirelessly. The TWS earphone can realize the real wireless separated use of the left sound channel and the right sound channel of the Bluetooth, namely, the two earphones of the TWS earphone do not need to be connected by wires.
The TWS earphone is composed of a main earphone and a slave earphone, the electronic equipment is connected with the main earphone through Bluetooth, and the main earphone is connected with the slave earphone through Near Field Magnetic Induction (NFMI) or TWS protocol. In a downlink scene, a data signal on the electronic equipment is transmitted to the master earphone through Bluetooth, and then is transmitted to the slave earphone through an NFMI or TWS protocol by the master earphone, so that the left earphone and the right earphone receive the data signal transmitted by the electronic equipment; or, in a downlink scenario, the data signal on the electronic device is transmitted to the master earphone through bluetooth, and the slave earphone may disguise as the master earphone to listen and receive the data signal sent to the master earphone by the electronic device, or the slave earphone may also receive the data signal sent to the master earphone by the electronic device forwarded by the master earphone. In an uplink scene, the master earphone directly works and the slave earphone does not work, and the master earphone directly transmits the collected audio data to the electronic equipment through Bluetooth.
In a single-earphone usage scenario of the TWS earphone, in order to ensure that the TWS earphone works in the primary earphone mode, the master-slave relationship of the TWS earphone is determined through wearing detection, generally, the wearing detection is implemented by a light-sensitive sensor or a capacitive sensor, but there may be detection errors in the wearing detection. For example, when the TWS headset is worn in a call process, the main headset is taken down and placed on a desktop, the main headset may be placed on the desktop and erroneously detected as the main headset worn on the ear, so that the main headset and the slave headset cannot be switched, the main ear is far away from a user, the collected sound signal is weak, the user only wears the slave headset and cannot pick up call sound, so that the problem that the call volume fed back by the other party is small or silent is caused, and the call quality of the user is reduced.
In view of the above problems, the inventor has found through long-term research and provides a method and an apparatus for switching between master and slave earphones, a bluetooth earphone, and a storage medium for earphone according to an embodiment of the present application, and by performing switching control of the master and slave earphones based on the master earphone and the sound signals collected from the earphones, accuracy of switching between the master and slave earphones can be improved, and cost of the bluetooth earphone can be reduced. The specific master-slave switching method of the earphone is explained in detail in the following embodiments.
The following description is directed to an application environment of a master-slave switching method for a headset according to an embodiment of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment of a master-slave switching method for a headset according to an embodiment of the present disclosure. As shown in fig. 1, it includes a first bluetooth headset 100, a second bluetooth headset 200, and an electronic device 300. As one mode, the first bluetooth headset 100 may be used as a master headset to establish a first bluetooth link for audio data transmission with the electronic device 300, and the second bluetooth headset 200 may be used as a slave headset to establish a second bluetooth link for audio data transmission with the first bluetooth headset 100, at this time, a listening link for listening to audio data transmission between the electronic device 300 and the first bluetooth headset 100 may be established between the second bluetooth headset 200 and the electronic device 300. As a further way, the second bluetooth headset 200 may establish a first bluetooth link for audio data transmission with the electronic device 300 as a master headset, and the first bluetooth headset 100 may establish a second bluetooth link for audio data transmission with the second bluetooth headset 200 as a slave headset, at which time, a listening link for listening to audio data transmission between the electronic device 300 and the second bluetooth headset 200 may be established between the first bluetooth headset 100 and the electronic device 300.
In some embodiments, the first bluetooth headset 100 may be a headset that plays left channel audio data, and the second bluetooth headset 200 may be a headset that plays right channel audio data; the second bluetooth headset 200 may be a headset that plays audio data of a left channel, and the first bluetooth headset 100 may be a headset that plays audio data of a right channel.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is used for controlling the switching of the master earphone and the slave earphone through the sound signals collected based on the master earphone and the slave earphone, and can improve the accuracy of the switching of the master earphone and the slave earphone and reduce the cost of the Bluetooth earphone. In a specific embodiment, the method for switching between master and slave of the headset is applied to the master and slave switching device 400 of the headset shown in fig. 10 and the first bluetooth headset 100 (fig. 11) equipped with the master and slave switching device 400 of the headset. The specific process of the present embodiment will be described below by taking a bluetooth headset as an example, and it is understood that the bluetooth headset applied in the present embodiment may include a True Wireless Stereo (TWS) headset. In this embodiment, when the first bluetooth headset is used as a master headset to establish a first bluetooth link with the electronic device, the second bluetooth headset is used as a slave headset to establish a second bluetooth link with the first bluetooth headset, the first bluetooth headset includes a first microphone, and the second bluetooth headset includes a second microphone. As will be described in detail with respect to the flow shown in fig. 2, the master-slave switching method of the earphone may specifically include the following steps:
step S110: and acquiring the sound signal collected by the first microphone as a first sound signal.
In this embodiment, a first bluetooth headset is taken as an example to establish a first bluetooth link with an electronic device. At this time, a second bluetooth link is established between the second bluetooth headset and the first bluetooth headset as a slave headset so as to realize data interaction between the first bluetooth headset and the electronic device and data interaction between the first bluetooth headset and the second bluetooth headset.
As a manner, under the condition that a monitoring link for monitoring audio data transmission between the electronic device and the first bluetooth headset is not established between the second bluetooth headset and the electronic device, if the electronic device sends audio data to the bluetooth headsets (the first bluetooth headset and the second bluetooth headset), the electronic device may send the audio data to the first bluetooth headset through the first bluetooth link, and when the first bluetooth headset receives the audio data sent by the electronic device, the electronic device may send the audio data to the second bluetooth headset through the second bluetooth link, so that both the first bluetooth headset and the second bluetooth headset may obtain the audio data sent by the electronic device.
As another way, in a case where the second bluetooth headset and the electronic device establish a monitoring link for monitoring audio data transmission between the electronic device and the first bluetooth headset, the electronic device may send the audio data to the first bluetooth headset through the first bluetooth link, and the second bluetooth headset may masquerade as the first bluetooth headset to monitor and receive the audio data sent by the electronic device to the first bluetooth headset via the first bluetooth link based on the monitoring link, so that the first bluetooth headset and the second bluetooth headset may acquire the audio data sent by the electronic device at the same time, so as to reduce a time delay between the first bluetooth headset and the second bluetooth headset. In some embodiments, the first bluetooth headset may transmit the relevant communication parameters to the second bluetooth headset over the second bluetooth link such that the second bluetooth headset may listen to the communication data of the first bluetooth link over the relevant communication parameters, wherein the relevant communication parameters may include, but are not limited to, a communication connection address of the electronic device, encryption parameter information of the communication connection, and the like, such that the second bluetooth headset need not perform pairing and establishment of the communication connection, but may masquerade as the first bluetooth headset to listen to and receive audio data transmitted by the electronic device over the first bluetooth link.
In some embodiments, in a case where the electronic device needs to perform sound signal acquisition, for example, in a case where the electronic device needs to perform a call, it may be determined that the electronic device needs to perform sound signal acquisition. At this time, it is necessary to determine that the master earphone performs sound signal collection from the first bluetooth earphone and the second bluetooth earphone, in this embodiment, the sound signal collection may be performed through the first bluetooth earphone serving as the master earphone, and the sound signal collected by the first bluetooth earphone is transmitted to the electronic device through the first bluetooth link, so that the electronic device processes the sound signal collected by the first bluetooth earphone.
In some embodiments, the first bluetooth headset may include a first microphone. The first Bluetooth headset can control the first microphone to collect sound signals, and obtains the sound signals collected by the first microphone as the first sound signals. Wherein the first sound signal may include a voice input by a user. The number of the microphones included in the first microphone may be one or more, and is not limited herein.
Step S120: and acquiring the sound signal acquired by the second microphone through the second Bluetooth link to be used as a second sound signal.
In some embodiments, the second bluetooth headset may include a second microphone. The second bluetooth headset may control the second microphone to collect the sound signal, and acquire the sound signal collected by the second microphone as the second sound signal. Wherein the second sound signal may include a voice input by a user. The number of the microphones included in the second microphone may be one or more, and is not limited herein.
As an implementable mode, the second microphone of the second bluetooth headset and the first microphone of the first bluetooth headset may both be in an operating state, and then the second bluetooth headset may directly perform the collection of the sound signal through the second bluetooth headset.
As an implementable manner, the second microphone of the second bluetooth headset is in a dormant state, and then the first bluetooth headset may send the sound signal acquisition instruction to the second bluetooth headset through the second bluetooth link, and the second bluetooth headset may wake up the second microphone and control the second microphone to acquire the sound signal in response to the sound signal acquisition instruction.
In some embodiments, when the second bluetooth headset collects a sound signal through the second microphone, the sound signal collected by the second microphone may be transmitted to the first bluetooth headset through the second bluetooth link, and accordingly, the first bluetooth headset may obtain the sound signal collected by the second microphone through the second bluetooth link and use the sound signal collected by the second microphone through the second bluetooth link as the second sound signal.
Step S130: and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
In some embodiments, the first bluetooth headset may be preset and store a preset signal condition, and the preset signal condition is used as a criterion for determining the first sound signal and the second sound signal. Therefore, in this embodiment, after obtaining the first sound signal and the second sound signal, the first bluetooth headset may compare the first sound signal and the second sound signal with a preset signal condition to determine whether the first sound signal and the second sound signal satisfy the preset signal condition.
As a mode, under the condition that it is determined that the first sound signal and the second sound signal do not satisfy the preset signal condition, it may be considered that the first bluetooth headset is more suitable as a master headset and the second bluetooth headset is more suitable as a slave headset, the first bluetooth headset may be maintained as the master headset to establish the first bluetooth link with the electronic device, and the second bluetooth headset may be maintained as the slave headset to establish the second bluetooth link with the first bluetooth headset, at this time, the first sound signal collected by the first bluetooth headset may be transmitted to the electronic device, so that the electronic device may process the first sound signal.
As another way, when it is determined that the first sound signal and the second sound signal satisfy the preset signal condition, the first bluetooth headset may be considered to be more suitable as a slave headset and the second bluetooth headset may be more suitable as a master headset, and then switching between the master headset and the slave headset may be performed, so that the first bluetooth headset is switched from the master headset to the slave headset, and the second bluetooth headset is switched from the slave headset to the master headset, at this time, the second sound signal collected by the second bluetooth headset may be transmitted to the electronic device, so that the electronic device processes the second sound signal. The first Bluetooth headset can send a switching instruction to the second Bluetooth headset through the second Bluetooth link, and the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
In some embodiments, after sending the switching instruction to the second bluetooth headset, the first bluetooth headset may switch itself to the slave headset after receiving indication information sent by the second bluetooth headset and used for indicating that the second bluetooth headset is ready to establish bluetooth connection with the electronic device, disconnect the bluetooth link with the electronic device, and send connection indication information to the second bluetooth headset while starting switching to the slave headset, and the second bluetooth headset establishes connection with the electronic device immediately after receiving the connection indication information. Because the first Bluetooth headset is not immediately switched to the slave headset after the switching instruction is sent, but is switched after the second Bluetooth headset is ready, the problem that data transmission is interrupted because the Bluetooth link between the second Bluetooth headset and the electronic equipment is not established can be solved under the condition that the Bluetooth link between the second Bluetooth headset and the electronic equipment is not established, but the Bluetooth link between the first Bluetooth headset and the electronic equipment is disconnected.
As an implementable manner, when the first bluetooth headset needs to be switched from the master headset to the slave headset and the second bluetooth headset is switched from the slave headset to the master headset, the first bluetooth headset may send the link information of the first bluetooth link to the second bluetooth headset through the second bluetooth link, when the second bluetooth headset receives the link information of the first bluetooth link sent by the first bluetooth headset, the second bluetooth headset may reply an acknowledgement identifier (such as an ACK acknowledgement identifier) to the first bluetooth headset, when the first bluetooth headset receives the acknowledgement identifier sent by the second bluetooth headset, the first bluetooth headset may send a switching instruction to the second bluetooth headset through the second bluetooth link, the second bluetooth headset may connect with the electronic device through establishing the third bluetooth link according to the received link information of the first bluetooth link, when the second bluetooth headset receives a data packet of the third bluetooth link sent by the electronic device, the second bluetooth headset can send the confirmation identification of successful packet receiving to the first bluetooth headset, and the first bluetooth headset can delete the first bluetooth link and disconnect the connection with the electronic equipment, so that seamless switching of the master earphone and the slave earphone is realized, and better user experience is provided for users.
In the embodiment of the application, the main earphone determines whether the switching between the main earphone and the auxiliary earphone is needed or not based on the sound signal collected by the microphone of the main earphone and the sound signal collected by the microphone of the auxiliary earphone, so that the cost problem caused by other sensors for detecting wearing is not required to be set, and the cost of the Bluetooth earphone can be reduced. In addition, the main earphone is based on the sound signals collected by the microphone of the main earphone and the sound signals collected by the microphone of the auxiliary earphone, so that the problem of detection errors of other sensors for detecting wearing can be avoided, and the accuracy of switching between the main earphone and the auxiliary earphone can be improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, the second Bluetooth headset comprises a second microphone, and the second microphone is in a dormant state. As will be described in detail with respect to the flow shown in fig. 3, the master-slave switching method of the earphone may specifically include the following steps:
step S210: and acquiring the sound signal collected by the first microphone as a first sound signal.
For detailed description of step S210, please refer to step S110, which is not described herein again.
Step S220: and acquiring a first sound intensity corresponding to the first sound signal.
In some embodiments, when the first bluetooth headset obtains the first sound signal, the first bluetooth headset may process the first sound signal to obtain a sound intensity corresponding to the first sound signal as the first sound intensity. As an implementable manner, when the first bluetooth headset obtains the first sound signal, the first bluetooth headset may calculate the first sound signal through a preset intensity algorithm, and obtain a sound intensity corresponding to the first sound signal as the first sound intensity.
Step S230: and sending a wake-up instruction to the second Bluetooth headset through the second Bluetooth link when the first sound intensity is smaller than or equal to the first intensity threshold, wherein the wake-up instruction is used for indicating the second Bluetooth headset to control the second microphone to be switched from the dormant state to the working state, and collecting sound signals through the second microphone.
In some embodiments, the second microphone of the second bluetooth headset is in a sleep state. That is, under the condition that the first bluetooth headset performs sound signal collection through the first microphone, the second microphone does not perform sound signal collection, and at this time, the power consumption of the second bluetooth headset can be reduced.
In some embodiments, the preset signal condition may include a first intensity threshold. The first bluetooth headset may preset and store a first intensity threshold, where the first intensity threshold is used as a criterion for determining a first sound intensity corresponding to the first sound signal collected by the first microphone. Therefore, in this embodiment, after obtaining the first sound intensity, the first bluetooth headset may compare the first sound intensity with a first intensity threshold to determine whether the first sound intensity is less than or equal to the first intensity threshold. The first intensity threshold may be a boundary that indicates whether the sound signal can be normally received by the user, for example, the first intensity threshold may be a boundary that indicates whether the sound signal can meet a normal call requirement in a call scenario, that is, if the sound intensity of the sound signal is less than or equal to the first intensity threshold, it may be determined that the sound signal cannot be normally received by the user, that is, the sound signal does not meet the normal call requirement in the call scenario; if the sound intensity of the sound signal is greater than the first intensity threshold, it can be determined that the sound signal can be normally received by the user, that is, the sound signal meets the normal call requirement in the call scene.
As a manner, when it is determined that the first sound intensity is greater than the first intensity threshold, the sound signal collected by the first microphone representing the first bluetooth headset may be received normally by the user, for example, the normal call requirement may be met in a call scenario, and therefore, the switching between the master and slave headsets may not be performed, that is, the first bluetooth headset is continuously kept as the master headset, and the second bluetooth headset is kept as the slave headset.
As another way, when it is determined that the first sound intensity is less than or equal to the first intensity threshold, the sound signal collected by the first microphone of the first bluetooth headset may not be received normally by the user, for example, the normal call requirement cannot be met in a call scene, and therefore, the second microphone of the second bluetooth headset may be woken up to collect the sound signal, and it is determined whether to perform a switch between the master and the slave headsets according to the sound signal collected by the second microphone. In some embodiments, the first bluetooth headset may send a wake-up command to the second bluetooth headset via the second bluetooth link, and accordingly, the second bluetooth headset may control the second microphone to switch from the sleep state to the active state and control the second microphone to collect the sound signal in response to the wake-up command.
Step S240: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
For a detailed description of step S240, please refer to step S120, which is not described herein again.
Step S250: and acquiring second sound intensity corresponding to the second sound signal.
In some embodiments, when the first bluetooth headset obtains the second sound signal, the first bluetooth headset may process the second sound signal to obtain a sound intensity corresponding to the second sound signal as the second sound intensity. As an implementable manner, when the first bluetooth headset obtains the second sound signal, the second sound signal may be calculated through a preset intensity algorithm, and the sound intensity corresponding to the second sound signal is obtained as the second sound intensity.
In some embodiments, when the second bluetooth headset collects a sound signal (a second sound signal), the second sound signal may be processed to obtain a sound intensity corresponding to the second sound signal as a second sound intensity, and the second sound intensity is sent to the first bluetooth headset through the second bluetooth link. As an implementable manner, when the second bluetooth headset collects the second sound signal, the second bluetooth headset may calculate the second sound signal through a preset intensity algorithm, obtain a sound intensity corresponding to the second sound signal as a second sound intensity, and send the second sound intensity to the first bluetooth headset through the second bluetooth link.
In some embodiments, when the second bluetooth headset collects a sound signal (a second sound signal), the second sound signal may be processed to obtain a sound intensity corresponding to the second sound signal as a second sound intensity, and then the second sound intensity is compared with the first intensity threshold to obtain a first comparison result, and the first comparison result is sent to the first bluetooth headset through the second bluetooth link.
Step S260: sending the switch instruction to the second Bluetooth headset over the second Bluetooth link if the first sound intensity is less than or equal to a first intensity threshold and the second sound intensity is greater than the first intensity threshold.
In some embodiments, the preset signal condition may include a first intensity threshold. The first bluetooth headset may be preset and store a first intensity threshold, where the first intensity threshold is used as a criterion for determining a first sound intensity corresponding to a first sound signal collected by the first bluetooth headset, and is used as a criterion for determining a second sound intensity corresponding to a second sound signal received by the first bluetooth headset. Therefore, in this embodiment, after obtaining the first sound intensity, the first bluetooth headset may compare the first sound intensity with a first intensity threshold to determine whether the first sound intensity is less than or equal to the first intensity threshold; after obtaining the second sound intensity, the first bluetooth headset may compare the second sound intensity with the second intensity threshold to determine whether the second sound intensity is greater than the first intensity threshold.
As a manner, in a case that it is determined that the first sound intensity is greater than the first intensity threshold, the sound signal collected by the first microphone that characterizes the first bluetooth headset may be received normally by the user, for example, a normal call requirement may be met in a call scenario. Therefore, the first bluetooth headset is more suitable to be used as a master headset, and at this time, no matter whether the second sound intensity is greater than the first intensity threshold or less than or equal to the first intensity threshold, the master headset and the slave headset are not switched, that is, the first bluetooth headset can be continuously kept as the master headset, and the second bluetooth headset is kept as the slave headset.
As another way, in a case that it is determined that the first sound intensity is less than or equal to the first intensity threshold, and the second sound intensity is less than or equal to the first intensity threshold, the sound signal collected by the first microphone of the first bluetooth headset may not be normally received by the user, and the sound signal collected by the second microphone of the second bluetooth headset may not be normally received by the user, for example, in a call scenario, neither the sound signal collected by the first bluetooth headset nor the sound signal collected by the second bluetooth headset may satisfy a normal call requirement. Therefore, the sound input by the user may be considered to be small, or the first bluetooth headset and the second bluetooth headset may not be in a wearing state, and the first bluetooth headset may be continuously kept as the master headset and the second bluetooth headset may be kept as the slave headset without switching between the master headset and the slave headset.
As another way, when it is determined that the first sound intensity is less than or equal to the first intensity threshold and the second sound intensity is greater than the first intensity threshold, it is characterized that the sound signal collected by the first microphone of the first bluetooth headset cannot be normally received by the user, and the sound signal collected by the second microphone of the second bluetooth headset can be normally received by the user. The first bluetooth headset may be considered more suitable as a slave headset and the second bluetooth headset may be considered more suitable as a master headset, and then a switching between the master headset and the slave headset may be performed so that the first bluetooth headset is switched from the master headset to the slave headset and the second bluetooth headset is switched from the slave headset to the master headset.
In this embodiment, when the sound intensity of the sound signal collected by the master earphone is less than or equal to the first intensity threshold, the microphone of the slave earphone is controlled to be switched from the sleep state to the working state to collect the sound signal, so as to reduce the power consumption of the slave earphone. In addition, in this embodiment, when the signal intensity corresponding to the sound signal collected by the main earphone is less than or equal to the first intensity threshold and the signal intensity corresponding to the sound signal collected by the slave earphone is greater than the first intensity threshold, switching between the main earphone and the slave earphone is performed, so that the sound signal whose sound intensity meets the requirement can be collected by the main earphone, and the switching accuracy of the main earphone and the slave earphone is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, and the second Bluetooth headset comprises a second microphone. As will be described in detail with respect to the flow shown in fig. 4, the master-slave switching method of the earphone may specifically include the following steps:
step S310: and acquiring the sound signal collected by the first microphone as a first sound signal.
Step S320: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
For the detailed description of steps S310 to S320, please refer to steps S110 to S120, which are not described herein again.
Step S330: and acquiring a third sound intensity corresponding to the first sound signal, and acquiring a fourth sound intensity corresponding to the second sound signal.
In some embodiments, when the first bluetooth headset obtains the first sound signal, the first bluetooth headset may process the first sound signal to obtain a sound intensity corresponding to the first sound signal as the third sound intensity.
As an implementable manner, when the first bluetooth headset obtains the first sound signal, the first bluetooth headset may calculate the first sound signal through a preset intensity algorithm, and obtain a sound intensity corresponding to the first sound signal as a third sound intensity.
In some embodiments, when the first bluetooth headset obtains the second sound signal, the second sound signal may be processed to obtain a sound intensity corresponding to the second sound signal as a fourth sound intensity. As an implementable manner, when the first bluetooth headset obtains the second sound signal, the second sound signal may be calculated through a preset intensity algorithm, and the sound intensity corresponding to the second sound signal is obtained as the fourth sound intensity.
In some embodiments, when the second bluetooth headset collects a sound signal (a second sound signal), the second sound signal may be processed to obtain a sound intensity corresponding to the second sound signal as a fourth sound intensity, and the fourth sound intensity is sent to the first bluetooth headset through the second bluetooth link. As an implementable manner, when the second bluetooth headset collects the second sound signal, the second bluetooth headset may calculate the second sound signal through a preset intensity algorithm, obtain the sound intensity corresponding to the second sound signal as a fourth sound intensity, and send the fourth sound intensity to the first bluetooth headset through the second bluetooth link.
Step S340: and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the fourth sound intensity is greater than the third sound intensity and the difference value between the fourth sound intensity and the third sound intensity is greater than a second intensity threshold value, wherein the switching instruction is used for indicating the second Bluetooth headset to be used as a main headset to establish a Bluetooth link with the electronic equipment.
In some embodiments, the preset signal condition may include a second intensity threshold. The first bluetooth headset may preset and store a second intensity threshold, where the second intensity threshold is used as a criterion for determining a difference between a third intensity threshold corresponding to the first sound signal collected by the first bluetooth headset and a fourth intensity threshold corresponding to the second sound signal collected by the second bluetooth headset. Therefore, in this embodiment, after obtaining the third sound intensity and the fourth sound intensity, the first bluetooth headset may compare the third sound intensity with the fourth sound intensity, and calculate the difference between the fourth sound intensity and the third sound intensity to determine whether the fourth sound intensity is greater than the third sound intensity, and determine whether the difference between the fourth sound intensity and the third sound intensity is greater than the second intensity threshold. Wherein the second intensity threshold may comprise, for example, 5 decibels. The second intensity threshold may be a boundary representing a promoting effect brought by switching of the master and slave earphones on the collection of the sound signal, that is, if a difference between the sound intensity corresponding to the sound signal collected from the earphones and the sound intensity corresponding to the sound signal collected by the master earphone is greater than the second intensity threshold, the promoting effect brought by switching of the master and slave earphones on the collection of the sound signal is obvious; if the difference value between the sound intensity corresponding to the sound signal collected by the earphone and the sound intensity corresponding to the sound signal collected by the main earphone is smaller than or equal to the second intensity threshold value, the improvement effect brought to the collection of the sound signal by the switching of the main earphone and the auxiliary earphone is represented to be poor.
As one mode, in a case that it is determined that the fourth sound intensity is smaller than the third intensity threshold, the intensity threshold corresponding to the sound signal collected by the first microphone of the first bluetooth headset is larger than the intensity threshold corresponding to the sound signal collected by the second microphone of the second bluetooth headset. Therefore, the first bluetooth headset is more suitable to be used as a master headset, and at this time, no matter whether the difference between the fourth sound intensity and the third sound intensity is greater than the second intensity threshold, the master headset and the slave headset can be switched without, that is, the first bluetooth headset can be continuously kept as the master headset, and the second bluetooth headset can be kept as the slave headset.
As another way, in the case that it is determined that the fourth sound intensity is greater than the third intensity threshold, and the difference between the fourth sound intensity and the third sound intensity is not greater than the second intensity threshold, it is characterized that although the intensity threshold corresponding to the sound signal collected by the second microphone of the second bluetooth headset is greater than the intensity threshold corresponding to the sound signal collected by the first microphone of the first bluetooth headset, that is, the first bluetooth headset may be farther away from the user than the second bluetooth headset, since the difference between the sound intensities collected by the two bluetooth headsets is smaller, the switching between the master and the slave headsets in this case does not significantly increase the collection of the sound signal, and also causes an increase in the power consumption of the bluetooth headset. Therefore, the master earphone and the slave earphone can be not switched, namely the first Bluetooth earphone can be kept as the master earphone, and the second Bluetooth earphone can be kept as the slave earphone.
As another way, when it is determined that the fourth sound intensity is greater than the third sound intensity, and the difference between the fourth sound intensity and the third sound intensity is greater than the second intensity threshold, the intensity threshold corresponding to the sound signal collected by the second microphone of the second bluetooth headset is greater than the intensity threshold corresponding to the sound signal collected by the first microphone of the first bluetooth headset, that is, the first bluetooth headset may be farther away from the user than the first bluetooth headset, and meanwhile, because the difference between the sound intensities collected by the two headsets is greater, the switching between the master and the slave headsets under such a condition is more obvious for the improvement of the collection of the sound signal. Thus, it can be considered that the first bluetooth headset is more suitable as a slave headset and the second bluetooth headset is more suitable as a master headset, then switching between master and slave headsets can be performed so that the first bluetooth headset is switched from the master headset to the slave headset and the second bluetooth headset is switched from the slave headset to the master headset.
In this embodiment, when the sound intensity of the sound signal collected by the earphone is greater than the sound intensity of the sound signal collected by the main earphone, and the difference between the sound intensity of the sound signal collected by the earphone and the sound intensity of the sound signal collected by the main earphone is greater than the second intensity threshold, switching between the main earphone and the slave earphone is performed, so that the sound signal with the sound intensity meeting the requirement can be collected by the main earphone, and the switching accuracy of the main earphone and the slave earphone is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, and the second Bluetooth headset comprises a second microphone. As will be described in detail with respect to the flow shown in fig. 5, the master-slave switching method of the earphone may specifically include the following steps:
step S410: and under the condition that the electronic equipment is in a call state, controlling the first microphone to collect a sound signal.
The call state refers to a state that the electronic device is in a voice connection state, for example, the electronic device is in a phone connection state, the electronic device is in a voice connection state through instant messaging software, and the electronic device is in a video connection state through the instant messaging software. In some embodiments, when the electronic device is in a call state, the electronic device establishes a call with other electronic devices, and a user corresponding to the electronic device and a user corresponding to other electronic devices may perform a call, where the user corresponding to the electronic device may receive a sound signal input by the user corresponding to the other electronic devices through the first bluetooth headset and the second bluetooth headset, and the user corresponding to the electronic device may also input the sound signal through the first bluetooth headset or the second bluetooth headset, and the sound signal is transmitted to the other electronic devices through the electronic device and received by the users corresponding to the other electronic devices.
In some embodiments, it may be detected whether the electronic device is in a talk state. Wherein, under the condition that detects that electronic equipment is in the conversation state, the sign needs carry out the collection of sound signal through the main earphone in first bluetooth headset and the second bluetooth headset, and because first bluetooth headset is main earphone, consequently, first bluetooth headset can control its first microphone and carry out the collection of sound signal. When the electronic equipment is detected not to be in the call state, the first Bluetooth headset and the second Bluetooth headset are not required to be used for collecting sound signals, and then the first microphone of the first Bluetooth headset and the second microphone of the second Bluetooth headset can be controlled to be in the dormant state.
As an implementable manner, the electronic device may monitor whether a CALL is entered in real time, and send the monitored information to the first bluetooth headset, wherein the electronic device may monitor whether an interface of the electronic device is in a CALL when the CALL is incoming or outgoing, and when it is monitored that the mobile terminal is in a CALL (CALL _ STATE _ OFFHOOK), it may be determined that the electronic device is in a CALL STATE.
Step S420: and acquiring the sound signal collected by the first microphone as a first sound signal.
Step S430: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
Step S440: and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
For the detailed description of steps S420 to S440, refer to steps S110 to S130, which are not described herein again.
In this embodiment, when the electronic device is in a call state, the master-slave switching method of the earphone provided in this embodiment is executed, so as to improve the call effect of the electronic device.
Referring to fig. 6, fig. 6 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, and the second Bluetooth headset comprises a second microphone. In this embodiment, the first bluetooth headset includes a light sensor. As will be described in detail with respect to the flow shown in fig. 6, the master-slave switching method of the earphone may specifically include the following steps:
step S510: determining that the first Bluetooth headset is in a wearing state based on the light sensation sensor.
In this embodiment, the first bluetooth headset includes a light sensor. The light sensor may include, for example, an ambient light sensor, an infrared light sensor, a sunlight sensor, an ultraviolet light sensor, and the like, which is not limited herein. Wherein, this first bluetooth headset detects the mode of whether sheltering from through the light sense sensor that it set up, confirms whether first bluetooth headset is in wearing the state.
In some embodiments, the first bluetooth headset may perform occlusion detection by the light-sensitive sensor. Wherein, under the condition that first bluetooth headset does not detect the sheltering from through the light sense sensor, then can confirm that first bluetooth headset does not go into the ear, promptly, first bluetooth headset is not in wearing state, then can carry out the switching of principal and subordinate's earphone, can switch first bluetooth headset from the principal machine earphone into the slave earphone promptly to switch second bluetooth headset from the slave earphone into the principal machine earphone.
As an implementable manner, under the condition that the first bluetooth headset does not detect occlusion through the light sensation sensor, it can be determined that the first bluetooth headset is not worn, that is, the first bluetooth headset is not in a wearing state, and whether the second bluetooth headset is in the wearing state can be detected, wherein when it is detected that the second bluetooth headset is in the wearing state, switching of the master and slave headsets can be performed, that is, the first bluetooth headset can be switched from the master headset to the slave headset, and the second bluetooth headset is switched from the slave headset to the master headset. By one approach, the second bluetooth headset may include a light sensor, and the second bluetooth headset may detect whether it is in a wearing state through the light sensor included in the second bluetooth headset. As a further alternative, the second bluetooth headset may include a capacitive sensor, and the second bluetooth headset may detect whether it is in a wearing state through the capacitive sensor included therein. As still another way, the second bluetooth headset may include a second microphone, and the second bluetooth headset may detect whether it is in a wearing state through the second microphone.
As an implementable manner, under the condition that the first bluetooth headset detects the shielding through the light sensation sensor, the first bluetooth headset is considered to be in the ear under a general condition, that is, the first bluetooth headset is considered to be in a wearing state, at this time, the switching of the master earphone and the slave earphone is not executed, that is, the first bluetooth headset is continuously kept as the master earphone to collect the sound signal, and the second bluetooth headset is continuously kept as the slave earphone. However, in the case that the first bluetooth headset detects the occlusion through the sensor, the occlusion may be caused by the first bluetooth headset being placed at a certain position and the light sensation being occluded, for example, the occlusion may be caused by the first bluetooth headset being placed on a desktop and the light sensation being occluded by the desktop, and at this time, although the light sensation sensor of the first bluetooth headset detects that the first bluetooth headset is in the wearing state, there may still be a possibility of false detection. Therefore, in this embodiment, when it is determined that the first bluetooth headset is in the wearing state based on the light-sensitive sensor, it may be determined whether switching between the master and slave headsets is required based on the sound signal collected by the microphone of the master headset and the sound signal collected by the microphone of the slave headset, so as to improve the accuracy of switching between the master and slave headsets.
Step S520: and acquiring the sound signal collected by the first microphone as a first sound signal.
Step S530: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
Step S540: and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
For the detailed description of steps S520 to S540, refer to steps S110 to S130, which are not described herein again.
In this embodiment, when the main earphone is determined to be in the wearing state by the light sensor, the master-slave switching method of the earphone provided by this embodiment is executed, so as to avoid the false detection of the light sensor and improve the accuracy of the master-slave switching of the earphone.
Referring to fig. 7, fig. 7 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, and the second Bluetooth headset comprises a second microphone. In this embodiment, the first bluetooth headset includes a capacitive sensor. As will be described in detail with respect to the flow shown in fig. 7, the master-slave switching method of the earphone may specifically include the following steps:
step S610: determining that the first Bluetooth headset is in a worn state based on the capacitive sensor.
In this embodiment, the first bluetooth headset includes a capacitive sensor. The capacitive sensor may comprise, for example, a pressure-type capacitive sensor. The first Bluetooth headset determines whether the first Bluetooth headset is in a wearing state or not through a mode that a capacitance sensor arranged on the first Bluetooth headset detects capacitance.
In some embodiments, the first bluetooth headset may perform capacitance detection through a capacitance sensor. The first Bluetooth earphone can be determined to be not in the ear when the capacitance sensor detects that the capacitance does not meet the preset capacitance, namely, the first Bluetooth earphone is not in a wearing state, the switching of the master earphone and the slave earphone can be executed, namely, the first Bluetooth earphone can be switched from the master earphone to the slave earphone, and the second Bluetooth earphone is switched from the slave earphone to the master earphone. The preset capacitance can be a capacitance corresponding to the bluetooth headset when the bluetooth headset is inserted into the ear.
As an implementable manner, when the first bluetooth headset detects that the capacitance does not satisfy the preset capacitance through the capacitance sensor, it may be determined that the first bluetooth headset is not in the ear, that is, the first bluetooth headset is not in a wearing state, and it may be detected whether the second bluetooth headset is in the wearing state, where when it is detected that the second bluetooth headset is in the wearing state, switching of the master and slave headsets may be performed, that is, the first bluetooth headset may be switched from the master headset to the slave headset, and the second bluetooth headset may be switched from the slave headset to the master headset. By one approach, the second bluetooth headset may include a light sensor, and the second bluetooth headset may detect whether it is in a wearing state through the light sensor included in the second bluetooth headset. As a further alternative, the second bluetooth headset may include a capacitive sensor, and the second bluetooth headset may detect whether it is in a wearing state through the capacitive sensor included therein. As still another way, the second bluetooth headset may include a second microphone, and the second bluetooth headset may detect whether it is in a wearing state through the second microphone.
As an implementable manner, when the first bluetooth headset detects that the capacitance satisfies the preset capacitance through the capacitance sensor, under a general condition, the first bluetooth headset is considered to be in the ear, that is, the first bluetooth headset is considered to be in a wearing state, at this time, the switching of the master and slave headsets is not performed, that is, the first bluetooth headset continues to be kept as the master headset to collect the sound signal, and the second bluetooth headset continues to be kept as the slave headset. However, in the case that the first bluetooth headset detects that the capacitance satisfies the preset capacitance through the sensor, the capacitance may be detected by the user holding the capacitance sensor of the first bluetooth headset, and at this time, although the capacitance sensor of the first bluetooth headset detects that the first bluetooth headset is in the wearing state, there may be a possibility of false detection. Therefore, in this embodiment, when it is determined that the first bluetooth headset is in the wearing state based on the capacitive sensor, it may be determined whether switching between the master and slave headsets is required based on the sound signal collected by the microphone of the master headset and the sound signal collected by the microphone of the slave headset, so as to improve accuracy of switching between the master and slave headsets.
Step S620: and acquiring the sound signal collected by the first microphone as a first sound signal.
Step S630: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
Step S640: and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
For detailed description of steps S620 to S640, refer to steps S110 to S130, which are not described herein again.
In this embodiment, when it is determined that the main earphone is in the wearing state through the capacitive sensor, the method for switching between the master and the slave of the earphone provided in this embodiment is performed, so that false detection of the capacitive sensor is avoided, and the accuracy of master-slave switching of the earphone can be improved.
Referring to fig. 8, fig. 8 is a flowchart illustrating a master-slave switching method of an earphone according to an embodiment of the present application. The method is applied to a first Bluetooth headset, when the first Bluetooth headset is used as a master headset to establish a first Bluetooth link with an electronic device, a second Bluetooth headset is used as a slave headset to establish a second Bluetooth link with the first Bluetooth headset, the first Bluetooth headset comprises a first microphone, and the second Bluetooth headset comprises a second microphone. As will be described in detail with respect to the flow shown in fig. 8, the master-slave switching method of the earphone may specifically include the following steps:
step S710: and acquiring the sound signal collected by the first microphone as a first sound signal.
For the detailed description of step S710, please refer to step S110, which is not described herein again.
Step S720: and acquiring a first sound intensity corresponding to the first sound signal.
Step S730: and sending a wake-up instruction to the second Bluetooth headset through the second Bluetooth link when the first sound intensity is smaller than or equal to the first intensity threshold, wherein the wake-up instruction is used for indicating the second Bluetooth headset to control the second microphone to be switched from the dormant state to the working state, and collecting sound signals through the second microphone.
Step S740: and acquiring the sound signal collected by the second microphone through the second Bluetooth link to be used as a second sound signal.
Step S750: and acquiring second sound intensity corresponding to the second sound signal.
Step S760: and sending the switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the second sound intensity is greater than the first intensity threshold.
For the detailed description of steps S720 to S760, refer to steps S220 to S260, which are not described herein again.
Step S770: calculating a difference between the second sound intensity and the first sound intensity if the second sound intensity is less than or equal to the first intensity threshold.
Step S780: and under the condition that the second sound intensity is greater than the first sound intensity and the difference value between the second sound intensity and the first sound intensity is greater than a second intensity threshold value, sending a switching instruction to the second Bluetooth headset through the second Bluetooth link, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
For detailed description of steps S770 to S780, refer to step S340, which is not described herein again.
In this embodiment, when the sound intensity of the sound signal collected by the master earphone is less than or equal to the first intensity threshold, the microphone of the slave earphone is controlled to be switched from the sleep state to the working state to collect the sound signal, so as to reduce the power consumption of the slave earphone. In addition, in this embodiment, when the signal intensity corresponding to the sound signal collected by the main earphone is less than or equal to the first intensity threshold and the signal intensity corresponding to the sound signal collected by the slave earphone is greater than the first intensity threshold, switching between the main earphone and the slave earphone is performed, so that the sound signal whose sound intensity meets the requirement can be collected by the main earphone, and the switching accuracy of the main earphone and the slave earphone is improved. Moreover, in this embodiment, when the signal intensities corresponding to the sound signals collected by the master and slave earphones are both less than or equal to the first intensity threshold, the difference between the signal intensity corresponding to the sound signal collected by the slave earphone and the signal intensity corresponding to the sound signal collected by the master earphone is compared with the second intensity threshold, and when the difference between the signal intensity corresponding to the sound signal collected by the slave earphone and the signal intensity corresponding to the sound signal collected by the master earphone is greater than the second intensity threshold, and the signal intensity corresponding to the sound signal collected by the slave earphone is greater than the signal intensity corresponding to the sound signal collected by the master earphone, the master and slave earphones are switched, so that the sound signal whose sound intensity meets the requirement can be collected by the master earphone, and the switching accuracy of the master and slave earphones is improved.
Referring to fig. 9, fig. 9 is a timing diagram illustrating a master-slave switching method of an earphone according to an embodiment of the present application. In this embodiment, the master-slave switching method of the headset is applied to a bluetooth headset, the bluetooth headset includes a first bluetooth headset and a second bluetooth headset, when the first bluetooth headset is used as a master headset and establishes a first bluetooth link with an electronic device, the second bluetooth headset is used as a slave headset and establishes a second bluetooth link with the first bluetooth headset, the first bluetooth headset includes a first microphone, and the second bluetooth headset includes a second microphone. As will be explained below with respect to the flow shown in fig. 9, the method for switching between master and slave of the earphone may specifically include the following steps:
step S810: the first Bluetooth headset acquires a sound signal collected through the first microphone as a first sound signal.
Step S820: the second Bluetooth headset collects sound signals through the second microphone and sends the sound signals collected by the second microphone to the first Bluetooth headset through the second Bluetooth link.
Step S830: and the first Bluetooth headset acquires the sound signal acquired by the second microphone through the second Bluetooth link to be used as a second sound signal.
Step S840: and the first Bluetooth headset sends a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions.
Step S850: and the second Bluetooth headset responds to the switching instruction and serves as a main headset to establish a Bluetooth link with the electronic equipment.
In the embodiment of the application, the main earphone is based on the sound signal collected by the microphone of the main earphone and the sound signal collected by the microphone of the slave earphone, and whether the main earphone and the slave earphone need to be switched is determined, so that the cost problem caused by the arrangement of other sensors for detecting wearing can be avoided, and the cost of the Bluetooth earphone can be reduced. In addition, the main earphone is based on the sound signals collected by the microphone of the main earphone and the sound signals collected by the microphone of the auxiliary earphone, so that the problem of detection errors of other sensors for detecting wearing can be avoided, and the accuracy of switching between the main earphone and the auxiliary earphone can be improved.
Referring to fig. 10, fig. 10 is a block diagram illustrating a master-slave switching device of an earphone according to an embodiment of the present application. The master-slave switching device 400 of the earphone is applied to the first bluetooth earphone, when the first bluetooth earphone is used as a master earphone to establish a first bluetooth link with the electronic device, the second bluetooth earphone is used as a slave earphone to establish a second bluetooth link with the first bluetooth earphone, the first bluetooth earphone comprises a first microphone, and the second bluetooth earphone comprises a second microphone. As will be explained below with respect to the block diagram shown in fig. 10, the master-slave switching device 400 of the headset comprises: a first sound signal obtaining module 410, a second sound signal obtaining module 420, and a master-slave earphone switching module 430, wherein:
the first sound signal acquiring module 410 is configured to acquire a sound signal acquired by the first microphone as a first sound signal.
A second sound signal obtaining module 420, configured to obtain, through the second bluetooth link, a sound signal collected by the second microphone as a second sound signal.
A master-slave earphone switching module 430, configured to send a switching instruction to the second bluetooth earphone through the second bluetooth link when the first sound signal and the second sound signal meet a preset signal condition, where the switching instruction is used to instruct the second bluetooth earphone to establish a bluetooth link with the electronic device as a master earphone.
Further, the master-slave headset switching module 430 includes: a first sound intensity acquisition sub-module and a first master-slave headset switching sub-module, wherein:
and the first sound intensity acquisition submodule is used for acquiring first sound intensity corresponding to the first sound signal and acquiring second sound intensity corresponding to the second sound signal.
And the first master-slave earphone switching submodule is used for sending the switching instruction to the second Bluetooth earphone through the second Bluetooth link under the condition that the first sound intensity is smaller than or equal to a first intensity threshold value and the second sound intensity is larger than the first intensity threshold value.
Further, the second microphone is in a dormant state, and the master-slave headset switching module 430 further includes: a wake-up instruction sending submodule, wherein:
and the wake-up instruction sending submodule is used for sending a wake-up instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound intensity is smaller than or equal to the first intensity threshold, wherein the wake-up instruction is used for indicating the second Bluetooth headset to control the second microphone to be switched from the dormant state to the working state, and sound signals are collected through the second microphone.
Further, the master-slave headset switching module 430 includes: a second sound intensity acquisition submodule and a second master-slave earphone switching submodule, wherein:
and the second sound intensity obtaining submodule is used for obtaining a third sound intensity corresponding to the first sound signal and obtaining a fourth sound intensity corresponding to the second sound signal.
And the second master-slave earphone switching submodule is used for sending a switching instruction to the second Bluetooth earphone through the second Bluetooth link under the condition that the fourth sound intensity is greater than the third sound intensity and the difference value between the fourth sound intensity and the third sound intensity is greater than a second intensity threshold value, and the switching instruction is used for indicating the second Bluetooth earphone to serve as a master earphone to establish a Bluetooth link with the electronic equipment.
Further, the switching device 400 for master and slave earphones further comprises: sound signal collection module, wherein:
and the sound signal acquisition module is used for controlling the first microphone to acquire sound signals under the condition that the electronic equipment is in a conversation state.
Further, the first bluetooth headset comprises a light sensor, and the switching device 400 of the master and slave headsets further comprises: a first wearing state determination module, wherein:
the first wearing state determining module is used for determining that the first Bluetooth is in a wearing state based on the light sensation sensor.
Further, the first bluetooth headset comprises a capacitance sensor, and the switching device 400 of the master and slave headsets further comprises: a second wearing state determination module, wherein:
and the second wearing state determining module is used for determining that the first Bluetooth headset is in a wearing state based on the capacitance sensor.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 11, a block diagram of a bluetooth headset (first bluetooth headset) 100 according to an embodiment of the present application is shown. The bluetooth headset 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores, among other things. The processor 110 connects various parts within the overall bluetooth headset 100 using various interfaces and lines, and performs various functions of the bluetooth headset 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the bluetooth headset 100 during use (e.g., phone book, audio-video data, chat log data), etc.
Referring to fig. 12, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 500 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from and written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
In summary, in the embodiment of the present application, the main earphone determines whether to switch between the main earphone and the slave earphone based on the sound signal collected by the microphone of the main earphone and the sound signal collected by the microphone of the slave earphone, so that the cost problem caused by the arrangement of other sensors for detecting wearing can be avoided, and the cost of the bluetooth earphone can be reduced. In addition, the main earphone is based on the sound signals collected by the microphone of the main earphone and the sound signals collected by the microphone of the auxiliary earphone, so that the problem of detection errors of other sensors for detecting wearing can be avoided, and the accuracy of switching between the main earphone and the auxiliary earphone can be improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (11)

1. A master-slave switching method of earphones is applied to a first Bluetooth earphone, when the first Bluetooth earphone is used as a master earphone to establish a first Bluetooth link with an electronic device, a second Bluetooth earphone is used as a slave earphone to establish a second Bluetooth link with the first Bluetooth earphone, the first Bluetooth earphone comprises a first microphone, and the second Bluetooth earphone comprises a second microphone, and the method comprises the following steps:
acquiring a sound signal collected by the first microphone as a first sound signal;
acquiring a sound signal acquired by the second microphone through the second Bluetooth link to serve as a second sound signal;
and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth headset to serve as a main headset to establish a Bluetooth link with the electronic equipment.
2. The method of claim 1, wherein the sending a switch instruction to the second Bluetooth headset via the second Bluetooth link if the first sound signal and the second sound signal satisfy a preset signal condition comprises:
acquiring a first sound intensity corresponding to the first sound signal, and acquiring a second sound intensity corresponding to the second sound signal;
sending the switch instruction to the second Bluetooth headset over the second Bluetooth link if the first sound intensity is less than or equal to a first intensity threshold and the second sound intensity is greater than the first intensity threshold.
3. The method of claim 2, wherein the second microphone is in a sleep state, and further comprising, before the acquiring the sound signal collected by the second microphone as the second sound signal through the second bluetooth link:
and sending a wake-up instruction to the second Bluetooth headset through the second Bluetooth link when the first sound intensity is smaller than or equal to the first intensity threshold, wherein the wake-up instruction is used for indicating the second Bluetooth headset to control the second microphone to be switched from the dormant state to the working state, and collecting sound signals through the second microphone.
4. The method of claim 1, wherein the sending a switching instruction to the second bluetooth headset through the second bluetooth link if the first sound signal and the second sound signal satisfy a preset signal condition, the switching instruction being used to instruct the second bluetooth headset to establish a bluetooth link with the electronic device as a master headset comprises:
acquiring a third sound intensity corresponding to the first sound signal, and acquiring a fourth sound intensity corresponding to the second sound signal;
and sending a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the fourth sound intensity is greater than the third sound intensity and the difference value between the fourth sound intensity and the third sound intensity is greater than a second intensity threshold value, wherein the switching instruction is used for indicating the second Bluetooth headset to be used as a main headset to establish a Bluetooth link with the electronic equipment.
5. The method according to claim 1, wherein before said obtaining the sound signal collected by the first microphone as the first sound signal, the method comprises:
and under the condition that the electronic equipment is in a call state, controlling the first microphone to collect a sound signal.
6. The method according to any one of claims 1-5, wherein the first Bluetooth headset comprises a light sensor, and further comprises, before the acquiring the sound signal collected by the first microphone as the first sound signal:
determining that the first Bluetooth headset is in a wearing state based on the light sensation sensor.
7. The method according to any of claims 1-5, wherein the first Bluetooth headset comprises a capacitive sensor, and further comprising, before the acquiring the sound signal collected by the first microphone as the first sound signal:
determining that the first Bluetooth headset is in a worn state based on the capacitive sensor.
8. A master-slave switching method of earphones is applied to a Bluetooth earphone set, the Bluetooth earphone set comprises a first Bluetooth earphone and a second Bluetooth earphone, when a first Bluetooth link is established between the first Bluetooth earphone and an electronic device as a master earphone, a second Bluetooth link is established between the second Bluetooth earphone and the first Bluetooth earphone as a slave earphone, the first Bluetooth earphone comprises a first microphone, and the second Bluetooth earphone comprises a second microphone, the method comprises the following steps:
the first Bluetooth headset acquires a sound signal acquired by the first microphone as a first sound signal;
the second Bluetooth headset acquires sound signals through the second microphone and sends the sound signals acquired by the second microphone to the first Bluetooth headset through the second Bluetooth link;
the first Bluetooth headset acquires the sound signal acquired by the second microphone through the second Bluetooth link to serve as a second sound signal;
the first Bluetooth headset sends a switching instruction to the second Bluetooth headset through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions;
and the second Bluetooth headset responds to the switching instruction and serves as a main headset to establish a Bluetooth link with the electronic equipment.
9. A master-slave switching device of an earphone is applied to a first Bluetooth earphone, when the first Bluetooth earphone is used as a master earphone to establish a first Bluetooth link with an electronic device, a second Bluetooth earphone is used as a slave earphone to establish a second Bluetooth link with the first Bluetooth earphone, the first Bluetooth earphone comprises a first microphone, the second Bluetooth earphone comprises a second microphone, and the device comprises:
the first sound signal acquisition module is used for acquiring a sound signal acquired by the first microphone as a first sound signal;
the second sound signal acquisition module is used for acquiring a sound signal acquired by the second microphone through the second Bluetooth link to serve as a second sound signal;
and the master-slave earphone switching module is used for sending a switching instruction to the second Bluetooth earphone through the second Bluetooth link under the condition that the first sound signal and the second sound signal meet preset signal conditions, wherein the switching instruction is used for indicating the second Bluetooth earphone to serve as a master earphone to establish a Bluetooth link with the electronic equipment.
10. A bluetooth headset comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-8.
11. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 8.
CN202210178812.XA 2022-02-25 2022-02-25 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium Pending CN114501239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210178812.XA CN114501239A (en) 2022-02-25 2022-02-25 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210178812.XA CN114501239A (en) 2022-02-25 2022-02-25 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium

Publications (1)

Publication Number Publication Date
CN114501239A true CN114501239A (en) 2022-05-13

Family

ID=81483670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210178812.XA Pending CN114501239A (en) 2022-02-25 2022-02-25 Master-slave switching method and device of earphone, Bluetooth earphone and storage medium

Country Status (1)

Country Link
CN (1) CN114501239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499818A (en) * 2022-11-16 2022-12-20 荣耀终端有限公司 Data processing method, system, electronic equipment, bluetooth peripheral and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413526A (en) * 2018-09-30 2019-03-01 Oppo广东移动通信有限公司 Headset control method, device, electronic equipment and storage medium
CN109618052A (en) * 2018-12-11 2019-04-12 努比亚技术有限公司 A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
US20190174232A1 (en) * 2017-10-18 2019-06-06 Bestechnic (Shanghai) Co., Ltd. Operation mode switch of wireless headphones
CN112235677A (en) * 2020-10-09 2021-01-15 歌尔科技有限公司 Master-slave switching method of wireless earphone, wireless earphone and readable storage medium
CN113038317A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Earphone control method and device, Bluetooth earphone and storage medium
WO2021218190A1 (en) * 2020-04-27 2021-11-04 歌尔股份有限公司 Primary-secondary ear switching method and apparatus for tws earphones in communication scenario, and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190174232A1 (en) * 2017-10-18 2019-06-06 Bestechnic (Shanghai) Co., Ltd. Operation mode switch of wireless headphones
CN109413526A (en) * 2018-09-30 2019-03-01 Oppo广东移动通信有限公司 Headset control method, device, electronic equipment and storage medium
CN109618052A (en) * 2018-12-11 2019-04-12 努比亚技术有限公司 A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN113038317A (en) * 2019-12-25 2021-06-25 Oppo广东移动通信有限公司 Earphone control method and device, Bluetooth earphone and storage medium
WO2021218190A1 (en) * 2020-04-27 2021-11-04 歌尔股份有限公司 Primary-secondary ear switching method and apparatus for tws earphones in communication scenario, and medium
CN112235677A (en) * 2020-10-09 2021-01-15 歌尔科技有限公司 Master-slave switching method of wireless earphone, wireless earphone and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499818A (en) * 2022-11-16 2022-12-20 荣耀终端有限公司 Data processing method, system, electronic equipment, bluetooth peripheral and storage medium
CN115499818B (en) * 2022-11-16 2023-06-02 荣耀终端有限公司 Data processing method, system, electronic device, bluetooth peripheral device and storage medium

Similar Documents

Publication Publication Date Title
US11778363B2 (en) Audio data transmission method applied to switching between single-earbud mode and double-earbud mode of TWS headset and device
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
US11805350B2 (en) Point-to-multipoint data transmission method and device
CN109413526B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN109151212B (en) Equipment control method and device and electronic equipment
US11501779B2 (en) Bluetooth speaker base, method and system for controlling thereof
CN109413555B (en) Audio output method and device, earphone and electronic equipment
CN109271131B (en) Earphone control method and device, electronic equipment and storage medium
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
CN109257732B (en) Equipment control method and device and electronic equipment
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN114245362B (en) Device reconnection method and Bluetooth peripheral
CN112771828B (en) Audio data communication method and electronic equipment
CN109151669B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN114501239A (en) Master-slave switching method and device of earphone, Bluetooth earphone and storage medium
CN115022766B (en) Audio data playing method and equipment
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
WO2021233398A1 (en) Wireless audio system, wireless communication method, and device
CN113038317B (en) Earphone control method and device, bluetooth earphone and storage medium
CN113115151B (en) Control method and device of wireless earphone, equipment and storage medium
WO2024066648A1 (en) Device control method and apparatus, bluetooth earphone, and storage medium
WO2024012072A1 (en) Intercom method and apparatus for earphones, bluetooth earphones, and storage medium
CN117440280A (en) Earphone intercom method, earphone intercom device, earphone intercom system, electronic equipment and storage medium
CN117692886A (en) Device connection method, device, electronic device and storage medium

Legal Events

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