CN113329302B - Earphone control method, electronic equipment and earphone - Google Patents

Earphone control method, electronic equipment and earphone Download PDF

Info

Publication number
CN113329302B
CN113329302B CN202110744305.3A CN202110744305A CN113329302B CN 113329302 B CN113329302 B CN 113329302B CN 202110744305 A CN202110744305 A CN 202110744305A CN 113329302 B CN113329302 B CN 113329302B
Authority
CN
China
Prior art keywords
earphone
decibel value
preset
microphone
noise signal
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
CN202110744305.3A
Other languages
Chinese (zh)
Other versions
CN113329302A (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 Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110744305.3A priority Critical patent/CN113329302B/en
Publication of CN113329302A publication Critical patent/CN113329302A/en
Application granted granted Critical
Publication of CN113329302B publication Critical patent/CN113329302B/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
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
    • H04R2460/01Hearing devices using active noise cancellation

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)
  • Telephone Function (AREA)

Abstract

The application discloses an earphone control method, the earphone includes a shell and a conversation microphone arranged in the shell, the earphone control method includes: acquiring a feedback signal, wherein the feedback signal is obtained according to a trigger operation acted on the shell; judging whether the feedback signal meets a pause condition; if yes, controlling the conversation microphone to suspend working. According to the method and the device, the call microphone can be controlled to pause according to the triggering operation of the user on the shell of the earphone, so that the call object can not hear the communication content between the user and other people, and the use experience of the user is improved. The application also discloses an electronic device and an earphone, which have the beneficial effects.

Description

Earphone control method, electronic equipment and earphone
Technical Field
The present disclosure relates to the field of earphone control, and in particular, to an earphone control method, an electronic device, and an earphone.
Background
A TWS (True Wireless bluetooth headset) is widely used due to its advantages of stable conversation, good noise reduction performance, and long standby time. In the process of answering a call through the TWS earphone, a call microphone of the TWS earphone cannot be closed, the requirement that a user avoids a call object to communicate with other people cannot be met, and inconvenience is brought to the user.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The present application provides an earphone control method, an electronic device, and an earphone, which can control a call microphone to pause according to a trigger operation of a user on a housing of the earphone, so that a call object cannot hear communication contents between the user and others, thereby improving user experience.
In order to solve the above technical problem, the present application provides an earphone control method, where an earphone includes a housing and a microphone disposed in the housing, the earphone control method includes:
acquiring a feedback signal, wherein the feedback signal is obtained according to a trigger operation acted on the shell;
judging whether the feedback signal meets a pause condition;
and if so, controlling the conversation microphone to suspend working.
Optionally, the earphone further comprises a detection microphone;
the process of acquiring the feedback signal includes:
and acquiring a noise signal of the acquisition area of the detection microphone.
Optionally, the pause condition is that a duration time during which the decibel value of the noise signal is smaller than a first preset decibel value exceeds a first preset time, and the current state of the call microphone is a working state.
Optionally, the process of determining whether the feedback signal satisfies a pause condition includes:
judging whether the times that the decibel value of the noise signal is smaller than a first preset decibel value is preset pause times or not;
if yes, judging that the noise signal meets a pause condition;
if not, the noise signal is judged not to meet the pause condition.
Optionally, the earphone further includes a speaker disposed in the casing and above the detection microphone, and the earphone control method further includes:
and controlling the loudspeaker to output reverse sound waves, and reducing the decibel value of the noise signal of the acquisition area of the detection microphone to a second preset decibel value, wherein the second preset decibel value is greater than the first preset decibel value.
Optionally, the step of determining whether the number of times that the decibel value of the noise signal is smaller than the first preset decibel value is the preset pause number of times includes:
judging whether the duration time that the decibel value of the noise signal is smaller than a first preset decibel value is longer than a second preset time or not, and if so, adding 1 to a counter;
and judging whether the count value of the counter is the preset pause times or not.
Optionally, after controlling the call microphone to suspend working, the earphone control method further includes:
judging whether the feedback signal meets a starting condition or not;
and if so, controlling the communication microphone to work.
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 headset control method as claimed in any one of the above when executing the computer program.
In order to solve the above technical problem, the present application further provides an earphone, which includes a casing, a microphone for conversation, a detecting microphone, and an electronic device as described above.
Optionally, the earphone further comprises:
the loudspeaker is arranged in the shell and positioned above the detecting microphone and used for outputting reverse sound waves so as to reduce the decibel value of the noise signal of the acquisition area of the detecting microphone to a second preset decibel value.
When a user needs to avoid a call object to communicate with other people in a call process, the user performs trigger operation on the shell, a processing device of the earphone can acquire a feedback signal based on the trigger operation and judge whether the feedback signal meets a pause condition, if so, the call microphone is controlled to pause, and therefore the call object cannot hear the communication content between the user and other people, and the use experience of the user is improved. The application also provides the electronic equipment and the earphone, and the electronic equipment and the earphone have the same beneficial effects as the earphone control method.
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 schematic diagram of noise cancellation provided in the present application;
fig. 3 is a schematic structural diagram of an earphone provided in the present application.
Detailed Description
The core of the application is to provide an earphone control method, an electronic device and an earphone, and the earphone can control a call microphone to pause working according to the trigger operation of a user on a shell of the earphone, so that a call object cannot hear the communication content between the user and other people, and the use experience of the user is improved.
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.
In order to facilitate understanding of the headphone control method provided in the present application, a headphone device to which the method is applied will be described below. Generally, the earphone device includes a left earphone and a right earphone, the control logic of the left earphone and the right earphone is consistent, only one earphone is taken as an example for description, and the other earphone is the same. The earphone comprises a shell, wherein a processing device, a call microphone and a communication device are arranged in the shell, the call microphone has a recording function and is used for collecting sound signals of a user and converting the sound signals into electric signals to be transmitted to a receiving end, namely a call object end, so that the call of the user and the call object is completed. Data interaction between the two earphones is realized through a communication device, and the communication device can be specifically a Bluetooth communication device. The earphone control method provided by the application can be specifically realized through the processing device.
The following describes the earphone control method provided in the present application in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for controlling an earphone provided in the present application, the method including:
s101: acquiring a feedback signal, wherein the feedback signal is obtained according to a trigger operation acted on the shell;
in view of the fact that in some call scenarios, a user needs to communicate with a person other than a call target, and the communication content needs to avoid the call target, and at this time, the call function of the earphone needs to be temporarily turned off, the present application provides an earphone control method, so that in the above scenario, the user can turn off or turn on the recording function of the call microphone at any time according to the requirement.
Specifically, when the user needs to control the call microphone, some actions may be performed on the housing, that is, a trigger operation is performed on the housing, and the processing device may obtain a feedback signal based on the trigger operation. It can be understood that different triggering operations correspond to different feedback signals, and the triggering operations include, but are not limited to, tapping operations, blocking a sound collection port of the earphone, and the like. Assuming that the triggering operation is a tapping operation, the feedback signal acquired by the processing device may be a tapping signal obtained based on the tapping operation; assuming that the triggering operation is an operation of blocking a sound collection port of the earphone, the feedback signal acquired by the processing device may be a noise signal at the sound collection port.
Of course, the feedback signal may be a feedback signal obtained based on other trigger operations, besides the trigger operation described above, and the present embodiment is not limited in particular herein.
S102: judging whether the feedback signal meets a pause condition, if so, executing S103;
specifically, considering that a user may also form a trigger operation by touching the earphone by mistake, the false trigger operation is actually different from the trigger operation executed by the user who wants to realize a certain control intention, and the false trigger operation generally has a short time and a small force. Based on this, in order to avoid the misoperation of the earphone, in this embodiment, corresponding conditions, such as a pause condition, a start condition, and the like, are further set for the feedback signal, and when the feedback signal satisfies the corresponding conditions, it can be determined that the feedback signal is not a signal generated by the false triggering of the user, and then control is performed according to the feedback signal, so as to improve the accuracy and reliability of control.
It can be understood that different types of feedback signals correspond to different control conditions, for example, if the frequency of the knocking signal reaches a preset frequency, it is determined that the knocking signal meets a certain condition, and if the decibel value of the noise signal reaches a preset decibel value, it is determined that the decibel value meets a certain condition, and the like, the setting is performed according to actual engineering needs, and the setting is not specifically limited by the present application.
S103: and controlling the call microphone to suspend working.
Specifically, when the acquired feedback signal meets a preset pause condition, the call microphone is controlled to pause, and the call microphone is controlled to pause, that is, the recording function of the call microphone is turned off. It can be understood that after the recording function of the call microphone is turned off, the sound signals of the user are not collected and converted any more, so that the communication contents between the user and other people cannot be heard by the call party. Specifically, the present embodiment may specifically control the call microphone to suspend operation by cutting off the power supply path of the call microphone.
Therefore, in this embodiment, when the user needs to avoid the communication between the communication object and other people during the communication, the user performs the triggering operation on the housing, and the processing device of the earphone can acquire the feedback signal based on the triggering operation, and determine whether the feedback signal meets the pause condition, and if so, control the communication microphone to pause, so that the communication content between the user and other people cannot be heard by the communication object, and the use experience of the user is improved.
On the basis of the above-described embodiment:
as an alternative embodiment, the headset further comprises a detection microphone;
the process of acquiring the feedback signal comprises:
and acquiring a noise signal of an acquisition area of the detection microphone.
Specifically, a detecting microphone is further arranged in the shell of the earphone and used for collecting noise signals in the collection area of the detecting microphone, and generally, the detecting microphone and the communication microphone are both arranged at a sound collection opening of the shell of the earphone. When the earphone is powered on, the detection microphone is always in a working state, noise signals at the bottom of the earphone are collected according to a preset collection period, the noise signals are converted into electric signals, and the electric signals are transmitted to the processing device after analog-to-digital conversion.
It can be understood that when the user blocks the sound collecting port at the lower end of the casing by hand or other objects, the environmental noise at the bottom of the earphone will be weakened, and the noise signal collected by the detecting microphone at this time is obviously different from the noise signal collected by the sound collecting port when the sound collecting port is not blocked. If the sound collection port is blocked, the decibel value of the noise signal collected by the detection microphone is a, and if the sound collection port is not blocked, the decibel value of the noise signal collected by the detection microphone is b, wherein a is obviously smaller than b, so that the intention of the user is judged by taking the noise signal collected by the detection microphone in the collection area as a feedback signal, and the judgment is more accurate.
As an alternative embodiment, the pause condition is that the duration of the time period in which the decibel value of the noise signal is less than the first preset decibel value exceeds a first preset time, and the current state of the call microphone is the working state.
Specifically, the detecting microphone collects a noise signal according to a preset collection period and transmits the noise signal to the processing device, if the decibel value of the obtained noise signal is larger than or equal to a first preset decibel value, it is indicated that a user does not currently control the earphone, and when the decibel value of the obtained noise signal is smaller than the first preset decibel value, it is indicated that the noise signal is a feedback signal obtained based on the trigger operation of the user, and at the moment, the communication microphone is correspondingly controlled according to the condition met by the noise signal.
Specifically, considering that the triggering operation includes a false triggering operation of the user and a triggering operation that the user really has a control intention, in order to avoid the false determination, the present embodiment further obtains a duration time that the decibel value of the noise signal is smaller than the first preset decibel value, and if the duration time exceeds the first preset time, it can be determined that the noise signal is not generated by the false triggering of the user. The above judgment is actually to judge the validity of the feedback signal, and the current state of the call microphone should be considered to determine the actual control intention of the user. The current state of the call microphone comprises a working state and a work pause state, wherein the working state is a call microphone recording function opening state, a user and a call object normally communicate at the moment, the work pause state is a call microphone recording function closing state, and a communication path between the user and the call object is cut off at the moment.
It can be understood that when the call microphone is in a working state, a noise signal which is based on the trigger operation of the user and is effective is acquired, the actual control intention of the user is to close the call microphone, at this time, the noise signal is judged to meet a pause condition, the call microphone is controlled to pause, otherwise, the noise signal is judged not to meet the pause condition, and whether the noise signal meets other control conditions is judged.
For example, assuming that the call microphone is currently in a working state, the duration of the processing device that the decibel value of the currently acquired noise signal is smaller than the set value a exceeds 2s, it is determined that the noise signal becomes smaller due to the user blocking the sound collection port of the casing of the earphone, and since the microphone is currently in the working state, the actual control intention of the user is to close the call microphone, and at this time, the processing device controls the call microphone to close.
As an alternative embodiment, the process of determining whether the feedback signal satisfies the pause condition includes:
judging whether the times that the decibel value of the noise signal is smaller than a first preset decibel value is preset pause times or not;
if yes, judging that the noise signal meets a pause condition;
if not, the noise signal is judged not to meet the pause condition.
As an optional embodiment, the process of determining whether the number of times that the decibel value of the noise signal is smaller than the first preset decibel value is the preset pause number includes:
judging whether the duration time that the decibel value of the noise signal is smaller than the first preset decibel value is longer than second preset time or not, and if yes, adding 1 to a counter;
and judging whether the count value of the counter is a preset pause time.
Specifically, the number mentioned in this embodiment is an accumulated number, and the number of times that the decibel value of the noise signal is smaller than the first preset decibel value may be accumulated by the counter. Specifically, the counter is incremented by 1 when the decibel value of the noise signal is judged to be smaller than the first preset decibel value every time, when the count value of the counter is equal to the preset pause frequency, the noise signal is judged to meet the pause condition, and otherwise, the noise signal is considered not to meet the pause condition.
Furthermore, in order to avoid misoperation, the duration time that the decibel value of the noise signal is smaller than the first preset decibel value is judged, when the duration time is larger than the second preset time, the counter is increased by 1, and the count value is compared with the preset pause times, so that the method is more accurate.
For example, assuming that the call microphone is in the working state by default, the preset pause time may be 1 time, that is, when the number of times that the decibel value of the noise signal accumulated by the counter is smaller than the first preset decibel value is 1 time, it is determined that the pause condition is satisfied, and the call microphone is controlled to pause.
As an optional embodiment, the earphone further includes a speaker disposed in the casing and above the detection microphone, and the earphone control method further includes:
and controlling the loudspeaker to output reverse sound waves, and reducing the decibel value of the noise signal of the acquisition area of the detection microphone to a second preset decibel value, wherein the second preset decibel value is greater than the first preset decibel value.
In consideration of some noisy environments, a user blocks a sound acquisition port of the earphone by hands or other objects, and the decibel value of a noise signal of an acquisition area of the detection microphone cannot be reduced to a first preset decibel value, and at this moment, the processing device cannot accurately control the call microphone. Therefore, in this embodiment, a speaker is further disposed above the detecting microphone, and the speaker is controlled to output a reverse sound wave corresponding to the noise signal, so as to cancel part of the noise signal in the collecting area of the detecting microphone. Referring to fig. 2, fig. 2 illustrates a noise cancellation principle, in which a noise signal and a reverse sound wave are superimposed in air, thereby performing a cancellation function.
In order to avoid the situation that the user does not trigger the earphone, and the cancellation function of the loudspeaker reduces the decibel value of the noise signal to be lower than the first preset decibel value to cause false triggering, the related parameters of the loudspeaker can be preset to ensure that the reverse sound wave output by the loudspeaker reduces the decibel value of the noise signal in the acquisition area of the detection microphone to be a second preset decibel value, wherein the second preset decibel value is larger than the first preset decibel value. Of course, it may also be determined that the loudspeaker may reduce the decibel of the noise signal in the acquisition area where the noise signal is detected to at least a decibel value according to the maximum output capability of the loudspeaker, and then a first preset decibel value is determined according to the decibel value. Both avoided the spurious triggering, simultaneously in noisy environment, owing to will listen the regional decibel value of the noise signal of the collection of microphone to reduce to the second in advance and predetermine the decibel value to when making the user plug up the sound collection mouth of earphone, the decibel value of the noise signal of listening the microphone and gathering reaches first preset decibel value more easily, triggers the operation of earphone internal control ware.
For example, if the inverse sound wave output by the loudspeaker can reduce the decibel value of the acquisition area of the detection microphone to 5dB according to the maximum output capability of the loudspeaker, that is, the second preset decibel value is 5dB, correspondingly, the first preset decibel value can be set to 3dB, so that false triggering caused by the fact that the inverse sound wave directly reduces the decibel value of the noise signal below the first preset decibel value is avoided, and the reliability of control is improved.
As an optional embodiment, after controlling the call microphone to suspend operation, the method for controlling an earphone further includes:
judging whether the feedback signal meets a starting condition or not;
if yes, controlling the conversation microphone to work.
As an alternative embodiment, the start condition is that the duration of the noise signal with the decibel value smaller than the first preset decibel value exceeds the first preset time, and the current state of the call microphone is the pause state.
It can be understood that when the call microphone is in the suspended working state, if an effective noise signal based on the trigger operation of the user is obtained, it indicates that the current actual control intention of the user is to control the call microphone to continue working, at this time, it is determined that the noise signal satisfies the starting condition, the call microphone is controlled to restart working, otherwise, it is determined that the noise signal does not satisfy the starting condition, and it is determined whether the noise signal satisfies other control conditions.
For example, assuming that the call microphone is currently in a suspended working state, the duration of the processing device that the decibel value of the currently acquired noise signal is smaller than the set value a exceeds 2s, it is determined that the noise signal becomes smaller due to the user blocking the sound collection port of the casing of the earphone, and since the microphone is currently in the suspended working state, the user actually controls the call microphone to be opened, and at this time, the processing device controls the call microphone to work.
As an alternative embodiment, the process of determining whether the feedback signal satisfies the start-up condition includes:
judging whether the times that the decibel value of the noise signal is smaller than a first preset decibel value is preset starting times or not;
if so, judging that the noise signal meets the starting condition;
if not, the noise signal is judged not to meet the starting condition.
As an optional embodiment, the process of determining whether the number of times that the decibel value of the noise signal is smaller than the first preset decibel value is the preset starting number of times includes:
judging whether the duration time that the decibel value of the noise signal is smaller than the first preset decibel value is longer than second preset time or not, and if yes, adding 1 to a counter;
and judging whether the count value of the counter is a preset starting frequency or not.
The number mentioned in this embodiment is an accumulated number, and the number of times that the decibel value of the noise signal is smaller than the first preset decibel value may be accumulated by a counter. Specifically, the counter is incremented by 1 when the decibel value of the noise signal is judged to be smaller than the first preset decibel value every time, when the count value of the counter is equal to the preset starting frequency, the noise signal is judged to meet the starting condition, and otherwise, the noise signal is considered not to meet the starting condition.
Furthermore, in order to avoid misoperation, the duration time that the decibel value of the noise signal is smaller than the first preset decibel value is judged, when the duration time is larger than the second preset time, the counter is increased by 1, and comparison is carried out through the counting value and the preset starting times, so that the method is more accurate.
For example, assuming that the call microphone is in the working state by default, the preset number of times of suspension may be 2 times, that is, when the counter value is 2, it is determined that the start condition is satisfied, and at this time, the call microphone is controlled to start working again.
As described above, the earphone device includes a left earphone and a right earphone, the two earphones perform data interaction through the communication device, and when one earphone detects a feedback signal that satisfies a start condition or a pause condition, the earphone controls its own microphone accordingly, and transmits control information to the processing device of the other earphone, so that the control processing device of the other earphone controls its own microphone in the same manner.
In another aspect, the present application further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the headset control method as described in any one of the above embodiments when executing the computer program.
Specifically, the memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor provides the headset with computing and control capabilities and, when executing the computer program stored in the memory, may perform the following steps: acquiring a feedback signal, wherein the feedback signal is obtained according to a trigger operation acted on the shell; and judging whether the feedback signal meets a pause condition, if so, controlling the conversation microphone to pause.
Therefore, in this embodiment, when the user needs to avoid the communication between the communication object and other people during the communication, the user performs the triggering operation on the housing, and the controller of the earphone can acquire the feedback signal based on the triggering operation, and determine whether the feedback signal meets the pause condition, and if so, control the communication microphone to pause, so that the communication content between the user and other people cannot be heard by the communication object, and the use experience of the user is improved.
As an alternative embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be implemented: and acquiring a noise signal of a detection microphone acquisition area of the earphone.
As an alternative embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be implemented: and when the duration time that the decibel value of the noise signal is less than the first preset decibel value exceeds the first preset time and the current state of the call microphone is the working state, judging that the noise signal meets the pause condition.
As an alternative embodiment, the processor, when executing the computer subroutine stored in the memory, may perform the following steps: judging whether the times that the decibel value of the noise signal is smaller than a first preset decibel value is preset pause times or not; if yes, judging that the noise signal meets a pause condition; if not, the noise signal is judged not to meet the pause condition.
As an alternative embodiment, the processor, when executing the computer subroutine stored in the memory, may perform the following steps: and controlling the loudspeaker to output reverse sound waves, and reducing the decibel value of the noise signal of the acquisition area of the detection microphone to a second preset decibel value, wherein the second preset decibel value is greater than the first preset decibel value.
As an alternative embodiment, the processor, when executing the computer subroutine stored in the memory, may perform the following steps: judging whether the duration time that the decibel value of the noise signal is smaller than the first preset decibel value is longer than second preset time or not, and if yes, adding 1 to a counter; and judging whether the count value of the counter is a preset pause time.
As an alternative embodiment, the processor, when executing the computer subroutine stored in the memory, may perform the following steps: judging whether the feedback signal meets a starting condition or not; if yes, controlling the conversation microphone to work.
On the other hand, referring to fig. 3, fig. 3 is a schematic structural diagram of an earphone provided in the present application, where the earphone includes a housing 1, a call microphone 2, a detection microphone 3 and an electronic device 4 according to the above embodiment.
As an alternative embodiment, the headset further comprises:
and the loudspeaker 5 is arranged in the shell 1 and positioned above the detection microphone 3 and used for outputting reverse sound waves so as to reduce the decibel value of the noise signal of the acquisition area of the detection microphone 3 to a second preset decibel value.
Please refer to the above embodiments for the introduction of the earphone provided in the present application, which is not described herein again.
The earphone provided by the application has the same beneficial effect as the earphone control method.
It is further noted that, in the present 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 phrase "comprising a … …" does not exclude the presence of another identical element 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. An earphone control method, wherein the earphone comprises a shell and a call microphone arranged in the shell, and the earphone control method comprises the following steps:
acquiring a feedback signal, wherein the feedback signal is obtained according to a trigger operation acted on the shell;
judging whether the feedback signal meets a pause condition;
if yes, controlling the conversation microphone to suspend working;
the earphone also comprises a detection microphone;
the process of acquiring the feedback signal comprises:
acquiring a noise signal of an acquisition area of the detection microphone;
correspondingly, the pause condition includes that the decibel value of the noise signal is smaller than a first preset decibel value;
the earphone further comprises a loudspeaker arranged in the shell and positioned above the detection microphone, and the earphone control method further comprises the following steps:
and controlling the loudspeaker to output reverse sound waves, and reducing the decibel value of the noise signal of the acquisition area of the detection microphone to a second preset decibel value, wherein the second preset decibel value is greater than the first preset decibel value.
2. The headphone control method according to claim 1, wherein the suspension condition is that a duration of time during which the decibel value of the noise signal is less than a first preset decibel value exceeds a first preset time, and a current state of the call microphone is an operating state.
3. The headphone control method according to claim 1, wherein the determining whether the feedback signal satisfies a pause condition includes:
judging whether the times that the decibel value of the noise signal is smaller than a first preset decibel value is preset pause times or not;
if yes, judging that the noise signal meets a pause condition;
if not, the noise signal is judged not to meet the pause condition.
4. The headphone control method according to claim 3, wherein the determining whether the number of times that the decibel value of the noise signal is smaller than the first preset decibel value is a preset pause number of times comprises:
judging whether the duration time that the decibel value of the noise signal is smaller than a first preset decibel value is longer than a second preset time or not, and if so, adding 1 to a counter;
and judging whether the count value of the counter is the preset pause times or not.
5. The earphone control method according to any one of claims 1 to 4, wherein after the controlling the call microphone to suspend operation, the earphone control method further comprises:
judging whether the feedback signal meets a starting condition or not;
and if so, controlling the communication microphone to work.
6. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the headset control method according to any of claims 1-5 when executing the computer program.
7. An earphone, comprising a housing, a talking microphone, a detecting microphone and the electronic device as claimed in claim 6.
CN202110744305.3A 2021-06-30 2021-06-30 Earphone control method, electronic equipment and earphone Active CN113329302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110744305.3A CN113329302B (en) 2021-06-30 2021-06-30 Earphone control method, electronic equipment and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110744305.3A CN113329302B (en) 2021-06-30 2021-06-30 Earphone control method, electronic equipment and earphone

Publications (2)

Publication Number Publication Date
CN113329302A CN113329302A (en) 2021-08-31
CN113329302B true CN113329302B (en) 2023-01-24

Family

ID=77425373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110744305.3A Active CN113329302B (en) 2021-06-30 2021-06-30 Earphone control method, electronic equipment and earphone

Country Status (1)

Country Link
CN (1) CN113329302B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100478A (en) * 2015-07-29 2015-11-25 努比亚技术有限公司 Apparatus and method for controlling audio output of mobile terminal
CN111131606A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 State control method and electronic equipment
CN112420031A (en) * 2019-08-23 2021-02-26 华为技术有限公司 Equipment control method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142808A (en) * 2013-11-29 2014-11-12 腾讯科技(深圳)有限公司 Switching method and device for reception state of microphone
CN107094274B (en) * 2017-06-28 2019-08-20 歌尔科技有限公司 A kind of wireless headset operating method, device and wireless headset
CN111447540B (en) * 2018-07-26 2021-08-10 Oppo广东移动通信有限公司 Microphone hole blockage detection method and related product
CN110415506A (en) * 2019-07-31 2019-11-05 歌尔科技有限公司 A kind of wireless headset and its control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100478A (en) * 2015-07-29 2015-11-25 努比亚技术有限公司 Apparatus and method for controlling audio output of mobile terminal
CN112420031A (en) * 2019-08-23 2021-02-26 华为技术有限公司 Equipment control method and device
CN111131606A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 State control method and electronic equipment

Also Published As

Publication number Publication date
CN113329302A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN110493678B (en) Earphone control method and device, earphone and storage medium
EP3459266B1 (en) Detection for on the head and off the head position of a personal acoustic device
WO2021016899A1 (en) Wireless earphone control method and apparatus, wireless earphone, and storage medium
US8634565B2 (en) Audio signal processing apparatus, audio signal processing method, and program
JP5396685B2 (en) Audio output device, audio output method, audio output system, and audio output processing program
CN105657125B (en) A kind of method and apparatus for adjusting In Call
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN105794186A (en) Method, device and electronic device for controlling application program
WO2020019820A1 (en) Microphone hole blockage detection method and related product
CN103202006B (en) The control method of electronic equipment and electronic equipment
CN110430500B (en) Noise reduction method of earphone and earphone
WO2022233308A9 (en) Wearing detection method, wearable device and storage medium
EP3627854A1 (en) Method for operating a hearing system and hearing system comprising two hearing devices
US11297429B2 (en) Proximity detection for wireless in-ear listening devices
EP3157270B1 (en) Hearing device with vibration sensitive transducer
CN107864415A (en) Audio amplifier and audio frequency apparatus share the control method and device of microphone
CN113329302B (en) Earphone control method, electronic equipment and earphone
GB2457986A (en) Acoustic echo cancellation
CN109168098B (en) System for automatically controlling to suspend and open Bluetooth headset when mobile phone is away from ear and control method thereof
US11010126B1 (en) Headset, control module and method for automatic adjustment of volume of headset, and storage medium
KR102466293B1 (en) Transmit control for audio devices using auxiliary signals
WO2020019822A1 (en) Microphone hole blockage detecting method and related product
CN113261305A (en) Earphone, acoustic signal processing method, and program
CN111818215B (en) Recording method and system based on Bluetooth wireless answering device
CN110972010A (en) Earphone control method, earphone and storage medium

Legal Events

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