Active noise reduction method, noise reduction earphone and computer readable storage medium
By constructing a preset microphone array and invoking an adaptive noise reduction algorithm in noise-cancelling headphones, the problems of high cost and poor adaptability of noise-cancelling headphones in the existing technology are solved, achieving more efficient noise filtering and noise reduction capabilities, and improving User experience.
Patent Information
- Application Number
- CN202111267286.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-10-28
AI Technical Summary
Existing active noise reduction technology has high research and development costs, resulting in high price of noise reduction headphones, and is not universal and cannot effectively adapt to different noise scenarios, affecting user experience.
By constructing a preset microphone array in the noise-cancelling headset, it collects external sound signals, determines the current working mode, and calls the preset noise reduction algorithm for noise filtering according to the mode and noise direction. The dual-microphone array is used to improve the noise reduction capability and save headset space. and reduce production costs.
It is possible to provide a more adaptable noise reduction solution while ensuring noise reduction capabilities, reducing production costs, improving noise reduction levels, adapting to different noise scenarios, and improving user experience.
Smart Images

Figure CN114125624B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of acoustic-electric conversion, and in particular to an active noise reduction method, a noise reduction headset and a computer-readable storage medium. Background Art
[0002] With the advancement of technology, the use scenarios of headphones are becoming increasingly diverse. However, as urban noise pollution becomes increasingly severe, using ordinary headphones outdoors can only mask the noise by physically reducing the noise or increasing the volume. This not only fails to effectively receive the audio signal inside the headphones, but also has a certain negative effect on the user's own hearing. Therefore, users have higher and higher requirements for headphone noise elimination.
[0003] Currently, the more commonly used technology for eliminating headphone noise is active noise reduction technology. However, most of the existing active noise reduction technologies are based on a combination of multiple fixed noise reduction modes implemented by multiple microphones. The frequent switching between modes leads to high research and development costs, which in turn leads to high prices for noise reduction headphones and non-universal target customer groups. Summary of the invention
[0004] The main purpose of the present invention is to provide an active noise reduction method, noise reduction headphones and computer-readable storage medium, aiming to solve the technical problem of how to provide a better adaptable noise reduction solution while ensuring that the noise reduction capability is strong enough.
[0005] To achieve the above object, the present invention provides an active noise reduction method, which comprises the following steps:
[0006] Build a preset microphone array based on the basic microphone of the noise-canceling headset;
[0007] Collecting external sound signals through the preset microphone array, and determining the current working mode of the noise reduction headset after acquiring the external sound signals;
[0008] Positioning the direction of the external sound signal to obtain a positioning result;
[0009] According to the current working mode, the external sound signal and the positioning result, a preset noise reduction algorithm is called to perform noise reduction.
[0010] Optionally, the step of locating the direction of the external sound signal to obtain a positioning result includes:
[0011] The direction of the external sound signal is located based on a preset positioning algorithm and the preset microphone array to obtain a positioning result.
[0012] Optionally, the basic microphone includes a first basic microphone and a second basic microphone, and the step of locating the direction of the external sound signal based on a preset positioning algorithm and the preset microphone array includes:
[0013] Transmitting the external sound signal received by the first basic microphone to the second basic microphone via Bluetooth to obtain a phase difference of the external sound signal received by the basic microphone;
[0014] The direction of the external sound signal is located according to the phase difference and a preset positioning algorithm.
[0015] Optionally, the step of determining the current working mode of the noise cancelling headset includes:
[0016] If the first mode signal is detected, determining that the current working mode of the noise reduction headset is a call mode;
[0017] If the second mode signal is detected, it is determined that the current working mode of the noise reduction headset is the A2DP mode.
[0018] Optionally, the step of calling a preset noise reduction algorithm includes:
[0019] When the current working mode of the noise reduction headset is the call mode, calling the call mode noise reduction algorithm;
[0020] When the current working mode of the noise reduction headset is the A2DP mode, the A2DP mode noise reduction algorithm is called.
[0021] Optionally, the step of calling a call mode noise reduction algorithm includes:
[0022] Extracting statistical characteristic information of the external sound signal;
[0023] Determining whether the direction of the external sound signal is the direction of a human mouth according to the positioning result;
[0024] If the direction of the external sound signal is the direction of a human mouth, the statistical feature information is output to a preset external sound enhancement system.
[0025] Optionally, after the step of judging whether the direction of the external sound signal is the direction of a human mouth according to the positioning result, the step further includes:
[0026] If the direction of the external sound signal is not the direction of the human mouth, the preset uplink noise reduction system is activated to perform noise filtering on the external sound signal based on the statistical feature information.
[0027] Optionally, the step of calling the A2DP mode noise reduction algorithm includes:
[0028] The positioning result is output to a preset feedforward noise reduction system to filter the external sound signal.
[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a noise-cancelling headset, which includes: a memory, a processor, and an active noise reduction program stored in the memory and executable on the processor, wherein the active noise reduction program implements the steps of the active noise reduction method as described above when executed by the processor.
[0030] In addition, to achieve the above-mentioned purpose, the present invention further provides a computer-readable storage medium, on which an active noise reduction program is stored, and when the active noise reduction program is executed by a processor, the steps of the active noise reduction method as described above are implemented.
[0031] The present invention proposes an active noise reduction method, a noise reduction headset and a computer-readable storage medium. In the active noise reduction method, a preset microphone array is constructed based on a basic microphone of the noise reduction headset; an external sound signal is collected by the preset microphone array, and after the external sound signal is obtained, the current working mode of the noise reduction headset is determined; according to the current working mode and the external sound signal, a preset noise reduction algorithm is called to perform noise reduction. The present invention uses the existing feedforward microphones of the left and right earphones of the noise reduction headset to form a dual microphone array. On the one hand, the two microphones can provide a certain reference for active noise reduction as a directional receiving array, thereby improving the noise reduction capability; on the other hand, the two microphones are the basic microphones of the noise reduction headset, and no additional microphones are required, which saves the headset space and reduces the production cost. When there is noise, the noise at different positions has different effects on the microphone array, and the microphone array will have a rough estimate of the noise direction. Using the estimated noise direction as a reference for the active noise reduction algorithm, the noise can be eliminated in a targeted manner. Compared with the prior art, a solution for actively switching the adaptive noise reduction mode is provided, thereby further improving the noise reduction level. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0033] Figure 2 This is a schematic diagram of the process of the first embodiment of the active noise reduction method of the present invention;
[0034] Figure 3 It is a flow chart of the second embodiment of the active noise reduction method of the present invention;
[0035] Figure 4 Schematic diagram of sound source localization according to the second embodiment of the active noise reduction method of the present invention.
[0036] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0038] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0039] The terminal in the embodiment of the present invention is a noise reduction headset.
[0040] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display module and an input unit, and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface and a Bluetooth interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
[0041] Optionally, the terminal may also include RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display module according to the brightness of the ambient light, and the proximity sensor may turn off the display module and / or backlight when the terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the terminal may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.
[0042] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0043] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an active noise reduction program.
[0044] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate data with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the active noise reduction program stored in the memory 1005 and perform the following operations:
[0045] Build a preset microphone array based on the basic microphone of the noise-canceling headset;
[0046] Collecting external sound signals through the preset microphone array, and determining the current working mode of the noise reduction headset after acquiring the external sound signals;
[0047] Positioning the direction of the external sound signal to obtain a positioning result;
[0048] According to the current working mode, the external sound signal and the positioning result, a preset noise reduction algorithm is called to perform noise reduction.
[0049] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0050] The direction of the external sound signal is located based on a preset positioning algorithm and the preset microphone array to obtain a positioning result.
[0051] Further, the basic microphone includes a first basic microphone and a second basic microphone, and the processor 1001 can call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0052] Transmitting the external sound signal received by the first basic microphone to the second basic microphone via Bluetooth to obtain a phase difference of the external sound signal received by the basic microphone;
[0053] The direction of the external sound signal is located according to the phase difference and a preset positioning algorithm.
[0054] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0055] If the first mode signal is detected, determining that the current working mode of the noise reduction headset is a call mode;
[0056] If the second mode signal is detected, it is determined that the current working mode of the noise reduction headset is the A2DP mode.
[0057] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0058] When the current working mode of the noise reduction headset is the call mode, calling the call mode noise reduction algorithm;
[0059] When the current working mode of the noise reduction headset is the A2DP mode, the A2DP mode noise reduction algorithm is called.
[0060] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0061] Extracting statistical characteristic information of the external sound signal;
[0062] Determining whether the direction of the external sound signal is the direction of a human mouth according to the positioning result;
[0063] If the direction of the external sound signal is the direction of a human mouth, the statistical feature information is output to a preset external sound enhancement system.
[0064] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0065] If the direction of the external sound signal is not the direction of the human mouth, the preset uplink noise reduction system is activated to perform noise filtering on the external sound signal based on the statistical feature information.
[0066] Further, the processor 1001 may call the active noise reduction program stored in the memory 1005, and further perform the following operations:
[0067] The positioning result is output to a preset feedforward noise reduction system to filter the external sound signal.
[0068] Reference Figure 2 A first embodiment of the present invention provides an active noise reduction method, the active noise reduction method comprising:
[0069] Step S10, constructing a preset microphone array based on the basic microphone of the noise reduction headset;
[0070] In this embodiment, the execution subject is a noise reduction headset, which includes left and right earphones, and the basic microphone is a feedforward pickup microphone. The left and right earphones each include a feedforward pickup microphone. A dual microphone array is constructed based on two feedforward pickup microphones, namely, the preset microphone array. The directional dual microphone receiving array can provide a certain reference for ANC (Active Noise Control) noise reduction, thereby improving the noise reduction capability.
[0071] This embodiment is applicable to noise reduction headphones containing two basic microphones, such as TWS (True Wireless Stereo) headphones. Wireless headphones include master and slave headphones, which can independently interact with smart mobile terminals (such as smart phones), and can specifically communicate and interact with smart mobile terminals through various communication methods such as UART (Universal Asynchronous Receiver / Transmitter), I2C (Inter-Integrated Circuit, two-wire serial bus) carriers.
[0072] Step S20, collecting external sound signals through the preset microphone array, and after acquiring the external sound signals, determining the current working mode of the noise reduction headset;
[0073] In addition, the noise cancelling headset also includes a PCB (Printed Circuit Board, Chinese name is printed circuit board). When the noise cancelling headset is in working state, the feedforward pickup microphone in the preset microphone array will collect external sound signals in real time, and send the collected external sound signals to the PCB. The PCB will determine the current working mode of the noise cancelling headset according to the current working state information of the noise cancelling headset. The external sound signal may include the ambient noise of the scene where the noise cancelling headset is located and the voice information of the user of the noise cancelling headset.
[0074] Specifically, the step of determining the current working mode of the noise reduction headset in step S20 includes:
[0075] Step a20, if the first mode signal is detected, determining that the current working mode of the noise reduction headset is a call mode;
[0076] Step a21: if the second mode signal is detected, determine that the current working mode of the noise reduction headset is the A2DP mode.
[0077] The PCB board, as the brain of the noise-cancelling headphones, can directly obtain an identification signal that symbolizes the working status of the headphones. The identification signal includes a first mode signal and a second mode signal. The two signals will not exist at the same time. If the identification signal obtained by the PCB board is the first mode signal, it means that the current working mode of the headphones is the call mode. If the status identification signal obtained by the PCB board is the second mode signal, it means that the current working mode of the headphones is the A2DP mode. Specifically, the A2DP mode can be a music mode, a video mode, etc.
[0078] It should be noted that the A2DP (Advanced Audio Distribution Profile) mode is an operating mode that can use the chip in the headset to stack data to achieve high-definition sound.
[0079] Step S30, locating the direction of the external sound signal to obtain a positioning result;
[0080] After the PCB board acquires the external sound signal, it is necessary to perform direction positioning on the external sound signal, so as to use the obtained positioning result as the basis for noise reduction processing.
[0081] Specifically, step S30 includes:
[0082] Step a30, positioning the direction of the external sound signal based on a preset positioning algorithm and the preset microphone array to obtain a positioning result.
[0083] It should be noted that, in this embodiment, the preset positioning algorithm may be a beamforming algorithm. Beamforming is a universal signal processing method, which refers to a method of processing (such as weighting, delay, summation, etc.) the output signals of each microphone of a microphone array arranged in a certain geometric structure to form spatial directivity. The purpose of the beamforming algorithm is mainly to suppress sound interference other than the main lobe.
[0084] The idea of beamforming is that we want to obtain the sound in the direction of the sound source (that is, the direction with the strongest sound intensity) and suppress the sound in other directions. First of all, sound source localization must be an array signal processing system, because it is impossible for us to obtain the direction information of the sound if there is only one microphone receiving the sound. The direction of arrival of the sound source can be estimated by using a microphone array (direction-of-arrival estimation), also known as DOA estimation. One of the methods of DOA estimation is to calculate the time difference between arrivals at different array elements for processing. When localizing the sound source, the beamforming process is actually also performed. Beamforming is the process of making the system have the required response to sound waves in certain directions. In layman's terms, DOA only finds the direction of the sound source, and beamforming is to further filter out the sound in this direction from the sound received by the microphone. Therefore, beamforming can also be called a spatial filter.
[0085] The positioning result is the predicted direction of the external sound signal, which may be the predicted direction of the voice information of the noise-cancelling headset user, or the predicted direction of the ambient noise of the scene where the noise-cancelling headset is located.
[0086] Specifically, the basic microphone in step S10 includes a first basic microphone and a second basic microphone, and step a30 includes:
[0087] Step a301, transmitting the external sound signal received by the first basic microphone to the second basic microphone via Bluetooth, so as to obtain a phase difference of the external sound signal received by the basic microphone;
[0088] Step a302, locating the direction of the external sound signal according to the phase difference and a preset positioning algorithm to obtain a positioning result.
[0089] In one embodiment, the first basic microphone is a left ear microphone, the second basic microphone is a right ear microphone, and the right ear microphone also includes an algorithm chip. When the algorithm chip receives the external sound signal sent from the left ear microphone, it can obtain the phase difference of the external sound signal received by the two ear microphones and locate the direction of the external sound signal according to the beamforming algorithm.
[0090] It should be noted that the positions of the left ear microphone and the right ear microphone in the above embodiment can be interchanged, that is, it is not limited to the first basic microphone being the left ear microphone and the second basic microphone being the right ear microphone. In another embodiment, the first basic microphone can be the right ear microphone, the second basic microphone can be the left ear microphone, and the algorithm chip can be located in the left ear microphone.
[0091] Step S40: Calling a preset noise reduction algorithm to perform noise reduction according to the current working mode, the external sound signal and the positioning result.
[0092] It is understandable that in different working modes, the noise reduction methods used are not exactly the same, that is, the call of the preset noise reduction algorithm needs to be carried out after comprehensive consideration of the current working mode, the external sound signal and the positioning result of the external sound signal, that is, the type of the external sound signal is first derived based on the current working mode and the positioning result, and then an appropriate processing method is selected according to the type of the external sound signal, such as enhancement or filtering. When the preset noise reduction algorithm is called, the noise reduction processing of the noise reduction headphones is completed, and ultimately the sound heard by the user wearing the noise reduction headphones contains only less and weaker noise.
[0093] In this embodiment, an active noise reduction method is proposed. In the active noise reduction method, a preset microphone array is constructed based on the basic microphone of the noise reduction headset; the external sound signal is collected by the preset microphone array, and when the external sound signal is obtained, the current working mode of the noise reduction headset is determined; according to the current working mode and the external sound signal, the preset noise reduction algorithm is called to perform noise reduction. The present invention uses the existing feedforward microphones of the left and right earphones of the noise reduction headset to form a dual microphone array. On the one hand, the two microphones can provide a certain reference for active noise reduction as a directional receiving array, thereby improving the noise reduction capability; on the other hand, the two microphones are the basic microphones of the noise reduction headset, and no additional microphones are required, which saves the headset space and reduces the production cost. When there is noise, the noise at different positions has different effects on the microphone array, and the microphone array will have a rough estimate of the noise direction. Using the estimated noise direction as a reference for the active noise reduction algorithm can eliminate the noise in a targeted manner, thereby further improving the noise reduction level.
[0094] Further, see Figure 3 , a second embodiment of the active noise reduction method of the present invention is proposed, based on the above Figure 2 In the illustrated embodiment, in step S40, the step of calling the preset noise reduction algorithm includes:
[0095] Step a41, when the current working mode of the noise reduction headset is the call mode, calling the call mode noise reduction algorithm.
[0096] Specifically, the step of calling the call mode noise reduction algorithm in step a41 includes:
[0097] Step a411, extracting statistical feature information of the external sound signal;
[0098] In this embodiment, the statistical feature information may be a GFCC (Gammatone Frequency Cepstrum Coefficients) feature or a MFCC (Mel-frequency cepstral coefficients) feature.
[0099] It should be noted that the Mel frequency is proposed based on the auditory characteristics of the human ear. It has a nonlinear correspondence with the Hz frequency. The Mel frequency cepstral coefficient (MFCC) uses this relationship between them to calculate the Hz spectrum features. It is mainly used for voice data feature extraction and reducing the operation dimension.
[0100] Step a412, judging whether the direction of the external sound signal is the direction of a human mouth according to the positioning result;
[0101] Reference Figure 4 , Figure 4 This is a schematic diagram of determining whether the direction of the external sound signal is the direction of a human mouth in this embodiment. In the figure, there are interference 1 and interference 2 representing interference sources, and a human mouth representing a user's sound source, as well as different symbols representing the approximate transmission directions of the microphone and the external sound signal. The noise reduction headset can determine whether the direction of the external sound signal is the direction of a human mouth based on the positioning results obtained in the aforementioned steps, and then determine whether the external sound signal is from the user's voice signal or an interference signal from other sound sources, and make corresponding response processing.
[0102] Step a413: if the direction of the external sound signal is the direction of the human mouth, the statistical feature information is output to a preset external sound enhancement system;
[0103] If the external sound signal located is in the direction of a human mouth (user), it means that the external sound signal is the user's voice signal. The statistical characteristics of the user's voice signal are then output to the voice enhancement system (i.e., the preset external sound enhancement system) so that the system can receive the user's voice signal in a direction, thereby improving the call voice quality.
[0104] Step a414: If the direction of the external sound signal is not the direction of the human mouth, the preset uplink noise reduction system is activated to perform noise filtering on the external sound signal based on the statistical feature information.
[0105] If the direction of the external sound signal is not the direction of the human mouth, it means that its direction is the direction of the interference source. At this time, the uplink noise reduction system is activated to filter out the noise of non-voice commands by using the statistical characteristics of the external sound signal.
[0106] In this embodiment, a noise reduction algorithm in the call mode of the active noise reduction method of the present invention is proposed. Through this algorithm, the user voice signal and the interference source signal can be recognized, and the corresponding response method can be selected based on the recognition result, that is, enhancing the user voice and / or filtering the interference source noise, thereby improving the user's call voice quality and effectively improving the noise reduction performance in the call mode.
[0107] Furthermore, a third embodiment of the active noise reduction method of the present invention is proposed. Figure 2 In the illustrated embodiment, in step S40, the step of calling the preset noise reduction algorithm further includes:
[0108] Step a42: When the current working mode of the noise reduction headset is the A2DP mode, calling the A2DP mode noise reduction algorithm.
[0109] Specifically, the step of calling the A2DP mode noise reduction algorithm in step a42 includes:
[0110] The positioning result is output to a preset feedforward noise reduction system to filter the external sound signal.
[0111] In A2DP mode, the microphone array combined with the beamforming algorithm can realize multi-sound source positioning, obtain the orientation information of multiple sound sources based on the positioning results, and output the orientation information to the feedforward noise reduction system, which can filter out noise signals and improve noise reduction performance.
[0112] In this embodiment, a noise reduction algorithm in the A2DP mode of the active noise reduction method of the present invention is proposed. The algorithm can realize multi-sound source positioning, and the orientation information of multiple sound sources can be obtained based on the multi-sound source positioning results. By outputting the orientation information to the feedforward noise reduction system, the noise signal can be filtered out, thereby effectively improving the noise reduction performance in the A2DP mode.
[0113] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which an active noise reduction program is stored. When the active noise reduction program is executed by a processor, the following operations are implemented:
[0114] Build a preset microphone array based on the basic microphone of the noise-canceling headset;
[0115] Collecting external sound signals through the preset microphone array, and determining the current working mode of the noise reduction headset after acquiring the external sound signals;
[0116] Positioning the direction of the external sound signal to obtain a positioning result;
[0117] According to the current working mode, the external sound signal and the positioning result, a preset noise reduction algorithm is called to perform noise reduction.
[0118] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0119] The direction of the external sound signal is located based on a preset positioning algorithm and the preset microphone array to obtain a positioning result.
[0120] Furthermore, the basic microphone includes a first basic microphone and a second basic microphone, and the active noise reduction program further implements the following operations when executed by the processor:
[0121] Transmitting the external sound signal received by the first basic microphone to the second basic microphone via Bluetooth to obtain a phase difference of the external sound signal received by the basic microphone;
[0122] The direction of the external sound signal is located according to the phase difference and a preset positioning algorithm.
[0123] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0124] If the first mode signal is detected, determining that the current working mode of the noise reduction headset is a call mode;
[0125] If the second mode signal is detected, it is determined that the current working mode of the noise reduction headset is the A2DP mode.
[0126] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0127] When the current working mode of the noise reduction headset is the call mode, calling the call mode noise reduction algorithm;
[0128] When the current working mode of the noise reduction headset is the A2DP mode, the A2DP mode noise reduction algorithm is called.
[0129] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0130] Extracting statistical characteristic information of the external sound signal;
[0131] Determining whether the direction of the external sound signal is the direction of a human mouth according to the positioning result;
[0132] If the direction of the external sound signal is the direction of a human mouth, the statistical feature information is output to a preset external sound enhancement system.
[0133] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0134] If the direction of the external sound signal is not the direction of the human mouth, the preset uplink noise reduction system is activated to perform noise filtering on the external sound signal based on the statistical feature information.
[0135] Furthermore, when the active noise reduction program is executed by the processor, the following operations are also implemented:
[0136] The positioning result is output to a preset feedforward noise reduction system to filter the external sound signal.
[0137] The specific embodiments of the computer-readable storage medium of the present invention are substantially the same as the embodiments of the above-mentioned active noise reduction method, and are not described in detail herein.
[0138] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An active noise reduction method, It is characterized in that The active noise reduction method comprises the following steps: Build a preset microphone array based on the basic microphone of the noise-canceling headset; Collecting external sound signals through the preset microphone array, and determining the current working mode of the noise reduction headset after acquiring the external sound signals; The step of determining the current working mode of the noise reduction headset includes: If the first mode signal is detected, determining that the current working mode of the noise reduction headset is a call mode; If the second mode signal is detected, determining that the current working mode of the noise reduction headset is the A2DP mode, wherein the A2DP mode includes a music mode and a video mode; Positioning the direction of the external sound signal to obtain a positioning result; According to the current working mode, the external sound signal and the positioning result, calling a preset noise reduction algorithm to perform noise reduction; The step of calling the preset noise reduction algorithm includes: When the current working mode of the noise reduction headset is the call mode, calling the call mode noise reduction algorithm; When the current working mode of the noise reduction headset is the A2DP mode, the A2DP mode noise reduction algorithm is called.
2. The active noise reduction method according to claim 1, It is characterized in that The step of locating the direction of the external sound signal to obtain the positioning result includes: The direction of the external sound signal is located based on a preset positioning algorithm and the preset microphone array to obtain the positioning result.
3. The active noise reduction method according to claim 2, It is characterized in that The basic microphone includes a first basic microphone and a second basic microphone, and the step of locating the direction of the external sound signal based on the preset positioning algorithm and the preset microphone array includes: Transmitting the external sound signal received by the first basic microphone to the second basic microphone via Bluetooth to obtain a phase difference of the external sound signal received by the basic microphone; The direction of the external sound signal is located according to the phase difference and the preset positioning algorithm.
4. The active noise reduction method according to claim 1, It is characterized in that The step of calling the call mode noise reduction algorithm comprises: Extracting statistical characteristic information of the external sound signal; Determining whether the direction of the external sound signal is the direction of a human mouth according to the positioning result; If the direction of the external sound signal is the direction of a human mouth, the statistical feature information is output to a preset external sound enhancement system.
5. The active noise reduction method according to claim 4, It is characterized in that After the step of judging whether the direction of the external sound signal is the direction of a human mouth according to the positioning result, the following step further includes: If the direction of the external sound signal is not the direction of the human mouth, the preset uplink noise reduction system is activated to perform noise filtering on the external sound signal based on the statistical feature information.
6. The active noise reduction method according to claim 1, It is characterized in that The step of calling the A2DP mode noise reduction algorithm includes: The positioning result is output to a preset feedforward noise reduction system to filter the external sound signal.
7. A noise-cancelling headset, It is characterized in that The noise reduction headset comprises: a memory, a processor, and an active noise reduction program stored in the memory and executable on the processor, wherein the active noise reduction program implements the steps of the active noise reduction method according to any one of claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, It is characterized in that An active noise reduction program is stored on the computer-readable storage medium, and when the active noise reduction program is executed by the processor, the steps of the active noise reduction method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Sound quality improvement method, terminal and computer readable storage medium
CN108924352A
Microphone array noise reduction method and device of earphone, earphone and TWS earphone
CN110121129A
Noise-reducing earphone and control method thereof
CN111491228A
Active noise reduction control system based on single-microphone Bluetooth earphone and Bluetooth earphone
CN214154791U
Structure for multi-microphone speech enhancement system
US20160275961A1
