CN110430500B - Noise reduction method of earphone and earphone - Google Patents

Noise reduction method of earphone and earphone Download PDF

Info

Publication number
CN110430500B
CN110430500B CN201910707021.XA CN201910707021A CN110430500B CN 110430500 B CN110430500 B CN 110430500B CN 201910707021 A CN201910707021 A CN 201910707021A CN 110430500 B CN110430500 B CN 110430500B
Authority
CN
China
Prior art keywords
noise reduction
reduction mode
microphones
noise
earphone
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
CN201910707021.XA
Other languages
Chinese (zh)
Other versions
CN110430500A (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 CN201910707021.XA priority Critical patent/CN110430500B/en
Publication of CN110430500A publication Critical patent/CN110430500A/en
Application granted granted Critical
Publication of CN110430500B publication Critical patent/CN110430500B/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
    • 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/005Circuits for transducers, loudspeakers or microphones for combining the signals of two or more microphones

Abstract

The invention discloses a noise reduction method of an earphone, which comprises the following steps: acquiring a current noise reduction mode; determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different; and controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones. The invention also discloses the earphone. According to the invention, due to the fact that the number of the microphones corresponding to different modes is different, the noise reduction effect is different, different noise reduction modes are applied to different scenes, the different noise reduction requirements of a user on the earphone in different scenes are met, the noise reduction function is diversified, and the applicability is strong.

Description

Noise reduction method of earphone and earphone
Technical Field
The invention relates to the technical field of noise reduction, in particular to a noise reduction method of an earphone and the earphone.
Background
Because the non-earphone of making an uproar that falls does not possess syllable-dividing effect, when meetting noisy external environment, need improve the volume and remove the noise around the disguising, if long-time high volume uses the earphone, can cause the injury to the user, falls the technique of making an uproar and uses the earphone gradually based on this. Noise reduction earphones in the market at present are divided into active noise reduction earphones and passive noise reduction earphones, the passive noise reduction earphones mainly have a certain sound insulation function through a physical structure, but insulating materials are used for a long time to cause certain damage to human bodies, and the physical noise reduction can only reduce high-frequency noise and cannot eliminate low-frequency noise; the active noise reduction earphone can directly generate a reverse sound wave through a sound wave device arranged in the earphone according to noise around the earphone of a current user, and external noise is offset to form a noise reduction effect.
Because the user is different to the demand of noise reduction effect in the occasion of difference, and the function of making an uproar is single that falls of earphone now, can't adjust the function of making an uproar according to the occasion environment of difference, and adaptability is poor.
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 a noise reduction method of an earphone and the earphone, and aims to solve the technical problems that the noise reduction function of the existing earphone is single, the noise reduction function cannot be adjusted according to different occasions and environments, and the adaptability is poor because users have different requirements on noise reduction effects in different occasions.
In order to achieve the above object, the present invention provides a noise reduction method for an earphone, wherein the earphone is provided with a plurality of microphones for collecting ambient noise, and the noise reduction method for the earphone comprises the following steps:
acquiring a current noise reduction mode;
determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different;
and controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones.
Optionally, after the step of controlling the number of microphones corresponding to the number of microphones to collect the ambient noise, the method further includes:
and controlling the sounder to generate sound waves with the same frequency and the opposite direction of the environmental noise according to the environmental noise.
Optionally, the method for reducing noise of a headphone further includes:
when the noise reduction mode switching operation is detected, determining a target noise reduction mode according to the current noise reduction mode;
broadcasting voice information of the target noise reduction mode;
when receiving the confirmation information of the target noise reduction mode, switching the current noise reduction mode into the target noise reduction mode, and executing the step of acquiring the current noise reduction mode;
or, when no noise reduction mode switching operation is detected within a preset time interval, switching the current noise reduction mode to the target noise reduction mode, and executing the step of acquiring the current noise reduction mode.
Optionally, the noise reduction method of the headset further includes:
after a target noise reduction mode is determined, when a signal detected by a gravity sensor for a first preset number of times is received within a preset time interval, determining that confirmation information of the target noise reduction mode is received;
or after the target noise reduction mode is determined, when the confirmed voice information is received, judging that the confirmed information of the target noise reduction mode is received.
Optionally, the noise reduction method of the headset further includes:
and when the signal detected by the gravity sensor for the second preset times is received, determining that the noise reduction mode switching operation is detected.
Optionally, the step of determining a target noise reduction mode according to the current noise reduction mode includes:
acquiring a preset noise reduction mode sequence;
and determining a target noise reduction mode according to the current noise reduction mode and the preset noise reduction mode sequence.
Optionally, the noise reduction mode comprises one or more of a quiet ambient noise reduction mode, a hazardous ambient noise reduction mode, and a noisy ambient noise reduction mode;
the number of the microphones corresponding to the noise reduction mode in the dangerous environment is smaller than that of the microphones corresponding to the noise reduction mode in the quiet environment, and the number of the microphones corresponding to the noise reduction mode in the quiet environment is smaller than that of the microphones corresponding to the noise reduction mode in the noisy environment.
In order to achieve the above object, the present invention further provides a headset, which includes a housing and a plurality of microphones disposed on the housing, the headset further includes a memory, a processor and a noise reduction application program stored on the memory and operable on the processor, the plurality of microphones are connected to the processor, and the noise reduction application program, when executed by the processor, implements the steps of the noise reduction method of the headset as described above.
Optionally, the headset further comprises a sounder connected to the processor.
Optionally, the microphones are respectively installed at different positions of a casing of the earphone, and the sound pickup ports of the microphones respectively face different directions.
Furthermore, the present invention also provides a computer readable storage medium having stored thereon a noise reduction application program, which when executed by a processor implements the steps of the noise reduction method for headphones as described above.
According to the noise reduction method of the earphone and the earphone, multiple noise reduction modes are set, different noise reduction modes correspondingly adopt different numbers of microphones to collect noise, when the current noise reduction mode is obtained, the number of microphones corresponding to the current noise reduction mode is controlled to collect environmental noise, so that the earphone can reduce noise according to the environmental operation.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the earphone of the present invention;
FIG. 3 is a flowchart illustrating a noise reduction method for a headphone according to an 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;
FIG. 5 is a detailed flowchart of step S50 in FIG. 4;
fig. 6 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 main solution of the embodiment of the invention is as follows: acquiring a current noise reduction mode; determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different; and controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention is an earphone, which can be a wired earphone or a wireless earphone, and the device of the embodiment is a TWS-based earphone.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the apparatus may further comprise RF (Radio Frequency) circuitry, sensors, audio circuitry, WiFi modules, and the like. The sensor comprises an infrared sensor, a gravity sensor and the like, wherein the infrared sensor is used for detecting the wearing state of the earphone, if an infrared signal detected by the infrared sensor is within a preset threshold range, the current condition of the earphone is output to be the wearing state, if infrared information detected by the infrared sensor is not within the preset threshold range, the current condition of the earphone is output to be a non-wearing state, the gravity sensor is used for detecting the knocked state of the earphone, and when the gravity sensor detects that the Y axis changes, the gravity sensor judges that the earphone is knocked.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Further, referring to fig. 2, this embodiment provides a specific structural schematic diagram of a headset, where the headset includes a housing 1 and a plurality of microphones 2 disposed on the housing 1, and referring to fig. 1, the headset further includes a memory 1005, a processor 1001, and a noise reduction application program stored on the memory 1005 and operable on the processor, the plurality of microphones 2 are connected to the processor 1001, and the noise reduction application program, when executed by the processor 1001, implements various embodiments of the noise reduction method of the headset according to the present invention.
The plurality of microphones 2 are connected to the processor 1001, the microphones 2 transmit the collected ambient noise to the processor 1001, and the processor 1001 performs active noise reduction processing according to the ambient noise collected by the microphones 2. The active noise reduction mode is to set a device in the earphone to generate a reverse wave to cancel or partially cancel the noise. The earphone of this embodiment further includes a sound generator (not shown), the sound generator is connected to the processor 1001, and the processor 1001 calculates the frequency and direction of the backward wave according to the environmental noise collected by the microphone 2, so as to control the sound generator to generate the backward wave according to the frequency and direction calculated by the processor.
Because the environmental noises collected by the microphones 2 with different numbers are different, the more the number of the microphones used for collecting the environmental noises is, the more the collected environmental noises are, the finer the environmental noises are, the less the number of the microphones is, the less the collected environmental noises are, the rougher the environmental noises are, the processor 1001 controls the sounder to send different reverse waves according to the different environmental noises, the more the reverse waves generated according to the more and more fine environmental noises can offset the noises, so as to play a better noise reduction effect, the less the reverse waves generated according to the less and rougher environmental noises can offset the noises, and the noise reduction effect is poor. Based on this, in the embodiment, different numbers of microphones 2 are controlled to collect the ambient noise according to different requirements of the scenes on the noise reduction effect, so that different noise reduction modes are adopted in different scenes, the requirements of each scene of a user are met, and multifunctional individuation is realized.
Specifically, with reference to fig. 2, in the present embodiment, the microphones 2 are respectively installed at different positions of the housing 1 of the earphone, and the sound pickup ports of the microphones 2 respectively face different directions. When a plurality of microphones 2 are adopted to collect the environmental noise, the microphones 2 collect the environmental noise transmitted from different directions, and the noise collection effect is better.
In addition, in order to facilitate the microphone 2 to collect the ambient noise, the microphone 2 is disposed at a position capable of being in full contact with the environment, and the housing of the earphone as in the present embodiment includes a sound emitting portion 11 and a signal receiving portion 12, the sound emitting portion 11 is adapted to transmit sound into the ear canal, and the signal receiving portion 12 is connected to the sound emitting portion 11 and forms an earphone body adapted to be worn. The plurality of microphones 2 are provided at different positions of the signal receiving section 12, and the sound collecting ports of the plurality of microphones 2 face different directions.
Further, the noise reduction application may be stored in the memory 1005 of the headset, or in a storage medium, so the present invention also provides a computer readable storage medium on which the noise reduction application is stored, and when being executed by the processor 1001, the noise reduction application implements various embodiments of the noise reduction method of the headset according to the present invention.
A memory, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a noise reduction application program.
In the apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; 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 invoke a noise reduction application stored in the memory 1005 of the computer readable storage medium and perform the following operations:
acquiring a current noise reduction mode;
determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different;
and controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones.
Further, the processor 1001 may call a noise reduction application stored in the memory 1005, and also perform the following operations:
and controlling the sounder to generate sound waves with the same frequency and the opposite direction of the environmental noise according to the environmental noise.
Further, the processor 1001 may call a noise reduction application stored in the memory 1005, and also perform the following operations:
when the noise reduction mode switching operation is detected, determining a target noise reduction mode according to the current noise reduction mode;
broadcasting voice information of the target noise reduction mode;
when receiving the confirmation information of the target noise reduction mode, switching the current noise reduction mode into the target noise reduction mode, and executing the step of acquiring the current noise reduction mode;
or, when no noise reduction mode switching operation is detected within a preset time interval, switching the current noise reduction mode to the target noise reduction mode, and executing the step of acquiring the current noise reduction mode.
Further, the processor 1001 may call a noise reduction application stored in the memory 1005, and also perform the following operations:
after a target noise reduction mode is determined, when a signal detected by a gravity sensor for a first preset number of times is received within a preset time interval, determining that confirmation information of the target noise reduction mode is received;
or after the target noise reduction mode is determined, when the confirmed voice information is received, judging that the confirmed information of the target noise reduction mode is received.
Further, the processor 1001 may call a noise reduction application stored in the memory 1005, and also perform the following operations:
and when the signal detected by the gravity sensor for the second preset times is received, determining that the noise reduction mode switching operation is detected.
Further, the processor 1001 may call a noise reduction application stored in the memory 1005, and also perform the following operations:
acquiring a preset noise reduction mode sequence;
and determining a target noise reduction mode according to the current noise reduction mode and the preset noise reduction mode sequence.
In an embodiment, referring to fig. 3, the noise reduction method for a headphone provided by the present invention includes the following steps:
step S10, acquiring a current noise reduction mode;
step S20, determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different;
and step S30, controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones.
The noise reduction method of the earphone is used for controlling noise reduction of the earphone, and the earphone serving as a portable sound box is easily influenced by the ambient noise of people. In order to prevent the environmental noise from affecting the using effect of the earphone, the earphone is provided with the sounder, and the sounder is used for emitting reverse waves of the environmental noise so as to offset or partially offset the environmental noise.
In the embodiment, the earphone is set with a noise reduction mode and a non-noise reduction mode, and a user can select the noise reduction mode or the non-noise reduction mode; the earphone can also determine whether to enter a noise reduction mode according to the environmental noise, if the environmental noise is greater than a preset threshold value, the earphone is judged to enter the noise reduction mode, and the earphone actively enters the noise reduction mode; or when the earphone is set to be in a wearing state, the noise reduction mode is judged to be entered, and the noise reduction mode is actively entered. This embodiment detects human infrared signal through set up infrared sensor in the earphone, and when the earphone was mated to the user's ear, infrared sensor detected the infrared signal of human feedback, and the infrared signal threshold value is predetermine in the setting, and the infrared signal that infrared sensor detected is in the infrared signal default value then judges that the earphone is in the wearing state, and the infrared signal that detects as infrared sensor is not in the infrared signal default threshold value then judges that the earphone is not in the wearing state.
The earphone in practical application, need have multiple functions just can satisfy user's various demands, for example to falling the noise, the different occasions are different to the noise reduction effect's of earphone demand, if in the office, under the more quiet environment such as classroom, ambient noise is little, little to the influence of earphone, the general noise reduction mode of noise reduction of user's demand noise reduction effect falls this moment, can avoid the long-time high frequency of earphone to fall to bring loss of power consumption on the one hand, on the other hand can also prevent to take behind the earphone in the office or classroom can't communicate with others and exchange. If dangerous environment such as road again, ambient noise is great, and it is big to earphone use influence, and the function demand of making an uproar is fallen to the high, but dangerous environment adopts when falling the too high mode of making an uproar of falling the function of making an uproar, and the user is difficult to hear the warning sound of whistling on the road, causes the incident danger easily. Or, in the noisy and not dangerous environment such as subway, public transit, ambient noise is great, and it is big to use the influence to the earphone, and the function demand of making an uproar is fallen to the noise reduction function demand height, adopts the general noise reduction mode of the effect of making an uproar of falling the noise at this moment, can't satisfy user's user demand, consequently needs the noise reduction effect of preferred.
In order to meet different requirements of a user on noise reduction effects of the headset in different use scenes, the noise reduction mode is set to comprise one or more of a quiet environment noise reduction mode, a dangerous environment noise reduction mode and a noisy environment noise reduction mode. Different noise reduction mode correspondences have different noise reduction effects, the noise reduction effect of the quiet environment noise reduction mode is general, the noise reduction effect of the dangerous environment noise reduction mode is poor, and the noise reduction effect of the noisy environment noise reduction mode is high.
This embodiment adopts the mode of making an uproar to fall, it offsets or partly offsets the mode of noise and realizes making an uproar to fall through generating the reverse wave based on making an uproar to fall initiatively, and the reverse wave that generates can offset the noise completely or can only offset partial noise is based on the environmental noise size of gathering, so this embodiment sets up the environmental noise difference of gathering under the different modes, realize different noise reduction, it is different specifically through setting up the microphone quantity that is used for gathering the noise that corresponds under the different modes, realize the variation in size of the environmental noise who gathers. If under dangerous ambient noise mode, when in order to be applicable to the user and listen the song, ensure to hear whistle warning sound safely, choose for use less or a microphone to collect ambient noise, less or the ambient noise that a microphone was gathered is less, and the initiative is fallen and is fallen noise and offset less ambient noise, and then ensures that the user can hear warning sound, takes precautions against the incident. If in the quiet environment noise reduction mode, because the ambient noise is small, the ambient noise can be collected by two or more microphones (two microphones can be used to reduce the power consumption), so that the power consumption is reduced while the noise reduction effect is ensured. If under noisy environment noise reduction mode, ambient noise is great, adopts three or three above microphones to gather ambient noise, and the pickup mouth orientation of each microphone is different, and the ambient noise of gathering is great and more meticulous, based on ambient noise, active noise reduction offsets more ambient noise, so ensures the syllable-dividing effect of earphone. The number of the microphones corresponding to each mode is not limited to 1, 2 or 3, and the number of the microphones corresponding to the noise reduction mode in the hazardous environment is less than the number of the microphones corresponding to the noise reduction mode in the quiet environment, and the number of the microphones corresponding to the noise reduction mode in the quiet environment is less than the number of the microphones corresponding to the noise reduction mode in the noisy environment.
The earphone is provided with a plurality of microphones, and under different noise reduction modes, the environment noise collected under different modes is different by controlling the opening or closing of the microphones with different numbers.
Further, the noise reduction method of the embodiment further includes: and step S40, controlling the sounder to generate sound waves with the same frequency and the opposite direction of the environmental noise according to the environmental noise.
The sound generator is arranged in the earphone, and when the processor receives the environmental noise collected by the microphone, sound waves are generated according to the environmental noise so as to counteract or partially counteract the environmental noise by the sound waves. The number of the microphones for acquiring the environmental noise corresponding to different noise reduction modes is different, and the environmental noise acquired by the microphones with different numbers is different, for example, when the number of the microphones for acquiring the environmental noise is more, the acquired environmental noise is more and finer; if the number of microphones for collecting the environmental noise is small, the collected environmental noise is small. The reverse wave generated by the sounder is used for offsetting the acquired environmental noise, and if the acquired environmental noise is more, the offset environmental noise is more, and the noise reduction effect is better; if the acquired environment noise is less, the offset environment noise is less, and the noise reduction effect is poorer.
This embodiment is through setting up multiple noise reduction mode, and the mode correspondence of making an uproar is fallen to the difference adopts the microphone of different quantity to carry out the noise collection, when obtaining current noise reduction mode, and the control current noise reduction mode corresponds the microphone of quantity and carries out ambient noise collection to make the earphone according the environmental operation is fallen and is fallen the noise, because the microphone quantity that different modes correspond is different, and its noise reduction effect is different, falls the mode and uses different scenes with the difference, satisfies the user and falls the requirement of making an uproar to the earphone difference in different scenes, falls the function diversification of making an uproar, and the suitability is strong.
Referring to fig. 4, the present invention further provides another embodiment of a noise reduction method for a headphone based on the foregoing embodiment, where the noise reduction method for a headphone further includes:
step S50, when the noise reduction mode switching operation is detected, determining a target noise reduction mode according to the current noise reduction mode;
step S60, broadcasting the voice information of the target noise reduction mode;
based on the above embodiments, in this embodiment, since the earphone has multiple noise reduction modes, corresponding noise reduction modes can be selected according to different scenes, when a noise reduction mode switching operation is detected, a target noise reduction mode is determined according to a current noise reduction mode, and after the target noise reduction mode is determined, voice information of the target noise reduction mode is broadcasted in a voice broadcasting manner, if the current noise reduction mode is a quiet environment noise reduction mode, a noise reduction mode switching operation is detected and the target noise reduction mode is determined to be a dangerous environment noise reduction mode, a "dangerous environment noise reduction mode" is broadcasted, a user can determine whether to select to switch to the target noise reduction mode based on the broadcasted voice information, if the user receives confirmation information of the target noise reduction mode, the current noise reduction mode is switched to the target noise reduction mode, and if the confirmation information of the target noise reduction mode is not received, and when the noise reduction mode switching operation is received again, determining the target noise reduction mode, and further determining whether to select the target noise reduction mode.
The earphone is a touch earphone, the noise reduction mode is switched by adopting a touch mode or a knocking mode, if a gravity sensor is arranged in a shell of the earphone, a user triggers a switching instruction by touching or knocking the earphone, and if a terminal receives a signal detected by the gravity sensor for a second preset number of times, the noise reduction mode switching operation is determined to be detected. The second preset number of times may be 2, for example, when the user double-clicks the earphone, the Y axis of the gravity sensor changes due to the knocking force, at this time, the gravity sensor sends a detection signal to the processor, and the processor determines that the noise reduction mode switching operation is detected after receiving the signals sent by the gravity sensor twice. The touch or knock type noise reduction mode is adopted, especially the double-click type noise reduction mode is adopted to trigger, and the condition of mistaken touch can be effectively avoided.
In other embodiments, the noise reduction mode switching operation may also be triggered by voice information, for example, when the terminal receives the noise reduction mode switching voice information, it is determined that the noise reduction mode switching operation is detected. The earphone is provided with a normally open microphone for collecting voice control instructions, when a user sends the voice control instructions, keywords corresponding to the voice control instructions are obtained, whether the control instructions correspond to noise reduction mode switching operation or not is determined based on the keywords, if yes, the noise reduction mode switching operation is judged to be detected, and the noise reduction mode switching is carried out by the terminal. The voice control noise reduction mode is switched, and the control is convenient for a user compared with a touch type or a knocking type.
Further, referring to fig. 5, the step of determining a target noise reduction mode according to the current noise reduction mode includes:
step S51, acquiring a preset noise reduction mode sequence;
and step S52, determining a target noise reduction mode according to the current noise reduction mode and the preset noise reduction mode sequence.
The method comprises the steps that noise reduction modes are set and arranged according to a preset sequence, when the noise reduction modes are switched, the target noise reduction modes are determined according to the current noise reduction modes and the preset noise reduction mode sequence, if the quiet environment noise reduction modes, the dangerous environment noise reduction modes and the noisy environment noise reduction modes are sequentially sequenced, when the quiet environment noise reduction modes are the current noise reduction modes, the noise reduction mode switching operation is detected, the target noise reduction modes are the dangerous environment noise reduction modes, and if the noise reduction mode switching operation is detected twice, the target noise reduction modes are the noisy environment noise reduction modes.
In other embodiments, the noise reduction mode may be switched to be successively decreased or successively increased, for example, the step of determining the target noise reduction mode according to the current noise reduction mode may include: determining the noise reduction capability of the current noise reduction mode according to the current noise reduction mode; determining a noise reduction mode with lower or higher noise reduction capability according to the noise reduction capability; and determining a target noise reduction mode according to the noise reduction mode with lower or higher noise reduction capability. According to the mode switching that the mode of making an uproar is reduced in proper order or strengthens in proper order, the user can be based on the mode of making an uproar and confirm the mode of making an uproar is made an uproar to the target, can exempt from the step of broadcast voice broadcast target mode of making an uproar, reduces the loaded down with trivial details of process.
Step S70, when receiving the confirmation information of the target noise reduction mode, switching the current noise reduction mode to the target noise reduction mode, and executing the step of obtaining the current noise reduction mode.
Specifically, after the target noise reduction mode is determined, when a signal detected by the gravity sensor for a first preset number of times is received within a preset time interval, it is determined that the confirmation information of the target noise reduction mode is received. The first preset number of times may be set to 1, and the number of times of the first preset number of times is different from that of the second preset number of times, so as to avoid that the terminal cannot determine whether the detected signal is the confirmation information of the noise reduction mode switching operation or the target noise reduction mode.
After a terminal determines a target noise reduction mode, voice information of the target noise reduction mode is broadcasted, a user knows the target noise reduction mode based on the voice information and further determines whether to enter the target noise reduction mode, and when the user determines to enter the target noise reduction mode, the user determines to enter the target noise reduction mode through a single touch or a single earphone knocking mode.
In other embodiments, after the target noise reduction mode is determined, when the confirmation voice information is received, it is determined that the confirmation information of the target noise reduction mode is received. That is, after the user receives the voice message broadcasting the target noise reduction mode, if the user determines to enter the target noise reduction mode, the user can send a voice control instruction to control the terminal to enter the target noise reduction mode.
It can be understood that, when the confirmation information of the target noise reduction mode is not received within the preset time interval, the terminal continues to reduce noise in the current noise reduction mode until the noise reduction mode switching operation is to be started again, and then executes the step of determining the target noise reduction mode according to the current noise reduction mode. If the user accidentally triggers the target noise reduction mode, the possibility of sending the knocking operation again in the preset time interval is low, and the noise reduction mode is continued in the current noise reduction mode when the confirmation information of the target noise reduction mode is not received in the preset time interval, so that the situation that the noise reduction mode is switched when the user accidentally touches the noise reduction mode can be avoided.
According to the embodiment, the multiple noise reduction modes can be flexibly switched, the noise reduction modes can be randomly selected based on the requirements of users in different scenes, and the operation is simple and convenient.
In still another embodiment, referring to fig. 6, the noise reduction method of the headphone further includes:
step S50, when the noise reduction mode switching operation is detected, determining a target noise reduction mode according to the current noise reduction mode;
step S60, broadcasting the voice information of the target noise reduction mode;
step S80, when detecting that there is no noise reduction mode switching operation within a preset time interval, switching the current noise reduction mode to the target noise reduction mode, and executing the step of acquiring the current noise reduction mode.
Compared with the embodiment shown in fig. 4, the difference of this embodiment is that after determining a target noise reduction mode and broadcasting the voice information of the target noise reduction mode, when a user determines to enter the target noise reduction mode, the user may confirm to perform noise reduction by using the target noise reduction mode in a manner of stopping touching or tapping an earphone. And after the terminal sets the switching operation of the detection noise reduction mode, presetting a time interval as the confirmation time, and if the switching operation of the noise reduction mode is not performed within the preset time interval, determining that the user defaults to adopt the target noise reduction mode for noise reduction.
In the embodiment, when no noise reduction mode switching operation is detected within a preset time interval, the noise reduction mode is switched in a mode of switching the current noise reduction mode into the target noise reduction mode, so that manual operation processes of a user are reduced, and the method is convenient to use.
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 headset, a mobile phone, etc.) 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 (9)

1. A noise reduction method of an earphone is characterized in that a plurality of microphones used for collecting ambient noise are arranged on the earphone, and the noise reduction method of the earphone comprises the following steps:
acquiring a current noise reduction mode;
determining the number of microphones according to the current noise reduction mode, wherein the number of microphones corresponding to different noise reduction modes is different;
controlling the microphones corresponding to the number of the microphones to collect the environmental noise so as to reduce the noise according to the environmental noise collected by the microphones corresponding to the number of the microphones;
the headphone noise reduction method further comprises:
when the noise reduction mode switching operation is detected, determining a target noise reduction mode according to a current noise reduction mode, wherein the earphone is a touch earphone, and the noise reduction mode switching operation comprises a touch type and a knock type;
broadcasting voice information of the target noise reduction mode;
when receiving the confirmation information of the target noise reduction mode, switching the current noise reduction mode into the target noise reduction mode, and executing the step of acquiring the current noise reduction mode;
or, when no noise reduction mode switching operation is detected within a preset time interval, switching the current noise reduction mode to the target noise reduction mode, and executing the step of acquiring the current noise reduction mode.
2. The method for reducing noise of a headphone according to claim 1, wherein the step of controlling the number of microphones corresponding to the number of microphones to collect the ambient noise further comprises:
and controlling the sounder to generate sound waves with the same frequency and the opposite direction of the environmental noise according to the environmental noise.
3. The method of reducing noise in a headphone according to claim 1, wherein the method of reducing noise in a headphone further comprises:
after a target noise reduction mode is determined, when a signal detected by a gravity sensor for a first preset number of times is received within a preset time interval, determining that confirmation information of the target noise reduction mode is received;
or after the target noise reduction mode is determined, when the confirmed voice information is received, judging that the confirmed information of the target noise reduction mode is received.
4. The method of reducing noise in a headphone according to claim 1, wherein the method of reducing noise in a headphone further comprises:
and when the signal detected by the gravity sensor for the second preset times is received, determining that the noise reduction mode switching operation is detected.
5. The method of noise reduction for headphones as recited in claim 1, wherein the step of determining a target noise reduction mode from the current noise reduction mode comprises:
acquiring a preset noise reduction mode sequence;
and determining a target noise reduction mode according to the current noise reduction mode and the preset noise reduction mode sequence.
6. The method of noise reduction for headphones of claim 1, wherein the noise reduction mode comprises one or more of a quiet ambient noise reduction mode, a hazardous ambient noise reduction mode, and a noisy ambient noise reduction mode;
the number of the microphones corresponding to the noise reduction mode in the dangerous environment is smaller than that of the microphones corresponding to the noise reduction mode in the quiet environment, and the number of the microphones corresponding to the noise reduction mode in the quiet environment is smaller than that of the microphones corresponding to the noise reduction mode in the noisy environment.
7. A headset comprising a housing and a plurality of microphones arranged on the housing, the headset further comprising a memory, a processor and a noise reduction application stored on the memory and executable on the processor, the plurality of microphones being connected to the processor, the noise reduction application when executed by the processor implementing the steps of the noise reduction method of the headset according to any of claims 1 to 6.
8. The headset of claim 7, further comprising a sound generator connected to the processor.
9. The earphone as claimed in claim 7, wherein the microphones are respectively installed at different positions of a housing of the earphone, and the sound pickup ports of the microphones respectively face different directions.
CN201910707021.XA 2019-07-31 2019-07-31 Noise reduction method of earphone and earphone Active CN110430500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910707021.XA CN110430500B (en) 2019-07-31 2019-07-31 Noise reduction method of earphone and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910707021.XA CN110430500B (en) 2019-07-31 2019-07-31 Noise reduction method of earphone and earphone

Publications (2)

Publication Number Publication Date
CN110430500A CN110430500A (en) 2019-11-08
CN110430500B true CN110430500B (en) 2020-08-04

Family

ID=68412094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910707021.XA Active CN110430500B (en) 2019-07-31 2019-07-31 Noise reduction method of earphone and earphone

Country Status (1)

Country Link
CN (1) CN110430500B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110987154B (en) * 2019-11-29 2022-03-01 歌尔科技有限公司 Detection method and device for knocking event, medium and head-mounted equipment
CN113573188A (en) * 2021-05-17 2021-10-29 深圳市瑞禾高科通讯电子有限公司 Screen noise earphone
CN113395628B (en) * 2021-06-18 2023-04-14 RealMe重庆移动通信有限公司 Earphone control method and device, electronic equipment and computer readable storage medium
CN113810814B (en) * 2021-08-17 2023-12-01 百度在线网络技术(北京)有限公司 Earphone mode switching control method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300140A (en) * 2011-08-10 2011-12-28 歌尔声学股份有限公司 Speech enhancing method and device of communication earphone and noise reduction communication earphone
CN103856861A (en) * 2014-03-11 2014-06-11 深圳市中兴移动通信有限公司 Active noise reduction system, noise reduction earphone and mobile terminal
CN204887336U (en) * 2015-07-03 2015-12-16 歌尔声学股份有限公司 Subject for ridicule of making an uproar is fallen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6588098B2 (en) * 2015-01-26 2019-10-09 深▲せん▼市冠旭電子股▲ふん▼有限公司Shenzhen Grandsun Electronic Co., Ltd. Method and apparatus for controlling headset noise reduction
CN105376668B (en) * 2015-11-24 2018-11-16 广东欧珀移动通信有限公司 A kind of earphone noise-reduction method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300140A (en) * 2011-08-10 2011-12-28 歌尔声学股份有限公司 Speech enhancing method and device of communication earphone and noise reduction communication earphone
CN103856861A (en) * 2014-03-11 2014-06-11 深圳市中兴移动通信有限公司 Active noise reduction system, noise reduction earphone and mobile terminal
CN204887336U (en) * 2015-07-03 2015-12-16 歌尔声学股份有限公司 Subject for ridicule of making an uproar is fallen

Also Published As

Publication number Publication date
CN110430500A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
CN110430500B (en) Noise reduction method of earphone and earphone
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
US20220335924A1 (en) Method for reducing occlusion effect of earphone, and related apparatus
EP3829149B1 (en) Audio control method and device, and terminal
CN109918039B (en) Volume adjusting method and mobile terminal
US9723129B2 (en) Voice call establishing method and apparatus
CN108897516B (en) Wearable device volume adjustment method and related product
US11166113B2 (en) Method for operating a hearing system and hearing system comprising two hearing devices
CN111800696B (en) Hearing assistance method, earphone, and computer-readable storage medium
CN109150221B (en) Master-slave switching method for wearable equipment and related product
CN111033614A (en) Volume adjusting method and device, mobile terminal and storage medium
TW202021378A (en) Controlling headset method and headset
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
EP4175316A1 (en) Headphone call method and headphones
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN108540659B (en) Method, terminal and computer readable storage medium for reducing TDD noise influence
CN108668018B (en) Mobile terminal, volume control method and related product
CN113727231B (en) Earphone volume adjusting method and equipment
CN108600906B (en) Playing control method and device for multiple sound boxes
CN114466278B (en) Method for determining parameters corresponding to earphone mode, earphone, terminal and system
CN108391208B (en) Signal switching method, device, terminal, earphone and computer readable storage medium
US11950041B2 (en) Control of an earphone device
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN113115151B (en) Control method and device of wireless earphone, equipment and storage medium
CN109218922B (en) Control method for outputting audio signal, terminal and audio signal output device

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