CN111294691B - Earphone, noise reduction method thereof and computer readable storage medium - Google Patents

Earphone, noise reduction method thereof and computer readable storage medium Download PDF

Info

Publication number
CN111294691B
CN111294691B CN202010248952.0A CN202010248952A CN111294691B CN 111294691 B CN111294691 B CN 111294691B CN 202010248952 A CN202010248952 A CN 202010248952A CN 111294691 B CN111294691 B CN 111294691B
Authority
CN
China
Prior art keywords
earphone
noise reduction
noise
ear
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
CN202010248952.0A
Other languages
Chinese (zh)
Other versions
CN111294691A (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 CN202010248952.0A priority Critical patent/CN111294691B/en
Publication of CN111294691A publication Critical patent/CN111294691A/en
Application granted granted Critical
Publication of CN111294691B publication Critical patent/CN111294691B/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/1083Reduction of ambient noise
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1785Methods, e.g. algorithms; Devices
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1787General system configurations
    • G10K11/17873General system configurations using a reference signal without an error signal, e.g. pure feedforward
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1787General system configurations
    • G10K11/17875General system configurations using an error signal without a reference signal, e.g. pure feedback
    • 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/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/002Damping circuit arrangements for transducers, e.g. motional feedback circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
    • 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)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention discloses a noise reduction method of an earphone, which comprises the following steps: detecting that the earphone is in a motion state, and acquiring an acceleration parameter of the earphone; and when the acceleration parameter exceeds a preset acceleration range, controlling the earphone to perform noise reduction treatment by adopting a feedforward noise reduction mode, wherein the feedforward noise reduction mode is used for reducing noise of an extra-aural noise signal. The invention also discloses an earphone and a computer readable storage medium, which judge whether the earphone rubs with the ear canal of the user to generate noise according to the acceleration parameter of the earphone when the user moves, and control the earphone to perform feedforward noise reduction when the noise is generated, instead of noise reduction according to the noise collected by the feedback noise reduction microphone, so as to avoid generating more rough noise and poorer auditory experience.

Description

Earphone, noise reduction method thereof and computer readable storage medium
Technical Field
The present invention relates to the field of audio noise reduction technologies, and in particular, to an earphone, a noise reduction method thereof, and a computer-readable storage medium.
Background
Many earphones have noise reduction capabilities to reduce the interference of outside noise to the user. One side of the noise reduction earphone close to the user ear is generally provided with a Feedback (Feedback) noise reduction microphone for collecting noise entering the user ear, and the purpose of noise reduction is realized by performing anti-phase processing on the collected noise and offsetting original noise through the noise after anti-phase processing.
When a user wears the noise reduction earphone to take a vehicle, if the vehicle jolts up and down, the head of the user swings up and down along with the noise reduction earphone, the ear plugs of the earphone rub the ear canals of the user, and friction sound is generated in the ear canals of the user. Because the feedback noise reduction microphone is arranged on one side close to the ear cavity of the user, the frictional sound can be collected by the feedback noise reduction microphone, and is easily mistakenly considered as residual noise generated after the original noise is offset in the noise reduction process, and the residual noise is further offset to generate coarser noise.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an earphone, a noise reduction method thereof and a computer readable storage medium, aiming at avoiding generating more rough noise by adopting feedforward noise reduction when the earphone moves and acceleration parameters are larger.
In order to achieve the above object, the present invention provides a noise reduction method for a headphone, comprising the steps of:
detecting that the earphone is in a motion state, and acquiring an acceleration parameter of the earphone;
and when the acceleration parameter exceeds a preset acceleration range, controlling the earphone to perform noise reduction treatment by adopting a feedforward noise reduction mode, wherein the feedforward noise reduction mode is used for reducing noise of an extra-aural noise signal.
Optionally, before the step of detecting that the headset is in a moving state, the method further includes:
when receiving motion prompt information sent by electronic equipment connected with the earphone, judging that the earphone is in a motion state, wherein the electronic equipment acquires position information of the electronic equipment and acquires the moving speed of the electronic equipment according to the position information, and when the moving speed is greater than a preset speed, sending the motion prompt information to the earphone.
Optionally, before the step of detecting that the headset is in a moving state, the method further includes:
acquiring position information of the earphone;
acquiring the moving speed of the earphone according to the position information;
and when the moving speed is greater than the preset speed, judging that the earphone is in a motion state.
Optionally, the step of controlling the headphone to perform noise reduction processing in a feedforward noise reduction mode includes:
acquiring an extra-aural noise signal acquired by a feedforward noise reduction microphone of the earphone;
generating an inverse signal of the out-of-ear noise signal;
outputting the inverse phase signal through a speaker of the earphone.
Optionally, after the step of controlling the headphone to perform noise reduction processing in a feedforward noise reduction mode, the method further includes:
acquiring an acceleration parameter of the earphone;
and controlling the earphone to be switched to a mixed noise reduction mode for noise reduction treatment when the acceleration parameter does not exceed the preset acceleration range within a preset time length.
Optionally, the step of controlling the headset to switch to the hybrid noise reduction mode comprises:
acquiring an ear noise signal acquired by a feedforward noise reduction microphone of the earphone, wherein the feedforward noise reduction microphone is arranged on one side of the earphone facing the outside of the ear of a user;
generating a first inverse signal of the out-of-ear noise signal and outputting the first inverse signal through the earphone;
acquiring an in-ear noise signal acquired by a feedback noise reduction microphone of the earphone, wherein the feedback noise reduction microphone is arranged on one side of the earphone facing the ear of a user;
generating a second inverse signal of the in-ear noise signal;
outputting the second inverted signal through a speaker of the earphone.
Optionally, before the step of detecting that the headset is in a motion state, the noise reduction method for the headset further includes:
when detecting that the earphone is in a hybrid noise reduction mode or a feedback noise reduction mode, executing the step of detecting that the earphone is in a motion state, wherein the feedback noise reduction mode is to perform noise reduction processing on an in-ear noise signal, and the hybrid noise reduction mode is to perform noise reduction processing on the out-of-ear noise signal and the in-ear noise signal.
In addition, to achieve the above object, the present invention also provides a headset including: a memory, a processor and a noise reduction program for headphones stored on the memory and executable on the processor, the noise reduction program for headphones, when executed by the processor, implementing the steps of the noise reduction method for headphones as described in any one of the above.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a noise reduction program for a headphone, which when executed by a processor, implements the steps of the noise reduction method for a headphone according to any one of the above.
According to the earphone, the noise reduction method and the computer readable storage medium provided by the embodiment of the invention, when the earphone is detected to be in a motion state, the acceleration parameter of the earphone is obtained, and when the acceleration parameter exceeds a preset acceleration range, the earphone is controlled to carry out noise reduction processing in a feedforward noise reduction mode, wherein the feedforward noise reduction mode is used for carrying out noise reduction on an out-of-ear noise signal. According to the invention, whether the earphone rubs with the ear canal of the user to generate noise is judged according to the acceleration parameter of the earphone when the user moves, and the earphone is controlled to perform feedforward noise reduction when the noise is generated, rather than noise reduction according to the noise collected by the feedback noise reduction microphone, so that the generation of coarser noise and poorer auditory experience are avoided.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a noise reduction method for a headphone according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a noise reduction method for a headphone according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a noise reduction method for a headphone according to another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a solution, which judges whether the earphone rubs with the ear canal of a user to generate noise according to the acceleration parameter of the earphone when the user moves, and controls the earphone to perform feedforward noise reduction when the noise is generated, rather than noise reduction according to noise collected by a feedback noise reduction microphone, so as to avoid generating more rough noise and poorer auditory experience.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The earphone of the terminal of the embodiment of the invention can be a wireless earphone or a wired earphone.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a user interface 1003, a memory 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise input elements such as buttons, and the optional user interface 1003 may also comprise a standard wired, wireless interface. The memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1004 may alternatively be a storage device separate from the processor 1001. The terminal may also include sensors, audio circuits, and the like. Among others, sensors such as motion sensors and other sensors. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1004, which is a kind of computer storage medium, may include therein a user interface module and a noise reduction program of a headset.
In the terminal shown in fig. 1, the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the noise reduction program of the headset stored in the memory 1004 and perform the following operations:
detecting that the earphone is in a motion state, and acquiring an acceleration parameter of the earphone;
and when the acceleration parameter exceeds a preset acceleration range, controlling the earphone to perform noise reduction treatment by adopting a feedforward noise reduction mode, wherein the feedforward noise reduction mode is used for reducing noise of an extra-aural noise signal.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
when receiving motion prompt information sent by electronic equipment connected with the earphone, judging that the earphone is in a motion state, wherein the electronic equipment acquires position information of the electronic equipment and acquires the moving speed of the electronic equipment according to the position information, and when the moving speed is greater than a preset speed, sending the motion prompt information to the earphone.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
acquiring position information of the earphone;
acquiring the moving speed of the earphone according to the position information;
and when the moving speed is greater than the preset speed, judging that the earphone is in a motion state.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
acquiring an extra-aural noise signal acquired by a feedforward noise reduction microphone of the earphone;
generating an inverse signal of the out-of-ear noise signal;
outputting the inverse phase signal through a speaker of the earphone.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
acquiring an acceleration parameter of the earphone;
and controlling the earphone to be switched to a mixed noise reduction mode for noise reduction treatment when the acceleration parameter does not exceed the preset acceleration range within a preset time length.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
acquiring an ear noise signal acquired by a feedforward noise reduction microphone of the earphone, wherein the feedforward noise reduction microphone is arranged on one side of the earphone facing the outside of the ear of a user;
generating a first inverse signal of the out-of-ear noise signal and outputting the first inverse signal through the earphone;
acquiring an in-ear noise signal acquired by a feedback noise reduction microphone of the earphone, wherein the feedback noise reduction microphone is arranged on one side of the earphone facing the ear of a user;
generating a second inverse signal of the in-ear noise signal;
outputting the second inverted signal through a speaker of the earphone.
Further, the processor 1001 may call the noise reduction program of the headset stored in the memory 1004, and further perform the following operations:
when detecting that the earphone is in a hybrid noise reduction mode or a feedback noise reduction mode, executing the step of detecting that the earphone is in a motion state, wherein the feedback noise reduction mode is to perform noise reduction processing on an in-ear noise signal, and the hybrid noise reduction mode is to perform noise reduction processing on the out-of-ear noise signal and the in-ear noise signal.
Referring to fig. 2, in an embodiment, the noise reduction method of the earphone includes the following steps:
step S10, detecting that the earphone is in a motion state, and acquiring an acceleration parameter of the earphone;
in this embodiment, when the motion state of the earphone is detected, it indicates that the user may be wearing the earphone and riding a vehicle, and at this time, the acceleration parameter of the earphone may be obtained, so as to determine whether the earphone ear plug rubs against the ear canal of the user and generates a friction sound according to the acceleration parameter.
Optionally, the state of the headset comprises a moving state and a non-moving state. Specifically, the state of the headset may be determined according to the current moving speed of the headset, and when the current moving speed of the headset is greater than a preset threshold, it indicates that the user is moving at a high speed in a vehicle, and thus it is determined that the headset is in a motion state. When the current moving speed of the headset is less than or equal to the preset threshold, it indicates that the user is not moving at a high speed or riding in a vehicle, and thus, it may be determined that the headset is in a non-moving state. When the current moving speed of the earphone is obtained, the position information of the earphone is obtained through a positioning device preset in the earphone, and the current moving speed of the earphone is calculated according to the change of the position information along with time, or the current moving speed of the earphone is calculated according to the change of the position information of an electronic device connected with the earphone.
Optionally, the acceleration parameter includes an acceleration value and/or an acceleration variation, and the acceleration parameter may be collected by an acceleration sensor disposed in the headset. The acceleration sensor is a multi-axis acceleration sensor or a single-axis acceleration sensor, for example, the acceleration sensor may be a three-axis acceleration sensor, and the corresponding acceleration parameters may include three-axis acceleration parameters, so as to determine whether the ear plug of the earphone generates friction with the ear canal of the user in each direction according to the three-axis acceleration parameters, for example, when any one of the three-axis acceleration parameters is large and exceeds a preset acceleration range, it indicates that the earphone is performing accelerated motion, an object providing acceleration power for the earphone is generally the ear canal of the user, the ear canal of the user pushes the earphone to perform accelerated motion by friction force between the ear canal and the earphone, and in this process, the earphone may generate relative motion with the ear canal of the user and generate friction.
And step S20, when the acceleration parameter exceeds a preset acceleration range, controlling the earphone to perform noise reduction processing by adopting a feedforward noise reduction mode, wherein the feedforward noise reduction mode is used for reducing noise of an extra-aural noise signal.
In this embodiment, after the acceleration parameter of the earphone is obtained, if the acceleration parameter exceeds the preset acceleration range, it indicates that the earphone is in a three-dimensional motion state, and the earphone ear plug rubs against the ear canal of the user and generates a friction sound under the action of inertia. For example, when a user takes a vehicle, if the vehicle jolts up and down along a road with an uneven road surface, the head of the user in the vehicle also shakes up and down along with the vehicle, so that the acceleration value of the earphone in the vertical direction is increased, and if the acceleration value in the vertical direction exceeds a preset acceleration value range, it indicates that the earphone ear plug and the ear canal of the user generate friction in the vertical direction. For another example, when a user takes a vehicle, the vehicle suddenly accelerates or suddenly brakes, and the head of the user of the vehicle shakes back and forth along with the vehicle, so that the acceleration value of the earphone in the horizontal direction increases, and if the acceleration variation in the horizontal direction exceeds the preset acceleration variation range, it indicates that the earphone ear plug and the ear canal of the user generate friction in the horizontal direction.
When the acceleration parameter surpassed the preset acceleration scope, it shows that earphone earplug and user's duct produce the friction, and the control earphone adopts the feedforward mode of making an uproar of falling to fall and makes an uproar the processing of falling to avoid making an uproar the processing of falling according to the noise signal that the microphone of making an uproar was gathered in the feedback, avoid producing more ruddy noise. It should be noted that the earphone is provided with an active noise reduction module, the active noise reduction module actively reduces noise through noise signals collected by a Feed-Forward noise reduction microphone and/or a Feedback noise reduction microphone in the earphone, wherein the Feed-Forward noise reduction microphone is arranged on one side of the earphone facing the outside of the ear of the user to collect ambient noise outside the ear, and the Feedback noise reduction microphone is arranged on one side of the earphone facing the inside of the ear of the user to collect noise signals in the ear.
Alternatively, since the ambient noise outside the ear is usually transmitted from the outside of the ear to the inside of the ear, so that the user can hear the noise, when the noise reduction processing is performed in the feedforward noise reduction mode, the noise signal outside the ear collected by the feedforward noise reduction microphone can be obtained, and the noise signal outside the ear can be subjected to the phase inversion processing, so as to obtain the phase inversion signal of the noise signal outside the ear. After the reverse phase signal is output by a loudspeaker arranged in the earphone, the sound of the reverse phase signal and the noise transmitted into the ear are superposed and then mutually offset, and the purpose of noise reduction is realized.
Optionally, the earphone may further include a passive noise reduction module, for example, a sound absorption structure disposed on the earphone absorbs noise to be transmitted into the ear, so as to achieve the purpose of passive noise reduction. When the noise reduction processing is carried out by adopting the feedforward noise reduction mode, the noise transmitted into the ear can be weakened to a certain extent due to passive noise reduction, so that after the noise signal outside the ear is subjected to phase reversal processing to obtain a phase reversal signal, the phase reversal signal can be corrected according to the adsorption proportion of the sound adsorption structure, the corrected phase reversal signal and the noise transmitted into the ear can be more completely offset, and the noise reduction effect of the earphone is further improved.
Optionally, before detecting whether the earphone is in a motion state, a current noise reduction mode of the earphone may be further detected, when the earphone is currently in a hybrid noise reduction mode or a feedback noise reduction mode, it is indicated that noise reduction is currently required according to a noise signal collected by a feedback noise reduction microphone, and a coarser noise may be generated, so that whether the earphone is in the motion state may be detected, and when the earphone is in the motion state and an acceleration parameter of the earphone exceeds a preset acceleration range, the earphone is switched to a feedforward noise reduction mode, and the coarser noise is avoided. When the feedback noise reduction mode is adopted for noise reduction, in-ear noise signals collected by the feedback noise reduction microphone are obtained, anti-phase processing is carried out on the in-ear noise signals to obtain anti-phase signals, and the anti-phase signals are output through a loudspeaker of the earphone to offset in-ear noise and achieve the purpose of feedback noise reduction.
In the technical scheme disclosed in this embodiment, whether the earphone rubs with user's duct and produces the noise is judged to the acceleration parameter of earphone when user's motion to control the earphone when the noise produces and carry out feedforward and fall the noise, rather than fall the noise of making an uproar according to the noise that the microphone gathered of falling the noise of feedback and fall, in order to avoid producing more rough noise and worse sense of hearing experience.
In another embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, before step S10, the method further includes:
step S01, when receiving a motion prompt message sent by an electronic device connected with the earphone, determining that the earphone is in a motion state, wherein the electronic device obtains the position information of the electronic device and obtains the moving speed of the electronic device according to the position information, and when the moving speed is higher than a preset speed, sending the motion prompt message to the earphone.
In this embodiment, when detecting whether the earphone is in a motion state, the detection may be implemented by a positioning device in the earphone or an electronic device connected to the earphone.
Alternatively, when the state of the headset is detected by an electronic device connected to the headset, the electronic device may be a device having a positioning function, such as a smartphone. Specifically, the position information of the electronic device is acquired through a GPS positioning module in the electronic device, and the electronic device is connected with the earphone in a wireless or wired mode, so that the earphone is generally positioned near the electronic device, and therefore the position information of the electronic device can be used as the position of the earphone. The position information of the electronic equipment changes along with the time, so that the moving speed of the electronic equipment can be obtained according to the position information, when the moving speed is higher than the preset speed, the moving speed of the earphone is also higher, the electronic equipment can send motion prompt information to the earphone, and when the earphone receives the motion prompt information sent by the electronic equipment, the user is judged to be moving at high speed by taking a vehicle, and the earphone is in a motion state. And if the moving speed is less than the preset speed, the electronic equipment does not send the motion prompt information to the earphone.
Alternatively, the motion prompt message may be generated in advance, or may be generated according to the detected moving speed of the electronic device, so that the earphone may prompt the user of the current moving speed when receiving the motion prompt message.
Optionally, when the state of the earphone is detected by the positioning device in the earphone, the positioning device may be set in the earphone in advance to collect position information of the earphone, and then the moving speed of the earphone is obtained according to the position information, and when the moving speed is greater than a preset speed, it is determined that the earphone is in a motion state. It should be noted that the earphones include a left earphone and a right earphone, or a main earphone and an auxiliary earphone, so the positioning device may be disposed in the left earphone or the right earphone, or in the main earphone, so as to collect position information of the earphones. The types of earphones may include any one of in-ear, ear-plug, ear-hook, and head-mount.
In the technical scheme disclosed in the embodiment, whether the earphone is in a motion state is judged through the change of the position information of the electronic equipment connected with the earphone, so that the state detection of the earphone is realized on the premise of not additionally increasing the structure, and the manufacturing cost is saved.
In yet another embodiment, as shown in fig. 4, on the basis of the embodiment shown in any one of fig. 2 to fig. 3, after the step S20, the method further includes:
step S30, acquiring the acceleration parameter of the earphone;
and step S40, controlling the earphone to switch to a hybrid noise reduction mode for noise reduction processing when the acceleration parameter does not exceed the preset acceleration range within a preset time length.
In this embodiment, the detection of the acceleration parameter of the headset may be performed in real time or periodically. And after the earphone is controlled to carry out noise reduction processing in a feedforward noise reduction mode, the acceleration parameter is continuously detected.
Optionally, the acceleration parameter includes a three-axis acceleration and/or a variation of the three-axis acceleration. Within a preset time length, if any axis acceleration in the acceleration parameters does not exceed a preset acceleration range, or any axis acceleration variation in the acceleration parameters does not exceed a preset variation range, the process that friction sound is generated between the earphone earplug and the ear canal of the user is considered to be finished, and the earphone is controlled to be switched to a mixed noise reduction mode to reduce noise, so that a better noise reduction effect is provided for the user, and the hearing experience of the user is improved.
Optionally, when the earphone is detected to be in a non-motion state, the process that the earphone earplug and the ear canal of the user generate friction sound is considered to be finished, and the earphone is controlled to be switched to the hybrid noise reduction mode for noise reduction. When the moving speed of the earphone is detected to be smaller than or equal to the preset speed or non-motion prompt information sent by electronic equipment connected with the earphone is received, the earphone is judged to be in a non-motion state.
Optionally, when the earphone is controlled to switch to the hybrid noise reduction mode, because the feedforward noise reduction microphone is disposed on a side of the earphone facing the outside of the ear of the user, and the feedback noise reduction microphone is disposed on a side of the earphone facing the inside of the ear of the user, the noise signal outside the ear collected by the feedforward noise reduction microphone of the earphone can be obtained first, the noise signal outside the ear is subjected to phase inversion processing, a first phase-inverted signal of the noise signal outside the ear is generated, and the first phase-inverted signal is output through a speaker of the earphone, so that the noise signal outside the ear is cancelled through the first phase-inverted signal. After the first phase-reversal signal is used for offsetting the noise signal outside the ear, the residual noise signal possibly exists and is transmitted into the ear of the user, so that the in-ear noise signal collected by the feedback noise reduction microphone of the earphone is obtained again, the in-ear noise signal is subjected to phase reversal processing to generate a second phase-reversal signal of the in-ear noise signal, the second phase-reversal signal is output through the loudspeaker of the earphone, the in-ear noise signal is offset through the second phase-reversal signal, and a better noise reduction effect is achieved.
In the technical scheme disclosed in this embodiment, the acceleration parameter of the earphone is acquired, and in a preset time period, when the acceleration parameter does not exceed a preset acceleration range, the earphone is controlled to be switched to a hybrid noise reduction mode for noise reduction, and through automatic switching of the noise reduction mode, a better noise reduction effect is realized, and the hearing experience and the use experience of a user are improved.
In addition, an embodiment of the present invention further provides an earphone, including: a memory, a processor and a noise reduction program for a headset stored on the memory and operable on the processor, the noise reduction program for a headset implementing the steps of the noise reduction method for a headset as described in the various embodiments above when executed by the processor.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a noise reduction program of a headphone is stored on the computer-readable storage medium, and when the noise reduction program of the headphone is executed by a processor, the steps of the noise reduction method of the headphone according to the above embodiments are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A noise reduction method for a headphone is characterized by comprising the following steps:
when the earphone is detected to be in a hybrid noise reduction mode or a feedback noise reduction mode, if the earphone is detected to be in a motion state, acquiring an acceleration parameter of the earphone, wherein the feedback noise reduction mode is to perform noise reduction processing on an in-ear noise signal, and the hybrid noise reduction mode is to perform noise reduction processing on an out-of-ear noise signal and the in-ear noise signal;
and when the acceleration parameter exceeds a preset acceleration range, judging that noise is generated by friction between the earphone and the ear canal of the user, and controlling the earphone to be switched to a feedforward noise reduction mode for noise reduction, wherein the feedforward noise reduction mode is used for reducing noise of an extra-aural noise signal.
2. The method for reducing noise in a headphone according to claim 1, wherein the step of detecting that the headphone is in motion further comprises:
when receiving motion prompt information sent by electronic equipment connected with the earphone, judging that the earphone is in a motion state, wherein the electronic equipment acquires position information of the electronic equipment and acquires the moving speed of the electronic equipment according to the position information, and when the moving speed is greater than a preset speed, sending the motion prompt information to the earphone.
3. The method for reducing noise in a headphone according to claim 1, wherein the step of detecting that the headphone is in motion further comprises:
acquiring position information of the earphone;
acquiring the moving speed of the earphone according to the position information;
and when the moving speed is greater than the preset speed, judging that the earphone is in a motion state.
4. The method of claim 1, wherein the step of controlling the headset to switch to a feedforward noise reduction mode for noise reduction processing comprises:
acquiring an extra-aural noise signal acquired by a feedforward noise reduction microphone of the earphone;
generating an inverse signal of the out-of-ear noise signal;
outputting the inverse phase signal through a speaker of the earphone.
5. The method for reducing noise of a headphone according to claim 1, wherein the step of controlling the headphone to switch to a feedforward noise reduction mode for noise reduction processing is followed by the steps of:
acquiring an acceleration parameter of the earphone;
and controlling the earphone to be switched to a mixed noise reduction mode for noise reduction treatment when the acceleration parameter does not exceed the preset acceleration range within a preset time length.
6. The method of noise reduction for headphones of claim 5, wherein the step of controlling the headphones to switch to a hybrid noise reduction mode comprises:
acquiring an ear noise signal acquired by a feedforward noise reduction microphone of the earphone, wherein the feedforward noise reduction microphone is arranged on one side of the earphone facing the outside of the ear of a user;
generating a first inverse signal of the out-of-ear noise signal and outputting the first inverse signal through the earphone;
acquiring an in-ear noise signal acquired by a feedback noise reduction microphone of the earphone, wherein the feedback noise reduction microphone is arranged on one side of the earphone facing the ear of a user;
generating a second inverse signal of the in-ear noise signal;
outputting the second inverted signal through a speaker of the earphone.
7. An earphone, characterized in that the earphone comprises: memory, processor and a noise reduction program for a headset stored on the memory and being executable on the processor, the noise reduction program for a headset implementing the steps of the noise reduction method for a headset according to any of the claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a noise reduction program for a headphone, which when executed by a processor implements the steps of the noise reduction method for a headphone according to any one of claims 1 to 6.
CN202010248952.0A 2020-03-31 2020-03-31 Earphone, noise reduction method thereof and computer readable storage medium Active CN111294691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010248952.0A CN111294691B (en) 2020-03-31 2020-03-31 Earphone, noise reduction method thereof and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010248952.0A CN111294691B (en) 2020-03-31 2020-03-31 Earphone, noise reduction method thereof and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111294691A CN111294691A (en) 2020-06-16
CN111294691B true CN111294691B (en) 2021-10-26

Family

ID=71030430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010248952.0A Active CN111294691B (en) 2020-03-31 2020-03-31 Earphone, noise reduction method thereof and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111294691B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314790B (en) * 2021-05-07 2024-09-20 Oppo广东移动通信有限公司 Earphone control method and device, electronic equipment and storage medium
CN113395628B (en) * 2021-06-18 2023-04-14 RealMe重庆移动通信有限公司 Earphone control method and device, electronic equipment and computer readable storage medium
CN113242490B (en) * 2021-06-22 2023-02-28 安克创新科技股份有限公司 Signal processing method and device, headset and storage medium
CN113852889B (en) * 2021-10-09 2023-10-31 安克创新科技股份有限公司 Active noise reduction method and device and electronic equipment
CN114120956A (en) * 2021-12-13 2022-03-01 Oppo广东移动通信有限公司 Noise reduction method and device, vehicle and storage medium
CN114071309B (en) * 2021-12-20 2023-08-25 歌尔科技有限公司 Earphone noise reduction method, device, equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495806A (en) * 2018-12-24 2019-03-19 歌尔股份有限公司 A kind of earphone noise reduction system and method, earphone, computer equipment and medium
CN110201375A (en) * 2019-07-18 2019-09-06 歌尔科技有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of wireless headset step counting

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9728179B2 (en) * 2015-10-16 2017-08-08 Avnera Corporation Calibration and stabilization of an active noise cancelation system
CN110049403A (en) * 2018-01-17 2019-07-23 北京小鸟听听科技有限公司 A kind of adaptive audio control device and method based on scene Recognition
CN208609156U (en) * 2018-07-19 2019-03-15 广东得胜电子有限公司 A kind of preposition miaow noise cancelling headphone
CN109151635A (en) * 2018-08-15 2019-01-04 恒玄科技(上海)有限公司 Realize the automatic switchover system and method that active noise reduction and the outer sound of ear are picked up
CN109451390B (en) * 2018-12-25 2021-01-29 歌尔科技有限公司 TWS earphone and control method, device and equipment thereof
CN110830862A (en) * 2019-10-10 2020-02-21 广东思派康电子科技有限公司 Self-adaptive noise-reduction earphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495806A (en) * 2018-12-24 2019-03-19 歌尔股份有限公司 A kind of earphone noise reduction system and method, earphone, computer equipment and medium
CN110201375A (en) * 2019-07-18 2019-09-06 歌尔科技有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of wireless headset step counting

Also Published As

Publication number Publication date
CN111294691A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN111294691B (en) Earphone, noise reduction method thereof and computer readable storage medium
US9706288B2 (en) Apparatus and method of active noise cancellation in a personal listening device
CN114521333A (en) Active noise reduction audio device and system
KR102192361B1 (en) Method and apparatus for user interface by sensing head movement
CN113132841B (en) Method for reducing earphone blocking effect and related device
CN108605189A (en) Ears hearing aid operates
US11553286B2 (en) Wearable hearing assist device with artifact remediation
US11438711B2 (en) Hearing assist device employing dynamic processing of voice signals
US9723129B2 (en) Voice call establishing method and apparatus
CN111447523B (en) Earphone, noise reduction method thereof and computer readable storage medium
CN108762716B (en) Volume adjusting method and device and earphone
CN111800696B (en) Hearing assistance method, earphone, and computer-readable storage medium
US10884696B1 (en) Dynamic modification of audio signals
CN110972012A (en) Earphone control method and earphone
JP7031668B2 (en) Information processing equipment, information processing system, information processing method and program
JP2023551556A (en) Audio signal processing method and system for echo suppression
CN115605944A (en) Activity-based intelligent transparency
KR102175180B1 (en) Method of preventing feedback based on body position detection and apparatuses performing the same
CN114979359B (en) Microphone switching method, mobile terminal and storage medium
WO2022066456A1 (en) Machine learning based self-speech removal
CN113766385A (en) Earphone noise reduction method and device
US10540955B1 (en) Dual-driver loudspeaker with active noise cancellation
CN114125625B (en) Noise reduction adjustment method, earphone and computer readable storage medium
EP4007300B1 (en) Controlling audio output
EP4401423A1 (en) Electronic device for controlling ambient sound on basis of audio scene, and operating method thereof

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