CN113194372B - Earphone control method and device and related components - Google Patents

Earphone control method and device and related components Download PDF

Info

Publication number
CN113194372B
CN113194372B CN202110459554.8A CN202110459554A CN113194372B CN 113194372 B CN113194372 B CN 113194372B CN 202110459554 A CN202110459554 A CN 202110459554A CN 113194372 B CN113194372 B CN 113194372B
Authority
CN
China
Prior art keywords
earphone
signal
voice signal
controlling
microphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110459554.8A
Other languages
Chinese (zh)
Other versions
CN113194372A (en
Inventor
杨洁
薛俊朋
王奉宝
赵胜刚
刘际滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110459554.8A priority Critical patent/CN113194372B/en
Publication of CN113194372A publication Critical patent/CN113194372A/en
Application granted granted Critical
Publication of CN113194372B publication Critical patent/CN113194372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The application discloses a control method of an earphone, which comprises the following steps: acquiring an external signal through a microphone device of an earphone; judging whether the target voice signal exists in the external signal or not; if yes, controlling a loudspeaker of the earphone to output the target voice signal. The method and the device for the communication of the earphone enable an earphone wearer to timely notice the communication requirement initiated by the external voice, and improve the use experience of the user on the earphone. The application also discloses a control device of the earphone, electronic equipment and a computer readable storage medium, which have the beneficial effects.

Description

Earphone control method and device and related components
Technical Field
The present application relates to the field of headsets, and in particular, to a method and an apparatus for controlling a headset, and related components.
Background
The use scene of earphone diversifies day by day, and in noisy environment such as station, subway, supermarket, the passive of earphone falls and falls to fall and fall to make an uproar actively and can bring good noise elimination for the user and experience. Meanwhile, a user wearing the earphone with a good noise reduction effect hardly notices the communication requirement initiated by the external voice, and inconvenience is caused to the user in a specific occasion.
Therefore, how to provide a solution to the above technical problems is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a control method and device of an earphone, electronic equipment and a computer readable storage medium, which can enable an earphone wearer to timely notice the communication requirement initiated by external voice and improve the use experience of a user on the earphone.
In order to solve the above technical problem, the present application provides a control method for an earphone, including:
acquiring an external signal through a microphone device of an earphone;
judging whether a target voice signal exists in the external signal or not;
and if so, controlling a loudspeaker of the earphone to output the target voice signal.
Preferably, after determining whether the target speech signal exists in the external signal, before the controlling the speaker of the earphone to output the target speech signal, the method for controlling the earphone further includes:
detecting whether preset keywords exist in the target voice signal or not;
correspondingly, the process of controlling the loudspeaker of the earphone to output the target speech signal comprises the following steps:
and when the preset keywords exist in the target voice signal, controlling a loudspeaker of the earphone to output the target voice signal.
Preferably, the control method of the headset further includes:
and when the target voice signal exists in the external signal, adjusting the gain value of the original signal path of the loudspeaker to a preset value or controlling the original signal path to be closed.
Preferably, before controlling the speaker of the headset to output the target speech signal, the method for controlling the headset further includes:
carrying out blind source separation on the target voice signal to obtain a target human voice signal;
the process of controlling the speaker of the headset to output the target speech signal includes:
and controlling a loudspeaker of the earphone to output the target human voice signal.
Preferably, the microphone arrangement comprises a microphone array comprising n microphone paths, n being an integer greater than 1.
Preferably, the control method of the headset further includes:
positioning a sound source of the target voice signal according to phase difference parameters corresponding to all microphone channels in the microphone array;
and when the sound source does not output the target voice signal any more within a preset time period, controlling the loudspeaker to recover the initial working mode.
Preferably, after the external signal is acquired by the microphone device of the headset, the method for controlling the headset further includes:
judging whether a wind noise signal exists in the external signal;
and if so, determining a microphone path with minimum wind noise interference in the microphone array through disturbance analysis, and taking the microphone path as a feedforward noise reduction path.
In order to solve the above technical problem, the present application further provides a control device for an earphone, including:
the acquisition module is used for acquiring an external signal through a microphone device of the earphone;
the judging module is used for judging whether the target voice signal exists in the external signal or not, and if so, the output module is triggered;
and the output module is used for controlling a loudspeaker of the earphone to output the target voice signal.
In order to solve the above technical problem, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the method of controlling a headset as claimed in any one of the above when executing said computer program.
To solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the control method of the headset according to any one of the above.
The application provides a control method of an earphone, wherein an external signal is collected through a microphone device of the earphone, and when a target voice signal exists in the external signal, the target voice signal is output through a loudspeaker of the earphone, so that a user wearing the earphone can timely notice the communication requirement initiated by the external voice, and the use experience of the user on the earphone is improved. The application also provides a control device of the earphone, the electronic equipment and a computer readable storage medium, which have the same beneficial effects as the control method of the earphone.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart illustrating steps of a method for controlling an earphone according to the present application;
fig. 2 is a flowchart illustrating steps of another method for controlling a headset according to the present application;
fig. 3 is a flowchart illustrating steps of another method for controlling a headset according to the present application;
FIG. 4 is a schematic view of a sound source localization provided herein;
fig. 5 is a schematic structural diagram of a control device of an earphone provided in the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The core of the application is to provide a control method and device of an earphone, an electronic device and a computer readable storage medium, which can enable a user wearing the earphone to notice the communication requirement initiated by external voice in time and improve the use experience of the user on the earphone.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for controlling an earphone provided in the present application, where the method for controlling an earphone includes:
s101: acquiring an external signal through a microphone device of an earphone;
it can be understood that, a microphone device for collecting voice signals is generally arranged on the earphone, and the present embodiment obtains external signals through the existing microphone device on the earphone, so as to achieve the purpose of saving hardware cost. The external signal in this embodiment specifically refers to all signals except the audio signal inside the earphone, that is, a mixed signal from the outside of the earphone body including noise and/or voice signals.
Specifically, the external signal can be acquired according to a preset acquisition cycle, so that the communication requirement initiated by the external voice cannot be omitted by a user wearing the earphone in any environment, and certainly, the external signal can be acquired by triggering a microphone device of the earphone in certain specific environments, such as a noisy environment and when the earphone is in a noise reduction mode, so that the data processing amount is reduced. The trigger condition for acquiring the external signal is selected and set according to the actual working condition, and the application is not specifically limited herein.
S102: judging whether the target voice signal exists in the external signal, if so, executing S103;
s103: and controlling a loudspeaker of the earphone to output the target voice signal.
Specifically, the external signal is analyzed after the external signal is obtained, and whether the target voice signal exists in the external signal is judged. Specifically, feature calculation may be performed on the external signal, whether a target speech signal exists in the external signal is determined according to a set of feature data obtained by the feature calculation, and if the set of feature data includes feature data that meets the distribution characteristics of the speech data, it may be determined that the target speech signal exists in the external signal. As a preferred embodiment, the feature calculation may be performed by MFCC (Mel Frequency Cepstral Coefficients ), GFCC (gamma Frequency Cepstral Coefficients, gamma pass Cepstral Coefficients), or the like, so as to improve the accuracy of determining whether the target speech signal exists in the external signal.
Specifically, when a target voice signal exists in the external signal, the path between the microphone device and the loudspeaker of the earphone is communicated, so that the target voice signal is output through the loudspeaker, and no matter whether the earphone is in the noise reduction mode currently, an earphone wearer can timely notice the external communication requirement according to the target voice signal output by the loudspeaker, and if the target voice signal does not exist, the current working mode of the earphone is not controlled and adjusted.
It is thus clear that this embodiment can gather external signal through the microphone device of earphone, when judging that there is the target speech signal in the external signal, the speaker through the earphone exports this target speech signal to make the earphone person of wearing can in time notice the communication demand that external pronunciation originated, improve the user and experience the use of earphone.
Referring to fig. 2, a flow chart of another earphone control method provided by the present application is shown, which includes the following steps:
s201: acquiring an external signal through a microphone device of an earphone;
s202: judging whether the target voice signal exists in the external signal, if so, executing S203;
s203: detecting whether a preset keyword exists in the target voice signal, if so, executing S204;
s204: and controlling a loudspeaker of the earphone to output the target voice signal.
Specifically, the earphone wearer may preset some keywords according to a requirement, where the preset keywords may be words, phrases or sentences corresponding to external needs for communicating with the earphone wearer himself, for example, contents related to the name and the gender of the earphone wearer may be set as the preset keywords, and for example, the name "zhang san" and the gender "man" of the earphone wearer may be set as the preset keywords. When the target voice signal exists in the external signal, as a preferred embodiment, firstly, the target voice signal is subjected to voice enhancement so as to facilitate subsequent keyword identification, and then whether the preset keyword exists in the target voice signal is judged according to the enhanced target voice signal, if not, the target voice signal is not possibly sent to the earphone wearer, and the target voice signal can not be processed, so that the content played by the earphone of the earphone wearer at present can not be influenced, and the user experience is further improved. If the target voice signal has the preset keyword, the speaker of the earphone is controlled to output the target voice signal, so that the earphone wearer can accurately and timely acquire the communication requirement sent to the wearer from the outside.
For example, assuming that the content corresponding to the target voice signal is "three shoes are laced open", after the target voice signal is acquired, detecting the content of the target voice signal, matching the content with a preset keyword, and matching the name of the earphone wearer, so that it can be determined that the target voice signal is a communication requirement sent from the outside to the earphone wearer, and at this time, controlling a speaker to output the target voice signal. Assuming that the content corresponding to the target voice signal is 'lady your and the like', after the target voice signal is acquired, detecting the content of the target voice signal, and matching the content with a preset keyword, wherein the content does not have characters, words or sentences matched with the preset keyword, so that the target voice signal can be judged not to be a communication requirement sent to an earphone wearer from the outside, and the signal is not processed.
Referring to fig. 3, a flow chart of another earphone control method provided by the present application is shown, which includes the following steps:
s301: acquiring an external signal through a microphone device of an earphone;
s302: judging whether the target voice signal exists in the external signal, if so, executing S303 and S304;
s303: when the target voice signal exists in the external signal, the gain value of the original signal path of the loudspeaker is reduced to a preset value or the original signal path is controlled to be closed;
s304: and controlling a loudspeaker of the earphone to output the target voice signal.
S303 and S304 may be executed simultaneously, or S303 and S304 may be executed first, and the execution sequence of S303 and S304 is not limited in the present application.
Specifically, in order to enable the earphone wearer to clearly obtain the communication demand sent to the earphone wearer from the outside, the volume of the audio file currently played by the loudspeaker can be adjusted down to a preset value. Specifically, when it is determined that a target voice signal exists in the external signal and the target voice signal has content corresponding to a preset keyword, the gain value of the original signal path of the speaker is adjusted to a preset value or the original signal path is controlled to be closed, so that the volume of an audio file being played by the speaker is reduced or suspended, and after the communication between the microphone device and the speaker is ensured, the volume of the target voice signal output by the speaker is higher than the volume of the audio file being played by the speaker, therefore, a user wearing the earphone can clearly and accurately acquire a communication demand sent to the user wearing the earphone, and the user experience of the earphone is further improved.
As a preferred embodiment, the target speech signal obtained by the microphone device may be further processed by tracking enhancement, and the target speech signal is speech-compensated, so as to avoid partial incompleteness of speech information caused by signal reception and noise suppression processes at the microphone device, thereby improving the quality and intelligibility of the target speech signal.
On the basis of the above-described embodiment:
as a preferred embodiment, before controlling the speaker of the headphone to output the target voice signal, the method for controlling the headphone further includes:
carrying out blind source separation on the target voice signal to obtain a target human voice signal;
the process of controlling the speaker of the headset to output the target voice signal includes:
and controlling a loudspeaker of the earphone to output the target human voice signal.
Specifically, considering that the obtained target speech signal may include other noises in addition to the human voice, the present embodiment also performs blind source separation on the target speech signal, and extracts a simple human voice from the target speech signal, that is, the target human voice speech signal in the present embodiment. Specifically, in order to obtain a simple target voice signal, the present embodiment performs independent component analysis on the target voice signal, so as to analyze the target voice signal, and may convert such problems into a matrix processing problem, and in consideration of factors such as a target voice separation effect and a separation speed, the present embodiment may specifically use a fixed point algorithm (also called FastlCA) and a fixed point algorithm of a maximized negative entropy to find an optimal unmixed matrix, and estimate an independent target voice signal mixed by unknown factors from a mixed target voice signal, so that an earphone wearer can accurately obtain content of a communication requirement sent from the outside to the earphone wearer, so that the earphone wearer can timely make feedback.
Of course, in addition to the blind source separation by using the above method, other methods may also be used to obtain the target human voice signal from the mixed target voice signal, and the application is not limited in this respect.
As a preferred embodiment, the microphone arrangement comprises a microphone array comprising n microphone paths, n being an integer larger than 1.
Each microphone path comprises a microphone, and considering that a microphone array is originally arranged on some earphones at present, the microphone array in the embodiment is an existing microphone array on the earphones, and for earphones without the microphone array, the microphone array can be added on the outer side of the earphones.
In this embodiment, the external signal is obtained by the microphone array, and it can be understood that each microphone obtains the external signal, so the external signal in S101 is a mixed external signal output by a plurality of microphones.
As a preferred embodiment, the control method of the headset further comprises:
positioning a sound source of a target voice signal according to phase difference parameters corresponding to each microphone channel in the microphone array;
and when the sound source does not output the target voice signal any more within the preset time period, controlling the loudspeaker to recover the initial working mode.
It can be understood that, because the position of each microphone in the microphone array is different, there is a different phase difference parameter between each microphone and the sound source, and the phase difference parameter can be used to implement sound source localization, sound source tracking, blind source separation, etc.
The following describes a process of locating a sound source of a target speech signal according to phase difference parameters corresponding to respective microphone paths in a microphone array:
referring to fig. 4, when the time (or sound pressure level) from the sound source signal to M2 and M3 is less than the time to M1 and M4, the system in the two-dimensional space will automatically locate the sound source in the corresponding quadrant, and after the sound source is located in the corresponding quadrant, according to the pythagorean theorem, the distance from the sound source to M2 and M3 can be obtained, and at this time, the two-dimensional position corresponding to the sound source is obtained. After the sound source moves to the 1 position after the time t, the quadrant and the specific position of the sound source at the 1 position can be obtained in the same way, so that the sound source is positioned and tracked. Furthermore, the directivity of blind source separation can be enhanced according to the direction of the sound source, only the target voice signal in the direction of the sound source is subjected to blind source separation, and the accuracy of extracting the target voice signal from the mixed target voice signal is improved.
Further, if the tracked sound source does not output the target speech signal any more for a duration, the speaker is controlled to return to the initial operation mode, such as the noise reduction mode, specifically the operation mode before S103 is executed.
As a preferred embodiment, after the external signal is acquired by the microphone device of the headset, the control method of the headset further includes:
judging whether a wind noise signal exists in an external signal;
and if so, determining a microphone path with the minimum wind noise interference in the microphone array through disturbance analysis, and taking the microphone path as a feedforward noise reduction path.
Specifically, the external signal is analyzed after being acquired, and whether a wind noise signal exists in the external signal is judged. Specifically, feature calculation can be performed on the external signal, whether a wind noise signal exists in the external signal is judged according to a group of feature data obtained through the feature calculation, and if the group of feature data includes feature data according with the distribution characteristics of the wind noise data, it can be judged that the wind noise signal exists in the external signal. As a preferred embodiment, the feature calculation may be performed by means of MFCC, GFCC, or the like, so as to improve the accuracy of determining whether the target speech signal exists in the external signal.
When a wind noise signal exists, considering that the influence of the wind noise on microphones at different positions is different, judging a microphone path with the minimum wind noise interference in the microphone array through disturbance analysis, wherein it can be understood that the microphone path with the minimum signal energy fluctuation in each microphone array is subjected to the minimum wind noise interference, and determining the microphone path where the microphone is located as a feedforward noise reduction path, so that the influence of the wind noise on a feedforward noise reduction system is reduced, and the working robustness of active noise reduction in different environments is improved.
It can be understood that the feedforward noise reduction path is not constant, and as the position of the wearer of the headphone changes, the wind noise has a new influence on the microphones at different positions, and at this time, the microphone path with the minimum wind noise interference in the microphone array is determined again through the disturbance analysis, and the microphone path is used as a new feedforward noise reduction path.
In the application, the correlation processing of the wind noise signal and the correlation processing of the target speech signal are independently performed and do not interfere with each other.
To sum up, this application acquires the external signal through the microphone array that the earphone outside set up, when there is wind in the external signal and makes an uproar, consider that this noise influences the microphone of different positions differently, the less passageway of signal energy fluctuation will be regarded as feedforward noise reduction microphone passageway, until replaced by the less passageway of another signal energy fluctuation, in noisy environment, carry out the keyword to the target speech signal in the external signal and discern, when the keyword is picked up the back, the earphone opens penetrating mode, give the earphone instruction immediately, make the audio file pause or the volume reduction of earphone present broadcast, after the audio file pause or the volume reduction of earphone present broadcast, through relevant separation, positioning algorithm can realize tracking location sound source, and keep tracking down, thereby guarantee that earphone wearer can in time notice the communication demand that external pronunciation initiated, improve the user and experience the use of earphone.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a control device of an earphone provided in the present application, where the control device of the earphone includes:
an obtaining module 11, configured to obtain an external signal through a microphone device of an earphone;
the judging module 12 is used for judging whether the target voice signal exists in the external signal or not, and if so, the output module 3 is triggered;
and an output module 13, configured to control a speaker of the headset to output the target speech signal.
It is thus clear that this embodiment can gather external signal through the microphone device of earphone, when judging that there is the target speech signal in the external signal, through this target speech signal of speaker output of earphone to make earphone wearer in time notice the communication demand that external pronunciation originated, improve the user and experience the use of earphone.
As a preferred embodiment, the control device of the headset further includes:
the detection module is used for detecting whether preset keywords exist in the target voice signal or not;
correspondingly, the output module 13 is specifically configured to:
and when the target voice signal has the preset keywords, controlling a loudspeaker of the earphone to output the target voice signal.
As a preferred embodiment, the output module 13 is further configured to:
when the target voice signal exists in the external signal, the gain value of the original signal path of the loudspeaker is adjusted downwards to a preset value or the original signal path is controlled to be closed.
As a preferred embodiment, the control device of the headset further comprises:
the processing module is used for carrying out blind source separation on the target voice signal to obtain a target human voice signal;
the output module 13 is specifically configured to:
and controlling a loudspeaker of the earphone to output the target human voice signal.
As a preferred embodiment, the microphone arrangement comprises a microphone array comprising n microphone paths, n being an integer larger than 1.
As a preferred embodiment, the control device of the headset further includes:
the positioning module is used for positioning the sound source of the target voice signal according to the phase difference parameters corresponding to the microphone channels in the microphone array;
and when the sound source does not output the target voice signal any more within the preset time period, controlling the loudspeaker to recover the initial working mode.
As a preferred embodiment, the control device of the headset further includes:
and the wind noise monitoring module is used for judging whether a wind noise signal exists in an external signal, if so, determining a microphone path with minimum wind noise interference in the microphone array through disturbance analysis, and taking the microphone path as a feedforward noise reduction path.
On the other hand, the present application further provides an electronic device, referring to fig. 6, which shows a schematic structural diagram of an electronic device in an embodiment of the present application, and the electronic device 20 in this embodiment may include: a processor 21 and a memory 22.
Optionally, the electronic device may further comprise a communication interface 23, an input unit 24 and a display 25 and a communication bus 26.
The processor 21, the memory 22, the communication interface 23, the input unit 24 and the display 25 all communicate with each other via a communication bus 26.
In the embodiment of the present application, the processor 21 may be a Central Processing Unit (CPU), an asic (application specific integrated circuit), a digital signal processor, an off-the-shelf programmable gate array, or other programmable logic device.
The processor may call a program stored in the memory 22. Specifically, the processor may perform operations performed on the electronic device side in the following embodiments of the information statistics method.
The memory 22 is used for storing one or more programs, the program may include program codes, the program codes include computer operation instructions, and in the embodiment of the present application, the memory stores at least the program for realizing the following functions:
acquiring an external signal through a microphone device of an earphone;
judging whether a target voice signal exists in an external signal or not;
if yes, controlling a loudspeaker of the earphone to output the target voice signal.
It is thus clear that this embodiment can gather external signal through the microphone device of earphone, when judging that there is the target speech signal in the external signal, the speaker through the earphone exports this target speech signal to make the earphone person of wearing can in time notice the communication demand that external pronunciation originated, improve the user and experience the use of earphone.
In one possible implementation, the memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a topic detection function, etc.), and the like; the storage data area may store data created according to the use of the computer.
Further, the memory 22 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The communication interface 23 may be an interface of a communication module, such as an interface of a GSM module.
The present application may also include a display 24 and an input unit 25, etc.
Of course, the structure of the internet of things device shown in fig. 6 does not constitute a limitation on the internet of things device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 6, or some components may be combined.
In another aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, realizes the steps of the control method of a headset as any one of the above.
Please refer to the above embodiments for an introduction of a computer-readable storage medium provided in the present application, which is not described herein again.
The computer-readable storage medium provided by the application has the same beneficial effects as the control method of the earphone.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A method of controlling a headset, comprising:
acquiring an external signal through a microphone device of an earphone, wherein the microphone device comprises a microphone array, the microphone array comprises n microphone paths, and n is an integer greater than 1;
judging whether the external signal has a target voice signal or not;
if yes, controlling a loudspeaker of the earphone to output the target voice signal;
the control method of the earphone further comprises the following steps:
positioning a sound source of the target voice signal according to phase difference parameters corresponding to all microphone channels in the microphone array;
when the sound source does not output the target voice signal any more within a preset time period, controlling the loudspeaker to recover the initial working mode;
the control method of the earphone further comprises the following steps:
carrying out blind source separation on the target voice signal in the sound source direction to obtain a target human voice signal;
the process of controlling the speaker of the headset to output the target speech signal includes:
and controlling a loudspeaker of the earphone to output the target human voice signal.
2. The method of claim 1, wherein after determining whether the target speech signal is present in the ambient signal, before controlling the speaker of the headset to output the target speech signal, the method further comprises:
detecting whether a preset keyword exists in the target voice signal or not;
correspondingly, the process of controlling the loudspeaker of the earphone to output the target speech signal comprises the following steps:
and when the preset keywords exist in the target voice signal, controlling a loudspeaker of the earphone to output the target voice signal.
3. The method for controlling a headphone as recited in claim 1, further comprising:
and when the target voice signal exists in the external signal, adjusting the gain value of the original signal path of the loudspeaker to a preset value or controlling the original signal path to be closed.
4. The method for controlling an earphone according to claim 1, wherein after the external signal is acquired by the microphone device of the earphone, the method further comprises:
judging whether a wind noise signal exists in the external signal;
and if so, determining a microphone path with minimum wind noise interference in the microphone array through disturbance analysis, and taking the microphone path as a feedforward noise reduction path.
5. A control device for a headset, comprising:
the earphone comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an external signal through a microphone device of the earphone, the microphone device comprises a microphone array, the microphone array comprises n microphone paths, and n is an integer greater than 1;
the judging module is used for judging whether the target voice signal exists in the external signal or not, and if so, the output module is triggered;
the output module is used for controlling a loudspeaker of the earphone to output the target voice signal;
the control device of the earphone is also used for:
positioning a sound source of the target voice signal according to phase difference parameters corresponding to each microphone channel in the microphone array;
when the sound source does not output the target voice signal any more within a preset time period, controlling the loudspeaker to recover the initial working mode;
the control device of the earphone is also used for:
carrying out blind source separation on the target voice signal in the sound source direction to obtain a target human voice signal;
the process of controlling the speaker of the headset to output the target speech signal includes:
and controlling a loudspeaker of the earphone to output the target human voice signal.
6. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of controlling a headset of any of claims 1-4 when executing said computer program.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of controlling a headset according to any one of claims 1-4.
CN202110459554.8A 2021-04-27 2021-04-27 Earphone control method and device and related components Active CN113194372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110459554.8A CN113194372B (en) 2021-04-27 2021-04-27 Earphone control method and device and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110459554.8A CN113194372B (en) 2021-04-27 2021-04-27 Earphone control method and device and related components

Publications (2)

Publication Number Publication Date
CN113194372A CN113194372A (en) 2021-07-30
CN113194372B true CN113194372B (en) 2022-11-15

Family

ID=76979421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110459554.8A Active CN113194372B (en) 2021-04-27 2021-04-27 Earphone control method and device and related components

Country Status (1)

Country Link
CN (1) CN113194372B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596670B (en) * 2021-08-30 2022-10-14 歌尔科技有限公司 Earphone, earphone noise reduction mode switching method and device, and storage medium
CN115967883A (en) * 2021-10-12 2023-04-14 Oppo广东移动通信有限公司 Earphone, user equipment and method for processing signal
CN115134708A (en) * 2022-06-30 2022-09-30 歌尔股份有限公司 Earphone mode switching method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101381289B1 (en) * 2012-10-25 2014-04-04 신두식 Wire and wireless earset using in ear-type microphone
CN111435598A (en) * 2019-01-15 2020-07-21 北京地平线机器人技术研发有限公司 Voice signal processing method and device, computer readable medium and electronic equipment
CN112242149A (en) * 2020-12-03 2021-01-19 北京声智科技有限公司 Audio data processing method and device, earphone and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915753B (en) * 2012-10-23 2015-09-30 华为终端有限公司 A kind of method of Based Intelligent Control volume of electronic equipment and implement device
CN105225662A (en) * 2015-08-24 2016-01-06 深圳市冠旭电子有限公司 Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically
CN107333199A (en) * 2017-07-21 2017-11-07 京东方科技集团股份有限公司 Earphone control device, earphone and headset control method
CN107799117A (en) * 2017-10-18 2018-03-13 倬韵科技(深圳)有限公司 Key message is identified to control the method, apparatus of audio output and audio frequency apparatus
CN108391206A (en) * 2018-03-30 2018-08-10 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
US11049509B2 (en) * 2019-03-06 2021-06-29 Plantronics, Inc. Voice signal enhancement for head-worn audio devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101381289B1 (en) * 2012-10-25 2014-04-04 신두식 Wire and wireless earset using in ear-type microphone
CN111435598A (en) * 2019-01-15 2020-07-21 北京地平线机器人技术研发有限公司 Voice signal processing method and device, computer readable medium and electronic equipment
CN112242149A (en) * 2020-12-03 2021-01-19 北京声智科技有限公司 Audio data processing method and device, earphone and computer readable storage medium

Also Published As

Publication number Publication date
CN113194372A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN113194372B (en) Earphone control method and device and related components
CN110785808B (en) Audio device with wake-up word detection
US11450337B2 (en) Multi-person speech separation method and apparatus using a generative adversarial network model
US10522167B1 (en) Multichannel noise cancellation using deep neural network masking
CN110970057B (en) Sound processing method, device and equipment
CN108922553B (en) Direction-of-arrival estimation method and system for sound box equipment
US11693617B2 (en) Method and device for acute sound detection and reproduction
US20190342683A1 (en) Blocked microphone detection
CN111370014A (en) Multi-stream target-speech detection and channel fusion
US20200219530A1 (en) Adaptive spatial vad and time-frequency mask estimation for highly non-stationary noise sources
CN110364156A (en) Voice interactive method, system, terminal and readable storage medium storing program for executing
US11264017B2 (en) Robust speaker localization in presence of strong noise interference systems and methods
CN106302974B (en) information processing method and electronic equipment
CN111491236A (en) Active noise reduction earphone, awakening method and device thereof and readable storage medium
CN113228710B (en) Sound source separation in a hearing device and related methods
US11297429B2 (en) Proximity detection for wireless in-ear listening devices
CN105244037B (en) Audio signal processing method and device
CN113506582A (en) Sound signal identification method, device and system
EP2688067B1 (en) System for training and improvement of noise reduction in hearing assistance devices
EP4084002B1 (en) Information processing method, electronic equipment, storage medium, and computer program product
CN111800700B (en) Method and device for prompting object in environment, earphone equipment and storage medium
CN113766385A (en) Earphone noise reduction method and device
CN113132880A (en) Impact noise suppression method and system based on dual-microphone architecture
CN207518791U (en) Neck wears formula interactive voice earphone
WO2023192327A1 (en) Representation learning using informed masking for speech and other audio applications

Legal Events

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